$NetBSD: patch-ab,v 1.1.1.1 2000/12/17 09:46:00 hubertf Exp $ --- Makefile.in.orig Tue May 16 19:02:48 2000 +++ Makefile.in @@ -6,11 +6,11 @@ DEFS = @DEFS@ CFLAGS = @CFLAGS@ $(DEFS) LIBS = @LIBS@ -CC = @CC@ +CC = ${LIBTOOL} @CC@ AR = ar RANLIB = @RANLIB@ HOST = @host@ -TARGET = libuclmmbase.a +TARGET = libuclmmbase.la exec_prefix=@exec_prefix@ @@ -30,8 +30,8 @@ $(CC) $(TEST_OBJS) $(CFLAGS) $(TARGET) $(LIBS) -o test-libcommon $(TARGET): $(OBJS) - $(AR) r $(TARGET) $(OBJS) - $(RANLIB) $(TARGET) + $(CC) $(OBJS:S/.o/.lo/) -o $(TARGET) \ + -rpath ${PREFIX}/lib -version-info 1:2:0 version.h: VERSION sed -e 's/.*/#define CCL_VERSION "v&"/' VERSION > version.h @@ -57,3 +57,5 @@ depend: $(SRCS) makedepend $(DEFS) $(INC) $(SRCS) +install: + ${LIBTOOL} install -c ${TARGET} ${PREFIX}/lib