blob: 860abc068b8a8754bd9cdd241be0f9cfbec1e78b (
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-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
|