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