]>
Commit | Line | Data |
---|---|---|
1 | <?xml version="1.0" ?> | |
2 | <!-- $Id$ --> | |
3 | ||
4 | <makefile> | |
5 | ||
6 | <set var="BUILDING_LIB" overwrite="0">0</set> | |
7 | ||
8 | ||
9 | <option name="UNICODE"> | |
10 | <values>0 1</values> | |
11 | <default-value>0</default-value> | |
12 | <description> | |
13 | Compile Unicode build of wxWindows? | |
14 | </description> | |
15 | </option> | |
16 | ||
17 | <option name="SHARED"> | |
18 | <values>0 1</values> | |
19 | <default-value>1</default-value> | |
20 | <description> | |
21 | What type of library to build? | |
22 | </description> | |
23 | </option> | |
24 | ||
25 | <option name="MONOLITHIC"> | |
26 | <values>0 1</values> | |
27 | <default-value>1</default-value> | |
28 | <description> | |
29 | Multiple libraries or single huge monolithic one? | |
30 | </description> | |
31 | </option> | |
32 | ||
33 | <option name="USE_GUI"> | |
34 | <values>0 1</values> | |
35 | <default-value>1</default-value> | |
36 | <description> | |
37 | Build GUI libraries? | |
38 | </description> | |
39 | </option> | |
40 | ||
41 | <option name="WXUNIV"> | |
42 | <values>0 1</values> | |
43 | <default-value>0</default-value> | |
44 | <description> | |
45 | Build wxUniversal instead of native port? | |
46 | </description> | |
47 | </option> | |
48 | ||
49 | ||
50 | <option name="OFFICIAL_BUILD"> | |
51 | <values>0 1</values> | |
52 | <default-value>0</default-value> | |
53 | <description> | |
54 | Is this official build by wxWindows developers? | |
55 | </description> | |
56 | </option> | |
57 | <option name="VENDOR"> | |
58 | <default-value>custom</default-value> | |
59 | <description> | |
60 | Use this to name your customized DLLs differently | |
61 | </description> | |
62 | </option> | |
63 | ||
64 | <option name="CFG"> | |
65 | <default-value></default-value> | |
66 | <description> | |
67 | Name of your custom configuration. This affects directory | |
68 | where object files are stored as well as the location of | |
69 | compiled .lib files and setup.h under the lib/ toplevel directory. | |
70 | </description> | |
71 | </option> | |
72 | ||
73 | ||
74 | ||
75 | <!-- ================================================================== --> | |
76 | <!-- Autoconf --> | |
77 | <!-- ================================================================== --> | |
78 | ||
79 | <if cond="FORMAT=='autoconf'"> | |
80 | <option name="DEREZ"/> | |
81 | <option name="TOOLKIT"/> | |
82 | <option name="TOOLKIT_LOWERCASE"/> | |
83 | <option name="TOOLKIT_VERSION"/> | |
84 | <option name="EXTRALIBS"/> | |
85 | <option name="SAMPLES_RPATH_FLAG"/> | |
86 | <set var="TOP_SRCDIR">$(top_srcdir)/</set> | |
87 | </if> | |
88 | ||
89 | ||
90 | <!-- ================================================================== --> | |
91 | <!-- Windows compilers --> | |
92 | <!-- ================================================================== --> | |
93 | ||
94 | <if cond="FORMAT!='autoconf'"> | |
95 | <set var="WXTOPDIR"/> <!-- to be overriden on bakefile cmd line --> | |
96 | ||
97 | <set var="TOOLKIT">MSW</set> | |
98 | <set var="TOOLKIT_LOWERCASE">$(TOOLKIT.lower())</set> | |
99 | <set var="TOOLKIT_VERSION"/> | |
100 | <set var="SAMPLES_RPATH_FLAG"/> | |
101 | <set var="EXTRALIBS"/> | |
102 | <set var="EXTRACFLAGS"/> | |
103 | ||
104 | <set var="SRCDIR"> | |
105 | <if cond="BUILDING_LIB=='1'">..</if> | |
106 | <if cond="BUILDING_LIB=='0'">.</if> | |
107 | </set> | |
108 | <set var="TOP_SRCDIR">$(SRCDIR)/$(WXTOPDIR)</set> | |
109 | </if> | |
110 | ||
111 | <if cond="FORMAT=='mingw'"> | |
112 | <option name="GCC_VERSION"> | |
113 | <values>3 2.95</values> | |
114 | <default-value>3</default-value> | |
115 | <description> | |
116 | Set the version of your Mingw installation here. | |
117 | "3" ...... this is for Mingw 2.0 or newer that cames with gcc3 | |
118 | "2.95" ... for Mingw 1.1 or any of the older versions | |
119 | </description> | |
120 | </option> | |
121 | <set var="GCCFLAGS"> | |
122 | <if cond="GCC_VERSION=='2.95'">-fvtable-thunks</if> | |
123 | </set> | |
124 | <set var="EXTRACFLAGS">$(GCCFLAGS) -DHAVE_W32API_H</set> | |
125 | </if> | |
126 | ||
127 | </makefile> |