]> git.saurik.com Git - wxWidgets.git/blame - setup/maketmpl.in
Fixed wxPostScript printing problem (used wrong constructor, and the right
[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@
bcf1fa6b 34CPP = @CPP@
32cbeff4 35CPPFLAGS=@CPPFLAGS@
702ca7c0 36CFLAGS = @CFLAGS@ $(CPPFLAGS) $(OPTIMISE) $(PROFILE) $(DEBUG)
bcf1fa6b
RR
37
38# c++-compiler stuff
39CXX = @CXX@
702ca7c0 40CXXFLAGS = @CXXFLAGS@ $(CPPFLAGS) $(OPTIMISE) $(PROFILE) $(DEBUG)
bcf1fa6b
RR
41CXXCPP = @CXXCPP@
42
43# shared compile stuff
44PICFLAGS = @PICFLAGS@
45CREATE_SHARED = @CREATE_SHARED@
46
47# other stuff
48RM = rm -f
49LEX = @LEX@
50LEXLIB = @LEXLIB@
51YACC = @YACC@
52RANLIB = @RANLIB@
53INSTALL = @INSTALL@
54INSTALL_PROGRAM = @INSTALL_PROGRAM@
55INSTALL_DATA = @INSTALL_DATA@
56AWK = @AWK@
57LN_S = @LN_S@
5f0f31fe
VZ
58STRIP = @STRIP@
59CJPEG_PROG =
bcf1fa6b
RR
60CONVERT_PATH = /usr/bin/X11
61CONVERT_PROG = /usr/bin/X11/convert
62DJPEG_PROG =
63GIFTOPNM_PROG =
64NETPBM_PATH =
65
f3cb6592 66# Base directories for installation
bcf1fa6b
RR
67prefix = @prefix@
68exec_prefix = @exec_prefix@
69
f3cb6592
RR
70# Directory in which to install headers
71includedir = @includedir@
bcf1fa6b 72
f3cb6592
RR
73# Directory in which to install library files
74libdir = @libdir@
bcf1fa6b 75
f3cb6592
RR
76# Directory in which to install executable files
77bindir = @bindir@
bcf1fa6b
RR
78
79X_CFLAGS = @X_CFLAGS@
80X_LIBS = @X_LIBS@
81X_EXTRA_LIBS = @X_EXTRA_LIBS@
82X_PRE_LIBS = @X_PRE_LIBS@
83
84GUI_TK_INCLUDE = @GUI_TK_INCLUDE@
85GUI_TK_LIBRARY = @GUI_TK_LIBRARY@
86GUI_TK_LINK = @GUI_TK_LINK@
87
76153302
RR
88WX_LINK = @WX_LINK@
89
bcf1fa6b
RR
90THREADS_LINK = @THREADS_LINK@
91EXTRA_LINK = @EXTRA_LINK@
2e0bceb6 92JPEG_LINK = @JPEG_LINK@
80cb83be 93POSIX4_LINK=@POSIX4_LINK@
bcf1fa6b
RR
94
95# INCLUDES
96WX_INCLUDES = \
97$(TOOLKIT_DEF) \
bcf1fa6b 98-I$(WXBASEDIR)/include \
83624f79
RR
99-I. \
100$(GUI_TK_INCLUDE) \
bcf1fa6b 101-I$(WXBASEDIR)/src/zlib \
84b46c35 102-I$(WXBASEDIR)/src/iodbc \
bcf1fa6b
RR
103$(X_CFLAGS)
104
76153302 105WX_LIBS = -L$(GLOBAL_LIB_DIR) $(WX_LINK)
bcf1fa6b 106
cb17fe41 107GUI_TK_LIBS = $(GUI_TK_LIBRARY) $(GUI_TK_LINK) @DL_LIBRARY@
bcf1fa6b
RR
108
109LINK = $(CXX) -o $@
110LINK_LIBS= \
111 $(WX_LIBS) \
112 $(GUI_TK_LIBS) \
113 $(X_EXTRA_LIBS) \
114 $(X_PRE_LIBS) \
115 $(THREADS_LINK) \
80cb83be 116 $(POSIX4_LINK) \
2e0bceb6
KB
117 $(EXTRA_LINK) \
118 $(JPEG_LINK)
119
bcf1fa6b
RR
120# Don't include $(OPENGL_LIBS) in LINK_LIBS; they
121# can be conveniently added to BIN_LINK in Makefile.in.
122
123#### End of system configuration section. ####