]> git.saurik.com Git - wxWidgets.git/blame - samples/dll/makefile.vc
fixes potential crash under gatekeeper
[wxWidgets.git] / samples / dll / makefile.vc
CommitLineData
61aba460
VS
1# =========================================================================\r
2# This makefile was generated by\r
00eef16d 3# Bakefile 0.2.9 (http://www.bakefile.org)\r
61aba460
VS
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
4863951a 18 $(COMPILER_PREFIX)$(COMPILER_VERSION)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)$(ARCH_SUFFIX)\r
61aba460 19LIBDIRNAME = \\r
4863951a 20 .\..\..\lib\$(COMPILER_PREFIX)$(COMPILER_VERSION)$(ARCH_SUFFIX)_$(LIBTYPE_SUFFIX)$(CFG)\r
61aba460
VS
21SETUPHDIR = \\r
22 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)\r
23MY_DLL_CXXFLAGS = /M$(__RUNTIME_LIBS_11)$(__DEBUGRUNTIME) /DWIN32 \\r
94b6ce7f 24 $(__DEBUGINFO_0) /Fd$(OBJS)\my_dll.pdb $(____DEBUGRUNTIME) \\r
49a63afb
VZ
25 $(__OPTIMIZEFLAG) /D_CRT_SECURE_NO_DEPRECATE=1 \\r
26 /D_CRT_NON_CONFORMING_SWPRINTFS=1 /D_SCL_SECURE_NO_WARNINGS=1 \\r
4863951a
VS
27 $(__NO_VC_CRTDBG_p) /D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \\r
28 $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \\r
29 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \\r
30 $(__MSLU_DEFINE_p) /I$(SETUPHDIR) /I.\..\..\include \\r
31 $(____CAIRO_INCLUDEDIR_FILENAMES) /W4 $(__DLLFLAG_p) /DMY_DLL_BUILDING /I. \\r
32 $(__RTTIFLAG) $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)\r
61aba460
VS
33MY_DLL_OBJECTS = \\r
34 $(OBJS)\my_dll_my_dll.obj\r
35WX_EXE_CXXFLAGS = /M$(__RUNTIME_LIBS_25)$(__DEBUGRUNTIME) /DWIN32 \\r
94b6ce7f 36 $(__DEBUGINFO_0) /Fd$(OBJS)\wx_exe.pdb $(____DEBUGRUNTIME) \\r
49a63afb
VZ
37 $(__OPTIMIZEFLAG) /D_CRT_SECURE_NO_DEPRECATE=1 \\r
38 /D_CRT_NON_CONFORMING_SWPRINTFS=1 /D_SCL_SECURE_NO_WARNINGS=1 \\r
4863951a
VS
39 $(__NO_VC_CRTDBG_p) /D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \\r
40 $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \\r
41 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \\r
42 $(__MSLU_DEFINE_p) /I$(SETUPHDIR) /I.\..\..\include \\r
43 $(____CAIRO_INCLUDEDIR_FILENAMES) /W4 /I. $(__DLLFLAG_p) /D_WINDOWS \\r
44 /I.\..\..\samples /DNOPCH $(__RTTIFLAG) $(__EXCEPTIONSFLAG) $(CPPFLAGS) \\r
45 $(CXXFLAGS)\r
61aba460 46WX_EXE_OBJECTS = \\r
1ffe64ef 47 $(OBJS)\wx_exe_wx_exe.obj\r
61aba460
VS
48WX_EXE_RESOURCES = \\r
49 $(OBJS)\wx_exe_sample.res\r
94b6ce7f
VZ
50SDK_EXE_CXXFLAGS = /M$(__RUNTIME_LIBS_41)$(__DEBUGRUNTIME) /DWIN32 \\r
51 $(__DEBUGINFO_0) /Fd$(OBJS)\sdk_exe.pdb $(____DEBUGRUNTIME) \\r
49a63afb
VZ
52 $(__OPTIMIZEFLAG) /D_CRT_SECURE_NO_DEPRECATE=1 \\r
53 /D_CRT_NON_CONFORMING_SWPRINTFS=1 /D_SCL_SECURE_NO_WARNINGS=1 \\r
54 $(__NO_VC_CRTDBG_p) /D_WINDOWS $(__RTTIFLAG) $(__EXCEPTIONSFLAG) $(CPPFLAGS) \\r
55 $(CXXFLAGS)\r
94b6ce7f
VZ
56SDK_EXE_OBJECTS = \\r
57 $(OBJS)\sdk_exe_sdk_exe.obj\r
61aba460
VS
58\r
59### Conditionally set variables: ###\r
60\r
4863951a
VS
61!if "$(TOOLKIT)" == "GTK"\r
62WIN32_TOOLKIT_LOWERCASE = gtk\r
63!endif\r
64!if "$(TOOLKIT)" == "MSW"\r
65WIN32_TOOLKIT_LOWERCASE = msw\r
66!endif\r
67!if "$(TARGET_CPU)" == "AMD64"\r
68ARCH_SUFFIX = _x64\r
69!endif\r
70!if "$(TARGET_CPU)" == "IA64"\r
71ARCH_SUFFIX = _ia64\r
72!endif\r
73!if "$(TARGET_CPU)" == "X64"\r
74ARCH_SUFFIX = _x64\r
75!endif\r
76!if "$(TARGET_CPU)" == "amd64"\r
77ARCH_SUFFIX = _x64\r
78!endif\r
79!if "$(TARGET_CPU)" == "ia64"\r
80ARCH_SUFFIX = _ia64\r
81!endif\r
82!if "$(TARGET_CPU)" == "x64"\r
83ARCH_SUFFIX = _x64\r
84!endif\r
61aba460
VS
85!if "$(USE_GUI)" == "0"\r
86PORTNAME = base\r
87!endif\r
88!if "$(USE_GUI)" == "1"\r
4863951a
VS
89PORTNAME = $(WIN32_TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)\r
90!endif\r
91!if "$(TOOLKIT)" == "MAC"\r
92WXBASEPORT = _carbon\r
93!endif\r
94!if "$(OFFICIAL_BUILD)" == "1"\r
95COMPILER_VERSION = ERROR-COMPILER-VERSION-MUST-BE-SET-FOR-OFFICIAL-BUILD\r
22a3b6e4 96!endif\r
61aba460
VS
97!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
98WXDEBUGFLAG = d\r
99!endif\r
100!if "$(DEBUG_RUNTIME_LIBS)" == "1"\r
101WXDEBUGFLAG = d\r
102!endif\r
103!if "$(UNICODE)" == "1"\r
104WXUNICODEFLAG = u\r
105!endif\r
106!if "$(WXUNIV)" == "1"\r
107WXUNIVNAME = univ\r
108!endif\r
61aba460
VS
109!if "$(SHARED)" == "1"\r
110WXDLLFLAG = dll\r
111!endif\r
112!if "$(SHARED)" == "0"\r
113LIBTYPE_SUFFIX = lib\r
114!endif\r
115!if "$(SHARED)" == "1"\r
116LIBTYPE_SUFFIX = dll\r
117!endif\r
118!if "$(TARGET_CPU)" == "AMD64"\r
94b6ce7f 119LINK_TARGET_CPU = /MACHINE:X64\r
61aba460
VS
120!endif\r
121!if "$(TARGET_CPU)" == "IA64"\r
122LINK_TARGET_CPU = /MACHINE:IA64\r
123!endif\r
4863951a
VS
124!if "$(TARGET_CPU)" == "X64"\r
125LINK_TARGET_CPU = /MACHINE:X64\r
126!endif\r
61aba460 127!if "$(TARGET_CPU)" == "amd64"\r
94b6ce7f 128LINK_TARGET_CPU = /MACHINE:X64\r
61aba460
VS
129!endif\r
130!if "$(TARGET_CPU)" == "ia64"\r
131LINK_TARGET_CPU = /MACHINE:IA64\r
132!endif\r
4863951a
VS
133!if "$(TARGET_CPU)" == "x64"\r
134LINK_TARGET_CPU = /MACHINE:X64\r
135!endif\r
61aba460
VS
136!if "$(MONOLITHIC)" == "0"\r
137EXTRALIBS_FOR_BASE = \r
138!endif\r
139!if "$(MONOLITHIC)" == "1"\r
51ec29ea 140EXTRALIBS_FOR_BASE = \r
61aba460 141!endif\r
4863951a
VS
142!if "$(TOOLKIT)" == "GTK" && "$(TOOLKIT_VERSION)" == "2"\r
143LIB_GTK = gtk-win32-2.0.lib gdk-win32-2.0.lib pangocairo-1.0.lib \\r
144 gdk_pixbuf-2.0.lib cairo.lib pango-1.0.lib gobject-2.0.lib gthread-2.0.lib \\r
145 glib-2.0.lib\r
146!endif\r
61aba460 147!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r
94b6ce7f 148__DEBUGINFO_3 = $(__DEBUGRUNTIME_1)\r
61aba460
VS
149!endif\r
150!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r
151__DEBUGINFO_3 = \r
152!endif\r
153!if "$(DEBUG_INFO)" == "0"\r
154__DEBUGINFO_3 = \r
155!endif\r
156!if "$(DEBUG_INFO)" == "1"\r
94b6ce7f 157__DEBUGINFO_3 = $(__DEBUGRUNTIME_1)\r
61aba460
VS
158!endif\r
159!if "$(RUNTIME_LIBS)" == "dynamic"\r
160__RUNTIME_LIBS_11 = D\r
161!endif\r
162!if "$(RUNTIME_LIBS)" == "static"\r
163__RUNTIME_LIBS_11 = $(__THREADSFLAG)\r
164!endif\r
165!if "$(SHARED)" == "0"\r
166__wx_exe___depname = $(OBJS)\wx_exe.exe\r
167!endif\r
168!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r
94b6ce7f 169__DEBUGINFO_17 = $(__DEBUGRUNTIME_1)\r
61aba460
VS
170!endif\r
171!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r
172__DEBUGINFO_17 = \r
173!endif\r
174!if "$(DEBUG_INFO)" == "0"\r
175__DEBUGINFO_17 = \r
176!endif\r
177!if "$(DEBUG_INFO)" == "1"\r
94b6ce7f 178__DEBUGINFO_17 = $(__DEBUGRUNTIME_1)\r
61aba460
VS
179!endif\r
180!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
181____DEBUGRUNTIME_18_p_1 = /d _DEBUG\r
182!endif\r
183!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
184____DEBUGRUNTIME_18_p_1 = \r
185!endif\r
186!if "$(DEBUG_RUNTIME_LIBS)" == "0"\r
187____DEBUGRUNTIME_18_p_1 = \r
188!endif\r
189!if "$(DEBUG_RUNTIME_LIBS)" == "1"\r
190____DEBUGRUNTIME_18_p_1 = /d _DEBUG\r
191!endif\r
192!if "$(RUNTIME_LIBS)" == "dynamic"\r
193__RUNTIME_LIBS_25 = D\r
194!endif\r
195!if "$(RUNTIME_LIBS)" == "static"\r
196__RUNTIME_LIBS_25 = $(__THREADSFLAG)\r
197!endif\r
198!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"\r
199__NO_VC_CRTDBG_p_3 = /d __NO_VC_CRTDBG__\r
200!endif\r
201!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"\r
202__NO_VC_CRTDBG_p_3 = /d __NO_VC_CRTDBG__\r
203!endif\r
204!if "$(WXUNIV)" == "1"\r
205__WXUNIV_DEFINE_p_3 = /d __WXUNIVERSAL__\r
206!endif\r
207!if "$(DEBUG_FLAG)" == "0"\r
208__DEBUG_DEFINE_p_3 = /d wxDEBUG_LEVEL=0\r
209!endif\r
da8b1d4b
KO
210!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
211__NDEBUG_DEFINE_p_3 = /d NDEBUG\r
212!endif\r
213!if "$(DEBUG_RUNTIME_LIBS)" == "0"\r
214__NDEBUG_DEFINE_p_3 = /d NDEBUG\r
215!endif\r
61aba460
VS
216!if "$(USE_EXCEPTIONS)" == "0"\r
217__EXCEPTIONS_DEFINE_p_3 = /d wxNO_EXCEPTIONS\r
218!endif\r
219!if "$(USE_RTTI)" == "0"\r
220__RTTI_DEFINE_p_3 = /d wxNO_RTTI\r
221!endif\r
222!if "$(USE_THREADS)" == "0"\r
223__THREAD_DEFINE_p_3 = /d wxNO_THREADS\r
224!endif\r
225!if "$(UNICODE)" == "0"\r
226__UNICODE_DEFINE_p_3 = /d wxUSE_UNICODE=0\r
227!endif\r
228!if "$(UNICODE)" == "1"\r
229__UNICODE_DEFINE_p_3 = /d _UNICODE\r
230!endif\r
231!if "$(MSLU)" == "1"\r
232__MSLU_DEFINE_p_3 = /d wxUSE_UNICODE_MSLU=1\r
233!endif\r
61aba460
VS
234!if "$(USE_CAIRO)" == "1"\r
235____CAIRO_INCLUDEDIR_FILENAMES_3_p = /i $(CAIRO_ROOT)\include\cairo\r
236!endif\r
237!if "$(SHARED)" == "1"\r
238__DLLFLAG_p_3 = /d WXUSINGDLL\r
239!endif\r
240!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r
94b6ce7f 241__DEBUGINFO_33 = $(__DEBUGRUNTIME_1)\r
61aba460
VS
242!endif\r
243!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r
94b6ce7f 244__DEBUGINFO_33 = \r
61aba460
VS
245!endif\r
246!if "$(DEBUG_INFO)" == "0"\r
94b6ce7f 247__DEBUGINFO_33 = \r
61aba460
VS
248!endif\r
249!if "$(DEBUG_INFO)" == "1"\r
94b6ce7f
VZ
250__DEBUGINFO_33 = $(__DEBUGRUNTIME_1)\r
251!endif\r
252!if "$(RUNTIME_LIBS)" == "dynamic"\r
253__RUNTIME_LIBS_41 = D\r
254!endif\r
255!if "$(RUNTIME_LIBS)" == "static"\r
256__RUNTIME_LIBS_41 = $(__THREADSFLAG)\r
257!endif\r
258!if "$(WXUNIV)" == "1"\r
259__WXUNIV_DEFINE_p = /D__WXUNIVERSAL__\r
260!endif\r
261!if "$(DEBUG_FLAG)" == "0"\r
262__DEBUG_DEFINE_p = /DwxDEBUG_LEVEL=0\r
263!endif\r
da8b1d4b
KO
264!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
265__NDEBUG_DEFINE_p = /DNDEBUG\r
266!endif\r
267!if "$(DEBUG_RUNTIME_LIBS)" == "0"\r
268__NDEBUG_DEFINE_p = /DNDEBUG\r
269!endif\r
94b6ce7f
VZ
270!if "$(USE_EXCEPTIONS)" == "0"\r
271__EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS\r
272!endif\r
273!if "$(USE_RTTI)" == "0"\r
274__RTTI_DEFINE_p = /DwxNO_RTTI\r
275!endif\r
276!if "$(USE_THREADS)" == "0"\r
277__THREAD_DEFINE_p = /DwxNO_THREADS\r
278!endif\r
279!if "$(UNICODE)" == "0"\r
280__UNICODE_DEFINE_p = /DwxUSE_UNICODE=0\r
281!endif\r
282!if "$(UNICODE)" == "1"\r
283__UNICODE_DEFINE_p = /D_UNICODE\r
284!endif\r
285!if "$(MSLU)" == "1"\r
286__MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1\r
287!endif\r
94b6ce7f
VZ
288!if "$(USE_CAIRO)" == "1"\r
289____CAIRO_INCLUDEDIR_FILENAMES = /I$(CAIRO_ROOT)\include\cairo\r
290!endif\r
291!if "$(SHARED)" == "1"\r
292__DLLFLAG_p = /DWXUSINGDLL\r
293!endif\r
294!if "$(MONOLITHIC)" == "0"\r
295__WXLIB_CORE_p = \\r
296 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib\r
297!endif\r
298!if "$(MONOLITHIC)" == "0"\r
299__WXLIB_BASE_p = \\r
4863951a 300 wxbase$(WXBASEPORT)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib\r
94b6ce7f
VZ
301!endif\r
302!if "$(MONOLITHIC)" == "1"\r
303__WXLIB_MONO_p = \\r
304 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib\r
305!endif\r
306!if "$(USE_GUI)" == "1"\r
307__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib\r
308!endif\r
309!if "$(USE_GUI)" == "1"\r
310__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib\r
311!endif\r
312!if "$(USE_GUI)" == "1"\r
313__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib\r
314!endif\r
315!if "$(MSLU)" == "1"\r
316__UNICOWS_LIB_p = unicows.lib\r
317!endif\r
94b6ce7f
VZ
318!if "$(USE_CAIRO)" == "1"\r
319__CAIRO_LIB_p = cairo.lib\r
320!endif\r
321!if "$(USE_CAIRO)" == "1"\r
322____CAIRO_LIBDIR_FILENAMES = /LIBPATH:$(CAIRO_ROOT)\lib\r
323!endif\r
324!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r
325__DEBUGINFO_0 = /Zi\r
326!endif\r
327!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r
328__DEBUGINFO_0 = \r
329!endif\r
330!if "$(DEBUG_INFO)" == "0"\r
331__DEBUGINFO_0 = \r
332!endif\r
333!if "$(DEBUG_INFO)" == "1"\r
334__DEBUGINFO_0 = /Zi\r
61aba460
VS
335!endif\r
336!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r
337__DEBUGINFO = /DEBUG\r
338!endif\r
339!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r
340__DEBUGINFO = \r
341!endif\r
342!if "$(DEBUG_INFO)" == "0"\r
343__DEBUGINFO = \r
344!endif\r
345!if "$(DEBUG_INFO)" == "1"\r
346__DEBUGINFO = /DEBUG\r
347!endif\r
348!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
349____DEBUGRUNTIME = /D_DEBUG\r
350!endif\r
351!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
352____DEBUGRUNTIME = \r
353!endif\r
354!if "$(DEBUG_RUNTIME_LIBS)" == "0"\r
355____DEBUGRUNTIME = \r
356!endif\r
357!if "$(DEBUG_RUNTIME_LIBS)" == "1"\r
358____DEBUGRUNTIME = /D_DEBUG\r
359!endif\r
360!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
361__DEBUGRUNTIME = d\r
362!endif\r
363!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
364__DEBUGRUNTIME = \r
365!endif\r
366!if "$(DEBUG_RUNTIME_LIBS)" == "0"\r
367__DEBUGRUNTIME = \r
368!endif\r
369!if "$(DEBUG_RUNTIME_LIBS)" == "1"\r
370__DEBUGRUNTIME = d\r
371!endif\r
372!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
94b6ce7f 373__DEBUGRUNTIME_1 = \r
61aba460
VS
374!endif\r
375!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
94b6ce7f 376__DEBUGRUNTIME_1 = /opt:ref /opt:icf\r
61aba460
VS
377!endif\r
378!if "$(DEBUG_RUNTIME_LIBS)" == "0"\r
94b6ce7f 379__DEBUGRUNTIME_1 = /opt:ref /opt:icf\r
61aba460
VS
380!endif\r
381!if "$(DEBUG_RUNTIME_LIBS)" == "1"\r
94b6ce7f 382__DEBUGRUNTIME_1 = \r
61aba460
VS
383!endif\r
384!if "$(BUILD)" == "debug"\r
385__OPTIMIZEFLAG = /Od\r
386!endif\r
387!if "$(BUILD)" == "release"\r
388__OPTIMIZEFLAG = /O2\r
389!endif\r
390!if "$(USE_THREADS)" == "0"\r
391__THREADSFLAG = L\r
392!endif\r
393!if "$(USE_THREADS)" == "1"\r
394__THREADSFLAG = T\r
395!endif\r
396!if "$(USE_RTTI)" == "0"\r
397__RTTIFLAG = \r
398!endif\r
399!if "$(USE_RTTI)" == "1"\r
400__RTTIFLAG = /GR\r
401!endif\r
402!if "$(USE_EXCEPTIONS)" == "0"\r
403__EXCEPTIONSFLAG = \r
404!endif\r
405!if "$(USE_EXCEPTIONS)" == "1"\r
406__EXCEPTIONSFLAG = /EHsc\r
407!endif\r
408!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"\r
409__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__\r
410!endif\r
411!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"\r
412__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__\r
413!endif\r
61aba460
VS
414\r
415\r
416all: $(OBJS)\r
417$(OBJS):\r
418 -if not exist $(OBJS) mkdir $(OBJS)\r
419\r
420### Targets: ###\r
421\r
94b6ce7f 422all: $(OBJS)\my_dll.dll $(__wx_exe___depname) $(OBJS)\sdk_exe.exe\r
61aba460
VS
423\r
424clean: \r
425 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj\r
426 -if exist $(OBJS)\*.res del $(OBJS)\*.res\r
427 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch\r
428 -if exist $(OBJS)\my_dll.dll del $(OBJS)\my_dll.dll\r
429 -if exist $(OBJS)\my_dll.ilk del $(OBJS)\my_dll.ilk\r
430 -if exist $(OBJS)\my_dll.pdb del $(OBJS)\my_dll.pdb\r
431 -if exist $(OBJS)\my_dll.lib del $(OBJS)\my_dll.lib\r
432 -if exist $(OBJS)\wx_exe.exe del $(OBJS)\wx_exe.exe\r
433 -if exist $(OBJS)\wx_exe.ilk del $(OBJS)\wx_exe.ilk\r
434 -if exist $(OBJS)\wx_exe.pdb del $(OBJS)\wx_exe.pdb\r
94b6ce7f
VZ
435 -if exist $(OBJS)\sdk_exe.exe del $(OBJS)\sdk_exe.exe\r
436 -if exist $(OBJS)\sdk_exe.ilk del $(OBJS)\sdk_exe.ilk\r
437 -if exist $(OBJS)\sdk_exe.pdb del $(OBJS)\sdk_exe.pdb\r
61aba460
VS
438\r
439$(OBJS)\my_dll.dll: $(MY_DLL_OBJECTS)\r
440 link /DLL /NOLOGO /OUT:$@ $(__DEBUGINFO) /pdb:"$(OBJS)\my_dll.pdb" $(__DEBUGINFO_3) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @<<\r
4863951a 441 $(MY_DLL_OBJECTS) $(__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 /IMPLIB:$(OBJS)\my_dll.lib\r
61aba460
VS
442<<\r
443\r
444!if "$(SHARED)" == "0"\r
445$(OBJS)\wx_exe.exe: $(WX_EXE_OBJECTS) $(OBJS)\wx_exe_sample.res $(OBJS)\my_dll.dll\r
446 link /NOLOGO /OUT:$@ $(__DEBUGINFO) /pdb:"$(OBJS)\wx_exe.pdb" $(__DEBUGINFO_17) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @<<\r
4863951a 447 $(WX_EXE_OBJECTS) $(WX_EXE_RESOURCES) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(OBJS)\my_dll.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\r
61aba460
VS
448<<\r
449!endif\r
450\r
94b6ce7f
VZ
451$(OBJS)\sdk_exe.exe: $(SDK_EXE_OBJECTS) $(OBJS)\my_dll.dll\r
452 link /NOLOGO /OUT:$@ $(__DEBUGINFO) /pdb:"$(OBJS)\sdk_exe.pdb" $(__DEBUGINFO_33) $(LINK_TARGET_CPU) /SUBSYSTEM:WINDOWS $(LDFLAGS) @<<\r
40ff2729 453 $(SDK_EXE_OBJECTS) $(OBJS)\my_dll.lib user32.lib\r
94b6ce7f
VZ
454<<\r
455\r
61aba460
VS
456$(OBJS)\my_dll_my_dll.obj: .\my_dll.cpp\r
457 $(CXX) /c /nologo /TP /Fo$@ $(MY_DLL_CXXFLAGS) .\my_dll.cpp\r
458\r
459$(OBJS)\wx_exe_sample.res: .\..\..\samples\sample.rc\r
4863951a 460 rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_18_p_1) /d _CRT_SECURE_NO_DEPRECATE=1 /d _CRT_NON_CONFORMING_SWPRINTFS=1 /d _SCL_SECURE_NO_WARNINGS=1 $(__NO_VC_CRTDBG_p_3) /d __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_3) $(__DEBUG_DEFINE_p_3) $(__NDEBUG_DEFINE_p_3) $(__EXCEPTIONS_DEFINE_p_3) $(__RTTI_DEFINE_p_3) $(__THREAD_DEFINE_p_3) $(__UNICODE_DEFINE_p_3) $(__MSLU_DEFINE_p_3) /i $(SETUPHDIR) /i .\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_3_p) /i . $(__DLLFLAG_p_3) /d _WINDOWS /i .\..\..\samples /d NOPCH .\..\..\samples\sample.rc\r
61aba460 461\r
1ffe64ef
VZ
462$(OBJS)\wx_exe_wx_exe.obj: .\wx_exe.cpp\r
463 $(CXX) /c /nologo /TP /Fo$@ $(WX_EXE_CXXFLAGS) .\wx_exe.cpp\r
61aba460 464\r
94b6ce7f
VZ
465$(OBJS)\sdk_exe_sdk_exe.obj: .\sdk_exe.cpp\r
466 $(CXX) /c /nologo /TP /Fo$@ $(SDK_EXE_CXXFLAGS) .\sdk_exe.cpp\r
467\r