Switch to unified view

a/src/Makefile b/src/Makefile
1
# @(#$Id: Makefile,v 1.24 2006-01-10 12:58:39 dockes Exp $  (C) 2005 J.F.Dockes
1
# @(#$Id: Makefile,v 1.25 2006-01-14 11:48:03 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; 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 | \
9
           ${MAKE} -f -
9
           ${MAKE} -f -
10
10
11
mk/sysconf:
11
mk/sysconf:
12
    ./configure
12
    ./configure
...
...
19
static:
19
static:
20
    cd lib; ${MAKE}
20
    cd lib; ${MAKE}
21
    cd bincimapmime; ${MAKE}
21
    cd bincimapmime; ${MAKE}
22
    cd index; rm -f recollindex; \
22
    cd index; rm -f recollindex; \
23
       ${MAKE} BSTATIC=-Wl,-Bstatic BDYNAMIC=-Wl,-Bdynamic recollindex
23
       ${MAKE} BSTATIC=-Wl,-Bstatic BDYNAMIC=-Wl,-Bdynamic recollindex
24
  cd qtgui; qmake recoll.pro; rm -f recoll; \
24
  cd qtgui; PATH=${PATH}:${QTDIR}/bin; export PATH; qmake recoll.pro; \
25
     rm -f recoll; \
25
       cat ../mk/sysconf ../mk/localdefs Makefile | ${MAKE} -f - \
26
       cat ../mk/sysconf ../mk/localdefs Makefile | ${MAKE} -f - \
26
           BSTATIC=-Wl,-Bstatic BDYNAMIC=-Wl,-Bdynamic
27
           BSTATIC=-Wl,-Bstatic BDYNAMIC=-Wl,-Bdynamic
27
28
28
clean:
29
clean:
29
    cd common; ${MAKE} clean
30
    cd common; ${MAKE} clean