1998-10-20 20:41:24 +04:00
|
|
|
#
|
2005-02-25 00:55:12 +03:00
|
|
|
# "$Id$"
|
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).
|
1998-10-20 20:41:24 +04:00
|
|
|
#
|
2005-02-25 00:55:12 +03:00
|
|
|
# Copyright 1998-2005 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
|
|
|
#
|
|
|
|
|
2002-07-14 21:03:31 +04:00
|
|
|
prefix = @prefix@
|
|
|
|
exec_prefix = @exec_prefix@
|
|
|
|
bindir = @bindir@
|
|
|
|
datadir = @datadir@
|
|
|
|
includedir = @includedir@
|
|
|
|
libdir = @libdir@
|
|
|
|
mandir = @mandir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
1998-10-06 22:21:25 +04:00
|
|
|
|
2001-02-12 18:12:14 +03:00
|
|
|
# programs we use...
|
2002-07-14 21:03:31 +04:00
|
|
|
CHMOD = chmod
|
|
|
|
CP = cp
|
|
|
|
HTMLDOC = @HTMLDOC@
|
|
|
|
LN = ln -s
|
|
|
|
MKDIR = mkdir -p
|
|
|
|
NROFF = @NROFF@
|
|
|
|
RM = rm -f
|
|
|
|
RMDIR = rm -rf
|
2002-07-26 18:22:02 +04:00
|
|
|
SHELL = /bin/sh
|
2002-07-14 21:03:31 +04:00
|
|
|
STRIP = strip
|
2001-02-12 18:12:14 +03:00
|
|
|
|
1998-10-06 22:21:25 +04:00
|
|
|
# compiler names:
|
2002-07-14 21:03:31 +04:00
|
|
|
CXX = @CXX@
|
|
|
|
CC = @CC@
|
|
|
|
MAKEDEPEND = @MAKEDEPEND@
|
1998-10-06 22:21:25 +04:00
|
|
|
|
|
|
|
# flags for C++ compiler:
|
2002-07-14 21:03:31 +04:00
|
|
|
OPTIM = @OPTIM@
|
2004-10-19 00:22:25 +04:00
|
|
|
CFLAGS = $(OPTIM) @CPPFLAGS@ @CFLAGS@
|
|
|
|
CXXFLAGS = $(OPTIM) @CPPFLAGS@ @CXXFLAGS@
|
1998-10-06 22:21:25 +04:00
|
|
|
|
|
|
|
# program to make the archive:
|
2002-07-14 21:03:31 +04:00
|
|
|
LIBNAME = @LIBNAME@
|
|
|
|
FLLIBNAME = @FLLIBNAME@
|
|
|
|
GLLIBNAME = @GLLIBNAME@
|
|
|
|
IMGLIBNAME = @IMGLIBNAME@
|
|
|
|
LIBCOMMAND = @LIBCOMMAND@
|
2004-07-23 23:26:27 +04:00
|
|
|
LIBEXT = @LIBEXT@
|
2002-07-14 21:03:31 +04:00
|
|
|
RANLIB = @RANLIB@
|
|
|
|
DSONAME = @DSONAME@
|
|
|
|
FLDSONAME = @FLDSONAME@
|
|
|
|
GLDSONAME = @GLDSONAME@
|
|
|
|
IMGDSONAME = @IMGDSONAME@
|
|
|
|
DSOCOMMAND = @DSOCOMMAND@
|
1998-10-06 22:21:25 +04:00
|
|
|
|
|
|
|
# libraries to link with:
|
2002-07-16 03:38:11 +04:00
|
|
|
LDLIBS = @LDFLAGS@ @LIBS@
|
|
|
|
GLDLIBS = @LDFLAGS@ @GLLIB@ @LIBS@
|
2002-07-14 21:03:31 +04:00
|
|
|
LINKFLTK = -L../lib @LINKFLTK@
|
|
|
|
LINKFLTKGL = -L../lib @LINKFLTKGL@
|
|
|
|
LINKFLTKFORMS = -L../lib -lfltk_forms @LINKFLTK@
|
|
|
|
LINKFLTKIMG = -L../lib -lfltk_images @LINKFLTK@ $(IMAGELIBS)
|
2002-12-20 01:07:13 +03:00
|
|
|
LINKSHARED = @DSOLINK@ @LINKSHARED@ $(IMAGELIBS)
|
2002-08-05 21:58:16 +04:00
|
|
|
IMAGELIBS = @IMAGELIBS@
|
|
|
|
|
2004-07-06 04:18:49 +04:00
|
|
|
# image libraries to build...
|
|
|
|
IMAGEDIRS = @JPEG@ @ZLIB@ @PNG@
|
|
|
|
|
2002-08-05 21:58:16 +04:00
|
|
|
# The extension to use for executables...
|
|
|
|
EXEEXT = @EXEEXT@
|
1998-10-20 20:41:24 +04:00
|
|
|
|
2001-08-02 22:15:44 +04:00
|
|
|
# Do we build the OpenGL demos?
|
2002-07-14 21:03:31 +04:00
|
|
|
GLDEMOS = @GLDEMOS@
|
2001-08-02 22:15:44 +04:00
|
|
|
|
2001-12-15 00:02:24 +03:00
|
|
|
# Do we build the threads demo?
|
2002-07-14 21:03:31 +04:00
|
|
|
THREADS = @THREADS@
|
|
|
|
|
|
|
|
# Name of FLUID executable we install
|
2002-08-05 21:58:16 +04:00
|
|
|
FLUID = @FLUID@$(EXEEXT)
|
2001-11-18 15:48:38 +03:00
|
|
|
|
2001-12-06 05:20:36 +03:00
|
|
|
# Possible steps after linking...
|
2002-07-14 21:03:31 +04:00
|
|
|
POSTBUILD = @POSTBUILD@
|
2001-12-06 05:20:36 +03:00
|
|
|
|
2001-02-12 18:34:37 +03:00
|
|
|
# Man page extensions...
|
2002-07-14 21:03:31 +04:00
|
|
|
CAT1EXT = @CAT1EXT@
|
|
|
|
CAT3EXT = @CAT3EXT@
|
2001-02-12 18:34:37 +03:00
|
|
|
|
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 $@...
|
2004-07-06 04:18:49 +04:00
|
|
|
$(CXX) -I.. @PNGINC@ @JPEGINC@ @ZLIBINC@ $(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 $<...
|
2004-07-06 04:18:49 +04:00
|
|
|
$(CC) -I.. @PNGINC@ @JPEGINC@ @ZLIBINC@ $(CFLAGS) -c $<
|
2000-04-26 02:17:00 +04:00
|
|
|
|
|
|
|
.cxx.o:
|
2001-12-13 00:57:17 +03:00
|
|
|
echo Compiling $<...
|
2004-07-06 04:18:49 +04:00
|
|
|
$(CXX) -I.. @PNGINC@ @JPEGINC@ @ZLIBINC@ $(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
|
|
|
#
|
2005-02-25 00:55:12 +03:00
|
|
|
# End of "$Id$".
|
1998-10-20 20:41:24 +04:00
|
|
|
#
|