Updated Linux DSO rules.

Changed configure.in, makeinclude, and src/Makefile to use DSOCOMMAND
instead of replacing LIBCOMMAND.

src/Makefile now creates both static and shared libraries if
--enable-shared is requested.

fluid/Makefile always uses the static library so that a CVS build will
always work, even if libfltk.so.1 isn't installed (problem for Solaris
and Linux, which don't support LD_LIBRARY_PATH).


git-svn-id: file:///fltk/svn/fltk/trunk@387 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Michael R Sweet
1999-03-09 18:32:44 +00:00
parent 8a0c2ce373
commit 022e5d90f1
4 changed files with 26 additions and 20 deletions
+4 -4
View File
@@ -1,5 +1,5 @@
#
# "$Id: Makefile,v 1.9 1999/02/19 13:10:20 mike Exp $"
# "$Id: Makefile,v 1.10 1999/03/09 18:32:42 mike Exp $"
#
# Fluid makefile for the Fast Light Tool Kit (FLTK).
#
@@ -58,8 +58,8 @@ include ../makeinclude
.cxx :
$(CXX) -I.. $(CXXFLAGS) -o $@ $< -L../lib -lfltk $(LDLIBS)
$(PROGRAM) : $(OBJECTS) ../lib/$(LIBNAME)
$(CXX) $(LDFLAGS) -o $(PROGRAM) $(OBJECTS) -L../lib -lfltk $(LDLIBS)
$(PROGRAM) : $(OBJECTS) ../lib/libfltk.a
$(CXX) $(LDFLAGS) -o $(PROGRAM) $(OBJECTS) ../lib/libfltk.a $(LDLIBS)
clean :
-@ rm -f *.o $(PROGRAM) $(CLEAN) core *~ makedepend
@@ -90,5 +90,5 @@ rebuild:
./fluid -c widget_panel.fl
#
# End of "$Id: Makefile,v 1.9 1999/02/19 13:10:20 mike Exp $".
# End of "$Id: Makefile,v 1.10 1999/03/09 18:32:42 mike Exp $".
#