Switch to unified view

a/src/rcldb/Makefile b/src/rcldb/Makefile
1
# @(#$Id: Makefile,v 1.1 2007-06-02 08:30:42 dockes Exp $  (C) 2005 J.F.Dockes
2
depth = ..
1
depth = ..
3
include $(depth)/mk/sysconf
2
include $(depth)/mk/sysconf
4
3
5
# Only test executables get build in here
4
# Only test executables get build in here
6
PROGS = synfamily stoplist
5
PROGS = synfamily stoplist
7
6
8
all: $(BIGLIB) $(PROGS) 
7
all: librecoll $(PROGS) 
9
8
10
$(BIGLIB): force
11
  cd $(depth)/lib;$(MAKE)
12
force:
13
14
STOPLIST_OBJS= trstoplist.o  $(BIGLIB)
9
STOPLIST_OBJS= trstoplist.o
15
stoplist : $(STOPLIST_OBJS)
10
stoplist : $(STOPLIST_OBJS)
16
    $(CXX) $(ALL_CXXFLAGS) -o stoplist $(STOPLIST_OBJS) \
11
    $(CXX) $(ALL_CXXFLAGS) -o stoplist $(STOPLIST_OBJS) \
17
     $(LIBICONV) $(LIBSYS)
12
            $(LIBRECOLL) $(LIBICONV) $(LIBSYS)
18
trstoplist.o : stoplist.cpp 
13
trstoplist.o : stoplist.cpp 
19
    $(CXX) $(ALL_CXXFLAGS) -DTEST_STOPLIST -c -o trstoplist.o \
14
    $(CXX) $(ALL_CXXFLAGS) -DTEST_STOPLIST -c -o trstoplist.o \
20
           stoplist.cpp
15
           stoplist.cpp
21
16
22
SYNFAMILY_OBJS= trsynfamily.o  $(BIGLIB)
17
SYNFAMILY_OBJS= trsynfamily.o
23
synfamily : $(SYNFAMILY_OBJS)
18
synfamily : $(SYNFAMILY_OBJS)
24
    $(CXX) $(ALL_CXXFLAGS) -o synfamily $(SYNFAMILY_OBJS) \
19
    $(CXX) $(ALL_CXXFLAGS) -o synfamily $(SYNFAMILY_OBJS) \
25
        $(BIGLIB)  $(LIBICONV) $(LIBXAPIAN) $(LIBSYS)
20
        $(LIBRECOLL)  $(LIBICONV) $(LIBXAPIAN) $(LIBSYS)
26
trsynfamily.o : synfamily.cpp 
21
trsynfamily.o : synfamily.cpp 
27
    $(CXX) $(ALL_CXXFLAGS) -DTEST_SYNFAMILY -c -o trsynfamily.o \
22
    $(CXX) $(ALL_CXXFLAGS) -DTEST_SYNFAMILY -c -o trsynfamily.o \
28
           synfamily.cpp
23
           synfamily.cpp
29
24
30
clean:
25
include $(depth)/mk/commontargets
31
  rm -f *.o $(PROGS)
32