]> git.saurik.com Git - wxWidgets.git/blame - setup/maketmpl.in
Additional makefiles; changes for compilation with BC++ and GnuWin32
[wxWidgets.git] / setup / maketmpl.in
CommitLineData
bcf1fa6b
RR
1# Makefile for Autoconf.
2# Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
3
4# This program is free software; you can redistribute it and/or modify
5# it under the terms of the GNU General Public License as published by
6# the Free Software Foundation; either version 2, or (at your option)
7# any later version.
8
9# This program is distributed in the hope that it will be useful,
10# but WITHOUT ANY WARRANTY; without even the implied warranty of
11# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12# GNU General Public License for more details.
13
14# You should have received a copy of the GNU General Public License
15# along with this program; if not, write to the Free Software
16# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
17# 02111-1307, USA.
18
19#### Start of system configuration section. ####
20
21GLOBAL_LIB_DIR = $(WXBASEDIR)/lib/$(OS)
22GLOBAL_BIN_DIR = $(WXBASEDIR)/bin/$(OS)
23
24# define toolkit to use
25TOOLKIT_DEF = -D@TOOLKIT_DEF@
26
27# general compiler stuff
28OPTIMISE = @OPTIMISE@
29PROFILE = @PROFILE@
30DEBUG = @WXDEBUG@ @WXDEBUG_DEFINE@
31
32# c-compiler stuff
33CC = @CC@
34CFLAGS = @CFLAGS@ $(OPTIMISE) $(PROFILE) $(DEBUG)
35CPP = @CPP@
36
37# c++-compiler stuff
38CXX = @CXX@
39CXXFLAGS = @CXXFLAGS@ $(OPTIMISE) $(PROFILE) $(DEBUG)
40CXXCPP = @CXXCPP@
41
42# shared compile stuff
43PICFLAGS = @PICFLAGS@
44CREATE_SHARED = @CREATE_SHARED@
45
46# other stuff
47RM = rm -f
48LEX = @LEX@
49LEXLIB = @LEXLIB@
50YACC = @YACC@
51RANLIB = @RANLIB@
52INSTALL = @INSTALL@
53INSTALL_PROGRAM = @INSTALL_PROGRAM@
54INSTALL_DATA = @INSTALL_DATA@
55AWK = @AWK@
56LN_S = @LN_S@
57CJPEG_PROG =
58CONVERT_PATH = /usr/bin/X11
59CONVERT_PROG = /usr/bin/X11/convert
60DJPEG_PROG =
61GIFTOPNM_PROG =
62NETPBM_PATH =
63
f3cb6592 64# Base directories for installation
bcf1fa6b
RR
65prefix = @prefix@
66exec_prefix = @exec_prefix@
67
f3cb6592
RR
68# Directory in which to install headers
69includedir = @includedir@
bcf1fa6b 70
f3cb6592
RR
71# Directory in which to install library files
72libdir = @libdir@
bcf1fa6b 73
f3cb6592
RR
74# Directory in which to install executable files
75bindir = @bindir@
bcf1fa6b
RR
76
77X_CFLAGS = @X_CFLAGS@
78X_LIBS = @X_LIBS@
79X_EXTRA_LIBS = @X_EXTRA_LIBS@
80X_PRE_LIBS = @X_PRE_LIBS@
81
82GUI_TK_INCLUDE = @GUI_TK_INCLUDE@
83GUI_TK_LIBRARY = @GUI_TK_LIBRARY@
84GUI_TK_LINK = @GUI_TK_LINK@
85
86OPENGL_INCLUDE = @OPENGL_INCLUDE@
87OPENGL_LIBRARY = @OPENGL_LIBRARY@
88OPENGL_LINK = @OPENGL_LINK@
89
90THREADS_LINK = @THREADS_LINK@
91EXTRA_LINK = @EXTRA_LINK@
92
93# INCLUDES
94WX_INCLUDES = \
95$(TOOLKIT_DEF) \
96-I. \
97-I.. \
98-I$(WXBASEDIR)/include \
99-I$(WXBASEDIR)/src/zlib \
100$(GUI_TK_INCLUDE) \
101$(OPENGL_INCLUDE) \
102$(X_CFLAGS)
103
104# -I$(WXBASEDIR)/src/png \
105# -I$(WXBASEDIR)/src/zlib \
106# -I$(WXBASEDIR)/src/gdk_imlib \
107
108WX_LIBS = -L$(GLOBAL_LIB_DIR) -lwx_gtk
109
110OPENGL_LIBS = $(OPENGL_LIBRARY) $(OPENGL_LINK)
111
112GUI_TK_LIBS = $(GUI_TK_LIBRARY) $(GUI_TK_LINK) -ldl
113
114LINK = $(CXX) -o $@
115LINK_LIBS= \
116 $(WX_LIBS) \
117 $(GUI_TK_LIBS) \
118 $(X_EXTRA_LIBS) \
119 $(X_PRE_LIBS) \
120 $(THREADS_LINK) \
121 $(EXTRA_LINK)
122
123# Don't include $(OPENGL_LIBS) in LINK_LIBS; they
124# can be conveniently added to BIN_LINK in Makefile.in.
125
126#### End of system configuration section. ####