$NetBSD: patch-aa,v 1.3 1998/08/07 10:40:17 agc Exp $ --- Makefile.in.orig Mon Jul 20 10:54:23 1998 +++ Makefile.in Mon Jul 20 10:55:55 1998 @@ -20,7 +20,7 @@ # # If you don't have the GNU C compiler installed, set CC=cc here # -CC = @CC@ +CC = $(LIBTOOL) @CC@ # # C Compiler Options # @@ -52,11 +52,11 @@ .SUFFIXES: .SUFFIXES: .c .o -all: libuu.a +all: libuu.la clean: rm -f [Xx]deview gif2gfp - rm -f *.o *.a *.so core *~ TAGS + rm -f *.o *.la *.so core *~ TAGS distclean: clean rm -f config.status config.cache config.log Makefile config.h @@ -65,13 +65,13 @@ realclean: distclean new: clean - rm -f libuu.a + rm -f libuu.la $(MAKE) all -libuu.a: $(UULIB_OBJ) +libuu.la: $(UULIB_OBJ) rm -f $@ - ar r $@ $(UULIB_OBJ) - -$(RANLIB) $@ + $(CC) -o libuu.la $(UULIB_OBJ:.o=.lo) -rpath $(PREFIX)/lib \ + -version-info 1:0 .c.o: $(CC) -c $(CFLAGS) $(VDEF) $<