2cbeb7c50e8702ec87e111bd2c9a71304ddb8a1d
[exim.git] / src / src / transports / Makefile
1 # $Cambridge: exim/src/src/transports/Makefile,v 1.3 2005/09/12 13:50:04 ph10 Exp $
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
7 OBJ = appendfile.o autoreply.o lmtp.o pipe.o smtp.o tf_maildir.o
8
9 transports.a:    $(OBJ)
10                  @$(RM_COMMAND) -f transports.a
11                  @echo "$(AR) transports.a"
12                  @$(AR) transports.a $(OBJ)
13                  $(RANLIB) $@
14                  @$(RM_COMMAND) -rf ../drtables.o
15
16 .SUFFIXES:       .o .c
17 .c.o:;           @echo "$(CC) $*.c"
18                  $(FE)$(CC) -c $(CFLAGS) $(INCLUDE) $*.c
19
20 appendfile.o:    $(HDRS) appendfile.c appendfile.h tf_maildir.h
21 autoreply.o:     $(HDRS) autoreply.c autoreply.h
22 lmtp.o:          $(HDRS) lmtp.c lmtp.h
23 pipe.o:          $(HDRS) pipe.c pipe.h
24 smtp.o:          $(HDRS) smtp.c smtp.h
25
26 tf_maildir.o:    $(HDRS) tf_maildir.c tf_maildir.h appendfile.h
27
28 # End