1998-10-20 20:41:24 +04:00
|
|
|
#
|
2002-06-29 01:04:37 +04:00
|
|
|
# "$Id: makeinclude.in,v 1.7.2.11.2.19 2002/06/28 21:04:35 easysw Exp $"
|
1998-10-20 20:41:24 +04:00
|
|
|
#
|
1998-10-21 18:00:53 +04:00
|
|
|
# Make include file for the Fast Light Tool Kit (FLTK).
|
|
|
|
# @configure_input@
|
1998-10-20 20:41:24 +04:00
|
|
|
#
|
2002-01-01 18:11:33 +03:00
|
|
|
# Copyright 1998-2002 by Bill Spitzak and others.
|
1998-10-20 20:41:24 +04:00
|
|
|
#
|
|
|
|
# This library is free software; you can redistribute it and/or
|
|
|
|
# modify it under the terms of the GNU Library General Public
|
|
|
|
# License as published by the Free Software Foundation; either
|
|
|
|
# version 2 of the License, or (at your option) any later version.
|
|
|
|
#
|
|
|
|
# This library is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
# Library General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU Library General Public
|
|
|
|
# License along with this library; if not, write to the Free Software
|
|
|
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
|
|
|
# USA.
|
|
|
|
#
|
2000-06-06 01:21:24 +04:00
|
|
|
# Please report all bugs and problems to "fltk-bugs@fltk.org".
|
1998-10-20 20:41:24 +04:00
|
|
|
#
|
|
|
|
|
1998-10-06 22:21:25 +04:00
|
|
|
prefix =@prefix@
|
|
|
|
exec_prefix =@exec_prefix@
|
|
|
|
bindir =@bindir@
|
2001-02-12 18:12:14 +03:00
|
|
|
datadir =@datadir@
|
1998-10-06 22:21:25 +04:00
|
|
|
includedir =@includedir@
|
|
|
|
libdir =@libdir@
|
2001-02-12 18:12:14 +03:00
|
|
|
mandir =@mandir@
|
1998-10-06 22:21:25 +04:00
|
|
|
srcdir =@srcdir@
|
|
|
|
VPATH =@srcdir@
|
|
|
|
|
2001-02-12 18:12:14 +03:00
|
|
|
# programs we use...
|
|
|
|
HTMLDOC =@HTMLDOC@
|
|
|
|
NROFF =@NROFF@
|
2001-10-27 07:33:25 +04:00
|
|
|
RM =/bin/rm -f
|
2001-02-12 18:12:14 +03:00
|
|
|
|
1998-10-06 22:21:25 +04:00
|
|
|
# compiler names:
|
1998-10-20 20:41:24 +04:00
|
|
|
CXX =@CXX@
|
|
|
|
CC =@CC@
|
|
|
|
MAKEDEPEND =@MAKEDEPEND@
|
1998-10-06 22:21:25 +04:00
|
|
|
|
|
|
|
# flags for C++ compiler:
|
2002-01-13 22:17:36 +03:00
|
|
|
OPTIM =@OPTIM@
|
|
|
|
CFLAGS =$(OPTIM) @CFLAGS@
|
|
|
|
CXXFLAGS =$(OPTIM) @CXXFLAGS@
|
1998-10-06 22:21:25 +04:00
|
|
|
|
|
|
|
# program to make the archive:
|
1998-10-20 20:41:24 +04:00
|
|
|
LIBNAME =@LIBNAME@
|
2002-03-26 00:39:01 +03:00
|
|
|
FLLIBNAME =@FLLIBNAME@
|
2001-08-02 22:08:36 +04:00
|
|
|
GLLIBNAME =@GLLIBNAME@
|
2002-06-29 01:04:37 +04:00
|
|
|
IMGLIBNAME =@IMGLIBNAME@
|
1998-10-20 20:41:24 +04:00
|
|
|
LIBCOMMAND =@LIBCOMMAND@
|
1998-10-06 22:21:25 +04:00
|
|
|
RANLIB =@RANLIB@
|
1999-03-25 18:26:44 +03:00
|
|
|
DSONAME =@DSONAME@
|
2002-03-26 00:39:01 +03:00
|
|
|
FLDSONAME =@FLDSONAME@
|
2002-01-15 05:17:19 +03:00
|
|
|
GLDSONAME =@GLDSONAME@
|
2002-06-29 01:04:37 +04:00
|
|
|
IMGDSONAME =@IMGDSONAME@
|
1999-03-09 21:32:44 +03:00
|
|
|
DSOCOMMAND =@DSOCOMMAND@
|
1998-10-06 22:21:25 +04:00
|
|
|
|
|
|
|
# libraries to link with:
|
2002-01-15 05:17:19 +03:00
|
|
|
LDLIBS =@LDFLAGS@ @LIBS@ $(LDFLAGS_MIPSPRO)
|
|
|
|
GLDLIBS =@LDFLAGS@ @GLLIB@ @LIBS@ $(LDFLAGS_MIPSPRO)
|
2002-01-15 15:39:09 +03:00
|
|
|
LINKFLTK =-L../lib @LINKFLTK@
|
|
|
|
LINKFLTKGL =-L../lib @LINKFLTKGL@
|
2002-03-26 00:39:01 +03:00
|
|
|
LINKFLTKFORMS =-L../lib -lfltk_forms @LINKFLTK@
|
2002-06-29 01:04:37 +04:00
|
|
|
LINKFLTKIMG =-L../lib -lfltk_images @LINKFLTK@ $(IMAGELIBS)
|
2001-08-02 23:43:49 +04:00
|
|
|
IMAGELIBS =@IMAGELIBS@
|
1998-10-20 20:41:24 +04:00
|
|
|
|
2001-08-02 22:15:44 +04:00
|
|
|
# Do we build the OpenGL demos?
|
|
|
|
GLDEMOS =@GLDEMOS@
|
|
|
|
|
2001-12-15 00:02:24 +03:00
|
|
|
# Do we build the threads demo?
|
|
|
|
THREADS =@THREADS@
|
|
|
|
|
2001-11-18 15:48:38 +03:00
|
|
|
# The extension to use for executables...
|
|
|
|
EXEEXT =@EXEEXT@
|
|
|
|
|
2001-12-06 05:20:36 +03:00
|
|
|
# Possible steps after linking...
|
|
|
|
POSTBUILD =@POSTBUILD@
|
|
|
|
|
2001-02-12 18:34:37 +03:00
|
|
|
# Man page extensions...
|
|
|
|
CAT1EXT =@CAT1EXT@
|
|
|
|
CAT3EXT =@CAT3EXT@
|
|
|
|
|
2000-04-26 02:17:00 +04:00
|
|
|
# Be quiet when building...
|
|
|
|
.SILENT:
|
|
|
|
|
|
|
|
# Build commands and filename extensions...
|
2001-11-18 15:48:38 +03:00
|
|
|
.SUFFIXES: .0 .1 .3 .c .cxx .h .fl .man .o .z $(EXEEXT)
|
2000-04-26 02:17:00 +04:00
|
|
|
|
2001-11-30 00:24:49 +03:00
|
|
|
.o$(EXEEXT):
|
|
|
|
echo Linking $@...
|
2001-08-02 22:08:36 +04:00
|
|
|
$(CXX) -I.. $(CXXFLAGS) $< $(LINKFLTK) $(LDLIBS) -o $@
|
2001-12-14 22:34:30 +03:00
|
|
|
$(POSTBUILD) $@ ../FL/mac.r
|
2000-04-26 02:17:00 +04:00
|
|
|
|
|
|
|
.c.o:
|
2001-12-13 00:57:17 +03:00
|
|
|
echo Compiling $<...
|
2000-11-20 18:10:00 +03:00
|
|
|
$(CC) -I.. $(CFLAGS) -c $<
|
2000-04-26 02:17:00 +04:00
|
|
|
|
|
|
|
.cxx.o:
|
2001-12-13 00:57:17 +03:00
|
|
|
echo Compiling $<...
|
2000-11-20 18:10:00 +03:00
|
|
|
$(CXX) -I.. $(CXXFLAGS) -c $<
|
2000-04-26 02:17:00 +04:00
|
|
|
|
2001-02-12 18:12:14 +03:00
|
|
|
.man.0 .man.1 .man.3:
|
|
|
|
echo Formatting $<...
|
2001-02-12 18:34:37 +03:00
|
|
|
rm -f $@
|
2001-02-12 18:12:14 +03:00
|
|
|
$(NROFF) -man $< >$@
|
|
|
|
|
|
|
|
.man.z:
|
|
|
|
echo Formatting $<...
|
2001-02-12 18:34:37 +03:00
|
|
|
rm -f $@ t.z
|
2001-02-12 18:12:14 +03:00
|
|
|
$(NROFF) -man $< >t
|
|
|
|
pack -f t
|
2001-02-12 18:34:37 +03:00
|
|
|
mv t.z $@
|
2001-02-12 18:12:14 +03:00
|
|
|
|
1998-10-20 20:41:24 +04:00
|
|
|
#
|
2002-06-29 01:04:37 +04:00
|
|
|
# End of "$Id: makeinclude.in,v 1.7.2.11.2.19 2002/06/28 21:04:35 easysw Exp $".
|
1998-10-20 20:41:24 +04:00
|
|
|
#
|