37 lines
872 B
Plaintext
37 lines
872 B
Plaintext
$NetBSD: patch-ab,v 1.2 2006/04/11 18:39:41 minskim Exp $
|
|
|
|
--- src/Makefile.in.orig 2003-05-28 04:38:56.000000000 -0700
|
|
+++ src/Makefile.in
|
|
@@ -10,7 +10,7 @@ CC = @CC@
|
|
AR = ar
|
|
RANLIB = @RANLIB@
|
|
HOST = @host@
|
|
-TARGET = libuclmmbase.a
|
|
+TARGET = libuclmmbase.la
|
|
|
|
exec_prefix=@exec_prefix@
|
|
|
|
@@ -24,14 +24,14 @@ SRCS = $(OBJS:%.o=%.c)
|
|
all: version.h $(TARGET)
|
|
|
|
$(TARGET): $(OBJS)
|
|
- $(AR) r $(TARGET) $(OBJS)
|
|
- $(RANLIB) $(TARGET)
|
|
+ $(LIBTOOL) --mode=link $(CC) $(OBJS:S/.o/.lo/) -o $(TARGET) \
|
|
+ -rpath ${PREFIX}/lib -version-number 1:2:16
|
|
|
|
version.h: ../VERSION
|
|
sed -e 's/.*/#define CCL_VERSION "v&"/' $? > version.h
|
|
|
|
.c.o:
|
|
- $(CC) $(CFLAGS) $(INC) -c $<
|
|
+ $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(INC) -c $<
|
|
|
|
clean:
|
|
-rm -f $(OBJS) version.h $(TARGET) tags
|
|
@@ -50,4 +50,3 @@ release:
|
|
|
|
depend: $(SRCS)
|
|
makedepend $(DEFS) $(INC) $(SRCS)
|
|
-
|