Parent: [eb17a8] (diff)

Child: [6e0ec4] (diff)

Download this file

Makefile    47 lines (38 with data), 1.3 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# @(#$Id: Makefile,v 1.25 2006-01-14 11:48:03 dockes Exp $ (C) 2005 J.F.Dockes
all: mk/sysconf common/rclversion.h
cd lib; ${MAKE}
cd bincimapmime; ${MAKE}
cd index; ${MAKE} recollindex
cd qtgui; PATH=${PATH}:${QTDIR}/bin; export PATH; qmake recoll.pro; \
cat ../mk/sysconf Makefile | \
${MAKE} -f -
mk/sysconf:
./configure
common/rclversion.h: VERSION
(echo -n "static const char *rclversion= \"" && \
echo -n `cat VERSION` && \
echo "\";") > common/rclversion.h
static:
cd lib; ${MAKE}
cd bincimapmime; ${MAKE}
cd index; rm -f recollindex; \
${MAKE} BSTATIC=-Wl,-Bstatic BDYNAMIC=-Wl,-Bdynamic recollindex
cd qtgui; PATH=${PATH}:${QTDIR}/bin; export PATH; qmake recoll.pro; \
rm -f recoll; \
cat ../mk/sysconf ../mk/localdefs Makefile | ${MAKE} -f - \
BSTATIC=-Wl,-Bstatic BDYNAMIC=-Wl,-Bdynamic
clean:
cd common; ${MAKE} clean
cd index; ${MAKE} clean
cd lib; ${MAKE} clean
cd bincimapmime; ${MAKE} clean
cd query; ${MAKE} clean
cd utils; ${MAKE} clean
#cd doc/user; ${MAKE} clean
@-cd qtgui; ${MAKE} clean
rm -f qtgui/Makefile qtgui/preview/Makefile qtgui/recoll
distclean: clean
rm -f mk/sysconf mk/localdefs sampleconf/recoll.conf recollinstall
install: all
bindir=${bindir} datadir=${datadir} ./recollinstall ${prefix}
.PHONY: all static clean distclean install