]> git.saurik.com Git - wxWidgets.git/blame - samples/artprov/makefile.vc
Add GetHandle for wxGnomePrinterDCImpl
[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
27 $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \\r
28 $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \\r
29 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \\r
30 /I$(SETUPHDIR) /I.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_p) /W4 /I. \\r
31 $(__DLLFLAG_p) /D_WINDOWS /I.\..\..\samples /DNOPCH $(__RTTIFLAG_11) \\r
32 $(__EXCEPTIONSFLAG_12) $(CPPFLAGS) $(CXXFLAGS)\r
f82b7036
KO
33ARTTEST_OBJECTS = \\r
34 $(OBJS)\arttest_arttest.obj \\r
35 $(OBJS)\arttest_artbrows.obj\r
36ARTTEST_RESOURCES = \\r
00eef16d 37 $(OBJS)\arttest_sample.res\r
f82b7036
KO
38\r
39### Conditionally set variables: ###\r
40\r
14b682f7
VZ
41!if "$(TARGET_CPU)" == "AMD64"
42ARCH_SUFFIX = _x64
43!endif
44!if "$(TARGET_CPU)" == "IA64"
45ARCH_SUFFIX = _ia64
46!endif
47!if "$(TARGET_CPU)" == "X64"
48ARCH_SUFFIX = _x64
49!endif
50!if "$(TARGET_CPU)" == "amd64"
51ARCH_SUFFIX = _x64
52!endif
53!if "$(TARGET_CPU)" == "ia64"
54ARCH_SUFFIX = _ia64
55!endif
56!if "$(TARGET_CPU)" == "x64"
57ARCH_SUFFIX = _x64
58!endif
f82b7036
KO
59!if "$(USE_GUI)" == "0"\r
60PORTNAME = base\r
61!endif\r
62!if "$(USE_GUI)" == "1"\r
63PORTNAME = msw\r
64!endif\r
14b682f7
VZ
65!if "$(OFFICIAL_BUILD)" == "1"
66COMPILER_VERSION = ERROR-COMPILER-VERSION-MUST-BE-SET-FOR-OFFICIAL-BUILD
67!endif
f82b7036
KO
68!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
69WXDEBUGFLAG = d\r
70!endif\r
71!if "$(DEBUG_RUNTIME_LIBS)" == "1"\r
72WXDEBUGFLAG = d\r
73!endif\r
74!if "$(UNICODE)" == "1"\r
75WXUNICODEFLAG = u\r
76!endif\r
77!if "$(WXUNIV)" == "1"\r
78WXUNIVNAME = univ\r
79!endif\r
f82b7036
KO
80!if "$(SHARED)" == "1"\r
81WXDLLFLAG = dll\r
82!endif\r
83!if "$(SHARED)" == "0"\r
84LIBTYPE_SUFFIX = lib\r
85!endif\r
86!if "$(SHARED)" == "1"\r
87LIBTYPE_SUFFIX = dll\r
88!endif\r
89!if "$(TARGET_CPU)" == "AMD64"\r
94b6ce7f 90LINK_TARGET_CPU = /MACHINE:X64\r
f82b7036
KO
91!endif\r
92!if "$(TARGET_CPU)" == "IA64"\r
93LINK_TARGET_CPU = /MACHINE:IA64\r
94!endif\r
14b682f7
VZ
95!if "$(TARGET_CPU)" == "X64"
96LINK_TARGET_CPU = /MACHINE:X64
97!endif
f82b7036 98!if "$(TARGET_CPU)" == "amd64"\r
94b6ce7f 99LINK_TARGET_CPU = /MACHINE:X64\r
f82b7036
KO
100!endif\r
101!if "$(TARGET_CPU)" == "ia64"\r
102LINK_TARGET_CPU = /MACHINE:IA64\r
103!endif\r
14b682f7
VZ
104!if "$(TARGET_CPU)" == "x64"
105LINK_TARGET_CPU = /MACHINE:X64
106!endif
f82b7036
KO
107!if "$(MONOLITHIC)" == "0"\r
108EXTRALIBS_FOR_BASE = \r
109!endif\r
110!if "$(MONOLITHIC)" == "1"\r
51ec29ea 111EXTRALIBS_FOR_BASE = \r
f82b7036
KO
112!endif\r
113!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r
114__DEBUGINFO_0 = /Zi\r
115!endif\r
116!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r
117__DEBUGINFO_0 = \r
118!endif\r
119!if "$(DEBUG_INFO)" == "0"\r
120__DEBUGINFO_0 = \r
121!endif\r
122!if "$(DEBUG_INFO)" == "1"\r
123__DEBUGINFO_0 = /Zi\r
124!endif\r
125!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r
126__DEBUGINFO_1 = /DEBUG\r
127!endif\r
128!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r
129__DEBUGINFO_1 = \r
130!endif\r
131!if "$(DEBUG_INFO)" == "0"\r
132__DEBUGINFO_1 = \r
133!endif\r
134!if "$(DEBUG_INFO)" == "1"\r
135__DEBUGINFO_1 = /DEBUG\r
136!endif\r
137!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r
138__DEBUGINFO_2 = $(__DEBUGRUNTIME_5)\r
139!endif\r
140!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r
141__DEBUGINFO_2 = \r
142!endif\r
143!if "$(DEBUG_INFO)" == "0"\r
144__DEBUGINFO_2 = \r
145!endif\r
146!if "$(DEBUG_INFO)" == "1"\r
147__DEBUGINFO_2 = $(__DEBUGRUNTIME_5)\r
148!endif\r
149!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
150____DEBUGRUNTIME_3_p = /D_DEBUG\r
151!endif\r
152!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
153____DEBUGRUNTIME_3_p = \r
154!endif\r
155!if "$(DEBUG_RUNTIME_LIBS)" == "0"\r
156____DEBUGRUNTIME_3_p = \r
157!endif\r
158!if "$(DEBUG_RUNTIME_LIBS)" == "1"\r
159____DEBUGRUNTIME_3_p = /D_DEBUG\r
160!endif\r
161!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
162____DEBUGRUNTIME_3_p_1 = /d _DEBUG\r
163!endif\r
164!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
165____DEBUGRUNTIME_3_p_1 = \r
166!endif\r
167!if "$(DEBUG_RUNTIME_LIBS)" == "0"\r
168____DEBUGRUNTIME_3_p_1 = \r
169!endif\r
170!if "$(DEBUG_RUNTIME_LIBS)" == "1"\r
171____DEBUGRUNTIME_3_p_1 = /d _DEBUG\r
172!endif\r
173!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
174__DEBUGRUNTIME_4 = d\r
175!endif\r
176!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
177__DEBUGRUNTIME_4 = \r
178!endif\r
179!if "$(DEBUG_RUNTIME_LIBS)" == "0"\r
180__DEBUGRUNTIME_4 = \r
181!endif\r
182!if "$(DEBUG_RUNTIME_LIBS)" == "1"\r
183__DEBUGRUNTIME_4 = d\r
184!endif\r
185!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
186__DEBUGRUNTIME_5 = \r
187!endif\r
188!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
189__DEBUGRUNTIME_5 = /opt:ref /opt:icf\r
190!endif\r
191!if "$(DEBUG_RUNTIME_LIBS)" == "0"\r
192__DEBUGRUNTIME_5 = /opt:ref /opt:icf\r
193!endif\r
194!if "$(DEBUG_RUNTIME_LIBS)" == "1"\r
195__DEBUGRUNTIME_5 = \r
196!endif\r
197!if "$(BUILD)" == "debug"\r
198__OPTIMIZEFLAG_6 = /Od\r
199!endif\r
200!if "$(BUILD)" == "release"\r
201__OPTIMIZEFLAG_6 = /O2\r
202!endif\r
203!if "$(USE_THREADS)" == "0"\r
204__THREADSFLAG_9 = L\r
205!endif\r
206!if "$(USE_THREADS)" == "1"\r
207__THREADSFLAG_9 = T\r
208!endif\r
209!if "$(RUNTIME_LIBS)" == "dynamic"\r
210__RUNTIME_LIBS_10 = D\r
211!endif\r
212!if "$(RUNTIME_LIBS)" == "static"\r
213__RUNTIME_LIBS_10 = $(__THREADSFLAG_9)\r
214!endif\r
215!if "$(USE_RTTI)" == "0"\r
216__RTTIFLAG_11 = \r
217!endif\r
218!if "$(USE_RTTI)" == "1"\r
219__RTTIFLAG_11 = /GR\r
220!endif\r
221!if "$(USE_EXCEPTIONS)" == "0"\r
222__EXCEPTIONSFLAG_12 = \r
223!endif\r
224!if "$(USE_EXCEPTIONS)" == "1"\r
225__EXCEPTIONSFLAG_12 = /EHsc\r
226!endif\r
227!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"\r
228__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__\r
229!endif\r
230!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"\r
231__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__\r
232!endif\r
233!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"\r
234__NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__\r
235!endif\r
236!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"\r
237__NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__\r
238!endif\r
239!if "$(WXUNIV)" == "1"\r
240__WXUNIV_DEFINE_p = /D__WXUNIVERSAL__\r
241!endif\r
242!if "$(WXUNIV)" == "1"\r
243__WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__\r
244!endif\r
245!if "$(DEBUG_FLAG)" == "0"\r
246__DEBUG_DEFINE_p = /DwxDEBUG_LEVEL=0\r
247!endif\r
248!if "$(DEBUG_FLAG)" == "0"\r
249__DEBUG_DEFINE_p_1 = /d wxDEBUG_LEVEL=0\r
250!endif\r
b796194b
VS
251!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
252__NDEBUG_DEFINE_p = /DNDEBUG\r
253!endif\r
254!if "$(DEBUG_RUNTIME_LIBS)" == "0"\r
255__NDEBUG_DEFINE_p = /DNDEBUG\r
256!endif\r
257!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
258__NDEBUG_DEFINE_p_1 = /d NDEBUG\r
259!endif\r
260!if "$(DEBUG_RUNTIME_LIBS)" == "0"\r
261__NDEBUG_DEFINE_p_1 = /d NDEBUG\r
262!endif\r
f82b7036
KO
263!if "$(USE_EXCEPTIONS)" == "0"\r
264__EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS\r
265!endif\r
266!if "$(USE_EXCEPTIONS)" == "0"\r
267__EXCEPTIONS_DEFINE_p_1 = /d wxNO_EXCEPTIONS\r
268!endif\r
269!if "$(USE_RTTI)" == "0"\r
270__RTTI_DEFINE_p = /DwxNO_RTTI\r
271!endif\r
272!if "$(USE_RTTI)" == "0"\r
273__RTTI_DEFINE_p_1 = /d wxNO_RTTI\r
274!endif\r
275!if "$(USE_THREADS)" == "0"\r
276__THREAD_DEFINE_p = /DwxNO_THREADS\r
277!endif\r
278!if "$(USE_THREADS)" == "0"\r
279__THREAD_DEFINE_p_1 = /d wxNO_THREADS\r
280!endif\r
281!if "$(UNICODE)" == "0"\r
282__UNICODE_DEFINE_p = /DwxUSE_UNICODE=0\r
283!endif\r
284!if "$(UNICODE)" == "1"\r
285__UNICODE_DEFINE_p = /D_UNICODE\r
286!endif\r
287!if "$(UNICODE)" == "0"\r
288__UNICODE_DEFINE_p_1 = /d wxUSE_UNICODE=0\r
289!endif\r
290!if "$(UNICODE)" == "1"\r
291__UNICODE_DEFINE_p_1 = /d _UNICODE\r
292!endif\r
293!if "$(MSLU)" == "1"\r
294__MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1\r
295!endif\r
296!if "$(MSLU)" == "1"\r
297__MSLU_DEFINE_p_1 = /d wxUSE_UNICODE_MSLU=1\r
298!endif\r
f82b7036
KO
299!if "$(USE_CAIRO)" == "1"\r
300____CAIRO_INCLUDEDIR_FILENAMES_p = /I$(CAIRO_ROOT)\include\cairo\r
301!endif\r
302!if "$(USE_CAIRO)" == "1"\r
303____CAIRO_INCLUDEDIR_FILENAMES_1_p = /i $(CAIRO_ROOT)\include\cairo\r
304!endif\r
305!if "$(SHARED)" == "1"\r
306__DLLFLAG_p = /DWXUSINGDLL\r
307!endif\r
308!if "$(SHARED)" == "1"\r
309__DLLFLAG_p_1 = /d WXUSINGDLL\r
310!endif\r
311!if "$(MONOLITHIC)" == "0"\r
312__WXLIB_CORE_p = \\r
313 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib\r
314!endif\r
315!if "$(MONOLITHIC)" == "0"\r
316__WXLIB_BASE_p = \\r
317 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib\r
318!endif\r
319!if "$(MONOLITHIC)" == "1"\r
320__WXLIB_MONO_p = \\r
321 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib\r
322!endif\r
323!if "$(USE_GUI)" == "1"\r
324__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib\r
325!endif\r
326!if "$(USE_GUI)" == "1"\r
327__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib\r
328!endif\r
329!if "$(USE_GUI)" == "1"\r
330__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib\r
331!endif\r
332!if "$(MSLU)" == "1"\r
333__UNICOWS_LIB_p = unicows.lib\r
334!endif\r
f82b7036
KO
335!if "$(USE_CAIRO)" == "1"\r
336__CAIRO_LIB_p = cairo.lib\r
337!endif\r
338!if "$(USE_CAIRO)" == "1"\r
339____CAIRO_LIBDIR_FILENAMES_p = /LIBPATH:$(CAIRO_ROOT)\lib\r
340!endif\r
341\r
342\r
343all: $(OBJS)\r
344$(OBJS):\r
345 -if not exist $(OBJS) mkdir $(OBJS)\r
346\r
347### Targets: ###\r
348\r
349all: $(OBJS)\arttest.exe\r
350\r
351clean: \r
352 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj\r
353 -if exist $(OBJS)\*.res del $(OBJS)\*.res\r
354 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch\r
355 -if exist $(OBJS)\arttest.exe del $(OBJS)\arttest.exe\r
356 -if exist $(OBJS)\arttest.ilk del $(OBJS)\arttest.ilk\r
357 -if exist $(OBJS)\arttest.pdb del $(OBJS)\arttest.pdb\r
358\r
00eef16d 359$(OBJS)\arttest.exe: $(ARTTEST_OBJECTS) $(OBJS)\arttest_sample.res\r
f82b7036 360 link /NOLOGO /OUT:$@ $(__DEBUGINFO_1) /pdb:"$(OBJS)\arttest.pdb" $(__DEBUGINFO_2) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS $(____CAIRO_LIBDIR_FILENAMES_p) $(LDFLAGS) @<<\r
b796194b 361 $(ARTTEST_OBJECTS) $(ARTTEST_RESOURCES) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) 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\r
f82b7036
KO
362<<\r
363\r
00eef16d 364$(OBJS)\arttest_sample.res: .\..\..\samples\sample.rc\r
49a63afb 365 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 __WXMSW__ $(__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\r
00eef16d 366\r
f82b7036
KO
367$(OBJS)\arttest_arttest.obj: .\arttest.cpp\r
368 $(CXX) /c /nologo /TP /Fo$@ $(ARTTEST_CXXFLAGS) .\arttest.cpp\r
369\r
370$(OBJS)\arttest_artbrows.obj: .\artbrows.cpp\r
371 $(CXX) /c /nologo /TP /Fo$@ $(ARTTEST_CXXFLAGS) .\artbrows.cpp\r
372\r