2 # Makefile for mts/sendmail subdirectory
9 top_srcdir = @top_srcdir@
14 exec_prefix = @exec_prefix@
22 INCLUDES = -I../.. -I$(srcdir) -I$(top_srcdir)
28 COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CFLAGS)
37 SRCS = hosts.c sendmail.c
39 # object files in libsend.a
40 OBJS = hosts.o sendmail.o
45 # all files in this directory included in the distribution
48 # ========= DEPENDENCIES FOR BUILDING AND INSTALLING ==========
54 ar cr $@ `$(LORDER) $(OBJS) | $(TSORT)`
61 # ========== DEPENDENCIES FOR CLEANUP ==========
76 # ========== DEPENDENCIES FOR MAINTENANCE ==========
80 Makefile: Makefile.in ../../config.status
81 cd ../.. && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
83 distdir = ../../`cat ../../distname`/$(subdir)
85 @echo "Copying distribution files in $(subdir)"
86 @for file in $(DIST); do \
87 cp -p $(srcdir)/$$file $(distdir); \