Use dynamic lib for shared recoll code

This commit is contained in:
Jean-Francois Dockes
2012-12-29 14:27:01 +01:00
parent 5725194a00
commit d2f7f11715
28 changed files with 173 additions and 196 deletions
+1 -2
View File
@@ -15,8 +15,7 @@ COMMONCXXFLAGS = -I. \
# the sys file or localdefs
SYSPICFLAGS = -fPIC -DPIC
BIGLIB = $(depth)/lib/librcl.a
LIBRECOLL = -L $(depth)/lib -lrecoll -Wl,-rpath=$(libdir)
RANLIB = test -f
AR=ar
+14
View File
@@ -0,0 +1,14 @@
librecoll:
make -C $(depth)/lib
depend: alldeps.stamp
alldeps.stamp : $(SRCS)
$(CXX) -M $(ALL_CXXFLAGS) $(SRCS) > alldeps
touch alldeps.stamp
clean:
cp /dev/null alldeps
rm -f alldeps.stamp
rm -f *.o ${LIBS} ${PROGS} ${OBJS}
+2
View File
@@ -10,6 +10,8 @@ INCICONV=@INCICONV@
LIBFAM = @LIBFAM@
RCLLIBVERSION=@RCLLIBVERSION@
X_CFLAGS=@X_CFLAGS@
X_PRE_LIBS=@X_PRE_LIBS@
X_LIBS=@X_LIBS@