summaryrefslogtreecommitdiff
path: root/comms/plp/patches/patch-ae
blob: fd2903b2fc4a55f96a8272478ab0da7c9ad2d6a5 (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
$NetBSD: patch-ae,v 1.3 2001/04/22 17:43:19 skrll Exp $

--- utils/Makefile.orig	Sun Jan 17 16:22:40 1999
+++ utils/Makefile
@@ -3,14 +3,14 @@
 
 OBJ=$(CCSOURCE:%.cc=%.o) $(CSOURCE:%.c=%.o)
 
-libutils.a : $(OBJ)
-	$(AR) $@ $(OBJ)
+libplputils.la : $(OBJ)
+	$(LD) -o $@ $(OBJ:.o=.lo) -rpath $(PREFIX)/lib -version-info 1:7
 
 %.o : %.cc
-	$(CC) -c $< -o $@
+	$(CC) -c $<
 
 %.o : %.c
-	$(CC) -c $< -o $@
+	$(CC) -c $<
 
 clean :
-	rm -f *.a core $(OBJ) *~
+	rm -f .libs *.la core $(OBJ) *~