1998-09-02 22:23:57 +00:00
|
|
|
# Makefile for Autoconf.
|
|
|
|
# Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
|
|
|
|
|
|
|
|
# This program is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation; either version 2, or (at your option)
|
|
|
|
# any later version.
|
|
|
|
|
|
|
|
# This program 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 General Public License for more details.
|
|
|
|
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program; if not, write to the Free Software
|
|
|
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
|
|
|
# 02111-1307, USA.
|
|
|
|
|
|
|
|
#### Start of system configuration section. ####
|
|
|
|
|
|
|
|
GLOBAL_LIB_DIR = $(WXBASEDIR)/lib/$(OS)
|
|
|
|
GLOBAL_BIN_DIR = $(WXBASEDIR)/bin/$(OS)
|
|
|
|
|
|
|
|
# define toolkit to use
|
|
|
|
TOOLKIT_DEF = -D@TOOLKIT_DEF@
|
|
|
|
|
|
|
|
# general compiler stuff
|
|
|
|
OPTIMISE = @OPTIMISE@
|
|
|
|
PROFILE = @PROFILE@
|
|
|
|
DEBUG = @WXDEBUG@ @WXDEBUG_DEFINE@
|
|
|
|
|
|
|
|
# c-compiler stuff
|
|
|
|
CC = @CC@
|
|
|
|
CPP = @CPP@
|
1998-10-06 08:50:01 +00:00
|
|
|
CPPFLAGS=@CPPFLAGS@
|
1999-01-08 10:23:39 +00:00
|
|
|
CFLAGS = @CFLAGS@ $(CPPFLAGS) $(OPTIMISE) $(PROFILE) $(DEBUG)
|
1998-09-02 22:23:57 +00:00
|
|
|
|
|
|
|
# c++-compiler stuff
|
|
|
|
CXX = @CXX@
|
1999-01-08 10:23:39 +00:00
|
|
|
CXXFLAGS = @CXXFLAGS@ $(CPPFLAGS) $(OPTIMISE) $(PROFILE) $(DEBUG)
|
1998-09-02 22:23:57 +00:00
|
|
|
CXXCPP = @CXXCPP@
|
|
|
|
|
|
|
|
# shared compile stuff
|
|
|
|
PICFLAGS = @PICFLAGS@
|
|
|
|
CREATE_SHARED = @CREATE_SHARED@
|
|
|
|
|
|
|
|
# other stuff
|
|
|
|
RM = rm -f
|
|
|
|
LEX = @LEX@
|
|
|
|
LEXLIB = @LEXLIB@
|
|
|
|
YACC = @YACC@
|
|
|
|
RANLIB = @RANLIB@
|
|
|
|
INSTALL = @INSTALL@
|
|
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
|
|
AWK = @AWK@
|
|
|
|
LN_S = @LN_S@
|
1999-03-10 14:24:50 +00:00
|
|
|
STRIP = @STRIP@
|
|
|
|
CJPEG_PROG =
|
1998-09-02 22:23:57 +00:00
|
|
|
CONVERT_PATH = /usr/bin/X11
|
|
|
|
CONVERT_PROG = /usr/bin/X11/convert
|
|
|
|
DJPEG_PROG =
|
|
|
|
GIFTOPNM_PROG =
|
|
|
|
NETPBM_PATH =
|
|
|
|
|
1998-09-05 13:59:23 +00:00
|
|
|
# Base directories for installation
|
1998-09-02 22:23:57 +00:00
|
|
|
prefix = @prefix@
|
|
|
|
exec_prefix = @exec_prefix@
|
|
|
|
|
1998-09-05 13:59:23 +00:00
|
|
|
# Directory in which to install headers
|
|
|
|
includedir = @includedir@
|
1998-09-02 22:23:57 +00:00
|
|
|
|
1998-09-05 13:59:23 +00:00
|
|
|
# Directory in which to install library files
|
|
|
|
libdir = @libdir@
|
1998-09-02 22:23:57 +00:00
|
|
|
|
1998-09-05 13:59:23 +00:00
|
|
|
# Directory in which to install executable files
|
|
|
|
bindir = @bindir@
|
1998-09-02 22:23:57 +00:00
|
|
|
|
|
|
|
X_CFLAGS = @X_CFLAGS@
|
|
|
|
X_LIBS = @X_LIBS@
|
|
|
|
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
|
|
|
X_PRE_LIBS = @X_PRE_LIBS@
|
|
|
|
|
|
|
|
GUI_TK_INCLUDE = @GUI_TK_INCLUDE@
|
|
|
|
GUI_TK_LIBRARY = @GUI_TK_LIBRARY@
|
|
|
|
GUI_TK_LINK = @GUI_TK_LINK@
|
|
|
|
|
1998-11-12 16:40:16 +00:00
|
|
|
WX_LINK = @WX_LINK@
|
|
|
|
|
1998-09-02 22:23:57 +00:00
|
|
|
THREADS_LINK = @THREADS_LINK@
|
|
|
|
EXTRA_LINK = @EXTRA_LINK@
|
1999-03-08 14:13:56 +00:00
|
|
|
JPEG_LINK = @JPEG_LINK@
|
1999-03-11 10:37:09 +00:00
|
|
|
POSIX4_LINK=@POSIX4_LINK@
|
1998-09-02 22:23:57 +00:00
|
|
|
|
|
|
|
# INCLUDES
|
|
|
|
WX_INCLUDES = \
|
1999-04-20 10:09:15 +00:00
|
|
|
-I$(WXBASEDIR)/src/zlib \
|
|
|
|
-I$(WXBASEDIR)/src/png \
|
|
|
|
-I$(WXBASEDIR)/src/jpeg \
|
1998-09-02 22:23:57 +00:00
|
|
|
$(TOOLKIT_DEF) \
|
|
|
|
-I$(WXBASEDIR)/include \
|
1999-01-02 19:13:25 +00:00
|
|
|
-I. \
|
|
|
|
$(GUI_TK_INCLUDE) \
|
1998-10-28 18:29:51 +00:00
|
|
|
-I$(WXBASEDIR)/src/iodbc \
|
1998-09-02 22:23:57 +00:00
|
|
|
$(X_CFLAGS)
|
|
|
|
|
1998-11-12 16:40:16 +00:00
|
|
|
WX_LIBS = -L$(GLOBAL_LIB_DIR) $(WX_LINK)
|
1998-09-02 22:23:57 +00:00
|
|
|
|
1998-09-09 07:57:51 +00:00
|
|
|
GUI_TK_LIBS = $(GUI_TK_LIBRARY) $(GUI_TK_LINK) @DL_LIBRARY@
|
1998-09-02 22:23:57 +00:00
|
|
|
|
|
|
|
LINK = $(CXX) -o $@
|
|
|
|
LINK_LIBS= \
|
|
|
|
$(WX_LIBS) \
|
|
|
|
$(GUI_TK_LIBS) \
|
|
|
|
$(X_EXTRA_LIBS) \
|
|
|
|
$(X_PRE_LIBS) \
|
|
|
|
$(THREADS_LINK) \
|
1999-03-11 10:37:09 +00:00
|
|
|
$(POSIX4_LINK) \
|
1999-03-08 14:13:56 +00:00
|
|
|
$(EXTRA_LINK) \
|
|
|
|
$(JPEG_LINK)
|
|
|
|
|
1998-09-02 22:23:57 +00:00
|
|
|
# Don't include $(OPENGL_LIBS) in LINK_LIBS; they
|
|
|
|
# can be conveniently added to BIN_LINK in Makefile.in.
|
|
|
|
|
|
|
|
#### End of system configuration section. ####
|