]> git.saurik.com Git - wxWidgets.git/blame - src/make.env.in
Fixed compilation in release mode
[wxWidgets.git] / src / make.env.in
CommitLineData
9635832d
RR
1#
2# File: make.env
3# Author: Julian Smart, Robert Roebling, Vadim Zeitlin
4# Created: 1993
5# Updated: 1999
6# Copyright:(c) 1993, AIAI, University of Edinburgh,
7# Copyright:(c) 1999, Vadim Zeitlin
8# Copyright:(c) 1999, Robert Roebling
9#
10
48b1d0ff
RR
11####################### GENERAL SETTINGS ############################
12
e006f096
VZ
13# see comment near LDFLAGS at the end of file
14EXTRALIBS = @LDFLAGS@ @EXTRA_LIBS@
d76bb218 15LDLIBS = ${top_builddir}/lib/@WX_TARGET_LIBRARY@ $(EXTRALIBS) $(APPEXTRALIBS)
9635832d
RR
16
17TOOLKIT = @TOOLKIT@
a4aad961 18TOOLKITDIR = @TOOLKIT_DIR@
9635832d 19
48b1d0ff
RR
20WXLIB = @WX_LIBRARY_NAME_STATIC@
21WXSHLIB = @WX_LIBRARY_NAME_SHARED@
9635832d 22
8461a059 23EXTRADEFS="-DwxINSTALL_PREFIX=\"@prefix@\"" $(APPEXTRADEFS)
3e469ea3 24
9635832d
RR
25########################### VERSION #################################
26
27WX_MAJOR_VERSION_NUMBER = @WX_MAJOR_VERSION_NUMBER@
28WX_MINOR_VERSION_NUMBER = @WX_MINOR_VERSION_NUMBER@
29WX_RELEASE_NUMBER = @WX_RELEASE_NUMBER@
30
9635832d
RR
31########################### Programs #################################
32
33# C++ compiler
34CC = @CXX@
35CCPP = @CXXCPP@
36
37# C compiler
38CCC = @CC@
39CCCPP = @CPP@
40
41# Compiler for lex/yacc .c programs
42CCLEX = @CC@
43
44LEX = @LEX@
45YACC = @YACC@
46AR = @AR@
47AS = @AS@
48NM = @NM@
49LN_S = @LN_S@
50STRIP = @STRIP@
51MAKE = make
52AROPTIONS = ruv
53RANLIB = @RANLIB@
54LD = @LD@
55MAKEINFO = @MAKEINFO@
56
48b1d0ff
RR
57SHARED_LD = @SHARED_LD@
58
32832908
VZ
59RESFLAGS = @RESFLAGS@
60RESCOMP = @RESCOMP@
61DLLTOOL = @DLLTOOL@
62
9635832d
RR
63########################### Flags #################################
64
d9b77fb2 65#
b12915c1 66# CPPFLAGS (gnu standard) is not C++ flags, but flags for the "cpp"
d9b77fb2
KB
67# preprocessor. Unfortunately whoever wrote this now uses CPPFLAGS for
68# C++ like CFLAGS for C. :-(
b12915c1 69# We *must* include CPPFLAGS in both of these, to make sure that all
d9b77fb2
KB
70# header files get found. (KB)
71
caa2c79b
VZ
72CFLAGS = @TOOLKIT_DEF@ @CODE_GEN_FLAGS@ @WXDEBUG_DEFINE@ @CFLAGS@ @CPPFLAGS@
73CPPFLAGS = @TOOLKIT_DEF@ @CODE_GEN_FLAGS@ @WXDEBUG_DEFINE@ @CXXFLAGS@ @CPPFLAGS@
48b1d0ff 74PICFLAGS = @PIC_FLAG@
9635832d 75
e006f096
VZ
76# taking into account how SHARED_LD is defined, appending LDFLAGS to it
77# doesn't work, so we put them in the end of the linker command line in
78# EXTRALIBS instead (see above)
79# LDFLAGS = @LDFLAGS@
9635832d 80