SASL support from Ken Hornstein <kenh@cmf.nrl.navy.mil>.
[mmh] / mts / smtp / Makefile.in
index a4fc8d9..4a726b9 100644 (file)
@@ -19,13 +19,16 @@ etcdir      = @sysconfdir@
 CC       = @CC@
 CFLAGS   = @CFLAGS@
 DEFS     = @DEFS@
-INCLUDES = -I../.. -I$(srcdir) -I$(top_srcdir)
+SASL_INCLUDES = @SASL_INCLUDES@
+INCLUDES = -I../.. -I$(srcdir) -I$(top_srcdir) $(SASL_INCLUDES)
 
 LORDER  = @LORDER@
 TSORT   = @TSORT@
 RANLIB  = @RANLIB@
 LIBTOOL = @LIBTOOL@
 GNU_LIBTOOL = @GNU_LIBTOOL@
+LINT   = @LINT@
+LINTFLAGS = @LINTFLAGS@
 
 COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CFLAGS)
 
@@ -56,7 +59,7 @@ all: libsmtp.a
 
 libsmtp.a: $(OBJS)
        rm -f $@
-       if test x$(LIBTOOL) != xno -a x$(GNU_LIBTOOL) = x ; then \
+       if test x$(LIBTOOL) != x -a x$(GNU_LIBTOOL) = x ; then \
          $(LIBTOOL) -static -c $(OBJS) -o $@  ; \
        else \
          ar cr $@ `$(LORDER) $(OBJS) | $(TSORT)`  ; \
@@ -82,6 +85,11 @@ realclean: distclean
 
 superclean: realclean
 
+# ========== DEPENDENCIES FOR LINT =================
+
+lint: 
+       $(LINT) $(LINTFLAGS) $(INCLUDES) $(DEFS) $(SRCS)
+
 # ========== DEPENDENCIES FOR MAINTENANCE ==========
 
 subdir = mts/smtp