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