39 lines
1.1 KiB
Text
39 lines
1.1 KiB
Text
$NetBSD: patch-ap,v 1.2 2009/10/06 17:27:51 joerg 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) --mode=link $(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) --mode=install $(INSTALL_PROGRAM) $(TARGET) $(bindir)/$(TARGET)
|
|
|
|
uninstall:
|
|
- $(RM) $(bindir)/$(TARGET)
|
|
+ $(LIBTOOL) --mode=uninstall $(RM) $(bindir)/$(TARGET)
|
|
|
|
clean:
|
|
- $(RM) $(OBJS) $(TARGET) a.out core *~ *.bak *.orig TAGS
|
|
+ $(LIBTOOL) --mode=clean $(RM) $(OBJS) $(TARGET) a.out core *~ *.bak *.orig TAGS
|
|
|
|
distclean: clean
|
|
$(RM) Makefile
|