Removed --with-smtpservers configure option and thelike
[mmh] / mts / smtp / Makefile.in
index 4a726b9..b2a4059 100644 (file)
@@ -1,8 +1,6 @@
 #
 # Makefile for mts/smtp subdirectory
 #
-# $Id$
-#
 
 SHELL = /bin/sh
 
@@ -19,14 +17,7 @@ etcdir      = @sysconfdir@
 CC       = @CC@
 CFLAGS   = @CFLAGS@
 DEFS     = @DEFS@
-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@
+INCLUDES = -I../.. -I$(srcdir) -I$(top_srcdir) @CPPFLAGS@
 LINT   = @LINT@
 LINTFLAGS = @LINTFLAGS@
 
@@ -55,16 +46,7 @@ DIST = $(HDRS) $(SRCS) $(AUX)
 
 # ========= DEPENDENCIES FOR BUILDING AND INSTALLING ==========
 
-all: libsmtp.a
-
-libsmtp.a: $(OBJS)
-       rm -f $@
-       if test x$(LIBTOOL) != x -a x$(GNU_LIBTOOL) = x ; then \
-         $(LIBTOOL) -static -c $(OBJS) -o $@  ; \
-       else \
-         ar cr $@ `$(LORDER) $(OBJS) | $(TSORT)`  ; \
-         $(RANLIB) $@  ; \
-       fi 
+all: $(OBJS)
 
 install:
 
@@ -76,7 +58,6 @@ mostlyclean:
        rm -f *.o *~
 
 clean: mostlyclean
-       rm -f libsmtp.a
 
 distclean: clean
        rm -f Makefile
@@ -95,7 +76,7 @@ lint:
 subdir = mts/smtp
 
 Makefile: Makefile.in ../../config.status
-       cd ../.. && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
+       cd ../.. && ./config.status $(subdir)/$@
  
 distdir = ../../`cat ../../distname`/$(subdir)
 nmhdist: $(DIST)