Fix parallel build (make -j). Fixes: bug #668.
[exim.git] / src / src / transports / Makefile
1 # $Cambridge: exim/src/src/transports/Makefile,v 1.4 2008/02/14 13:49:35 fanf2 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
15 .SUFFIXES:       .o .c
16 .c.o:;           @echo "$(CC) $*.c"
17                  $(FE)$(CC) -c $(CFLAGS) $(INCLUDE) $*.c
18
19 appendfile.o:    $(HDRS) appendfile.c appendfile.h tf_maildir.h
20 autoreply.o:     $(HDRS) autoreply.c autoreply.h
21 lmtp.o:          $(HDRS) lmtp.c lmtp.h
22 pipe.o:          $(HDRS) pipe.c pipe.h
23 smtp.o:          $(HDRS) smtp.c smtp.h
24
25 tf_maildir.o:    $(HDRS) tf_maildir.c tf_maildir.h appendfile.h
26
27 # End