|
a/src/bincimapmime/Makefile |
|
b/src/bincimapmime/Makefile |
|
|
1 |
# @(#$Id: Makefile,v 1.6 2006-01-19 12:01:42 dockes Exp $ (C) 2005 J.F.Dockes
|
|
|
2 |
|
|
|
3 |
depth = ..
|
|
|
4 |
include $(depth)/mk/sysconf
|
1 |
|
5 |
|
2 |
LIBS = libmime.a
|
6 |
LIBS = libmime.a
|
3 |
PROGS = trbinc
|
7 |
PROGS = trbinc
|
4 |
|
8 |
|
5 |
all: depend $(LIBS)
|
9 |
all: depend $(LIBS)
|
|
... |
|
... |
13 |
convert.o iodevice.o iofactory.o
|
17 |
convert.o iodevice.o iofactory.o
|
14 |
|
18 |
|
15 |
libmime.a : $(OBJS)
|
19 |
libmime.a : $(OBJS)
|
16 |
$(AR) ru libmime.a $(OBJS)
|
20 |
$(AR) ru libmime.a $(OBJS)
|
17 |
|
21 |
|
18 |
.cc .o :
|
22 |
.cc.o:
|
19 |
$(CXX) $(CXXFLAGS) -c $<
|
23 |
$(CXX) $(ALL_CXXFLAGS) -c $<
|
20 |
|
24 |
|
21 |
TRBINCOBJS = trbinc.o
|
25 |
TRBINCOBJS = trbinc.o
|
22 |
trbinc: trbinc.o
|
26 |
trbinc: trbinc.o
|
23 |
$(CXX) -o trbinc trbinc.o libmime.a
|
27 |
$(CXX) -o trbinc trbinc.o libmime.a
|
24 |
|
28 |
|
25 |
depend: alldeps.stamp
|
29 |
depend: alldeps.stamp
|
26 |
alldeps.stamp : $(SRCS)
|
30 |
alldeps.stamp : $(SRCS)
|
27 |
$(CXX) -M $(CXXFLAGS) $(SRCS) > alldeps
|
31 |
$(CXX) -M $(ALL_CXXFLAGS) $(SRCS) > alldeps
|
28 |
touch alldeps.stamp
|
32 |
touch alldeps.stamp
|
29 |
|
33 |
|
30 |
clean:
|
34 |
clean:
|
31 |
cp /dev/null alldeps
|
35 |
cp /dev/null alldeps
|
32 |
rm -f alldeps.stamp
|
36 |
rm -f alldeps.stamp
|
33 |
rm -f ${LIBS} ${PROGS} ${OBJS}
|
37 |
rm -f ${LIBS} ${PROGS} ${OBJS}
|
34 |
|
38 |
|
35 |
include ../mk/sysconf
|
|
|
36 |
include alldeps
|
39 |
include alldeps
|