Switch to unified view

a/src/Makefile.in b/src/Makefile.in
1
# @(#$Id: Makefile.in,v 1.6 2006-04-30 07:26:59 dockes Exp $  (C) 2005 J.F.Dockes
1
# @(#$Id: Makefile.in,v 1.7 2006-06-24 07:40:04 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@
7
datadir = @datadir@
7
datadir = @datadir@
8
mandir = @mandir@
8
mandir = @mandir@
9
9
10
QMAKE = @QMAKE@
10
QMAKE = @QMAKE@
11
QTGUI = @QTGUI@
11
12
12
all: mk/sysconf common/rclversion.h
13
all: mk/sysconf common/rclversion.h
13
    cd lib; ${MAKE}
14
    cd lib; ${MAKE}
14
    cd bincimapmime; ${MAKE}
15
    cd bincimapmime; ${MAKE}
15
    cd index; ${MAKE} recollindex
16
    cd index; ${MAKE} recollindex
16
    cd qtgui; ${QMAKE} recoll.pro; ${MAKE} depth=.. 
17
    cd $(QTGUI); ${QMAKE} recoll.pro; ${MAKE} depth=.. 
17
18
18
mk/sysconf:
19
mk/sysconf:
19
    @echo "You need to run configure first" ; exit 1
20
    @echo "You need to run configure first" ; exit 1
20
21
21
common/rclversion.h: VERSION
22
common/rclversion.h: VERSION
...
...
25
static:
26
static:
26
    cd lib; ${MAKE}
27
    cd lib; ${MAKE}
27
    cd bincimapmime; ${MAKE}
28
    cd bincimapmime; ${MAKE}
28
    cd index; rm -f recollindex; \
29
    cd index; rm -f recollindex; \
29
       ${MAKE} BSTATIC=-Wl,-Bstatic BDYNAMIC=-Wl,-Bdynamic recollindex
30
       ${MAKE} BSTATIC=-Wl,-Bstatic BDYNAMIC=-Wl,-Bdynamic recollindex
30
    cd qtgui; $(QMAKE) recoll.pro; \
31
    cd $(QTGUI); $(QMAKE) recoll.pro; \
31
       rm -f recoll; \
32
       rm -f recoll; \
32
       ${MAKE} BSTATIC=-Wl,-Bstatic BDYNAMIC=-Wl,-Bdynamic depth=.. 
33
       ${MAKE} BSTATIC=-Wl,-Bstatic BDYNAMIC=-Wl,-Bdynamic depth=.. 
33
34
34
clean:
35
clean:
35
    cd common; ${MAKE} clean
36
    cd common; ${MAKE} clean
...
...
37
    cd lib; ${MAKE} clean
38
    cd lib; ${MAKE} clean
38
    cd bincimapmime; ${MAKE} clean
39
    cd bincimapmime; ${MAKE} clean
39
    cd query; ${MAKE} clean
40
    cd query; ${MAKE} clean
40
    cd utils; ${MAKE} clean
41
    cd utils; ${MAKE} clean
41
        #cd doc/user; ${MAKE} clean
42
        #cd doc/user; ${MAKE} clean
42
    @-cd qtgui; ${MAKE} clean
43
    @-cd $(QTGUI); ${MAKE} clean
43
  rm -f qtgui/Makefile qtgui/preview/Makefile qtgui/recoll
44
  rm -f $(QTGUI)/Makefile $(QTGUI)/preview/Makefile $(QTGUI)/recoll
44
45
45
distclean: clean
46
distclean: clean
46
    rm -f mk/sysconf mk/localdefs sampleconf/recoll.conf \
47
    rm -f mk/sysconf mk/localdefs sampleconf/recoll.conf \
47
       qtgui/recoll.pro Makefile config.log config.status \
48
       $(QTGUI)/recoll.pro Makefile config.log config.status \
48
       recollinstall \
49
       recollinstall \
49
       doc/user/*.html* doc/user/*.txt doc/user/HTML.manifest \
50
       doc/user/*.html* doc/user/*.txt doc/user/HTML.manifest \
50
      lib/*.dep
51
      lib/*.dep
51
52
52
# recollinstall can be executed by the user and will compute 'normal'
53
# recollinstall can be executed by the user and will compute 'normal'