Removed --with-smtpservers configure option and thelike
[mmh] / mts / Makefile.in
index 08b4754..eeafd3a 100644 (file)
@@ -1,8 +1,6 @@
 #
 # Makefile for mts subdirectory
 #
-# $Id$
-#
 
 SHELL = /bin/sh
 
@@ -24,7 +22,7 @@ LIBTOOL = @LIBTOOL@
 GNU_LIBTOOL = @GNU_LIBTOOL@
 
 # object files that go into libmts.a
-OBJS =  generic/client.o generic/mts.o smtp/hosts.o smtp/smtp.o
+OBJS =  smtp/hosts.o smtp/smtp.o
 
 # auxiliary files
 AUX = Makefile.in
@@ -33,11 +31,7 @@ AUX = Makefile.in
 DIST = $(AUX)
 
 # subdirectories
-SUBDIRS = smtp generic
-
-# mail transport agent we are using (currently always smtp)
-# MTS = smtp
-# DEPRECATED: smtp/sendmail functionality handled by mts.conf
+SUBDIRS = smtp
 
 # ========= DEPENDENCIES FOR BUILDING AND INSTALLING ==========
 
@@ -53,7 +47,7 @@ libmts.a: $(OBJS)
        if test x$(LIBTOOL) != x -a x$(GNU_LIBTOOL) = x ; then \
          $(LIBTOOL) -static -c $(OBJS) -o $@  ; \
        else \
-         ar cr $@ `$(LORDER) $(OBJS) | $(TSORT)`  ; \
+         ar cr $@ `$(LORDER) $(OBJS) | $(TSORT) 2>/dev/null`  ; \
          $(RANLIB) $@  ; \
        fi 
 
@@ -97,7 +91,7 @@ lint:
 subdir = mts
 
 Makefile: Makefile.in ../config.status
-       cd .. && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
+       cd .. && ./config.status $(subdir)/$@
  
 distdir = ../`cat ../distname`/$(subdir)
 nmhdist: $(DIST)