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
|
|
|
#
|
2007-02-06 22:35:28 +03:00
|
|
|
# Copyright 1998-2007 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.
|
|
|
|
#
|
2005-04-16 04:13:17 +04:00
|
|
|
# Please report all bugs and problems on the following page:
|
|
|
|
#
|
|
|
|
# http://www.fltk.org/str.php
|
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@
|
2007-02-08 22:17:47 +03:00
|
|
|
datarootdir = @datarootdir@
|
2002-07-14 21:03:31 +04:00
|
|
|
includedir = @includedir@
|
|
|
|
libdir = @libdir@
|
|
|
|
mandir = @mandir@
|
|
|
|
srcdir = @srcdir@
|
2005-04-21 15:24:18 +04:00
|
|
|
docdir = $(datadir)/doc/fltk
|
2002-07-14 21:03:31 +04:00
|
|
|
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
|
|
|
HTMLDOC = @HTMLDOC@
|
2007-02-06 22:35:28 +03:00
|
|
|
INSTALL = @INSTALL@
|
2002-07-14 21:03:31 +04:00
|
|
|
LN = ln -s
|
|
|
|
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:
|
2006-06-19 22:29:31 +04:00
|
|
|
ARCHFLAGS = @ARCHFLAGS@
|
2002-07-14 21:03:31 +04:00
|
|
|
OPTIM = @OPTIM@
|
2007-02-05 21:39:27 +03:00
|
|
|
CFLAGS = $(OPTIM) @LARGEFILE@ @PTHREAD_FLAGS@ @CPPFLAGS@ @CFLAGS@
|
|
|
|
CXXFLAGS = $(OPTIM) @LARGEFILE@ @PTHREAD_FLAGS@ @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:
|
2005-12-05 03:55:01 +03:00
|
|
|
AUDIOLIBS = @AUDIOLIBS@
|
2006-09-12 05:31:42 +04:00
|
|
|
DSOFLAGS = @DSOFLAGS@
|
2006-07-25 23:06:56 +04:00
|
|
|
LDFLAGS = $(OPTIM) @LDFLAGS@
|
|
|
|
LDLIBS = @LIBS@
|
|
|
|
GLDLIBS = @GLLIB@ @LIBS@
|
2005-08-08 04:44:38 +04:00
|
|
|
LINKFLTK = @LINKFLTK@
|
|
|
|
LINKFLTKGL = @LINKFLTKGL@
|
|
|
|
LINKFLTKFORMS = @LINKFLTKFORMS@ @LINKFLTK@
|
|
|
|
LINKFLTKIMG = @LINKFLTKIMG@ @LINKFLTK@ $(IMAGELIBS)
|
2002-12-20 01:07:13 +03:00
|
|
|
LINKSHARED = @DSOLINK@ @LINKSHARED@ $(IMAGELIBS)
|
2005-08-08 20:00:53 +04:00
|
|
|
IMAGELIBS = -L../lib @IMAGELIBS@
|
2002-08-05 21:58:16 +04:00
|
|
|
|
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-02-12 18:34:37 +03:00
|
|
|
# Man page extensions...
|
2002-07-14 21:03:31 +04:00
|
|
|
CAT1EXT = @CAT1EXT@
|
|
|
|
CAT3EXT = @CAT3EXT@
|
2006-01-15 21:36:16 +03:00
|
|
|
CAT6EXT = @CAT6EXT@
|
2001-02-12 18:34:37 +03:00
|
|
|
|
2007-02-06 22:35:28 +03:00
|
|
|
#
|
|
|
|
# Installation programs...
|
|
|
|
#
|
|
|
|
|
|
|
|
INSTALL_BIN = $(INSTALL) -m 755
|
|
|
|
INSTALL_DATA = $(INSTALL) -m 644
|
|
|
|
INSTALL_DIR = $(INSTALL) -d
|
|
|
|
INSTALL_LIB = $(INSTALL) -m 755
|
|
|
|
INSTALL_MAN = $(INSTALL) -m 644
|
|
|
|
INSTALL_SCRIPT = $(INSTALL) -m 755
|
|
|
|
|
2006-01-15 06:16:09 +03:00
|
|
|
# Additional GUI install/uninstall targets...
|
|
|
|
INSTALL_DESKTOP = @INSTALL_DESKTOP@
|
|
|
|
UNINSTALL_DESKTOP = @UNINSTALL_DESKTOP@
|
|
|
|
|
2000-04-26 02:17:00 +04:00
|
|
|
# Be quiet when building...
|
|
|
|
.SILENT:
|
|
|
|
|
|
|
|
# Build commands and filename extensions...
|
2006-08-29 22:44:59 +04:00
|
|
|
.SUFFIXES: .0 .1 .3 .6 .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 $@...
|
2006-07-25 23:06:56 +04:00
|
|
|
$(CXX) $(ARCHFLAGS) $(LDFLAGS) $< $(LINKFLTK) $(LDLIBS) -o $@
|
2000-04-26 02:17:00 +04:00
|
|
|
|
|
|
|
.c.o:
|
2001-12-13 00:57:17 +03:00
|
|
|
echo Compiling $<...
|
2006-06-19 22:29:31 +04:00
|
|
|
$(CC) -I.. $(ARCHFLAGS) @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 $<...
|
2006-06-19 22:29:31 +04:00
|
|
|
$(CXX) -I.. $(ARCHFLAGS) @PNGINC@ @JPEGINC@ @ZLIBINC@ $(CXXFLAGS) -c $<
|
2000-04-26 02:17:00 +04:00
|
|
|
|
2006-08-29 22:44:59 +04:00
|
|
|
.man.0 .man.1 .man.3 .man.6:
|
2001-02-12 18:12:14 +03:00
|
|
|
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
|
|
|
#
|