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) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
26 $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \
27 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
28 $(__MSLU_DEFINE_p) /I$(SETUPHDIR) /I.\..\..\include \
29 $(____CAIRO_INCLUDEDIR_FILENAMES_p) /W4 /I. $(__DLLFLAG_p) /D_WINDOWS \
30 /I.\..\..\samples /DNOPCH $(__RTTIFLAG_11) $(__EXCEPTIONSFLAG_12) \
31 $(CPPFLAGS) $(CXXFLAGS)
33 $(OBJS)\widgets_bmpcombobox.obj \
34 $(OBJS)\widgets_button.obj \
35 $(OBJS)\widgets_checkbox.obj \
36 $(OBJS)\widgets_choice.obj \
37 $(OBJS)\widgets_clrpicker.obj \
38 $(OBJS)\widgets_combobox.obj \
39 $(OBJS)\widgets_datepick.obj \
40 $(OBJS)\widgets_dirctrl.obj \
41 $(OBJS)\widgets_dirpicker.obj \
42 $(OBJS)\widgets_editlbox.obj \
43 $(OBJS)\widgets_filectrl.obj \
44 $(OBJS)\widgets_filepicker.obj \
45 $(OBJS)\widgets_fontpicker.obj \
46 $(OBJS)\widgets_gauge.obj \
47 $(OBJS)\widgets_hyperlnk.obj \
48 $(OBJS)\widgets_itemcontainer.obj \
49 $(OBJS)\widgets_listbox.obj \
50 $(OBJS)\widgets_notebook.obj \
51 $(OBJS)\widgets_odcombobox.obj \
52 $(OBJS)\widgets_radiobox.obj \
53 $(OBJS)\widgets_searchctrl.obj \
54 $(OBJS)\widgets_slider.obj \
55 $(OBJS)\widgets_spinbtn.obj \
56 $(OBJS)\widgets_static.obj \
57 $(OBJS)\widgets_statbmp.obj \
58 $(OBJS)\widgets_textctrl.obj \
59 $(OBJS)\widgets_timepick.obj \
60 $(OBJS)\widgets_toggle.obj \
61 $(OBJS)\widgets_widgets.obj
63 $(OBJS)\widgets_sample.res
65 ### Conditionally set variables: ###
67 !if "$(USE_GUI)" == "0"
70 !if "$(USE_GUI)" == "1"
73 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
76 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
79 !if "$(UNICODE)" == "1"
82 !if "$(WXUNIV)" == "1"
85 !if "$(TARGET_CPU)" == "AMD64"
86 DIR_SUFFIX_CPU = _amd64
88 !if "$(TARGET_CPU)" == "IA64"
89 DIR_SUFFIX_CPU = _ia64
91 !if "$(TARGET_CPU)" == "amd64"
92 DIR_SUFFIX_CPU = _amd64
94 !if "$(TARGET_CPU)" == "ia64"
95 DIR_SUFFIX_CPU = _ia64
97 !if "$(SHARED)" == "1"
100 !if "$(SHARED)" == "0"
103 !if "$(SHARED)" == "1"
106 !if "$(TARGET_CPU)" == "AMD64"
107 LINK_TARGET_CPU = /MACHINE:X64
109 !if "$(TARGET_CPU)" == "IA64"
110 LINK_TARGET_CPU = /MACHINE:IA64
112 !if "$(TARGET_CPU)" == "amd64"
113 LINK_TARGET_CPU = /MACHINE:X64
115 !if "$(TARGET_CPU)" == "ia64"
116 LINK_TARGET_CPU = /MACHINE:IA64
118 !if "$(MONOLITHIC)" == "0"
121 !if "$(MONOLITHIC)" == "1"
124 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
127 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
130 !if "$(DEBUG_INFO)" == "0"
133 !if "$(DEBUG_INFO)" == "1"
136 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
137 __DEBUGINFO_1 = /DEBUG
139 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
142 !if "$(DEBUG_INFO)" == "0"
145 !if "$(DEBUG_INFO)" == "1"
146 __DEBUGINFO_1 = /DEBUG
148 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
149 __DEBUGINFO_2 = $(__DEBUGRUNTIME_5)
151 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
154 !if "$(DEBUG_INFO)" == "0"
157 !if "$(DEBUG_INFO)" == "1"
158 __DEBUGINFO_2 = $(__DEBUGRUNTIME_5)
160 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
161 ____DEBUGRUNTIME_3_p = /D_DEBUG
163 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
164 ____DEBUGRUNTIME_3_p =
166 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
167 ____DEBUGRUNTIME_3_p =
169 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
170 ____DEBUGRUNTIME_3_p = /D_DEBUG
172 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
173 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
175 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
176 ____DEBUGRUNTIME_3_p_1 =
178 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
179 ____DEBUGRUNTIME_3_p_1 =
181 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
182 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
184 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
187 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
190 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
193 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
196 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
199 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
200 __DEBUGRUNTIME_5 = /opt:ref /opt:icf
202 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
203 __DEBUGRUNTIME_5 = /opt:ref /opt:icf
205 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
208 !if "$(BUILD)" == "debug"
209 __OPTIMIZEFLAG_6 = /Od
211 !if "$(BUILD)" == "release"
212 __OPTIMIZEFLAG_6 = /O2
214 !if "$(USE_THREADS)" == "0"
217 !if "$(USE_THREADS)" == "1"
220 !if "$(RUNTIME_LIBS)" == "dynamic"
221 __RUNTIME_LIBS_10 = D
223 !if "$(RUNTIME_LIBS)" == "static"
224 __RUNTIME_LIBS_10 = $(__THREADSFLAG_9)
226 !if "$(USE_RTTI)" == "0"
229 !if "$(USE_RTTI)" == "1"
232 !if "$(USE_EXCEPTIONS)" == "0"
233 __EXCEPTIONSFLAG_12 =
235 !if "$(USE_EXCEPTIONS)" == "1"
236 __EXCEPTIONSFLAG_12 = /EHsc
238 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
239 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
241 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
242 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
244 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
245 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
247 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
248 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
250 !if "$(WXUNIV)" == "1"
251 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
253 !if "$(WXUNIV)" == "1"
254 __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
256 !if "$(DEBUG_FLAG)" == "0"
257 __DEBUG_DEFINE_p = /DwxDEBUG_LEVEL=0
259 !if "$(DEBUG_FLAG)" == "0"
260 __DEBUG_DEFINE_p_1 = /d wxDEBUG_LEVEL=0
262 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
263 __NDEBUG_DEFINE_p = /DNDEBUG
265 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
266 __NDEBUG_DEFINE_p = /DNDEBUG
268 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
269 __NDEBUG_DEFINE_p_1 = /d NDEBUG
271 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
272 __NDEBUG_DEFINE_p_1 = /d NDEBUG
274 !if "$(USE_EXCEPTIONS)" == "0"
275 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
277 !if "$(USE_EXCEPTIONS)" == "0"
278 __EXCEPTIONS_DEFINE_p_1 = /d wxNO_EXCEPTIONS
280 !if "$(USE_RTTI)" == "0"
281 __RTTI_DEFINE_p = /DwxNO_RTTI
283 !if "$(USE_RTTI)" == "0"
284 __RTTI_DEFINE_p_1 = /d wxNO_RTTI
286 !if "$(USE_THREADS)" == "0"
287 __THREAD_DEFINE_p = /DwxNO_THREADS
289 !if "$(USE_THREADS)" == "0"
290 __THREAD_DEFINE_p_1 = /d wxNO_THREADS
292 !if "$(UNICODE)" == "0"
293 __UNICODE_DEFINE_p = /DwxUSE_UNICODE=0
295 !if "$(UNICODE)" == "1"
296 __UNICODE_DEFINE_p = /D_UNICODE
298 !if "$(UNICODE)" == "0"
299 __UNICODE_DEFINE_p_1 = /d wxUSE_UNICODE=0
301 !if "$(UNICODE)" == "1"
302 __UNICODE_DEFINE_p_1 = /d _UNICODE
305 __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
308 __MSLU_DEFINE_p_1 = /d wxUSE_UNICODE_MSLU=1
310 !if "$(USE_CAIRO)" == "1"
311 ____CAIRO_INCLUDEDIR_FILENAMES_p = /I$(CAIRO_ROOT)\include\cairo
313 !if "$(USE_CAIRO)" == "1"
314 ____CAIRO_INCLUDEDIR_FILENAMES_1_p = /i $(CAIRO_ROOT)\include\cairo
316 !if "$(SHARED)" == "1"
317 __DLLFLAG_p = /DWXUSINGDLL
319 !if "$(SHARED)" == "1"
320 __DLLFLAG_p_1 = /d WXUSINGDLL
322 !if "$(MONOLITHIC)" == "0"
324 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv.lib
326 !if "$(MONOLITHIC)" == "0"
328 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
330 !if "$(MONOLITHIC)" == "0"
332 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
334 !if "$(MONOLITHIC)" == "1"
336 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
338 !if "$(USE_GUI)" == "1"
339 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
341 !if "$(USE_GUI)" == "1"
342 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
344 !if "$(USE_GUI)" == "1"
345 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
348 __UNICOWS_LIB_p = unicows.lib
350 !if "$(USE_CAIRO)" == "1"
351 __CAIRO_LIB_p = cairo.lib
353 !if "$(USE_CAIRO)" == "1"
354 ____CAIRO_LIBDIR_FILENAMES_p = /LIBPATH:$(CAIRO_ROOT)\lib
360 -if not exist $(OBJS) mkdir $(OBJS)
364 all: $(OBJS)\widgets.exe
367 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
368 -if exist $(OBJS)\*.res del $(OBJS)\*.res
369 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
370 -if exist $(OBJS)\widgets.exe del $(OBJS)\widgets.exe
371 -if exist $(OBJS)\widgets.ilk del $(OBJS)\widgets.ilk
372 -if exist $(OBJS)\widgets.pdb del $(OBJS)\widgets.pdb
374 $(OBJS)\widgets.exe: $(WIDGETS_OBJECTS) $(OBJS)\widgets_sample.res
375 link /NOLOGO /OUT:$@ $(__DEBUGINFO_1) /pdb:"$(OBJS)\widgets.pdb" $(__DEBUGINFO_2) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS $(____CAIRO_LIBDIR_FILENAMES_p) $(LDFLAGS) @<<
376 $(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
379 $(OBJS)\widgets_bmpcombobox.obj: .\bmpcombobox.cpp
380 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\bmpcombobox.cpp
382 $(OBJS)\widgets_button.obj: .\button.cpp
383 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\button.cpp
385 $(OBJS)\widgets_checkbox.obj: .\checkbox.cpp
386 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\checkbox.cpp
388 $(OBJS)\widgets_choice.obj: .\choice.cpp
389 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\choice.cpp
391 $(OBJS)\widgets_clrpicker.obj: .\clrpicker.cpp
392 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\clrpicker.cpp
394 $(OBJS)\widgets_combobox.obj: .\combobox.cpp
395 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\combobox.cpp
397 $(OBJS)\widgets_datepick.obj: .\datepick.cpp
398 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\datepick.cpp
400 $(OBJS)\widgets_dirctrl.obj: .\dirctrl.cpp
401 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\dirctrl.cpp
403 $(OBJS)\widgets_dirpicker.obj: .\dirpicker.cpp
404 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\dirpicker.cpp
406 $(OBJS)\widgets_editlbox.obj: .\editlbox.cpp
407 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\editlbox.cpp
409 $(OBJS)\widgets_filectrl.obj: .\filectrl.cpp
410 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\filectrl.cpp
412 $(OBJS)\widgets_filepicker.obj: .\filepicker.cpp
413 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\filepicker.cpp
415 $(OBJS)\widgets_fontpicker.obj: .\fontpicker.cpp
416 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\fontpicker.cpp
418 $(OBJS)\widgets_gauge.obj: .\gauge.cpp
419 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\gauge.cpp
421 $(OBJS)\widgets_hyperlnk.obj: .\hyperlnk.cpp
422 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\hyperlnk.cpp
424 $(OBJS)\widgets_itemcontainer.obj: .\itemcontainer.cpp
425 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\itemcontainer.cpp
427 $(OBJS)\widgets_listbox.obj: .\listbox.cpp
428 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\listbox.cpp
430 $(OBJS)\widgets_notebook.obj: .\notebook.cpp
431 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\notebook.cpp
433 $(OBJS)\widgets_odcombobox.obj: .\odcombobox.cpp
434 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\odcombobox.cpp
436 $(OBJS)\widgets_radiobox.obj: .\radiobox.cpp
437 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\radiobox.cpp
439 $(OBJS)\widgets_searchctrl.obj: .\searchctrl.cpp
440 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\searchctrl.cpp
442 $(OBJS)\widgets_slider.obj: .\slider.cpp
443 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\slider.cpp
445 $(OBJS)\widgets_spinbtn.obj: .\spinbtn.cpp
446 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\spinbtn.cpp
448 $(OBJS)\widgets_static.obj: .\static.cpp
449 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\static.cpp
451 $(OBJS)\widgets_statbmp.obj: .\statbmp.cpp
452 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\statbmp.cpp
454 $(OBJS)\widgets_textctrl.obj: .\textctrl.cpp
455 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\textctrl.cpp
457 $(OBJS)\widgets_timepick.obj: .\timepick.cpp
458 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\timepick.cpp
460 $(OBJS)\widgets_toggle.obj: .\toggle.cpp
461 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\toggle.cpp
463 $(OBJS)\widgets_widgets.obj: .\widgets.cpp
464 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\widgets.cpp
466 $(OBJS)\widgets_sample.res: .\..\sample.rc
467 rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_3_p_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