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 GNU_LIBTOOL = @GNU_LIBTOOL@
30 COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CFLAGS)
39 SRCS = hosts.c sendmail.c
41 # object files in libsend.a
42 OBJS = hosts.o sendmail.o
47 # all files in this directory included in the distribution
50 # ========= DEPENDENCIES FOR BUILDING AND INSTALLING ==========
56 if test x$(LIBTOOL) != x -a x$(GNU_LIBTOOL) = x ; then \
57 $(LIBTOOL) -static -c $(OBJS) -o $@ ; \
59 ar cr $@ `$(LORDER) $(OBJS) | $(TSORT)` ; \
67 # ========== DEPENDENCIES FOR CLEANUP ==========
82 # ========== DEPENDENCIES FOR MAINTENANCE ==========
86 Makefile: Makefile.in ../../config.status
87 cd ../.. && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
89 distdir = ../../`cat ../../distname`/$(subdir)
91 @echo "Copying distribution files in $(subdir)"
92 @for file in $(DIST); do \
93 cp -p $(srcdir)/$$file $(distdir); \