blob: aa5a17c28b0c3842fea0549280ebfb897c87fa7b (
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
40
41
42
|
$NetBSD: patch-ag,v 1.2 2002/07/08 14:25:06 jschauma Exp $
--- plugins/five/makefile.in.orig Sun Jul 7 12:50:31 2002
+++ plugins/five/makefile.in Sun Jul 7 12:55:45 2002
@@ -18,6 +18,11 @@
@MCOMMON@
+CXX = $(LIBTOOL) --mode=compile $(CC)
+
+.c.o:
+ $(CXX) -c $(CXXINCLUDES) $(INCLUDES) $(CXXOPT) $<
+
PLUGINFLAGS=$(SHAREFLAGS)
IOBJS =fiveplugin.o fivegeom.o fivefuncs.o fiveskin.o fivegui.o \
@@ -26,9 +31,13 @@
-I../common -I../../ftplib -I../../resloader
CXXOPT=$(DEFS) $(DEB) $(CFLAGS)
-PROGRAM =libxncfive.so
+#PROGRAM =libxncfive.so
+PROGRAM =libxncfive.a
-all:: $(PROGRAM)
+#all:: $(PROGRAM)
+all: $(IOBJS)
+ $(LIBTOOL) $(CC) -module -avoid-version -o $(PROGRAM:.a=.la) \
+ $(IOBJS:.o=.lo) -rpath $(INSTPLUG)
../gui.o: ../gui.cxx
@@ -88,7 +97,8 @@
install:
- ./xncsetup
+# ./xncsetup
+ $(LIBTOOL) --mode=install $(INSTALL_DATA) $(PROGRAM:.a=.la) $(INSTPLUG)
uninstall:
#Uninstalling IVES..
|