X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/1691e80890e5d8ba258c51c214a3e91880e1db2b..e66e25ec491d0fb3df708000d8494b4d598f0263:/sbr/Makefile.in diff --git a/sbr/Makefile.in b/sbr/Makefile.in index 9aad677b..10fb56ca 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: