]> git.saurik.com Git - wxWidgets.git/blame - src/gtk1/setup/maketmpl.in
Fixed that stupid stream problem.
[wxWidgets.git] / src / gtk1 / setup / maketmpl.in
CommitLineData
c801d85f
KB
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@
54fe0dcf 30DEBUG = @WXDEBUG@
c801d85f
KB
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
64prefix = @prefix@
65exec_prefix = @exec_prefix@
66
67# Directory in which to install scripts.
68#bindir = @bindir@
69
70# Directory in which to install library files.
71datadir = @datadir@
72acdatadir = $(datadir)/autoconf
73
74# Directory in which to install documentation info files.
75infodir = @infodir@
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@
91
92# INCLUDES
93WX_INCLUDES = \
94$(TOOLKIT_DEF) \
95-I. \
96-I.. \
97-I$(WXBASEDIR)/include \
c801d85f
KB
98$(GUI_TK_INCLUDE) \
99$(OPENGL_INCLUDE) \
100$(X_CFLAGS)
101
53010e52
RR
102# -I$(WXBASEDIR)/src/png \
103# -I$(WXBASEDIR)/src/zlib \
104# -I$(WXBASEDIR)/src/gdk_imlib \
105
c801d85f
KB
106WX_LIBS = -L$(GLOBAL_LIB_DIR) -lwx_gtk
107
108OPENGL_LIBS = $(OPENGL_LIBRARY) $(OPENGL_LINK)
109
110GUI_TK_LIBS = $(GUI_TK_LIBRARY) $(GUI_TK_LINK)
111
112LINK = $(CXX) -o $@
113LINK_LIBS= \
114 $(WX_LIBS) \
115 $(GUI_TK_LIBS) \
116 $(X_EXTRA_LIBS) \
bdc6fff9
GL
117 $(X_PRE_LIBS) \
118 $(THREADS_LINK)
c801d85f
KB
119
120# $(X_LIBS) -lX11 -lXext -lm gtk-config does this for me
121
bdc6fff9 122# Don't include $(OPENGL_LIBS) in LINK_LIBS; they
c801d85f
KB
123# can be conveniently added to BIN_LINK in Makefile.in.
124
125#### End of system configuration section. ####