2 # Makefile for mts/smtp subdirectory
9 top_srcdir = @top_srcdir@
14 exec_prefix = @exec_prefix@
22 SASL_INCLUDES = @SASL_INCLUDES@
23 INCLUDES = -I../.. -I$(srcdir) -I$(top_srcdir) $(SASL_INCLUDES)
25 LINTFLAGS = @LINTFLAGS@
27 COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CFLAGS)
41 # object files in libsmtp.a
47 # all files in this directory included in the distribution
48 DIST = $(HDRS) $(SRCS) $(AUX)
50 # ========= DEPENDENCIES FOR BUILDING AND INSTALLING ==========
58 # ========== DEPENDENCIES FOR CLEANUP ==========
72 # ========== DEPENDENCIES FOR LINT =================
75 $(LINT) $(LINTFLAGS) $(INCLUDES) $(DEFS) $(SRCS)
77 # ========== DEPENDENCIES FOR MAINTENANCE ==========
81 Makefile: Makefile.in ../../config.status
82 cd ../.. && ./config.status $(subdir)/$@
84 distdir = ../../`cat ../../distname`/$(subdir)
86 @echo "Copying distribution files in $(subdir)"
87 @for file in $(DIST); do \
88 cp -p $(srcdir)/$$file $(distdir); \