39 lines
1.1 KiB
Text
39 lines
1.1 KiB
Text
$NetBSD: patch-ak,v 1.2 2009/10/06 17:27:51 joerg Exp $
|
|
|
|
--- rplay/Makefile.in.orig Sat Mar 20 19:44:57 1999
|
|
+++ rplay/Makefile.in Tue Jan 18 16:15:33 2000
|
|
@@ -13,7 +13,7 @@
|
|
.c.o:
|
|
$(CC) -c $(CPPFLAGS) $(CFLAGS) $<
|
|
|
|
-LDFLAGS= $(LD_OPTIONS) -L../librplay -lrplay -L../lib -lrp @LDFLAGS@ @LIBS@
|
|
+LDFLAGS= $(LD_OPTIONS) ../librplay/$(LIBRPLAY_NAME) ../lib/librp.a @LDFLAGS@ @LIBS@
|
|
|
|
TARGET= rplay
|
|
SRCS= rplay.c
|
|
@@ -22,7 +22,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))
|
|
@@ -32,13 +32,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
|