pkgsrc/mbone/common-mml/patches/patch-ah

26 lines
753 B
Text

$NetBSD: patch-ah,v 1.1 2006/04/11 18:40:24 minskim Exp $
--- tests/Makefile.in.orig 2001-03-09 08:39:57.000000000 -0800
+++ tests/Makefile.in
@@ -5,7 +5,7 @@
COMMONLIB=uclmmbase
COMMONSRC=../src
-COMMONTGT = $(COMMONSRC)/lib$(COMMONLIB).a
+COMMONTGT = $(COMMONSRC)/lib$(COMMONLIB).la
DEFS = @DEFS@
CFLAGS = -I$(COMMONSRC) @CFLAGS@ $(DEFS)
@@ -21,10 +21,10 @@ SRCS = $(OBJS:%.o=%.c)
all: test-libcommon
test-libcommon: $(OBJS) $(COMMONTGT)
- $(CC) $(OBJS) $(CFLAGS) $(COMMONTGT) $(LIBS) -o test-libcommon
+ $(LIBTOOL) --mode=link $(CC) $(OBJS) $(CFLAGS) $(COMMONTGT) $(LIBS) -o test-libcommon
.c.o:
- $(CC) $(CFLAGS) $(INC) -c $<
+ $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(INC) -c $<
clean:
-rm -f $(OBJS) tags test-libcommon