2 # Makefile for mts/smtp 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)
43 # object files in libsmtp.a
49 # all files in this directory included in the distribution
50 DIST = $(HDRS) $(SRCS) $(AUX)
52 # ========= DEPENDENCIES FOR BUILDING AND INSTALLING ==========
58 if test x$(LIBTOOL) != xno ; then \
59 $(LIBTOOL) -static -c $(OBJS) -o $@ ; \
61 ar cr $@ `$(LORDER) $(OBJS) | $(TSORT)` ; \
69 # ========== DEPENDENCIES FOR CLEANUP ==========
84 # ========== DEPENDENCIES FOR MAINTENANCE ==========
88 Makefile: Makefile.in ../../config.status
89 cd ../.. && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
91 distdir = ../../`cat ../../distname`/$(subdir)
93 @echo "Copying distribution files in $(subdir)"
94 @for file in $(DIST); do \
95 cp -p $(srcdir)/$$file $(distdir); \