]>
Commit | Line | Data |
---|---|---|
f82b7036 KO |
1 | # =========================================================================\r |
2 | # This makefile was generated by\r | |
00eef16d | 3 | # Bakefile 0.2.9 (http://www.bakefile.org)\r |
f82b7036 KO |
4 | # Do not modify, all changes will be overwritten!\r |
5 | # =========================================================================\r | |
6 | \r | |
7 | !include <../../build/msw/config.vc>\r | |
8 | \r | |
9 | # -------------------------------------------------------------------------\r | |
10 | # Do not modify the rest of this file!\r | |
11 | # -------------------------------------------------------------------------\r | |
12 | \r | |
13 | ### Variables: ###\r | |
14 | \r | |
15 | WX_RELEASE_NODOT = 29\r | |
16 | COMPILER_PREFIX = vc\r | |
17 | OBJS = \\r | |
14b682f7 | 18 | $(COMPILER_PREFIX)$(COMPILER_VERSION)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)$(ARCH_SUFFIX) |
f82b7036 | 19 | LIBDIRNAME = \\r |
14b682f7 | 20 | .\..\..\lib\$(COMPILER_PREFIX)$(COMPILER_VERSION)$(ARCH_SUFFIX)_$(LIBTYPE_SUFFIX)$(CFG) |
f82b7036 KO |
21 | SETUPHDIR = \\r |
22 | $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)\r | |
23 | DIALOGS_CXXFLAGS = /M$(__RUNTIME_LIBS_10)$(__DEBUGRUNTIME_4) /DWIN32 \\r | |
24 | $(__DEBUGINFO_0) /Fd$(OBJS)\dialogs.pdb $(____DEBUGRUNTIME_3_p) \\r | |
49a63afb VZ |
25 | $(__OPTIMIZEFLAG_6) /D_CRT_SECURE_NO_DEPRECATE=1 \\r |
26 | /D_CRT_NON_CONFORMING_SWPRINTFS=1 /D_SCL_SECURE_NO_WARNINGS=1 \\r | |
22a3b6e4 VZ |
27 | $(__NO_VC_CRTDBG_p) /D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \ |
28 | $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \ | |
29 | $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \ | |
30 | $(__MSLU_DEFINE_p) /I$(SETUPHDIR) /I.\..\..\include \ | |
31 | $(____CAIRO_INCLUDEDIR_FILENAMES_p) /W4 /I. $(__DLLFLAG_p) /D_WINDOWS \ | |
32 | /I.\..\..\samples /DNOPCH $(__RTTIFLAG_11) $(__EXCEPTIONSFLAG_12) \ | |
33 | $(CPPFLAGS) $(CXXFLAGS) | |
f82b7036 KO |
34 | DIALOGS_OBJECTS = \\r |
35 | $(OBJS)\dialogs_dialogs.obj \\r | |
36 | $(____GENERIC_DIALOGS_IN_NATIVE_BUILDS_FILENAMES_OBJECTS)\r | |
37 | DIALOGS_RESOURCES = \\r | |
00eef16d | 38 | $(OBJS)\dialogs_sample.res\r |
f82b7036 KO |
39 | \r |
40 | ### Conditionally set variables: ###\r | |
41 | \r | |
22a3b6e4 VZ |
42 | !if "$(TOOLKIT)" == "GTK" |
43 | WIN32_TOOLKIT_LOWERCASE = gtk | |
44 | !endif | |
45 | !if "$(TOOLKIT)" == "MSW" | |
46 | WIN32_TOOLKIT_LOWERCASE = msw | |
47 | !endif | |
14b682f7 VZ |
48 | !if "$(TARGET_CPU)" == "AMD64" |
49 | ARCH_SUFFIX = _x64 | |
50 | !endif | |
51 | !if "$(TARGET_CPU)" == "IA64" | |
52 | ARCH_SUFFIX = _ia64 | |
53 | !endif | |
54 | !if "$(TARGET_CPU)" == "X64" | |
55 | ARCH_SUFFIX = _x64 | |
56 | !endif | |
57 | !if "$(TARGET_CPU)" == "amd64" | |
58 | ARCH_SUFFIX = _x64 | |
59 | !endif | |
60 | !if "$(TARGET_CPU)" == "ia64" | |
61 | ARCH_SUFFIX = _ia64 | |
62 | !endif | |
63 | !if "$(TARGET_CPU)" == "x64" | |
64 | ARCH_SUFFIX = _x64 | |
65 | !endif | |
f82b7036 KO |
66 | !if "$(USE_GUI)" == "0"\r |
67 | PORTNAME = base\r | |
68 | !endif\r | |
69 | !if "$(USE_GUI)" == "1"\r | |
22a3b6e4 VZ |
70 | PORTNAME = $(WIN32_TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION) |
71 | !endif | |
72 | !if "$(TOOLKIT)" == "MAC" | |
73 | WXBASEPORT = _carbon | |
74 | !endif | |
14b682f7 VZ |
75 | !if "$(OFFICIAL_BUILD)" == "1" |
76 | COMPILER_VERSION = ERROR-COMPILER-VERSION-MUST-BE-SET-FOR-OFFICIAL-BUILD | |
22a3b6e4 | 77 | !endif\r |
f82b7036 KO |
78 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r |
79 | WXDEBUGFLAG = d\r | |
80 | !endif\r | |
81 | !if "$(DEBUG_RUNTIME_LIBS)" == "1"\r | |
82 | WXDEBUGFLAG = d\r | |
83 | !endif\r | |
84 | !if "$(UNICODE)" == "1"\r | |
85 | WXUNICODEFLAG = u\r | |
86 | !endif\r | |
87 | !if "$(WXUNIV)" == "1"\r | |
88 | WXUNIVNAME = univ\r | |
89 | !endif\r | |
f82b7036 KO |
90 | !if "$(SHARED)" == "1"\r |
91 | WXDLLFLAG = dll\r | |
92 | !endif\r | |
93 | !if "$(SHARED)" == "0"\r | |
94 | LIBTYPE_SUFFIX = lib\r | |
95 | !endif\r | |
96 | !if "$(SHARED)" == "1"\r | |
97 | LIBTYPE_SUFFIX = dll\r | |
98 | !endif\r | |
99 | !if "$(TARGET_CPU)" == "AMD64"\r | |
94b6ce7f | 100 | LINK_TARGET_CPU = /MACHINE:X64\r |
f82b7036 KO |
101 | !endif\r |
102 | !if "$(TARGET_CPU)" == "IA64"\r | |
103 | LINK_TARGET_CPU = /MACHINE:IA64\r | |
104 | !endif\r | |
14b682f7 VZ |
105 | !if "$(TARGET_CPU)" == "X64" |
106 | LINK_TARGET_CPU = /MACHINE:X64 | |
107 | !endif | |
f82b7036 | 108 | !if "$(TARGET_CPU)" == "amd64"\r |
94b6ce7f | 109 | LINK_TARGET_CPU = /MACHINE:X64\r |
f82b7036 KO |
110 | !endif\r |
111 | !if "$(TARGET_CPU)" == "ia64"\r | |
112 | LINK_TARGET_CPU = /MACHINE:IA64\r | |
113 | !endif\r | |
14b682f7 VZ |
114 | !if "$(TARGET_CPU)" == "x64" |
115 | LINK_TARGET_CPU = /MACHINE:X64 | |
116 | !endif | |
f82b7036 KO |
117 | !if "$(MONOLITHIC)" == "0"\r |
118 | EXTRALIBS_FOR_BASE = \r | |
119 | !endif\r | |
120 | !if "$(MONOLITHIC)" == "1"\r | |
51ec29ea | 121 | EXTRALIBS_FOR_BASE = \r |
f82b7036 | 122 | !endif\r |
22a3b6e4 VZ |
123 | !if "$(TOOLKIT)" == "GTK" && "$(TOOLKIT_VERSION)" == "2" |
124 | LIB_GTK = gtk-win32-2.0.lib gdk-win32-2.0.lib pangocairo-1.0.lib \ | |
125 | gdk_pixbuf-2.0.lib cairo.lib pango-1.0.lib gobject-2.0.lib gthread-2.0.lib \ | |
126 | glib-2.0.lib | |
127 | !endif | |
f82b7036 KO |
128 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r |
129 | __DEBUGINFO_0 = /Zi\r | |
130 | !endif\r | |
131 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r | |
132 | __DEBUGINFO_0 = \r | |
133 | !endif\r | |
134 | !if "$(DEBUG_INFO)" == "0"\r | |
135 | __DEBUGINFO_0 = \r | |
136 | !endif\r | |
137 | !if "$(DEBUG_INFO)" == "1"\r | |
138 | __DEBUGINFO_0 = /Zi\r | |
139 | !endif\r | |
140 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r | |
141 | __DEBUGINFO_1 = /DEBUG\r | |
142 | !endif\r | |
143 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r | |
144 | __DEBUGINFO_1 = \r | |
145 | !endif\r | |
146 | !if "$(DEBUG_INFO)" == "0"\r | |
147 | __DEBUGINFO_1 = \r | |
148 | !endif\r | |
149 | !if "$(DEBUG_INFO)" == "1"\r | |
150 | __DEBUGINFO_1 = /DEBUG\r | |
151 | !endif\r | |
152 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r | |
153 | __DEBUGINFO_2 = $(__DEBUGRUNTIME_5)\r | |
154 | !endif\r | |
155 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r | |
156 | __DEBUGINFO_2 = \r | |
157 | !endif\r | |
158 | !if "$(DEBUG_INFO)" == "0"\r | |
159 | __DEBUGINFO_2 = \r | |
160 | !endif\r | |
161 | !if "$(DEBUG_INFO)" == "1"\r | |
162 | __DEBUGINFO_2 = $(__DEBUGRUNTIME_5)\r | |
163 | !endif\r | |
164 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
165 | ____DEBUGRUNTIME_3_p = /D_DEBUG\r | |
166 | !endif\r | |
167 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
168 | ____DEBUGRUNTIME_3_p = \r | |
169 | !endif\r | |
170 | !if "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
171 | ____DEBUGRUNTIME_3_p = \r | |
172 | !endif\r | |
173 | !if "$(DEBUG_RUNTIME_LIBS)" == "1"\r | |
174 | ____DEBUGRUNTIME_3_p = /D_DEBUG\r | |
175 | !endif\r | |
176 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
177 | ____DEBUGRUNTIME_3_p_1 = /d _DEBUG\r | |
178 | !endif\r | |
179 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
180 | ____DEBUGRUNTIME_3_p_1 = \r | |
181 | !endif\r | |
182 | !if "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
183 | ____DEBUGRUNTIME_3_p_1 = \r | |
184 | !endif\r | |
185 | !if "$(DEBUG_RUNTIME_LIBS)" == "1"\r | |
186 | ____DEBUGRUNTIME_3_p_1 = /d _DEBUG\r | |
187 | !endif\r | |
188 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
189 | __DEBUGRUNTIME_4 = d\r | |
190 | !endif\r | |
191 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
192 | __DEBUGRUNTIME_4 = \r | |
193 | !endif\r | |
194 | !if "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
195 | __DEBUGRUNTIME_4 = \r | |
196 | !endif\r | |
197 | !if "$(DEBUG_RUNTIME_LIBS)" == "1"\r | |
198 | __DEBUGRUNTIME_4 = d\r | |
199 | !endif\r | |
200 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
201 | __DEBUGRUNTIME_5 = \r | |
202 | !endif\r | |
203 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
204 | __DEBUGRUNTIME_5 = /opt:ref /opt:icf\r | |
205 | !endif\r | |
206 | !if "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
207 | __DEBUGRUNTIME_5 = /opt:ref /opt:icf\r | |
208 | !endif\r | |
209 | !if "$(DEBUG_RUNTIME_LIBS)" == "1"\r | |
210 | __DEBUGRUNTIME_5 = \r | |
211 | !endif\r | |
212 | !if "$(BUILD)" == "debug"\r | |
213 | __OPTIMIZEFLAG_6 = /Od\r | |
214 | !endif\r | |
215 | !if "$(BUILD)" == "release"\r | |
216 | __OPTIMIZEFLAG_6 = /O2\r | |
217 | !endif\r | |
218 | !if "$(USE_THREADS)" == "0"\r | |
219 | __THREADSFLAG_9 = L\r | |
220 | !endif\r | |
221 | !if "$(USE_THREADS)" == "1"\r | |
222 | __THREADSFLAG_9 = T\r | |
223 | !endif\r | |
224 | !if "$(RUNTIME_LIBS)" == "dynamic"\r | |
225 | __RUNTIME_LIBS_10 = D\r | |
226 | !endif\r | |
227 | !if "$(RUNTIME_LIBS)" == "static"\r | |
228 | __RUNTIME_LIBS_10 = $(__THREADSFLAG_9)\r | |
229 | !endif\r | |
230 | !if "$(USE_RTTI)" == "0"\r | |
231 | __RTTIFLAG_11 = \r | |
232 | !endif\r | |
233 | !if "$(USE_RTTI)" == "1"\r | |
234 | __RTTIFLAG_11 = /GR\r | |
235 | !endif\r | |
236 | !if "$(USE_EXCEPTIONS)" == "0"\r | |
237 | __EXCEPTIONSFLAG_12 = \r | |
238 | !endif\r | |
239 | !if "$(USE_EXCEPTIONS)" == "1"\r | |
240 | __EXCEPTIONSFLAG_12 = /EHsc\r | |
241 | !endif\r | |
242 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
243 | __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__\r | |
244 | !endif\r | |
245 | !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"\r | |
246 | __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__\r | |
247 | !endif\r | |
248 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
249 | __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__\r | |
250 | !endif\r | |
251 | !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"\r | |
252 | __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__\r | |
253 | !endif\r | |
254 | !if "$(WXUNIV)" == "1"\r | |
255 | __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__\r | |
256 | !endif\r | |
257 | !if "$(WXUNIV)" == "1"\r | |
258 | __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__\r | |
259 | !endif\r | |
260 | !if "$(DEBUG_FLAG)" == "0"\r | |
261 | __DEBUG_DEFINE_p = /DwxDEBUG_LEVEL=0\r | |
262 | !endif\r | |
263 | !if "$(DEBUG_FLAG)" == "0"\r | |
264 | __DEBUG_DEFINE_p_1 = /d wxDEBUG_LEVEL=0\r | |
265 | !endif\r | |
b796194b VS |
266 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r |
267 | __NDEBUG_DEFINE_p = /DNDEBUG\r | |
268 | !endif\r | |
269 | !if "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
270 | __NDEBUG_DEFINE_p = /DNDEBUG\r | |
271 | !endif\r | |
272 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
273 | __NDEBUG_DEFINE_p_1 = /d NDEBUG\r | |
274 | !endif\r | |
275 | !if "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
276 | __NDEBUG_DEFINE_p_1 = /d NDEBUG\r | |
277 | !endif\r | |
f82b7036 KO |
278 | !if "$(USE_EXCEPTIONS)" == "0"\r |
279 | __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS\r | |
280 | !endif\r | |
281 | !if "$(USE_EXCEPTIONS)" == "0"\r | |
282 | __EXCEPTIONS_DEFINE_p_1 = /d wxNO_EXCEPTIONS\r | |
283 | !endif\r | |
284 | !if "$(USE_RTTI)" == "0"\r | |
285 | __RTTI_DEFINE_p = /DwxNO_RTTI\r | |
286 | !endif\r | |
287 | !if "$(USE_RTTI)" == "0"\r | |
288 | __RTTI_DEFINE_p_1 = /d wxNO_RTTI\r | |
289 | !endif\r | |
290 | !if "$(USE_THREADS)" == "0"\r | |
291 | __THREAD_DEFINE_p = /DwxNO_THREADS\r | |
292 | !endif\r | |
293 | !if "$(USE_THREADS)" == "0"\r | |
294 | __THREAD_DEFINE_p_1 = /d wxNO_THREADS\r | |
295 | !endif\r | |
296 | !if "$(UNICODE)" == "0"\r | |
297 | __UNICODE_DEFINE_p = /DwxUSE_UNICODE=0\r | |
298 | !endif\r | |
299 | !if "$(UNICODE)" == "1"\r | |
300 | __UNICODE_DEFINE_p = /D_UNICODE\r | |
301 | !endif\r | |
302 | !if "$(UNICODE)" == "0"\r | |
303 | __UNICODE_DEFINE_p_1 = /d wxUSE_UNICODE=0\r | |
304 | !endif\r | |
305 | !if "$(UNICODE)" == "1"\r | |
306 | __UNICODE_DEFINE_p_1 = /d _UNICODE\r | |
307 | !endif\r | |
308 | !if "$(MSLU)" == "1"\r | |
309 | __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1\r | |
310 | !endif\r | |
311 | !if "$(MSLU)" == "1"\r | |
312 | __MSLU_DEFINE_p_1 = /d wxUSE_UNICODE_MSLU=1\r | |
313 | !endif\r | |
f82b7036 KO |
314 | !if "$(USE_CAIRO)" == "1"\r |
315 | ____CAIRO_INCLUDEDIR_FILENAMES_p = /I$(CAIRO_ROOT)\include\cairo\r | |
316 | !endif\r | |
317 | !if "$(USE_CAIRO)" == "1"\r | |
318 | ____CAIRO_INCLUDEDIR_FILENAMES_1_p = /i $(CAIRO_ROOT)\include\cairo\r | |
319 | !endif\r | |
320 | !if "$(SHARED)" == "1"\r | |
321 | __DLLFLAG_p = /DWXUSINGDLL\r | |
322 | !endif\r | |
323 | !if "$(SHARED)" == "1"\r | |
324 | __DLLFLAG_p_1 = /d WXUSINGDLL\r | |
325 | !endif\r | |
22a3b6e4 VZ |
326 | !if "$(SHARED)" == "0" && "$(TOOLKIT)" == "MAC" && "$(WXUNIV)" == "0" |
327 | ____GENERIC_DIALOGS_IN_NATIVE_BUILDS_FILENAMES_OBJECTS = \ | |
328 | $(OBJS)\dialogs_colrdlgg.obj \ | |
329 | $(OBJS)\dialogs_dirdlgg.obj \ | |
330 | $(OBJS)\dialogs_filedlgg.obj | |
331 | !endif | |
332 | !if "$(SHARED)" == "0" && "$(TOOLKIT)" == "MSW" && "$(WXUNIV)" == "0" | |
f82b7036 KO |
333 | ____GENERIC_DIALOGS_IN_NATIVE_BUILDS_FILENAMES_OBJECTS = \\r |
334 | $(OBJS)\dialogs_colrdlgg.obj \\r | |
335 | $(OBJS)\dialogs_dirdlgg.obj \\r | |
336 | $(OBJS)\dialogs_filedlgg.obj \\r | |
337 | $(OBJS)\dialogs_fontdlgg.obj\r | |
338 | !endif\r | |
22a3b6e4 VZ |
339 | !if "$(SHARED)" == "0" && "$(TOOLKIT)" == "PM" && "$(WXUNIV)" == "0" |
340 | ____GENERIC_DIALOGS_IN_NATIVE_BUILDS_FILENAMES_OBJECTS = \ | |
341 | $(OBJS)\dialogs_fontdlgg.obj \ | |
342 | $(OBJS)\dialogs_filedlgg.obj | |
343 | !endif | |
344 | !if "$(TOOLKIT)" == "GTK" && "$(TOOLKIT_VERSION)" == "2" | |
345 | ____GENERIC_DIALOGS_IN_NATIVE_BUILDS_FILENAMES_OBJECTS = \ | |
346 | $(OBJS)\dialogs_filedlgg.obj | |
347 | !endif | |
f82b7036 KO |
348 | !if "$(MONOLITHIC)" == "0"\r |
349 | __WXLIB_ADV_p = \\r | |
350 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv.lib\r | |
351 | !endif\r | |
352 | !if "$(MONOLITHIC)" == "0"\r | |
353 | __WXLIB_CORE_p = \\r | |
354 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib\r | |
355 | !endif\r | |
356 | !if "$(MONOLITHIC)" == "0"\r | |
357 | __WXLIB_BASE_p = \\r | |
22a3b6e4 | 358 | wxbase$(WXBASEPORT)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib |
f82b7036 KO |
359 | !endif\r |
360 | !if "$(MONOLITHIC)" == "1"\r | |
361 | __WXLIB_MONO_p = \\r | |
362 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib\r | |
363 | !endif\r | |
364 | !if "$(USE_GUI)" == "1"\r | |
365 | __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib\r | |
366 | !endif\r | |
367 | !if "$(USE_GUI)" == "1"\r | |
368 | __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib\r | |
369 | !endif\r | |
370 | !if "$(USE_GUI)" == "1"\r | |
371 | __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib\r | |
372 | !endif\r | |
373 | !if "$(MSLU)" == "1"\r | |
374 | __UNICOWS_LIB_p = unicows.lib\r | |
375 | !endif\r | |
f82b7036 KO |
376 | !if "$(USE_CAIRO)" == "1"\r |
377 | __CAIRO_LIB_p = cairo.lib\r | |
378 | !endif\r | |
379 | !if "$(USE_CAIRO)" == "1"\r | |
380 | ____CAIRO_LIBDIR_FILENAMES_p = /LIBPATH:$(CAIRO_ROOT)\lib\r | |
381 | !endif\r | |
382 | \r | |
383 | \r | |
384 | all: $(OBJS)\r | |
385 | $(OBJS):\r | |
386 | -if not exist $(OBJS) mkdir $(OBJS)\r | |
387 | \r | |
388 | ### Targets: ###\r | |
389 | \r | |
390 | all: $(OBJS)\dialogs.exe data\r | |
391 | \r | |
392 | clean: \r | |
393 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj\r | |
394 | -if exist $(OBJS)\*.res del $(OBJS)\*.res\r | |
395 | -if exist $(OBJS)\*.pch del $(OBJS)\*.pch\r | |
396 | -if exist $(OBJS)\dialogs.exe del $(OBJS)\dialogs.exe\r | |
397 | -if exist $(OBJS)\dialogs.ilk del $(OBJS)\dialogs.ilk\r | |
398 | -if exist $(OBJS)\dialogs.pdb del $(OBJS)\dialogs.pdb\r | |
399 | \r | |
00eef16d | 400 | $(OBJS)\dialogs.exe: $(DIALOGS_OBJECTS) $(OBJS)\dialogs_sample.res\r |
f82b7036 | 401 | link /NOLOGO /OUT:$@ $(__DEBUGINFO_1) /pdb:"$(OBJS)\dialogs.pdb" $(__DEBUGINFO_2) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS $(____CAIRO_LIBDIR_FILENAMES_p) $(LDFLAGS) @<<\r |
22a3b6e4 | 402 | $(DIALOGS_OBJECTS) $(DIALOGS_RESOURCES) $(__WXLIB_ADV_p) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(LIB_GTK) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__CAIRO_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wininet.lib |
f82b7036 KO |
403 | <<\r |
404 | \r | |
405 | data: \r | |
406 | if not exist $(OBJS) mkdir $(OBJS)\r | |
407 | for %f in (tips.txt) do if not exist $(OBJS)\%f copy .\%f $(OBJS)\r | |
408 | \r | |
00eef16d | 409 | $(OBJS)\dialogs_sample.res: .\..\..\samples\sample.rc\r |
22a3b6e4 | 410 | rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_3_p_1) /d _CRT_SECURE_NO_DEPRECATE=1 /d _CRT_NON_CONFORMING_SWPRINTFS=1 /d _SCL_SECURE_NO_WARNINGS=1 $(__NO_VC_CRTDBG_p_1) /d __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__NDEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) $(__MSLU_DEFINE_p_1) /i $(SETUPHDIR) /i .\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_1_p) /i . $(__DLLFLAG_p_1) /d _WINDOWS /i .\..\..\samples /d NOPCH .\..\..\samples\sample.rc |
00eef16d | 411 | \r |
f82b7036 KO |
412 | $(OBJS)\dialogs_dialogs.obj: .\dialogs.cpp\r |
413 | $(CXX) /c /nologo /TP /Fo$@ $(DIALOGS_CXXFLAGS) .\dialogs.cpp\r | |
414 | \r | |
22a3b6e4 | 415 | !if "$(SHARED)" == "0" && "$(WXUNIV)" == "0" |
f82b7036 KO |
416 | $(OBJS)\dialogs_colrdlgg.obj: .\..\..\src\generic\colrdlgg.cpp\r |
417 | $(CXX) /c /nologo /TP /Fo$@ $(DIALOGS_CXXFLAGS) .\..\..\src\generic\colrdlgg.cpp\r | |
22a3b6e4 | 418 | !endif |
f82b7036 | 419 | \r |
22a3b6e4 | 420 | !if "$(SHARED)" == "0" && "$(WXUNIV)" == "0" |
f82b7036 KO |
421 | $(OBJS)\dialogs_dirdlgg.obj: .\..\..\src\generic\dirdlgg.cpp\r |
422 | $(CXX) /c /nologo /TP /Fo$@ $(DIALOGS_CXXFLAGS) .\..\..\src\generic\dirdlgg.cpp\r | |
22a3b6e4 VZ |
423 | !endif |
424 | ||
425 | !if "$(SHARED)" == "0" && "$(WXUNIV)" == "0" | |
426 | $(OBJS)\dialogs_filedlgg.obj: .\..\..\src\generic\filedlgg.cpp | |
427 | $(CXX) /c /nologo /TP /Fo$@ $(DIALOGS_CXXFLAGS) .\..\..\src\generic\filedlgg.cpp | |
428 | !endif | |
f82b7036 | 429 | \r |
22a3b6e4 | 430 | !if "$(TOOLKIT)" == "GTK" && "$(TOOLKIT_VERSION)" == "2" |
f82b7036 KO |
431 | $(OBJS)\dialogs_filedlgg.obj: .\..\..\src\generic\filedlgg.cpp\r |
432 | $(CXX) /c /nologo /TP /Fo$@ $(DIALOGS_CXXFLAGS) .\..\..\src\generic\filedlgg.cpp\r | |
22a3b6e4 | 433 | !endif |
f82b7036 | 434 | \r |
22a3b6e4 VZ |
435 | !if "$(SHARED)" == "0" && "$(TOOLKIT)" == "PM" && "$(WXUNIV)" == "0" |
436 | $(OBJS)\dialogs_filedlgg.obj: .\..\..\src\generic\filedlgg.cpp | |
437 | $(CXX) /c /nologo /TP /Fo$@ $(DIALOGS_CXXFLAGS) .\..\..\src\generic\filedlgg.cpp | |
438 | !endif | |
439 | ||
440 | !if "$(SHARED)" == "0" && "$(WXUNIV)" == "0" | |
f82b7036 KO |
441 | $(OBJS)\dialogs_fontdlgg.obj: .\..\..\src\generic\fontdlgg.cpp\r |
442 | $(CXX) /c /nologo /TP /Fo$@ $(DIALOGS_CXXFLAGS) .\..\..\src\generic\fontdlgg.cpp\r | |
22a3b6e4 | 443 | !endif |
f82b7036 | 444 | \r |