]> git.saurik.com Git - wxWidgets.git/blame - samples/artprov/makefile.vc
fixing reentrancy which happened in tests, bringing client coordinates origins in...
[wxWidgets.git] / samples / artprov / makefile.vc
CommitLineData
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
15WX_RELEASE_NODOT = 29\r
16COMPILER_PREFIX = vc\r
17OBJS = \\r
14b682f7 18 $(COMPILER_PREFIX)$(COMPILER_VERSION)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)$(ARCH_SUFFIX)
f82b7036 19LIBDIRNAME = \\r
14b682f7 20 .\..\..\lib\$(COMPILER_PREFIX)$(COMPILER_VERSION)$(ARCH_SUFFIX)_$(LIBTYPE_SUFFIX)$(CFG)
f82b7036
KO
21SETUPHDIR = \\r
22 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)\r
23ARTTEST_CXXFLAGS = /M$(__RUNTIME_LIBS_10)$(__DEBUGRUNTIME_4) /DWIN32 \\r
24 $(__DEBUGINFO_0) /Fd$(OBJS)\arttest.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
34ARTTEST_OBJECTS = \\r
35 $(OBJS)\arttest_arttest.obj \\r
36 $(OBJS)\arttest_artbrows.obj\r
37ARTTEST_RESOURCES = \\r
00eef16d 38 $(OBJS)\arttest_sample.res\r
f82b7036
KO
39\r
40### Conditionally set variables: ###\r
41\r
22a3b6e4
VZ
42!if "$(TOOLKIT)" == "GTK"
43WIN32_TOOLKIT_LOWERCASE = gtk
44!endif
45!if "$(TOOLKIT)" == "MSW"
46WIN32_TOOLKIT_LOWERCASE = msw
47!endif
14b682f7
VZ
48!if "$(TARGET_CPU)" == "AMD64"
49ARCH_SUFFIX = _x64
50!endif
51!if "$(TARGET_CPU)" == "IA64"
52ARCH_SUFFIX = _ia64
53!endif
54!if "$(TARGET_CPU)" == "X64"
55ARCH_SUFFIX = _x64
56!endif
57!if "$(TARGET_CPU)" == "amd64"
58ARCH_SUFFIX = _x64
59!endif
60!if "$(TARGET_CPU)" == "ia64"
61ARCH_SUFFIX = _ia64
62!endif
63!if "$(TARGET_CPU)" == "x64"
64ARCH_SUFFIX = _x64
65!endif
f82b7036
KO
66!if "$(USE_GUI)" == "0"\r
67PORTNAME = base\r
68!endif\r
69!if "$(USE_GUI)" == "1"\r
22a3b6e4
VZ
70PORTNAME = $(WIN32_TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
71!endif
72!if "$(TOOLKIT)" == "MAC"
73WXBASEPORT = _carbon
74!endif
14b682f7
VZ
75!if "$(OFFICIAL_BUILD)" == "1"
76COMPILER_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
79WXDEBUGFLAG = d\r
80!endif\r
81!if "$(DEBUG_RUNTIME_LIBS)" == "1"\r
82WXDEBUGFLAG = d\r
83!endif\r
84!if "$(UNICODE)" == "1"\r
85WXUNICODEFLAG = u\r
86!endif\r
87!if "$(WXUNIV)" == "1"\r
88WXUNIVNAME = univ\r
89!endif\r
f82b7036
KO
90!if "$(SHARED)" == "1"\r
91WXDLLFLAG = dll\r
92!endif\r
93!if "$(SHARED)" == "0"\r
94LIBTYPE_SUFFIX = lib\r
95!endif\r
96!if "$(SHARED)" == "1"\r
97LIBTYPE_SUFFIX = dll\r
98!endif\r
99!if "$(TARGET_CPU)" == "AMD64"\r
94b6ce7f 100LINK_TARGET_CPU = /MACHINE:X64\r
f82b7036
KO
101!endif\r
102!if "$(TARGET_CPU)" == "IA64"\r
103LINK_TARGET_CPU = /MACHINE:IA64\r
104!endif\r
14b682f7
VZ
105!if "$(TARGET_CPU)" == "X64"
106LINK_TARGET_CPU = /MACHINE:X64
107!endif
f82b7036 108!if "$(TARGET_CPU)" == "amd64"\r
94b6ce7f 109LINK_TARGET_CPU = /MACHINE:X64\r
f82b7036
KO
110!endif\r
111!if "$(TARGET_CPU)" == "ia64"\r
112LINK_TARGET_CPU = /MACHINE:IA64\r
113!endif\r
14b682f7
VZ
114!if "$(TARGET_CPU)" == "x64"
115LINK_TARGET_CPU = /MACHINE:X64
116!endif
f82b7036
KO
117!if "$(MONOLITHIC)" == "0"\r
118EXTRALIBS_FOR_BASE = \r
119!endif\r
120!if "$(MONOLITHIC)" == "1"\r
51ec29ea 121EXTRALIBS_FOR_BASE = \r
f82b7036 122!endif\r
22a3b6e4
VZ
123!if "$(TOOLKIT)" == "GTK" && "$(TOOLKIT_VERSION)" == "2"
124LIB_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
326!if "$(MONOLITHIC)" == "0"\r
327__WXLIB_CORE_p = \\r
328 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib\r
329!endif\r
330!if "$(MONOLITHIC)" == "0"\r
331__WXLIB_BASE_p = \\r
22a3b6e4 332 wxbase$(WXBASEPORT)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
f82b7036
KO
333!endif\r
334!if "$(MONOLITHIC)" == "1"\r
335__WXLIB_MONO_p = \\r
336 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib\r
337!endif\r
338!if "$(USE_GUI)" == "1"\r
339__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib\r
340!endif\r
341!if "$(USE_GUI)" == "1"\r
342__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib\r
343!endif\r
344!if "$(USE_GUI)" == "1"\r
345__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib\r
346!endif\r
347!if "$(MSLU)" == "1"\r
348__UNICOWS_LIB_p = unicows.lib\r
349!endif\r
f82b7036
KO
350!if "$(USE_CAIRO)" == "1"\r
351__CAIRO_LIB_p = cairo.lib\r
352!endif\r
353!if "$(USE_CAIRO)" == "1"\r
354____CAIRO_LIBDIR_FILENAMES_p = /LIBPATH:$(CAIRO_ROOT)\lib\r
355!endif\r
356\r
357\r
358all: $(OBJS)\r
359$(OBJS):\r
360 -if not exist $(OBJS) mkdir $(OBJS)\r
361\r
362### Targets: ###\r
363\r
364all: $(OBJS)\arttest.exe\r
365\r
366clean: \r
367 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj\r
368 -if exist $(OBJS)\*.res del $(OBJS)\*.res\r
369 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch\r
370 -if exist $(OBJS)\arttest.exe del $(OBJS)\arttest.exe\r
371 -if exist $(OBJS)\arttest.ilk del $(OBJS)\arttest.ilk\r
372 -if exist $(OBJS)\arttest.pdb del $(OBJS)\arttest.pdb\r
373\r
00eef16d 374$(OBJS)\arttest.exe: $(ARTTEST_OBJECTS) $(OBJS)\arttest_sample.res\r
f82b7036 375 link /NOLOGO /OUT:$@ $(__DEBUGINFO_1) /pdb:"$(OBJS)\arttest.pdb" $(__DEBUGINFO_2) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS $(____CAIRO_LIBDIR_FILENAMES_p) $(LDFLAGS) @<<\r
22a3b6e4 376 $(ARTTEST_OBJECTS) $(ARTTEST_RESOURCES) $(__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
377<<\r
378\r
00eef16d 379$(OBJS)\arttest_sample.res: .\..\..\samples\sample.rc\r
22a3b6e4 380 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 381\r
f82b7036
KO
382$(OBJS)\arttest_arttest.obj: .\arttest.cpp\r
383 $(CXX) /c /nologo /TP /Fo$@ $(ARTTEST_CXXFLAGS) .\arttest.cpp\r
384\r
385$(OBJS)\arttest_artbrows.obj: .\artbrows.cpp\r
386 $(CXX) /c /nologo /TP /Fo$@ $(ARTTEST_CXXFLAGS) .\artbrows.cpp\r
387\r