X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=mts%2Fsendmail%2FMakefile.in;h=f812a2c52e14fe72a6204b0072fa6f5b5cf6ca68;hb=cb8a7b870ba2f2f6c7c23152a4482132e59f678e;hp=d5580a5b30bc9ecb9ccefde81a540adbaf850e5c;hpb=1691e80890e5d8ba258c51c214a3e91880e1db2b;p=mmh diff --git a/mts/sendmail/Makefile.in b/mts/sendmail/Makefile.in index d5580a5..f812a2c 100644 --- a/mts/sendmail/Makefile.in +++ b/mts/sendmail/Makefile.in @@ -24,6 +24,8 @@ INCLUDES = -I../.. -I$(srcdir) -I$(top_srcdir) LORDER = @LORDER@ TSORT = @TSORT@ RANLIB = @RANLIB@ +LIBTOOL = @LIBTOOL@ +GNU_LIBTOOL = @GNU_LIBTOOL@ COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CFLAGS) @@ -51,8 +53,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: