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