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