Switch to unified view

a/src/internfile/Makefile b/src/internfile/Makefile
1
# @(#$Id: Makefile,v 1.2 2006-12-15 12:40:02 dockes Exp $  (C) 2005 J.F.Dockes
1
# @(#$Id: Makefile,v 1.3 2007-10-03 14:53:37 dockes Exp $  (C) 2005 J.F.Dockes
2
depth = ..
2
depth = ..
3
include $(depth)/mk/sysconf
3
include $(depth)/mk/sysconf
4
4
5
# Only test executables get build in here
5
# Only test executables get build in here
6
PROGS = internfile
6
PROGS = mh_mbox internfile
7
7
8
all: $(BIGLIB) $(PROGS) 
8
all: $(BIGLIB) $(PROGS) 
9
9
10
$(BIGLIB): force
10
$(BIGLIB): force
11
    cd $(depth)/lib;$(MAKE)
11
    cd $(depth)/lib;$(MAKE)
...
...
16
    $(CXX) $(ALL_CXXFLAGS) -o internfile $(INTERNFILE_OBJS) \
16
    $(CXX) $(ALL_CXXFLAGS) -o internfile $(INTERNFILE_OBJS) \
17
           $(LIBICONV) $(LIBSYS)
17
           $(LIBICONV) $(LIBSYS)
18
trinternfile.o : internfile.cpp 
18
trinternfile.o : internfile.cpp 
19
    $(CXX) $(ALL_CXXFLAGS) -DTEST_INTERNFILE -c -o trinternfile.o \
19
    $(CXX) $(ALL_CXXFLAGS) -DTEST_INTERNFILE -c -o trinternfile.o \
20
           internfile.cpp
20
           internfile.cpp
21
22
MH_MBOX_OBJS= trmh_mbox.o  $(BIGLIB) $(MIMELIB)
23
mh_mbox : $(MH_MBOX_OBJS) 
24
  $(CXX) $(ALL_CXXFLAGS) -o mh_mbox $(MH_MBOX_OBJS) \
25
         $(LIBICONV) $(LIBSYS)
26
trmh_mbox.o : mh_mbox.cpp 
27
  $(CXX) $(ALL_CXXFLAGS) -DTEST_MH_MBOX -c -o trmh_mbox.o \
28
         mh_mbox.cpp
29
30
21
clean:
31
clean:
22
    rm -f *.o $(PROGS)
32
    rm -f *.o $(PROGS)
23
33