]>
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 | DLLTOOL = @DLLTOOL@ | |
63 | ||
64 | ########################### Flags ################################# | |
65 | ||
66 | # | |
67 | # CPPFLAGS (gnu standard) is not C++ flags, but flags for the "cpp" | |
68 | # preprocessor. Unfortunately whoever wrote this now uses CPPFLAGS for | |
69 | # C++ like CFLAGS for C. :-( | |
70 | # We *must* include CPPFLAGS in both of these, to make sure that all | |
71 | # header files get found. (KB) | |
72 | ||
73 | CFLAGS = $(APPEXTRACFLAGS) $(APPEXTRACPPFLAGS) @TOOLKIT_DEF@ @CODE_GEN_FLAGS@ @WXDEBUG_DEFINE@ @CFLAGS@ @CPPFLAGS@ | |
74 | CPPFLAGS = $(APPEXTRACXXFLAGS) $(APPEXTRACPPFLAGS) @TOOLKIT_DEF@ @CODE_GEN_FLAGS@ @WXDEBUG_DEFINE@ @CXXFLAGS@ @CPPFLAGS@ | |
75 | PICFLAGS = @PIC_FLAG@ | |
76 | ||
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@ | |
81 |