Use RM_COMMAND everywhere during building.
[exim.git] / src / src / transports / Makefile
CommitLineData
ebcb507f 1# $Cambridge: exim/src/src/transports/Makefile,v 1.3 2005/09/12 13:50:04 ph10 Exp $
0756eb3c
PH
2
3# Make file for building a library containing all the available transports and
4# calling it transports.a. This is called from the main make file, after cd'ing
5# to the transports subdirectory.
6
7OBJ = appendfile.o autoreply.o lmtp.o pipe.o smtp.o tf_maildir.o
8
9transports.a: $(OBJ)
ebcb507f 10 @$(RM_COMMAND) -f transports.a
c1ac6996
PH
11 @echo "$(AR) transports.a"
12 @$(AR) transports.a $(OBJ)
0756eb3c 13 $(RANLIB) $@
ebcb507f 14 @$(RM_COMMAND) -rf ../drtables.o
0756eb3c
PH
15
16.SUFFIXES: .o .c
c1ac6996
PH
17.c.o:; @echo "$(CC) $*.c"
18 $(FE)$(CC) -c $(CFLAGS) $(INCLUDE) $*.c
0756eb3c
PH
19
20appendfile.o: $(HDRS) appendfile.c appendfile.h tf_maildir.h
21autoreply.o: $(HDRS) autoreply.c autoreply.h
22lmtp.o: $(HDRS) lmtp.c lmtp.h
23pipe.o: $(HDRS) pipe.c pipe.h
24smtp.o: $(HDRS) smtp.c smtp.h
25
26tf_maildir.o: $(HDRS) tf_maildir.c tf_maildir.h appendfile.h
27
28# End