X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=mts%2Fsendmail%2FMakefile.in;h=b025b3b9473d79de6f72c6f2791c286d8419db1f;hp=d5580a5b30bc9ecb9ccefde81a540adbaf850e5c;hb=75e073ea52a427394690e0c1ef7943a1727c7095;hpb=1691e80890e5d8ba258c51c214a3e91880e1db2b diff --git a/mts/sendmail/Makefile.in b/mts/sendmail/Makefile.in index d5580a5..b025b3b 100644 --- a/mts/sendmail/Makefile.in +++ b/mts/sendmail/Makefile.in @@ -24,6 +24,10 @@ INCLUDES = -I../.. -I$(srcdir) -I$(top_srcdir) LORDER = @LORDER@ TSORT = @TSORT@ RANLIB = @RANLIB@ +LIBTOOL = @LIBTOOL@ +GNU_LIBTOOL = @GNU_LIBTOOL@ +LINT = @LINT@ +LINTFLAGS = @LINTFLAGS@ COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CFLAGS) @@ -51,8 +55,12 @@ all: libsend.a libsend.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: @@ -73,6 +81,11 @@ realclean: distclean superclean: realclean +# ========== DEPENDENCIES FOR LINT ================= + +lint: + $(LINT) $(LINTFLAGS) $(INCLUDES) $(DEFS) $(SRCS) + # ========== DEPENDENCIES FOR MAINTENANCE ========== subdir = mts/sendmail