$NetBSD: patch-ac,v 1.3 2005/02/25 09:52:47 adam Exp $ --- rules.make.orig 2004-12-17 20:34:48.000000000 +0000 +++ rules.make @@ -55,8 +55,7 @@ lib: $(LIBRARY) $(LIBRARY): $(LIB_OBJS) FORCE - $(AR) $(ARFLAGS) $@ $(LIB_OBJS) - $(RANLIB) $@ + $(AR) $(ARFLAGS) -o $(.TARGET:.a=.la) $(LIB_OBJS:.o=.lo) #------------------------------------------------------------------------------- # Shared Libraries: @@ -124,10 +123,10 @@ $(INCDIR)/$(HEADER3): $(INCDIR) $(HEADER $(INSTALL) $(HEADER3) $@ $(LIBDIR)/$(LIBRARY): $(LIBDIR) $(LIBRARY) FORCE - $(INSTALL) $(LIBRARY) $@ + $(LIBTOOL) --mode=install $(BSD_INSTALL_LIB) $(LIBRARY) $@ $(BINDIR)/$(PROGRAM): $(BINDIR) $(PROGRAM) FORCE - $(INSTALL) $(PROGRAM) $@ + $(LIBTOOL) --mode=install $(BSD_INSTALL_PROGRAM) $(PROGRAM) $@ $(BINDIR) \ $(INCDIR) \