2 # Makefile for mts/smtp subdirectory
9 top_srcdir = @top_srcdir@
14 exec_prefix = @exec_prefix@
22 INCLUDES = -I../.. -I$(srcdir) -I$(top_srcdir) @CPPFLAGS@
24 LINTFLAGS = @LINTFLAGS@
26 COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CFLAGS)
40 # object files in libsmtp.a
46 # all files in this directory included in the distribution
47 DIST = $(HDRS) $(SRCS) $(AUX)
49 # ========= DEPENDENCIES FOR BUILDING AND INSTALLING ==========
57 # ========== DEPENDENCIES FOR CLEANUP ==========
71 # ========== DEPENDENCIES FOR LINT =================
74 $(LINT) $(LINTFLAGS) $(INCLUDES) $(DEFS) $(SRCS)
76 # ========== DEPENDENCIES FOR MAINTENANCE ==========
80 Makefile: Makefile.in ../../config.status
81 cd ../.. && ./config.status $(subdir)/$@
83 distdir = ../../`cat ../../distname`/$(subdir)
85 @echo "Copying distribution files in $(subdir)"
86 @for file in $(DIST); do \
87 cp -p $(srcdir)/$$file $(distdir); \