Switch to unified view

a/src/rcldb/Makefile b/src/rcldb/Makefile
1
depth = ..
2
include $(depth)/mk/sysconf
3
4
# Only test executables get build in here
5
PROGS = synfamily stoplist
1
PROGS = synfamily stoplist
6
2
7
all: librecoll $(PROGS) 
3
all: $(PROGS) 
8
4
9
STOPLIST_OBJS= trstoplist.o
5
STOPLIST_OBJS= trstoplist.o
10
stoplist : $(STOPLIST_OBJS)
6
stoplist : $(STOPLIST_OBJS)
11
    $(CXX) $(ALL_CXXFLAGS) -o stoplist $(STOPLIST_OBJS) \
7
    $(CXX) $(ALL_CXXFLAGS) -o stoplist $(STOPLIST_OBJS) $(LIBRECOLL)
12
            $(LIBRECOLL) $(LIBICONV) $(LIBSYS)
13
trstoplist.o : stoplist.cpp 
8
trstoplist.o : stoplist.cpp 
14
    $(CXX) $(ALL_CXXFLAGS) -DTEST_STOPLIST -c -o trstoplist.o \
9
    $(CXX) $(ALL_CXXFLAGS) -DTEST_STOPLIST -c -o trstoplist.o \
15
           stoplist.cpp
10
           stoplist.cpp
16
11
17
SYNFAMILY_OBJS= trsynfamily.o
12
SYNFAMILY_OBJS= trsynfamily.o
18
synfamily : $(SYNFAMILY_OBJS)
13
synfamily : $(SYNFAMILY_OBJS)
19
    $(CXX) $(ALL_CXXFLAGS) -o synfamily $(SYNFAMILY_OBJS) \
14
    $(CXX) $(ALL_CXXFLAGS) -o synfamily $(SYNFAMILY_OBJS) \
20
        $(LIBRECOLL)  $(LIBICONV) $(LIBXAPIAN) $(LIBSYS)
15
        $(LIBRECOLL) -lxapian
16
21
trsynfamily.o : synfamily.cpp 
17
trsynfamily.o : synfamily.cpp 
22
    $(CXX) $(ALL_CXXFLAGS) -DTEST_SYNFAMILY -c -o trsynfamily.o \
18
    $(CXX) $(ALL_CXXFLAGS) -DTEST_SYNFAMILY -c -o trsynfamily.o \
23
           synfamily.cpp
19
           synfamily.cpp
24
20
25
include $(depth)/mk/commontargets
21
include ../utils/utmkdefs.mk