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 bincimapmime; $(MAKE)
|
||||
cd index; $(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:
|
||||
cd common; $(MAKE) clean
|
||||
cd index; $(MAKE) clean
|
||||
|
||||
@ -1,24 +1,23 @@
|
||||
*/.#*
|
||||
*/CVS
|
||||
*/alldeps
|
||||
*/.moc
|
||||
*/.ui
|
||||
*/.obj
|
||||
*/*/.moc
|
||||
*/*/.ui
|
||||
*/*/.obj
|
||||
*.o
|
||||
*~
|
||||
#*
|
||||
.moc
|
||||
.obj
|
||||
.ui
|
||||
.#*
|
||||
./autom4*
|
||||
CVS
|
||||
alldeps
|
||||
.#*
|
||||
autom4*
|
||||
TAGS
|
||||
aux/CVS
|
||||
config.cache
|
||||
config.log
|
||||
config.status
|
||||
excludefile
|
||||
makedist.sh
|
||||
mk/sysconf
|
||||
sysconf
|
||||
qtgui/Makefile
|
||||
qtgui/preview/Makefile
|
||||
qtgui/preview/preview.pro
|
||||
qtgui/preview/pvmain.cpp
|
||||
lib/librcl.a
|
||||
|
||||
@ -9,7 +9,7 @@ all: $(PROGS)
|
||||
RECOLLINDEX_OBJS= recollindex.o $(BIGLIB) $(MIMELIB)
|
||||
recollindex : $(RECOLLINDEX_OBJS)
|
||||
$(CXX) $(CXXFLAGS) -o recollindex $(RECOLLINDEX_OBJS) \
|
||||
$(LIBXAPIAN) $(LIBICONV) $(LIBSYS)
|
||||
$(BSTATIC) $(LIBXAPIAN) $(LIBICONV) $(BDYNAMIC) $(LIBSYS)
|
||||
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
|
||||
|
||||
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/installation.html >> INSTALL
|
||||
cvs commit -m '' README INSTALL
|
||||
|
||||
@ -1,9 +1,8 @@
|
||||
CXXFLAGS = -pthread -Wall -Wno-unused-variable -g \
|
||||
-I. -I../index -I../utils -I../common \
|
||||
-I../unac -I../bincimapmime -I/usr/local/include \
|
||||
\
|
||||
include ../mk/commondefs
|
||||
|
||||
CXXFLAGS = $(COMMONCXXFLAGS) -pthread \
|
||||
-DHAVE_VASPRINTF=1 \
|
||||
-DHAVE_MKDTEMP=1
|
||||
|
||||
LIBXAPIAN = -L/usr/local/lib -lxapian
|
||||
LIBICONV = -L/usr/local/lib -liconv
|
||||
LIBSYS =
|
||||
|
||||
@ -1,10 +1,9 @@
|
||||
CXXFLAGS = -Wall -g -I. -I../index -I../utils -I../common \
|
||||
-I../unac -I../bincimapmime -I/usr/local/include \
|
||||
-D_GNU_SOURCE \
|
||||
include ../mk/commondefs
|
||||
|
||||
CXXFLAGS = $(COMMONCXXFLAGS) -D_GNU_SOURCE \
|
||||
-DHAVE_VASPRINTF=1 \
|
||||
-DHAVE_MKDTEMP=1
|
||||
|
||||
LIBXAPIAN = -L/usr/local/lib -lxapian
|
||||
LIBICONV =
|
||||
|
||||
LIBSYS = -lpthread
|
||||
|
||||
@ -1,9 +1,10 @@
|
||||
CXXFLAGS = -Wall -g -I. -I../index -I../utils -I../common \
|
||||
-I../unac -I../bincimapmime -I/usr/local/include
|
||||
include ../mk/commondefs
|
||||
|
||||
CXXFLAGS = $(COMMONCXXFLAGS)
|
||||
|
||||
CC=gcc
|
||||
CXX=g++
|
||||
|
||||
LIBXAPIAN = -L/usr/local/lib -lxapian
|
||||
LIBICONV = -L/usr/local/lib -liconv
|
||||
|
||||
LIBSYS = -lpthread -lnsl -lsocket
|
||||
|
||||
@ -27,7 +27,7 @@ unix {
|
||||
MOC_DIR = .moc
|
||||
OBJECTS_DIR = .obj
|
||||
LIBS += ../lib/librcl.a ../bincimapmime/libmime.a \
|
||||
-L/usr/local/lib -lxapian -liconv \
|
||||
$(BSTATIC) -L/usr/local/lib -lxapian -liconv $(BDYNAMIC) \
|
||||
-lz
|
||||
INCLUDEPATH += ../common ../index ../query ../unac ../utils
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user