other ut/test drivers Makefiles

This commit is contained in:
Jean-Francois Dockes
2015-08-05 09:01:11 +02:00
parent 37cad6cb27
commit 1e2fdcd21d
9 changed files with 33 additions and 146 deletions
+6 -11
View File
@@ -1,25 +1,20 @@
depth = ..
include $(depth)/mk/sysconf
# Only test executables get build in here
PROGS = mh_mbox internfile
all: librecoll $(PROGS)
all: $(PROGS)
INTERNFILE_OBJS= trinternfile.o $(BIGLIB)
INTERNFILE_OBJS= trinternfile.o
internfile : $(INTERNFILE_OBJS)
$(CXX) $(ALL_CXXFLAGS) -o internfile $(INTERNFILE_OBJS) \
$(LIBRECOLL) $(LIBICONV) $(LIBSYS)
$(CXX) $(ALL_CXXFLAGS) -o internfile $(INTERNFILE_OBJS) $(LIBRECOLL)
trinternfile.o : internfile.cpp
$(CXX) $(ALL_CXXFLAGS) -DTEST_INTERNFILE -c -o trinternfile.o \
internfile.cpp
MH_MBOX_OBJS= trmh_mbox.o $(BIGLIB)
mh_mbox : $(MH_MBOX_OBJS)
$(CXX) $(ALL_CXXFLAGS) -o mh_mbox $(MH_MBOX_OBJS) \
$(LIBRECOLL) $(LIBICONV) $(LIBSYS)
$(CXX) $(ALL_CXXFLAGS) -o mh_mbox $(MH_MBOX_OBJS) $(LIBRECOLL)
trmh_mbox.o : mh_mbox.cpp
$(CXX) $(ALL_CXXFLAGS) -DTEST_MH_MBOX -c -o trmh_mbox.o \
mh_mbox.cpp
include $(depth)/mk/commontargets
include ../utils/utmkdefs.mk