]> git.saurik.com Git - wxWidgets.git/blame - src/make.env.in
added dependency handling to Makefiles
[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@
f6bcfd97
BP
15OPENGLLIBS = @OPENGL_LIBS@
16LDLIBS = $(APPEXTRALIBS) ${top_builddir}/lib/@WX_TARGET_LIBRARY@ $(EXTRALIBS)
9635832d
RR
17
18TOOLKIT = @TOOLKIT@
a4aad961 19TOOLKITDIR = @TOOLKIT_DIR@
9635832d 20
48b1d0ff
RR
21WXLIB = @WX_LIBRARY_NAME_STATIC@
22WXSHLIB = @WX_LIBRARY_NAME_SHARED@
9635832d 23
f6bcfd97 24EXTRADEFS="-DwxINSTALL_PREFIX=\"@prefix@\""
3e469ea3 25
9635832d
RR
26########################### VERSION #################################
27
28WX_MAJOR_VERSION_NUMBER = @WX_MAJOR_VERSION_NUMBER@
29WX_MINOR_VERSION_NUMBER = @WX_MINOR_VERSION_NUMBER@
30WX_RELEASE_NUMBER = @WX_RELEASE_NUMBER@
31
9635832d
RR
32########################### Programs #################################
33
34# C++ compiler
35CC = @CXX@
36CCPP = @CXXCPP@
37
38# C compiler
39CCC = @CC@
40CCCPP = @CPP@
41
42# Compiler for lex/yacc .c programs
43CCLEX = @CC@
44
45LEX = @LEX@
46YACC = @YACC@
47AR = @AR@
48AS = @AS@
49NM = @NM@
50LN_S = @LN_S@
51STRIP = @STRIP@
52MAKE = make
53AROPTIONS = ruv
54RANLIB = @RANLIB@
55LD = @LD@
56MAKEINFO = @MAKEINFO@
57
48b1d0ff
RR
58SHARED_LD = @SHARED_LD@
59
32832908
VZ
60RESFLAGS = @RESFLAGS@
61RESCOMP = @RESCOMP@
2f51a9ec
GD
62REZ = @REZ@
63REZFLAGS = @REZFLAGS@
64DEREZ = @DEREZ@
65DEREZFLAGS = @DEREZFLAGS@
32832908
VZ
66DLLTOOL = @DLLTOOL@
67
9635832d
RR
68########################### Flags #################################
69
d9b77fb2 70#
b12915c1 71# CPPFLAGS (gnu standard) is not C++ flags, but flags for the "cpp"
d9b77fb2
KB
72# preprocessor. Unfortunately whoever wrote this now uses CPPFLAGS for
73# C++ like CFLAGS for C. :-(
b12915c1 74# We *must* include CPPFLAGS in both of these, to make sure that all
d9b77fb2
KB
75# header files get found. (KB)
76
7d88e244
VZ
77CFLAGS = $(APPEXTRACFLAGS) $(APPEXTRACPPFLAGS) @TOOLKIT_DEF@ @CODE_GEN_FLAGS@ @WXDEBUG_DEFINE@ @CFLAGS@ @CPPFLAGS@ @CODE_GEN_FLAGS@
78CPPFLAGS = $(APPEXTRACXXFLAGS) $(APPEXTRACPPFLAGS) @TOOLKIT_DEF@ @CODE_GEN_FLAGS@ @WXDEBUG_DEFINE@ @CXXFLAGS@ @CPPFLAGS@ @CODE_GEN_FLAGS_CXX@
48b1d0ff 79PICFLAGS = @PIC_FLAG@
9635832d 80
e006f096
VZ
81# taking into account how SHARED_LD is defined, appending LDFLAGS to it
82# doesn't work, so we put them in the end of the linker command line in
83# EXTRALIBS instead (see above)
84# LDFLAGS = @LDFLAGS@
9635832d 85