40 lines
1.1 KiB
Text
40 lines
1.1 KiB
Text
|
$NetBSD: patch-ap,v 1.1 2000/01/26 22:11:37 jlam Exp $
|
||
|
|
||
|
--- rptp/Makefile.in.orig Wed Jun 9 02:27:48 1999
|
||
|
+++ rptp/Makefile.in Tue Jan 18 16:15:34 2000
|
||
|
@@ -13,7 +13,7 @@
|
||
|
.c.o:
|
||
|
$(CC) -c $(CPPFLAGS) $(CFLAGS) $<
|
||
|
|
||
|
-LDFLAGS= $(LD_OPTIONS) -L../librplay -lrplay -L../lib -lrp @LDFLAGS@ @RL_LIBS@ @LIBS@
|
||
|
+LDFLAGS= $(LD_OPTIONS) ../librplay/$(LIBRPLAY_NAME) ../lib/librp.a @LDFLAGS@ @RL_LIBS@ @LIBS@
|
||
|
|
||
|
TARGET= rptp
|
||
|
|
||
|
@@ -24,7 +24,7 @@
|
||
|
all: $(TARGET)
|
||
|
|
||
|
$(TARGET): $(OBJS) ../librplay/$(LIBRPLAY_NAME) ../lib/librp.a
|
||
|
- $(CC) -o $@ $(OBJS) $(LDFLAGS)
|
||
|
+ $(LIBTOOL) $(CC) -o $@ $(OBJS) $(LDFLAGS)
|
||
|
|
||
|
../librplay/$(LIBRPLAY_NAME):
|
||
|
(cd ../librplay; $(MAKE) $(MFLAGS))
|
||
|
@@ -34,13 +34,13 @@
|
||
|
|
||
|
install: all
|
||
|
$(MKINSTALLDIRS) $(bindir)
|
||
|
- $(INSTALL_PROGRAM) $(TARGET) $(bindir)/$(TARGET)
|
||
|
+ $(LIBTOOL) $(INSTALL_PROGRAM) $(TARGET) $(bindir)/$(TARGET)
|
||
|
|
||
|
uninstall:
|
||
|
- $(RM) $(bindir)/$(TARGET)
|
||
|
+ $(LIBTOOL) $(RM) $(bindir)/$(TARGET)
|
||
|
|
||
|
clean:
|
||
|
- $(RM) $(OBJS) $(TARGET) a.out core *~ *.bak *.orig TAGS
|
||
|
+ $(LIBTOOL) $(RM) $(OBJS) $(TARGET) a.out core *~ *.bak *.orig TAGS
|
||
|
|
||
|
distclean: clean
|
||
|
$(RM) Makefile
|