]>
Commit | Line | Data |
---|---|---|
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 | ||
11 | ####################### GENERAL SETTINGS ############################ | |
12 | ||
13 | # see comment near LDFLAGS at the end of file | |
14 | EXTRALIBS = @LDFLAGS@ @EXTRA_LIBS@ | |
15 | OPENGLLIBS = @OPENGL_LIBS@ | |
16 | LDLIBS = $(APPEXTRALIBS) ${top_builddir}/lib/@WX_TARGET_LIBRARY@ $(EXTRALIBS) | |
17 | ||
18 | TOOLKIT = @TOOLKIT@ | |
19 | TOOLKITDIR = @TOOLKIT_DIR@ | |
20 | ||
21 | WXLIB = @WX_LIBRARY_NAME_STATIC@ | |
22 | WXSHLIB = @WX_LIBRARY_NAME_SHARED@ | |
23 | ||
24 | EXTRADEFS="-DwxINSTALL_PREFIX=\"@prefix@\"" | |
25 | ||
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 | ||
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 | ||
58 | SHARED_LD = @SHARED_LD@ | |
59 | ||
60 | RESFLAGS = @RESFLAGS@ | |
61 | RESCOMP = @RESCOMP@ | |
62 | REZ = @REZ@ | |
63 | REZFLAGS = @REZFLAGS@ | |
64 | DEREZ = @DEREZ@ | |
65 | DEREZFLAGS = @DEREZFLAGS@ | |
66 | DLLTOOL = @DLLTOOL@ | |
67 | ||
68 | ########################### Flags ################################# | |
69 | ||
70 | # | |
71 | # CPPFLAGS (gnu standard) is not C++ flags, but flags for the "cpp" | |
72 | # preprocessor. Unfortunately whoever wrote this now uses CPPFLAGS for | |
73 | # C++ like CFLAGS for C. :-( | |
74 | # We *must* include CPPFLAGS in both of these, to make sure that all | |
75 | # header files get found. (KB) | |
76 | ||
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@ | |
79 | PICFLAGS = @PIC_FLAG@ | |
80 | ||
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@ | |
85 |