Switch to unified view

a/src/Makefile.in b/src/Makefile.in
1
# @(#$Id: Makefile.in,v 1.15 2008-09-07 07:22:33 dockes Exp $  (C) 2005 J.F.Dockes
1
# @(#$Id: Makefile.in,v 1.16 2008-11-24 15:47:40 dockes Exp $  (C) 2005 J.F.Dockes
2
2
3
prefix = @prefix@
3
prefix = @prefix@
4
exec_prefix = @exec_prefix@
4
exec_prefix = @exec_prefix@
5
5
6
bindir = @bindir@
6
bindir = @bindir@
...
...
11
QMAKE = @QMAKE@
11
QMAKE = @QMAKE@
12
QTGUI = @QTGUI@
12
QTGUI = @QTGUI@
13
13
14
all: mk/sysconf common/rclversion.h
14
all: mk/sysconf common/rclversion.h
15
    cd lib; ${MAKE}
15
    cd lib; ${MAKE}
16
  cd bincimapmime; ${MAKE}
17
    cd index; ${MAKE} recollindex
16
    cd index; ${MAKE} recollindex
18
    cd $(QTGUI); ${QMAKE} recoll.pro; ${MAKE} depth=.. 
17
    cd $(QTGUI); ${QMAKE} recoll.pro; ${MAKE} depth=.. 
19
18
20
mk/sysconf:
19
mk/sysconf:
21
    @echo "You need to run configure first" ; exit 1
20
    @echo "You need to run configure first" ; exit 1
...
...
24
    echo 'static const char *rclversion = "'`cat VERSION`'";' \
23
    echo 'static const char *rclversion = "'`cat VERSION`'";' \
25
       > common/rclversion.h
24
       > common/rclversion.h
26
25
27
static: mk/sysconf common/rclversion.h
26
static: mk/sysconf common/rclversion.h
28
    cd lib; ${MAKE}
27
    cd lib; ${MAKE}
29
  cd bincimapmime; ${MAKE}
30
    cd index; rm -f recollindex; \
28
    cd index; rm -f recollindex; \
31
       ${MAKE} BSTATIC=-Wl,-Bstatic BDYNAMIC=-Wl,-Bdynamic recollindex
29
       ${MAKE} BSTATIC=-Wl,-Bstatic BDYNAMIC=-Wl,-Bdynamic recollindex
32
    cd $(QTGUI); $(QMAKE) recoll.pro; \
30
    cd $(QTGUI); $(QMAKE) recoll.pro; \
33
       rm -f recoll; \
31
       rm -f recoll; \
34
       ${MAKE} BSTATIC=-Wl,-Bstatic BDYNAMIC=-Wl,-Bdynamic depth=.. 
32
       ${MAKE} BSTATIC=-Wl,-Bstatic BDYNAMIC=-Wl,-Bdynamic depth=.. 
...
...
36
clean:
34
clean:
37
    -cd common; ${MAKE} clean
35
    -cd common; ${MAKE} clean
38
    -cd index; ${MAKE} clean
36
    -cd index; ${MAKE} clean
39
    -cd internfile; ${MAKE} clean
37
    -cd internfile; ${MAKE} clean
40
    -cd lib; ${MAKE} clean
38
    -cd lib; ${MAKE} clean
41
  -cd bincimapmime; ${MAKE} clean
42
    -cd query; ${MAKE} clean
39
    -cd query; ${MAKE} clean
43
    -cd utils; ${MAKE} clean
40
    -cd utils; ${MAKE} clean
44
        #cd doc/user; ${MAKE} clean
41
        #cd doc/user; ${MAKE} clean
45
    @-cd qtgui; ${MAKE} clean
42
    @-cd qtgui; ${MAKE} clean
46
    @-cd qt4gui; ${MAKE} clean
43
    @-cd qt4gui; ${MAKE} clean
...
...
57
       qtgui/recoll.pro qt4gui/recoll.pro \
54
       qtgui/recoll.pro qt4gui/recoll.pro \
58
       config.log config.status \
55
       config.log config.status \
59
       recollinstall \
56
       recollinstall \
60
       lib/*.dep common/autoconfig.h \
57
       lib/*.dep common/autoconfig.h \
61
       wasabi/Makefile wasabi/client/Makefile wasabi/server/Makefile
58
       wasabi/Makefile wasabi/client/Makefile wasabi/server/Makefile
62
    rm -f bincimapmime/alldeps index/alldeps lib/alldeps query/alldeps
59
    rm -f index/alldeps lib/alldeps query/alldeps
63
    rm -rf autom4te.cache
60
    rm -rf autom4te.cache
64
    (cd qt4gui; make -f uifrom3 distclean)
61
    (cd qt4gui; make -f uifrom3 distclean)
65
62
66
maintainer-clean: distclean
63
maintainer-clean: distclean
67
    rm -f doc/user/*.html* doc/user/*.txt doc/user/HTML.manifest
64
    rm -f doc/user/*.html* doc/user/*.txt doc/user/HTML.manifest