2 # Makefile for mts/smtp 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)
44 # object files in libsmtp.a
50 # all files in this directory included in the distribution
51 DIST = $(HDRS) $(SRCS) $(AUX)
53 # ========= DEPENDENCIES FOR BUILDING AND INSTALLING ==========
59 if test x$(LIBTOOL) != x -a x$(GNU_LIBTOOL) = x ; then \
60 $(LIBTOOL) -static -c $(OBJS) -o $@ ; \
62 ar cr $@ `$(LORDER) $(OBJS) | $(TSORT)` ; \
70 # ========== DEPENDENCIES FOR CLEANUP ==========
85 # ========== DEPENDENCIES FOR MAINTENANCE ==========
89 Makefile: Makefile.in ../../config.status
90 cd ../.. && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
92 distdir = ../../`cat ../../distname`/$(subdir)
94 @echo "Copying distribution files in $(subdir)"
95 @for file in $(DIST); do \
96 cp -p $(srcdir)/$$file $(distdir); \