rearrange make includes+prepare bin static distrib
This commit is contained in:
parent
a8aae47b28
commit
d0f7fb4f38
12
src/Makefile
12
src/Makefile
@ -1,10 +1,18 @@
|
|||||||
all:
|
|
||||||
test -f mk/sysconf || ./configure
|
all: mk/sysconf
|
||||||
cd lib; $(MAKE)
|
cd lib; $(MAKE)
|
||||||
cd bincimapmime; $(MAKE)
|
cd bincimapmime; $(MAKE)
|
||||||
cd index; $(MAKE)
|
cd index; $(MAKE)
|
||||||
cd qtgui; qmake recoll.pro; rm -f recoll; $(MAKE)
|
cd qtgui; qmake recoll.pro; rm -f recoll; $(MAKE)
|
||||||
|
|
||||||
|
mk/sysconf:
|
||||||
|
./configure
|
||||||
|
|
||||||
|
static:
|
||||||
|
rm -f index/recollindex qtgui/recoll
|
||||||
|
cd index; $(MAKE) BSTATIC=-Wl,-Bstatic BDYNAMIC=-Wl,-Bdynamic
|
||||||
|
cd qtgui; $(MAKE) BSTATIC=-Wl,-Bstatic BDYNAMIC=-Wl,-Bdynamic
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
cd common; $(MAKE) clean
|
cd common; $(MAKE) clean
|
||||||
cd index; $(MAKE) clean
|
cd index; $(MAKE) clean
|
||||||
|
|||||||
@ -1,24 +1,23 @@
|
|||||||
*/.#*
|
*.o
|
||||||
*/CVS
|
*~
|
||||||
*/alldeps
|
#*
|
||||||
*/.moc
|
.moc
|
||||||
*/.ui
|
.obj
|
||||||
*/.obj
|
.ui
|
||||||
*/*/.moc
|
|
||||||
*/*/.ui
|
|
||||||
*/*/.obj
|
|
||||||
.#*
|
.#*
|
||||||
./autom4*
|
|
||||||
CVS
|
CVS
|
||||||
|
alldeps
|
||||||
|
.#*
|
||||||
|
autom4*
|
||||||
TAGS
|
TAGS
|
||||||
aux/CVS
|
|
||||||
config.cache
|
config.cache
|
||||||
config.log
|
config.log
|
||||||
config.status
|
config.status
|
||||||
excludefile
|
excludefile
|
||||||
makedist.sh
|
makedist.sh
|
||||||
mk/sysconf
|
sysconf
|
||||||
qtgui/Makefile
|
qtgui/Makefile
|
||||||
qtgui/preview/Makefile
|
qtgui/preview/Makefile
|
||||||
qtgui/preview/preview.pro
|
qtgui/preview/preview.pro
|
||||||
qtgui/preview/pvmain.cpp
|
qtgui/preview/pvmain.cpp
|
||||||
|
lib/librcl.a
|
||||||
|
|||||||
@ -9,7 +9,7 @@ all: $(PROGS)
|
|||||||
RECOLLINDEX_OBJS= recollindex.o $(BIGLIB) $(MIMELIB)
|
RECOLLINDEX_OBJS= recollindex.o $(BIGLIB) $(MIMELIB)
|
||||||
recollindex : $(RECOLLINDEX_OBJS)
|
recollindex : $(RECOLLINDEX_OBJS)
|
||||||
$(CXX) $(CXXFLAGS) -o recollindex $(RECOLLINDEX_OBJS) \
|
$(CXX) $(CXXFLAGS) -o recollindex $(RECOLLINDEX_OBJS) \
|
||||||
$(LIBXAPIAN) $(LIBICONV) $(LIBSYS)
|
$(BSTATIC) $(LIBXAPIAN) $(LIBICONV) $(BDYNAMIC) $(LIBSYS)
|
||||||
recollindex.o : idxdriver.cpp
|
recollindex.o : idxdriver.cpp
|
||||||
$(CXX) $(CXXFLAGS) -c -o recollindex.o idxdriver.cpp
|
$(CXX) $(CXXFLAGS) -c -o recollindex.o idxdriver.cpp
|
||||||
|
|
||||||
|
|||||||
@ -41,6 +41,7 @@ A more complete version of this document can be found at http://www.recoll.org
|
|||||||
EOF
|
EOF
|
||||||
|
|
||||||
links -dump ~/projets/pagepers/recoll/index.html >> README
|
links -dump ~/projets/pagepers/recoll/index.html >> README
|
||||||
|
links -dump ~/projets/pagepers/recoll/credits.html >> README
|
||||||
links -dump ~/projets/pagepers/recoll/usermanual.html >> README
|
links -dump ~/projets/pagepers/recoll/usermanual.html >> README
|
||||||
links -dump ~/projets/pagepers/recoll/installation.html >> INSTALL
|
links -dump ~/projets/pagepers/recoll/installation.html >> INSTALL
|
||||||
cvs commit -m '' README INSTALL
|
cvs commit -m '' README INSTALL
|
||||||
|
|||||||
@ -1,9 +1,8 @@
|
|||||||
CXXFLAGS = -pthread -Wall -Wno-unused-variable -g \
|
include ../mk/commondefs
|
||||||
-I. -I../index -I../utils -I../common \
|
|
||||||
-I../unac -I../bincimapmime -I/usr/local/include \
|
CXXFLAGS = $(COMMONCXXFLAGS) -pthread \
|
||||||
\
|
|
||||||
-DHAVE_VASPRINTF=1 \
|
-DHAVE_VASPRINTF=1 \
|
||||||
-DHAVE_MKDTEMP=1
|
-DHAVE_MKDTEMP=1
|
||||||
|
|
||||||
LIBXAPIAN = -L/usr/local/lib -lxapian
|
|
||||||
LIBICONV = -L/usr/local/lib -liconv
|
LIBICONV = -L/usr/local/lib -liconv
|
||||||
|
LIBSYS =
|
||||||
|
|||||||
@ -1,10 +1,9 @@
|
|||||||
CXXFLAGS = -Wall -g -I. -I../index -I../utils -I../common \
|
include ../mk/commondefs
|
||||||
-I../unac -I../bincimapmime -I/usr/local/include \
|
|
||||||
-D_GNU_SOURCE \
|
CXXFLAGS = $(COMMONCXXFLAGS) -D_GNU_SOURCE \
|
||||||
-DHAVE_VASPRINTF=1 \
|
-DHAVE_VASPRINTF=1 \
|
||||||
-DHAVE_MKDTEMP=1
|
-DHAVE_MKDTEMP=1
|
||||||
|
|
||||||
LIBXAPIAN = -L/usr/local/lib -lxapian
|
|
||||||
LIBICONV =
|
LIBICONV =
|
||||||
|
|
||||||
LIBSYS = -lpthread
|
LIBSYS = -lpthread
|
||||||
|
|||||||
@ -1,9 +1,10 @@
|
|||||||
CXXFLAGS = -Wall -g -I. -I../index -I../utils -I../common \
|
include ../mk/commondefs
|
||||||
-I../unac -I../bincimapmime -I/usr/local/include
|
|
||||||
|
CXXFLAGS = $(COMMONCXXFLAGS)
|
||||||
|
|
||||||
CC=gcc
|
CC=gcc
|
||||||
CXX=g++
|
CXX=g++
|
||||||
|
|
||||||
LIBXAPIAN = -L/usr/local/lib -lxapian
|
|
||||||
LIBICONV = -L/usr/local/lib -liconv
|
LIBICONV = -L/usr/local/lib -liconv
|
||||||
|
|
||||||
LIBSYS = -lpthread -lnsl -lsocket
|
LIBSYS = -lpthread -lnsl -lsocket
|
||||||
|
|||||||
@ -27,7 +27,7 @@ unix {
|
|||||||
MOC_DIR = .moc
|
MOC_DIR = .moc
|
||||||
OBJECTS_DIR = .obj
|
OBJECTS_DIR = .obj
|
||||||
LIBS += ../lib/librcl.a ../bincimapmime/libmime.a \
|
LIBS += ../lib/librcl.a ../bincimapmime/libmime.a \
|
||||||
-L/usr/local/lib -lxapian -liconv \
|
$(BSTATIC) -L/usr/local/lib -lxapian -liconv $(BDYNAMIC) \
|
||||||
-lz
|
-lz
|
||||||
INCLUDEPATH += ../common ../index ../query ../unac ../utils
|
INCLUDEPATH += ../common ../index ../query ../unac ../utils
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user