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)
29 GNU_LIBTOOL = @GNU_LIBTOOL@
31 LINTFLAGS = @LINTFLAGS@
33 COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CFLAGS)
47 # object files in libsmtp.a
53 # all files in this directory included in the distribution
54 DIST = $(HDRS) $(SRCS) $(AUX)
56 # ========= DEPENDENCIES FOR BUILDING AND INSTALLING ==========
62 if test x$(LIBTOOL) != x -a x$(GNU_LIBTOOL) = x ; then \
63 $(LIBTOOL) -static -c $(OBJS) -o $@ ; \
65 ar cr $@ `$(LORDER) $(OBJS) | $(TSORT)` ; \
73 # ========== DEPENDENCIES FOR CLEANUP ==========
88 # ========== DEPENDENCIES FOR LINT =================
91 $(LINT) $(LINTFLAGS) $(INCLUDES) $(DEFS) $(SRCS)
93 # ========== DEPENDENCIES FOR MAINTENANCE ==========
97 Makefile: Makefile.in ../../config.status
98 cd ../.. && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
100 distdir = ../../`cat ../../distname`/$(subdir)
102 @echo "Copying distribution files in $(subdir)"
103 @for file in $(DIST); do \
104 cp -p $(srcdir)/$$file $(distdir); \