blob: f7e292c28762f18a67f09d6a4219b115c48d60e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
$NetBSD: patch-ag,v 1.1 2002/03/06 06:48:17 jmc Exp $
--- handc/configure.orig Mon Nov 27 02:03:11 2000
+++ handc/configure Wed Mar 6 06:23:50 2002
@@ -2762,8 +2762,10 @@
$(SO_PRODUCT): $(SOFILES)
$(CC) -shared $(SOFILES) -o $(SO_PRODUCT) $(XLFLAGS)
-%.so: %.c
- $(CC) -c $(CPPFLAGS) $(CFLAGS) -fPIC -o $@ $^
+.SUFFIXES: .so
+
+.c.so:
+ $(CC) -c $(CPPFLAGS) $(CFLAGS) -fPIC -o ${.TARGET} ${.IMPSRC}
install.so: $(SO_PRODUCT)
cp $(SO_PRODUCT) $(INSTALL_DIR)/resource/modules
|