Switch to side-by-side view

--- a/src/rcldb/Makefile
+++ b/src/rcldb/Makefile
@@ -1,32 +1,25 @@
-# @(#$Id: Makefile,v 1.1 2007-06-02 08:30:42 dockes Exp $  (C) 2005 J.F.Dockes
 depth = ..
 include $(depth)/mk/sysconf
 
 # Only test executables get build in here
 PROGS = synfamily stoplist
 
-all: $(BIGLIB) $(PROGS) 
+all: librecoll $(PROGS) 
 
-$(BIGLIB): force
-	cd $(depth)/lib;$(MAKE)
-force:
-
-STOPLIST_OBJS= trstoplist.o  $(BIGLIB)
+STOPLIST_OBJS= trstoplist.o
 stoplist : $(STOPLIST_OBJS)
 	$(CXX) $(ALL_CXXFLAGS) -o stoplist $(STOPLIST_OBJS) \
-	   $(LIBICONV) $(LIBSYS)
+            $(LIBRECOLL) $(LIBICONV) $(LIBSYS)
 trstoplist.o : stoplist.cpp 
 	$(CXX) $(ALL_CXXFLAGS) -DTEST_STOPLIST -c -o trstoplist.o \
 	       stoplist.cpp
 
-SYNFAMILY_OBJS= trsynfamily.o  $(BIGLIB)
+SYNFAMILY_OBJS= trsynfamily.o
 synfamily : $(SYNFAMILY_OBJS)
 	$(CXX) $(ALL_CXXFLAGS) -o synfamily $(SYNFAMILY_OBJS) \
-        $(BIGLIB)  $(LIBICONV) $(LIBXAPIAN) $(LIBSYS)
+        $(LIBRECOLL)  $(LIBICONV) $(LIBXAPIAN) $(LIBSYS)
 trsynfamily.o : synfamily.cpp 
 	$(CXX) $(ALL_CXXFLAGS) -DTEST_SYNFAMILY -c -o trsynfamily.o \
 	       synfamily.cpp
 
-clean:
-	rm -f *.o $(PROGS)
-
+include $(depth)/mk/commontargets