]>
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@ | |
2f51a9ec GD |
62 | REZ = @REZ@ |
63 | REZFLAGS = @REZFLAGS@ | |
64 | DEREZ = @DEREZ@ | |
65 | DEREZFLAGS = @DEREZFLAGS@ | |
32832908 VZ |
66 | DLLTOOL = @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 |
77 | CFLAGS = $(APPEXTRACFLAGS) $(APPEXTRACPPFLAGS) @TOOLKIT_DEF@ @CODE_GEN_FLAGS@ @WXDEBUG_DEFINE@ @CFLAGS@ @CPPFLAGS@ @CODE_GEN_FLAGS@ |
78 | CPPFLAGS = $(APPEXTRACXXFLAGS) $(APPEXTRACPPFLAGS) @TOOLKIT_DEF@ @CODE_GEN_FLAGS@ @WXDEBUG_DEFINE@ @CXXFLAGS@ @CPPFLAGS@ @CODE_GEN_FLAGS_CXX@ | |
48b1d0ff | 79 | PICFLAGS = @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 |