$NetBSD: patch-ag,v 1.1.1.1 2001/09/17 05:40:06 zuntum Exp $ --- plugins/five/makefile.in.orig Tue Mar 13 19:05:52 2001 +++ plugins/five/makefile.in @@ -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 \ @@ -25,9 +30,12 @@ CXXINCLUDES=$(XINC) -I../../image -I../../xbitmaps -I../.. -I../common -I../../ftplib 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 @@ -87,7 +95,8 @@ install: - ./xncsetup +# ./xncsetup + $(LIBTOOL) --mode=install $(INSTALL_DATA) $(PROGRAM:.a=.la) $(INSTPLUG) uninstall: #Uninstalling IVES..