summaryrefslogtreecommitdiff
path: root/audio/rplay/patches/patch-ak
blob: 37de480e83f3cf22c365834c7fb930e4e6f6d2fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
$NetBSD: patch-ak,v 1.1 2000/01/26 22:11:37 jlam 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) $(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) $(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