|
a/src/internfile/Makefile |
|
b/src/internfile/Makefile |
1 |
# @(#$Id: Makefile,v 1.4 2008-11-24 15:47:40 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 = mh_mbox internfile
|
5 |
PROGS = mh_mbox internfile
|
7 |
|
6 |
|
8 |
all: $(BIGLIB) $(PROGS)
|
7 |
all: librecoll $(PROGS)
|
9 |
|
|
|
10 |
$(BIGLIB): force
|
|
|
11 |
cd $(depth)/lib;$(MAKE)
|
|
|
12 |
force:
|
|
|
13 |
|
8 |
|
14 |
INTERNFILE_OBJS= trinternfile.o $(BIGLIB)
|
9 |
INTERNFILE_OBJS= trinternfile.o $(BIGLIB)
|
15 |
internfile : $(INTERNFILE_OBJS)
|
10 |
internfile : $(INTERNFILE_OBJS)
|
16 |
$(CXX) $(ALL_CXXFLAGS) -o internfile $(INTERNFILE_OBJS) \
|
11 |
$(CXX) $(ALL_CXXFLAGS) -o internfile $(INTERNFILE_OBJS) \
|
17 |
$(LIBICONV) $(LIBSYS)
|
12 |
$(LIBRECOLL) $(LIBICONV) $(LIBSYS)
|
18 |
trinternfile.o : internfile.cpp
|
13 |
trinternfile.o : internfile.cpp
|
19 |
$(CXX) $(ALL_CXXFLAGS) -DTEST_INTERNFILE -c -o trinternfile.o \
|
14 |
$(CXX) $(ALL_CXXFLAGS) -DTEST_INTERNFILE -c -o trinternfile.o \
|
20 |
internfile.cpp
|
15 |
internfile.cpp
|
21 |
|
16 |
|
22 |
MH_MBOX_OBJS= trmh_mbox.o $(BIGLIB)
|
17 |
MH_MBOX_OBJS= trmh_mbox.o $(BIGLIB)
|
23 |
mh_mbox : $(MH_MBOX_OBJS)
|
18 |
mh_mbox : $(MH_MBOX_OBJS)
|
24 |
$(CXX) $(ALL_CXXFLAGS) -o mh_mbox $(MH_MBOX_OBJS) \
|
19 |
$(CXX) $(ALL_CXXFLAGS) -o mh_mbox $(MH_MBOX_OBJS) \
|
25 |
$(LIBICONV) $(LIBSYS)
|
20 |
$(LIBRECOLL) $(LIBICONV) $(LIBSYS)
|
26 |
trmh_mbox.o : mh_mbox.cpp
|
21 |
trmh_mbox.o : mh_mbox.cpp
|
27 |
$(CXX) $(ALL_CXXFLAGS) -DTEST_MH_MBOX -c -o trmh_mbox.o \
|
22 |
$(CXX) $(ALL_CXXFLAGS) -DTEST_MH_MBOX -c -o trmh_mbox.o \
|
28 |
mh_mbox.cpp
|
23 |
mh_mbox.cpp
|
29 |
|
24 |
|
30 |
|
25 |
include $(depth)/mk/commontargets
|
31 |
clean:
|
|
|
32 |
rm -f *.o $(PROGS)
|
|
|
33 |
|
|
|