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
+3 -2
View File
@@ -1,5 +1,5 @@
#
# "$Id: makeinclude.in,v 1.6 1999/03/04 14:48:08 mike Exp $"
# "$Id: makeinclude.in,v 1.7 1999/03/09 18:32:42 mike Exp $"
#
# Make include file for the Fast Light Tool Kit (FLTK).
# @configure_input@
@@ -45,10 +45,11 @@ CXXFLAGS =@CXXFLAGS@ @X_CFLAGS@
LIBNAME =@LIBNAME@
LIBCOMMAND =@LIBCOMMAND@
RANLIB =@RANLIB@
DSOCOMMAND =@DSOCOMMAND@
# libraries to link with:
LDLIBS =@LDFLAGS@ @LIBS@ @GLLIB@ -lX11 -lXext @X_EXTRA_LIBS@ -lm
#
# End of "$Id: makeinclude.in,v 1.6 1999/03/04 14:48:08 mike Exp $".
# End of "$Id: makeinclude.in,v 1.7 1999/03/09 18:32:42 mike Exp $".
#