]>
Commit | Line | Data |
---|---|---|
ddf98968 VS |
1 | <?xml version="1.0" ?> |
2 | <!-- $Id$ --> | |
3 | ||
4 | <makefile> | |
498368e9 VS |
5 | |
6 | <set var="BUILDING_LIB" overwrite="0">0</set> | |
7 | ||
ddf98968 VS |
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 | ||
ddf98968 VS |
25 | <option name="MONOLITHIC"> |
26 | <values>0 1</values> | |
eefdc53a | 27 | <default-value>1</default-value> |
ddf98968 VS |
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> | |
4d264332 VS |
40 | |
41 | <option name="USE_HTML"> | |
42 | <values>0 1</values> | |
43 | <default-value>1</default-value> | |
44 | <description> | |
45 | Build wxHTML library (USE_GUI must be 1)? | |
46 | </description> | |
47 | </option> | |
48 | ||
49 | <option name="USE_OPENGL"> | |
50 | <values>0 1</values> | |
51 | <default-value>1</default-value> | |
52 | <description> | |
53 | Build OpenGL canvas library (USE_GUI must be 1)? | |
54 | </description> | |
55 | </option> | |
ddf98968 VS |
56 | |
57 | <option name="WXUNIV"> | |
58 | <values>0 1</values> | |
59 | <default-value>0</default-value> | |
60 | <description> | |
61 | Build wxUniversal instead of native port? | |
62 | </description> | |
63 | </option> | |
64 | ||
eefdc53a | 65 | |
4fc5f509 VS |
66 | <option name="OFFICIAL_BUILD"> |
67 | <values>0 1</values> | |
68 | <default-value>0</default-value> | |
69 | <description> | |
70 | Is this official build by wxWindows developers? | |
71 | </description> | |
72 | </option> | |
73 | <option name="VENDOR"> | |
74 | <default-value>custom</default-value> | |
75 | <description> | |
76 | Use this to name your customized DLLs differently | |
77 | </description> | |
78 | </option> | |
cff5df9f VS |
79 | |
80 | <option name="CFG"> | |
81 | <default-value></default-value> | |
82 | <description> | |
83 | Name of your custom configuration. This affects directory | |
84 | where object files are stored as well as the location of | |
85 | compiled .lib files and setup.h under the lib/ toplevel directory. | |
86 | </description> | |
87 | </option> | |
4fc5f509 VS |
88 | |
89 | ||
90 | ||
eefdc53a VS |
91 | <!-- ================================================================== --> |
92 | <!-- Autoconf --> | |
93 | <!-- ================================================================== --> | |
94 | ||
ddf98968 VS |
95 | <if cond="FORMAT=='autoconf'"> |
96 | <option name="DEREZ"/> | |
97 | <option name="TOOLKIT"/> | |
98 | <option name="TOOLKIT_LOWERCASE"/> | |
99 | <option name="TOOLKIT_VERSION"/> | |
157a3440 | 100 | <option name="TOOLCHAIN_NAME"/> |
ddf98968 | 101 | <option name="EXTRALIBS"/> |
c74dc163 | 102 | <option name="EXTRALIBS_GUI"/> |
4d264332 | 103 | <option name="OPENGL_LIBS"/> |
ddf98968 | 104 | <option name="SAMPLES_RPATH_FLAG"/> |
4b44ea2b | 105 | |
4843dc4c | 106 | <set var="TOP_SRCDIR">$(top_srcdir)/</set> |
4b44ea2b | 107 | <set var="RUNTIME_LIBS">dynamic</set> |
ddf98968 VS |
108 | </if> |
109 | ||
eefdc53a VS |
110 | |
111 | <!-- ================================================================== --> | |
112 | <!-- Windows compilers --> | |
113 | <!-- ================================================================== --> | |
114 | ||
ddf98968 | 115 | <if cond="FORMAT!='autoconf'"> |
4b44ea2b VS |
116 | <option name="RUNTIME_LIBS"> |
117 | <values>dynamic static</values> | |
118 | <default-value>dynamic</default-value> | |
119 | <description> | |
120 | Version of C runtime library to use. You can change this to | |
121 | static if SHARED=0, but it is highly recommended to not do | |
122 | it if SHARED=1 unless you know what you are doing. | |
123 | </description> | |
124 | </option> | |
125 | ||
4843dc4c VS |
126 | <set var="WXTOPDIR"/> <!-- to be overriden on bakefile cmd line --> |
127 | ||
eefdc53a VS |
128 | <set var="TOOLKIT">MSW</set> |
129 | <set var="TOOLKIT_LOWERCASE">$(TOOLKIT.lower())</set> | |
130 | <set var="TOOLKIT_VERSION"/> | |
131 | <set var="SAMPLES_RPATH_FLAG"/> | |
6f53cd7c | 132 | <set var="EXTRALIBS"/> |
c74dc163 | 133 | <set var="EXTRALIBS_GUI"/> |
65fb1c11 | 134 | <set var="EXTRACFLAGS"/> |
eefdc53a | 135 | |
cdc0282e VS |
136 | <set var="SRCDIR"> |
137 | <if cond="BUILDING_LIB=='1'">..</if> | |
138 | <if cond="BUILDING_LIB=='0'">.</if> | |
139 | </set> | |
4843dc4c | 140 | <set var="TOP_SRCDIR">$(SRCDIR)/$(WXTOPDIR)</set> |
ddf98968 | 141 | </if> |
65fb1c11 VS |
142 | |
143 | <if cond="FORMAT=='mingw'"> | |
144 | <option name="GCC_VERSION"> | |
145 | <values>3 2.95</values> | |
146 | <default-value>3</default-value> | |
147 | <description> | |
148 | Set the version of your Mingw installation here. | |
149 | "3" ...... this is for Mingw 2.0 or newer that cames with gcc3 | |
150 | "2.95" ... for Mingw 1.1 or any of the older versions | |
151 | </description> | |
152 | </option> | |
153 | <set var="GCCFLAGS"> | |
154 | <if cond="GCC_VERSION=='2.95'">-fvtable-thunks</if> | |
155 | </set> | |
156 | <set var="EXTRACFLAGS">$(GCCFLAGS) -DHAVE_W32API_H</set> | |
157 | </if> | |
158 | ||
ddf98968 | 159 | </makefile> |