X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=sbr%2FMakefile.in;h=10fb56ca014da1f397f83e0d4dd41f99a4e1aa24;hb=898bc853c79a8a8506f39c6f57a7febe98b6afe4;hp=9aad677b4d1494e0fc03a325192cb7005c9b3854;hpb=1691e80890e5d8ba258c51c214a3e91880e1db2b;p=mmh diff --git a/sbr/Makefile.in b/sbr/Makefile.in index 9aad677..10fb56c 100644 --- a/sbr/Makefile.in +++ b/sbr/Makefile.in @@ -19,6 +19,8 @@ AWK = @AWK@ LORDER = @LORDER@ TSORT = @TSORT@ RANLIB = @RANLIB@ +LIBTOOL = @LIBTOOL@ +GNU_LIBTOOL = @GNU_LIBTOOL@ LIBOBJS = @LIBOBJS@ @@ -91,9 +93,13 @@ sigmsg.h: sigmsg.awk pidstatus.o: sigmsg.h libmh.a: $(OBJS) - rm -f libmh.a - ar cr libmh.a `$(LORDER) $(OBJS) | $(TSORT)` - $(RANLIB) libmh.a + rm -f $@ + if test x$(LIBTOOL) != x -a x$(GNU_LIBTOOL) = x ; then \ + $(LIBTOOL) -static -c -o libmh.a $(OBJS) ; \ + else \ + ar cr libmh.a `$(LORDER) $(OBJS) | $(TSORT)` ; \ + $(RANLIB) libmh.a ; \ + fi install: