X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=mts%2Fsmtp%2FMakefile.in;h=4a726b96e4dff91f84678198588ae8cfd9522ad3;hp=7d197d55a931d16f5060187c4adef4804461d69a;hb=cfc525a9b85207225cb4071d1d3b01e8d1db2424;hpb=1691e80890e5d8ba258c51c214a3e91880e1db2b diff --git a/mts/smtp/Makefile.in b/mts/smtp/Makefile.in index 7d197d5..4a726b9 100644 --- a/mts/smtp/Makefile.in +++ b/mts/smtp/Makefile.in @@ -19,11 +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) @@ -54,8 +59,12 @@ all: libsmtp.a libsmtp.a: $(OBJS) rm -f $@ - ar cr $@ `$(LORDER) $(OBJS) | $(TSORT)` - $(RANLIB) $@ + if test x$(LIBTOOL) != x -a x$(GNU_LIBTOOL) = x ; then \ + $(LIBTOOL) -static -c $(OBJS) -o $@ ; \ + else \ + ar cr $@ `$(LORDER) $(OBJS) | $(TSORT)` ; \ + $(RANLIB) $@ ; \ + fi install: @@ -76,6 +85,11 @@ realclean: distclean superclean: realclean +# ========== DEPENDENCIES FOR LINT ================= + +lint: + $(LINT) $(LINTFLAGS) $(INCLUDES) $(DEFS) $(SRCS) + # ========== DEPENDENCIES FOR MAINTENANCE ========== subdir = mts/smtp