| 1 | # Make file for building a library containing all the available transports and |
| 2 | # calling it transports.a. This is called from the main make file, after cd'ing |
| 3 | # to the transports subdirectory. |
| 4 | |
| 5 | OBJ = appendfile.o autoreply.o lmtp.o pipe.o queuefile.o smtp.o smtp_socks.o tf_maildir.o |
| 6 | |
| 7 | transports.a: $(OBJ) |
| 8 | @$(RM_COMMAND) -f transports.a |
| 9 | @echo "$(AR) transports.a" |
| 10 | @$(AR) transports.a $(OBJ) |
| 11 | $(RANLIB) $@ |
| 12 | |
| 13 | .SUFFIXES: .o .c |
| 14 | .c.o:; @echo "$(CC) $*.c" |
| 15 | $(FE)$(CC) -c $(CFLAGS) $(INCLUDE) $*.c |
| 16 | |
| 17 | appendfile.o: $(HDRS) appendfile.c appendfile.h tf_maildir.h |
| 18 | autoreply.o: $(HDRS) autoreply.c autoreply.h |
| 19 | lmtp.o: $(HDRS) lmtp.c lmtp.h |
| 20 | pipe.o: $(HDRS) pipe.c pipe.h |
| 21 | queuefile.o: $(HDRS) queuefile.c queuefile.h |
| 22 | smtp.o: $(HDRS) smtp.c smtp.h |
| 23 | smtp_socks.o: $(HDRS) smtp_socks.c smtp.h |
| 24 | |
| 25 | tf_maildir.o: $(HDRS) tf_maildir.c tf_maildir.h appendfile.h |
| 26 | |
| 27 | # End |