X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=sbr%2FMakefile.in;h=3eba53feabcf9cdaec71f14b1e4a7f603323a304;hp=9aad677b4d1494e0fc03a325192cb7005c9b3854;hb=d3a67123c9d05b6d639adb0e6b4a874807602a6b;hpb=1e6e0b5cc1bd2d49ffcef4ea7bb1bb6c256d07b7 diff --git a/sbr/Makefile.in b/sbr/Makefile.in index 9aad677..3eba53f 100644 --- a/sbr/Makefile.in +++ b/sbr/Makefile.in @@ -19,6 +19,7 @@ AWK = @AWK@ LORDER = @LORDER@ TSORT = @TSORT@ RANLIB = @RANLIB@ +LIBTOOL = @LIBTOOL@ LIBOBJS = @LIBOBJS@ @@ -91,9 +92,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) != xno ; then \ + $(LIBTOOL) -static -c $(OBJS) -o libmh.a ; \ + else \ + ar cr libmh.a `$(LORDER) $(OBJS) | $(TSORT)` ; \ + $(RANLIB) libmh.a ; \ + fi install: