wxWidgets/setup/maketmpl.in

128 lines
3.0 KiB
Plaintext
Raw Normal View History

# 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@
CPPFLAGS=@CPPFLAGS@
CFLAGS = @CFLAGS@ $(CPPFLAGS) $(OPTIMISE) $(PROFILE) $(DEBUG)
# c++-compiler stuff
CXX = @CXX@
CXXFLAGS = @CXXFLAGS@ $(CPPFLAGS) $(OPTIMISE) $(PROFILE) $(DEBUG)
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@
CJPEG_PROG =
CONVERT_PATH = /usr/bin/X11
CONVERT_PROG = /usr/bin/X11/convert
DJPEG_PROG =
GIFTOPNM_PROG =
NETPBM_PATH =
# Base directories for installation
prefix = @prefix@
exec_prefix = @exec_prefix@
# Directory in which to install headers
includedir = @includedir@
# Directory in which to install library files
libdir = @libdir@
# Directory in which to install executable files
bindir = @bindir@
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@
OPENGL_INCLUDE = @OPENGL_INCLUDE@
OPENGL_LIBRARY = @OPENGL_LIBRARY@
OPENGL_LINK = @OPENGL_LINK@
THREADS_LINK = @THREADS_LINK@
EXTRA_LINK = @EXTRA_LINK@
# INCLUDES
WX_INCLUDES = \
$(TOOLKIT_DEF) \
-I. \
-I.. \
-I$(WXBASEDIR)/include \
-I$(WXBASEDIR)/src/zlib \
$(GUI_TK_INCLUDE) \
$(OPENGL_INCLUDE) \
$(X_CFLAGS)
# -I$(WXBASEDIR)/src/png \
# -I$(WXBASEDIR)/src/zlib \
# -I$(WXBASEDIR)/src/gdk_imlib \
WX_LIBS = -L$(GLOBAL_LIB_DIR) -lwx_gtk
OPENGL_LIBS = $(OPENGL_LIBRARY) $(OPENGL_LINK)
GUI_TK_LIBS = $(GUI_TK_LIBRARY) $(GUI_TK_LINK) @DL_LIBRARY@
LINK = $(CXX) -o $@
LINK_LIBS= \
$(WX_LIBS) \
$(GUI_TK_LIBS) \
$(X_EXTRA_LIBS) \
$(X_PRE_LIBS) \
$(THREADS_LINK) \
$(EXTRA_LINK)
# Don't include $(OPENGL_LIBS) in LINK_LIBS; they
# can be conveniently added to BIN_LINK in Makefile.in.
#### End of system configuration section. ####