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 # =========================================================================
7 !include <../../build/msw/config.vc>
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
18 $(COMPILER_PREFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)$(DIR_SUFFIX_CPU)
20 .\..\..\lib\$(COMPILER_PREFIX)$(DIR_SUFFIX_CPU)_$(LIBTYPE_SUFFIX)$(CFG)
22 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
23 WIDGETS_CXXFLAGS = /M$(__RUNTIME_LIBS_10)$(__DEBUGRUNTIME_4) /DWIN32 \
24 $(__DEBUGINFO_0) /Fd$(OBJS)\widgets.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 \
27 $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
28 $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
29 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
30 /I$(SETUPHDIR) /I.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_p) /W4 /I. \
31 $(__DLLFLAG_p) /D_WINDOWS /I.\..\..\samples /DNOPCH $(__RTTIFLAG_11) \
32 $(__EXCEPTIONSFLAG_12) $(CPPFLAGS) $(CXXFLAGS)
34 $(OBJS)\widgets_bmpcombobox.obj \
35 $(OBJS)\widgets_button.obj \
36 $(OBJS)\widgets_checkbox.obj \
37 $(OBJS)\widgets_choice.obj \
38 $(OBJS)\widgets_clrpicker.obj \
39 $(OBJS)\widgets_combobox.obj \
40 $(OBJS)\widgets_datepick.obj \
41 $(OBJS)\widgets_dirctrl.obj \
42 $(OBJS)\widgets_dirpicker.obj \
43 $(OBJS)\widgets_editlbox.obj \
44 $(OBJS)\widgets_filectrl.obj \
45 $(OBJS)\widgets_filepicker.obj \
46 $(OBJS)\widgets_fontpicker.obj \
47 $(OBJS)\widgets_gauge.obj \
48 $(OBJS)\widgets_hyperlnk.obj \
49 $(OBJS)\widgets_itemcontainer.obj \
50 $(OBJS)\widgets_listbox.obj \
51 $(OBJS)\widgets_notebook.obj \
52 $(OBJS)\widgets_odcombobox.obj \
53 $(OBJS)\widgets_radiobox.obj \
54 $(OBJS)\widgets_searchctrl.obj \
55 $(OBJS)\widgets_slider.obj \
56 $(OBJS)\widgets_spinbtn.obj \
57 $(OBJS)\widgets_static.obj \
58 $(OBJS)\widgets_statbmp.obj \
59 $(OBJS)\widgets_textctrl.obj \
60 $(OBJS)\widgets_timepick.obj \
61 $(OBJS)\widgets_toggle.obj \
62 $(OBJS)\widgets_widgets.obj
64 $(OBJS)\widgets_sample.res
66 ### Conditionally set variables: ###
68 !if "$(USE_GUI)" == "0"
71 !if "$(USE_GUI)" == "1"
74 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
77 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
80 !if "$(UNICODE)" == "1"
83 !if "$(WXUNIV)" == "1"
86 !if "$(TARGET_CPU)" == "AMD64"
87 DIR_SUFFIX_CPU = _amd64
89 !if "$(TARGET_CPU)" == "IA64"
90 DIR_SUFFIX_CPU = _ia64
92 !if "$(TARGET_CPU)" == "amd64"
93 DIR_SUFFIX_CPU = _amd64
95 !if "$(TARGET_CPU)" == "ia64"
96 DIR_SUFFIX_CPU = _ia64
98 !if "$(SHARED)" == "1"
101 !if "$(SHARED)" == "0"
104 !if "$(SHARED)" == "1"
107 !if "$(TARGET_CPU)" == "AMD64"
108 LINK_TARGET_CPU = /MACHINE:X64
110 !if "$(TARGET_CPU)" == "IA64"
111 LINK_TARGET_CPU = /MACHINE:IA64
113 !if "$(TARGET_CPU)" == "amd64"
114 LINK_TARGET_CPU = /MACHINE:X64
116 !if "$(TARGET_CPU)" == "ia64"
117 LINK_TARGET_CPU = /MACHINE:IA64
119 !if "$(MONOLITHIC)" == "0"
122 !if "$(MONOLITHIC)" == "1"
125 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
128 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
131 !if "$(DEBUG_INFO)" == "0"
134 !if "$(DEBUG_INFO)" == "1"
137 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
138 __DEBUGINFO_1 = /DEBUG
140 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
143 !if "$(DEBUG_INFO)" == "0"
146 !if "$(DEBUG_INFO)" == "1"
147 __DEBUGINFO_1 = /DEBUG
149 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
150 __DEBUGINFO_2 = $(__DEBUGRUNTIME_5)
152 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
155 !if "$(DEBUG_INFO)" == "0"
158 !if "$(DEBUG_INFO)" == "1"
159 __DEBUGINFO_2 = $(__DEBUGRUNTIME_5)
161 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
162 ____DEBUGRUNTIME_3_p = /D_DEBUG
164 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
165 ____DEBUGRUNTIME_3_p =
167 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
168 ____DEBUGRUNTIME_3_p =
170 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
171 ____DEBUGRUNTIME_3_p = /D_DEBUG
173 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
174 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
176 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
177 ____DEBUGRUNTIME_3_p_1 =
179 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
180 ____DEBUGRUNTIME_3_p_1 =
182 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
183 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
185 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
188 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
191 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
194 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
197 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
200 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
201 __DEBUGRUNTIME_5 = /opt:ref /opt:icf
203 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
204 __DEBUGRUNTIME_5 = /opt:ref /opt:icf
206 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
209 !if "$(BUILD)" == "debug"
210 __OPTIMIZEFLAG_6 = /Od
212 !if "$(BUILD)" == "release"
213 __OPTIMIZEFLAG_6 = /O2
215 !if "$(USE_THREADS)" == "0"
218 !if "$(USE_THREADS)" == "1"
221 !if "$(RUNTIME_LIBS)" == "dynamic"
222 __RUNTIME_LIBS_10 = D
224 !if "$(RUNTIME_LIBS)" == "static"
225 __RUNTIME_LIBS_10 = $(__THREADSFLAG_9)
227 !if "$(USE_RTTI)" == "0"
230 !if "$(USE_RTTI)" == "1"
233 !if "$(USE_EXCEPTIONS)" == "0"
234 __EXCEPTIONSFLAG_12 =
236 !if "$(USE_EXCEPTIONS)" == "1"
237 __EXCEPTIONSFLAG_12 = /EHsc
239 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
240 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
242 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
243 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
245 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
246 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
248 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
249 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
251 !if "$(WXUNIV)" == "1"
252 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
254 !if "$(WXUNIV)" == "1"
255 __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
257 !if "$(DEBUG_FLAG)" == "0"
258 __DEBUG_DEFINE_p = /DwxDEBUG_LEVEL=0
260 !if "$(DEBUG_FLAG)" == "0"
261 __DEBUG_DEFINE_p_1 = /d wxDEBUG_LEVEL=0
263 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
264 __NDEBUG_DEFINE_p = /DNDEBUG
266 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
267 __NDEBUG_DEFINE_p = /DNDEBUG
269 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
270 __NDEBUG_DEFINE_p_1 = /d NDEBUG
272 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
273 __NDEBUG_DEFINE_p_1 = /d NDEBUG
275 !if "$(USE_EXCEPTIONS)" == "0"
276 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
278 !if "$(USE_EXCEPTIONS)" == "0"
279 __EXCEPTIONS_DEFINE_p_1 = /d wxNO_EXCEPTIONS
281 !if "$(USE_RTTI)" == "0"
282 __RTTI_DEFINE_p = /DwxNO_RTTI
284 !if "$(USE_RTTI)" == "0"
285 __RTTI_DEFINE_p_1 = /d wxNO_RTTI
287 !if "$(USE_THREADS)" == "0"
288 __THREAD_DEFINE_p = /DwxNO_THREADS
290 !if "$(USE_THREADS)" == "0"
291 __THREAD_DEFINE_p_1 = /d wxNO_THREADS
293 !if "$(UNICODE)" == "0"
294 __UNICODE_DEFINE_p = /DwxUSE_UNICODE=0
296 !if "$(UNICODE)" == "1"
297 __UNICODE_DEFINE_p = /D_UNICODE
299 !if "$(UNICODE)" == "0"
300 __UNICODE_DEFINE_p_1 = /d wxUSE_UNICODE=0
302 !if "$(UNICODE)" == "1"
303 __UNICODE_DEFINE_p_1 = /d _UNICODE
306 __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
309 __MSLU_DEFINE_p_1 = /d wxUSE_UNICODE_MSLU=1
311 !if "$(USE_CAIRO)" == "1"
312 ____CAIRO_INCLUDEDIR_FILENAMES_p = /I$(CAIRO_ROOT)\include\cairo
314 !if "$(USE_CAIRO)" == "1"
315 ____CAIRO_INCLUDEDIR_FILENAMES_1_p = /i $(CAIRO_ROOT)\include\cairo
317 !if "$(SHARED)" == "1"
318 __DLLFLAG_p = /DWXUSINGDLL
320 !if "$(SHARED)" == "1"
321 __DLLFLAG_p_1 = /d WXUSINGDLL
323 !if "$(MONOLITHIC)" == "0"
325 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv.lib
327 !if "$(MONOLITHIC)" == "0"
329 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
331 !if "$(MONOLITHIC)" == "0"
333 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
335 !if "$(MONOLITHIC)" == "1"
337 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
339 !if "$(USE_GUI)" == "1"
340 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
342 !if "$(USE_GUI)" == "1"
343 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
345 !if "$(USE_GUI)" == "1"
346 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
349 __UNICOWS_LIB_p = unicows.lib
351 !if "$(USE_CAIRO)" == "1"
352 __CAIRO_LIB_p = cairo.lib
354 !if "$(USE_CAIRO)" == "1"
355 ____CAIRO_LIBDIR_FILENAMES_p = /LIBPATH:$(CAIRO_ROOT)\lib
361 -if not exist $(OBJS) mkdir $(OBJS)
365 all: $(OBJS)\widgets.exe
368 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
369 -if exist $(OBJS)\*.res del $(OBJS)\*.res
370 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
371 -if exist $(OBJS)\widgets.exe del $(OBJS)\widgets.exe
372 -if exist $(OBJS)\widgets.ilk del $(OBJS)\widgets.ilk
373 -if exist $(OBJS)\widgets.pdb del $(OBJS)\widgets.pdb
375 $(OBJS)\widgets.exe: $(WIDGETS_OBJECTS) $(OBJS)\widgets_sample.res
376 link /NOLOGO /OUT:$@ $(__DEBUGINFO_1) /pdb:"$(OBJS)\widgets.pdb" $(__DEBUGINFO_2) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS $(____CAIRO_LIBDIR_FILENAMES_p) $(LDFLAGS) @<<
377 $(WIDGETS_OBJECTS) $(WIDGETS_RESOURCES) $(__WXLIB_ADV_p) $(__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
380 $(OBJS)\widgets_bmpcombobox.obj: .\bmpcombobox.cpp
381 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\bmpcombobox.cpp
383 $(OBJS)\widgets_button.obj: .\button.cpp
384 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\button.cpp
386 $(OBJS)\widgets_checkbox.obj: .\checkbox.cpp
387 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\checkbox.cpp
389 $(OBJS)\widgets_choice.obj: .\choice.cpp
390 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\choice.cpp
392 $(OBJS)\widgets_clrpicker.obj: .\clrpicker.cpp
393 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\clrpicker.cpp
395 $(OBJS)\widgets_combobox.obj: .\combobox.cpp
396 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\combobox.cpp
398 $(OBJS)\widgets_datepick.obj: .\datepick.cpp
399 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\datepick.cpp
401 $(OBJS)\widgets_dirctrl.obj: .\dirctrl.cpp
402 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\dirctrl.cpp
404 $(OBJS)\widgets_dirpicker.obj: .\dirpicker.cpp
405 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\dirpicker.cpp
407 $(OBJS)\widgets_editlbox.obj: .\editlbox.cpp
408 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\editlbox.cpp
410 $(OBJS)\widgets_filectrl.obj: .\filectrl.cpp
411 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\filectrl.cpp
413 $(OBJS)\widgets_filepicker.obj: .\filepicker.cpp
414 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\filepicker.cpp
416 $(OBJS)\widgets_fontpicker.obj: .\fontpicker.cpp
417 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\fontpicker.cpp
419 $(OBJS)\widgets_gauge.obj: .\gauge.cpp
420 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\gauge.cpp
422 $(OBJS)\widgets_hyperlnk.obj: .\hyperlnk.cpp
423 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\hyperlnk.cpp
425 $(OBJS)\widgets_itemcontainer.obj: .\itemcontainer.cpp
426 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\itemcontainer.cpp
428 $(OBJS)\widgets_listbox.obj: .\listbox.cpp
429 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\listbox.cpp
431 $(OBJS)\widgets_notebook.obj: .\notebook.cpp
432 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\notebook.cpp
434 $(OBJS)\widgets_odcombobox.obj: .\odcombobox.cpp
435 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\odcombobox.cpp
437 $(OBJS)\widgets_radiobox.obj: .\radiobox.cpp
438 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\radiobox.cpp
440 $(OBJS)\widgets_searchctrl.obj: .\searchctrl.cpp
441 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\searchctrl.cpp
443 $(OBJS)\widgets_slider.obj: .\slider.cpp
444 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\slider.cpp
446 $(OBJS)\widgets_spinbtn.obj: .\spinbtn.cpp
447 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\spinbtn.cpp
449 $(OBJS)\widgets_static.obj: .\static.cpp
450 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\static.cpp
452 $(OBJS)\widgets_statbmp.obj: .\statbmp.cpp
453 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\statbmp.cpp
455 $(OBJS)\widgets_textctrl.obj: .\textctrl.cpp
456 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\textctrl.cpp
458 $(OBJS)\widgets_timepick.obj: .\timepick.cpp
459 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\timepick.cpp
461 $(OBJS)\widgets_toggle.obj: .\toggle.cpp
462 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\toggle.cpp
464 $(OBJS)\widgets_widgets.obj: .\widgets.cpp
465 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\widgets.cpp
467 $(OBJS)\widgets_sample.res: .\..\sample.rc
468 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 .\..\sample.rc