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