|
a/src/common/Makefile |
|
b/src/common/Makefile |
1 |
depth = ..
|
|
|
2 |
include $(depth)/mk/sysconf
|
|
|
3 |
|
1 |
|
4 |
# Only test executables get build in here
|
|
|
5 |
PROGS = unacpp textsplit rclconfig
|
2 |
PROGS = unacpp textsplit rclconfig
|
6 |
|
3 |
|
7 |
all: librecoll $(PROGS)
|
4 |
all: $(PROGS)
|
8 |
|
5 |
|
9 |
UNACPP_OBJS= trunacpp.o
|
6 |
UNACPP_OBJS= trunacpp.o
|
10 |
unacpp : $(UNACPP_OBJS)
|
7 |
unacpp : $(UNACPP_OBJS)
|
11 |
$(CXX) $(ALL_CXXFLAGS) -o unacpp $(UNACPP_OBJS) \
|
8 |
$(CXX) $(ALL_CXXFLAGS) -o unacpp $(UNACPP_OBJS) $(LIBRECOLL)
|
12 |
$(LIBRECOLL) $(LIBICONV)
|
|
|
13 |
trunacpp.o : unacpp.cpp unacpp.h
|
9 |
trunacpp.o : unacpp.cpp unacpp.h
|
14 |
$(CXX) $(ALL_CXXFLAGS) -DTEST_UNACPP -c -o trunacpp.o unacpp.cpp
|
10 |
$(CXX) $(ALL_CXXFLAGS) -DTEST_UNACPP -c -o trunacpp.o unacpp.cpp
|
15 |
|
11 |
|
16 |
TEXTSPLIT_OBJS= trtextsplit.o
|
12 |
TEXTSPLIT_OBJS= trtextsplit.o
|
17 |
textsplit : $(TEXTSPLIT_OBJS)
|
13 |
textsplit : $(TEXTSPLIT_OBJS)
|
18 |
$(CXX) $(ALL_CXXFLAGS) -o textsplit $(TEXTSPLIT_OBJS) \
|
14 |
$(CXX) $(ALL_CXXFLAGS) -o textsplit $(TEXTSPLIT_OBJS) $(LIBRECOLL)
|
19 |
$(LIBRECOLL) $(LIBICONV)
|
|
|
20 |
trtextsplit.o : textsplit.cpp
|
15 |
trtextsplit.o : textsplit.cpp
|
21 |
$(CXX) $(ALL_CXXFLAGS) -DTEST_TEXTSPLIT -c -o trtextsplit.o \
|
16 |
$(CXX) $(ALL_CXXFLAGS) -DTEST_TEXTSPLIT -c -o trtextsplit.o \
|
22 |
textsplit.cpp
|
17 |
textsplit.cpp
|
23 |
|
18 |
|
24 |
RCLCONFIG_OBJS= trrclconfig.o
|
19 |
RCLCONFIG_OBJS= trrclconfig.o
|
25 |
rclconfig : $(RCLCONFIG_OBJS)
|
20 |
rclconfig : $(RCLCONFIG_OBJS)
|
26 |
$(CXX) $(ALL_CXXFLAGS) -o rclconfig $(RCLCONFIG_OBJS) \
|
21 |
$(CXX) $(ALL_CXXFLAGS) -o rclconfig $(RCLCONFIG_OBJS) $(LIBRECOLL)
|
27 |
$(LIBRECOLL) $(LIBICONV) $(LIBSYS)
|
|
|
28 |
trrclconfig.o : rclconfig.cpp
|
22 |
trrclconfig.o : rclconfig.cpp
|
29 |
$(CXX) $(ALL_CXXFLAGS) -DTEST_RCLCONFIG -c -o trrclconfig.o \
|
23 |
$(CXX) $(ALL_CXXFLAGS) -DTEST_RCLCONFIG -c -o trrclconfig.o \
|
30 |
rclconfig.cpp
|
24 |
rclconfig.cpp
|
31 |
|
25 |
|
32 |
include $(depth)/mk/commontargets
|
26 |
include ../utils/utmkdefs.mk
|
33 |
|
|
|