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