2 # Makefile for mts/sendmail subdirectory
9 top_srcdir = @top_srcdir@
14 exec_prefix = @exec_prefix@
22 INCLUDES = -I../.. -I$(srcdir) -I$(top_srcdir)
29 COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CFLAGS)
38 SRCS = hosts.c sendmail.c
40 # object files in libsend.a
41 OBJS = hosts.o sendmail.o
46 # all files in this directory included in the distribution
49 # ========= DEPENDENCIES FOR BUILDING AND INSTALLING ==========
55 if test x$(LIBTOOL) != xno ; then \
56 $(LIBTOOL) -static -c $(OBJS) -o $@ ; \
58 ar cr $@ `$(LORDER) $(OBJS) | $(TSORT)` ; \
66 # ========== DEPENDENCIES FOR CLEANUP ==========
81 # ========== DEPENDENCIES FOR MAINTENANCE ==========
85 Makefile: Makefile.in ../../config.status
86 cd ../.. && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
88 distdir = ../../`cat ../../distname`/$(subdir)
90 @echo "Copying distribution files in $(subdir)"
91 @for file in $(DIST); do \
92 cp -p $(srcdir)/$$file $(distdir); \