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 LINTFLAGS = @LINTFLAGS@
32 COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CFLAGS)
41 SRCS = hosts.c sendmail.c
43 # object files in libsend.a
44 OBJS = hosts.o sendmail.o
49 # all files in this directory included in the distribution
52 # ========= DEPENDENCIES FOR BUILDING AND INSTALLING ==========
58 if test x$(LIBTOOL) != x -a x$(GNU_LIBTOOL) = x ; then \
59 $(LIBTOOL) -static -c $(OBJS) -o $@ ; \
61 ar cr $@ `$(LORDER) $(OBJS) | $(TSORT)` ; \
69 # ========== DEPENDENCIES FOR CLEANUP ==========
84 # ========== DEPENDENCIES FOR LINT =================
87 $(LINT) $(LINTFLAGS) $(INCLUDES) $(DEFS) $(SRCS)
89 # ========== DEPENDENCIES FOR MAINTENANCE ==========
93 Makefile: Makefile.in ../../config.status
94 cd ../.. && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
96 distdir = ../../`cat ../../distname`/$(subdir)
98 @echo "Copying distribution files in $(subdir)"
99 @for file in $(DIST); do \
100 cp -p $(srcdir)/$$file $(distdir); \