$NetBSD: patch-aa,v 1.3 2000/08/04 03:38:15 jlam Exp $ --- fluid/Makefile.orig Mon Jun 5 17:20:41 2000 +++ fluid/Makefile Thu Aug 3 23:13:08 2000 @@ -51,7 +51,7 @@ $(PROGRAM) : $(OBJECTS) ../lib/$(LIBNAME) echo Linking $@... - $(CXX) -L../lib $(LDFLAGS) -o $(PROGRAM) $(OBJECTS) -lfltk $(LDLIBS) + $(CXX) -L../lib $(LDFLAGS) -o $(PROGRAM) $(OBJECTS) $(FLTKLIB) $(LDLIBS) clean : -@ rm -f *.o $(PROGRAM) $(CLEAN) core *~ makedepend @@ -63,10 +63,8 @@ install: $(PROGRAM) echo "Installing FLUID..." - strip $(PROGRAM) - -mkdir -p $(bindir) - cp $(PROGRAM) $(bindir)/$(PROGRAM) - chmod 755 $(bindir)/$(PROGRAM) + $(BSD_INSTALL_PROGRAM_DIR) $(bindir) + $(LIBTOOL) $(BSD_INSTALL_PROGRAM) $(PROGRAM) $(bindir) uninstall: -rm -f $(bindir)/$(PROGRAM)