1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.2.8 (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) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
27 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
28 $(__GFXCTX_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_toggle.obj \
60 $(OBJS)\widgets_widgets.obj
62 $(OBJS)\widgets_sample.res
64 ### Conditionally set variables: ###
66 !if "$(USE_GUI)" == "0"
69 !if "$(USE_GUI)" == "1"
72 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
75 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
78 !if "$(UNICODE)" == "1"
81 !if "$(WXUNIV)" == "1"
84 !if "$(TARGET_CPU)" == "AMD64"
85 DIR_SUFFIX_CPU = _amd64
87 !if "$(TARGET_CPU)" == "IA64"
88 DIR_SUFFIX_CPU = _ia64
90 !if "$(TARGET_CPU)" == "amd64"
91 DIR_SUFFIX_CPU = _amd64
93 !if "$(TARGET_CPU)" == "ia64"
94 DIR_SUFFIX_CPU = _ia64
96 !if "$(SHARED)" == "1"
99 !if "$(SHARED)" == "0"
102 !if "$(SHARED)" == "1"
105 !if "$(TARGET_CPU)" == "AMD64"
106 LINK_TARGET_CPU = /MACHINE:X64
108 !if "$(TARGET_CPU)" == "IA64"
109 LINK_TARGET_CPU = /MACHINE:IA64
111 !if "$(TARGET_CPU)" == "amd64"
112 LINK_TARGET_CPU = /MACHINE:X64
114 !if "$(TARGET_CPU)" == "ia64"
115 LINK_TARGET_CPU = /MACHINE:IA64
117 !if "$(MONOLITHIC)" == "0"
120 !if "$(MONOLITHIC)" == "1"
123 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
126 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
129 !if "$(DEBUG_INFO)" == "0"
132 !if "$(DEBUG_INFO)" == "1"
135 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
136 __DEBUGINFO_1 = /DEBUG
138 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
141 !if "$(DEBUG_INFO)" == "0"
144 !if "$(DEBUG_INFO)" == "1"
145 __DEBUGINFO_1 = /DEBUG
147 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
148 __DEBUGINFO_2 = $(__DEBUGRUNTIME_5)
150 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
153 !if "$(DEBUG_INFO)" == "0"
156 !if "$(DEBUG_INFO)" == "1"
157 __DEBUGINFO_2 = $(__DEBUGRUNTIME_5)
159 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
160 ____DEBUGRUNTIME_3_p = /D_DEBUG
162 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
163 ____DEBUGRUNTIME_3_p =
165 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
166 ____DEBUGRUNTIME_3_p =
168 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
169 ____DEBUGRUNTIME_3_p = /D_DEBUG
171 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
172 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
174 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
175 ____DEBUGRUNTIME_3_p_1 =
177 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
178 ____DEBUGRUNTIME_3_p_1 =
180 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
181 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
183 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
186 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
189 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
192 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
195 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
198 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
199 __DEBUGRUNTIME_5 = /opt:ref /opt:icf
201 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
202 __DEBUGRUNTIME_5 = /opt:ref /opt:icf
204 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
207 !if "$(BUILD)" == "debug"
208 __OPTIMIZEFLAG_6 = /Od
210 !if "$(BUILD)" == "release"
211 __OPTIMIZEFLAG_6 = /O2
213 !if "$(USE_THREADS)" == "0"
216 !if "$(USE_THREADS)" == "1"
219 !if "$(RUNTIME_LIBS)" == "dynamic"
220 __RUNTIME_LIBS_10 = D
222 !if "$(RUNTIME_LIBS)" == "static"
223 __RUNTIME_LIBS_10 = $(__THREADSFLAG_9)
225 !if "$(USE_RTTI)" == "0"
228 !if "$(USE_RTTI)" == "1"
231 !if "$(USE_EXCEPTIONS)" == "0"
232 __EXCEPTIONSFLAG_12 =
234 !if "$(USE_EXCEPTIONS)" == "1"
235 __EXCEPTIONSFLAG_12 = /EHsc
237 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
238 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
240 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
241 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
243 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
244 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
246 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
247 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
249 !if "$(WXUNIV)" == "1"
250 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
252 !if "$(WXUNIV)" == "1"
253 __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
255 !if "$(DEBUG_FLAG)" == "0"
256 __DEBUG_DEFINE_p = /DwxDEBUG_LEVEL=0
258 !if "$(DEBUG_FLAG)" == "0"
259 __DEBUG_DEFINE_p_1 = /d wxDEBUG_LEVEL=0
261 !if "$(USE_EXCEPTIONS)" == "0"
262 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
264 !if "$(USE_EXCEPTIONS)" == "0"
265 __EXCEPTIONS_DEFINE_p_1 = /d wxNO_EXCEPTIONS
267 !if "$(USE_RTTI)" == "0"
268 __RTTI_DEFINE_p = /DwxNO_RTTI
270 !if "$(USE_RTTI)" == "0"
271 __RTTI_DEFINE_p_1 = /d wxNO_RTTI
273 !if "$(USE_THREADS)" == "0"
274 __THREAD_DEFINE_p = /DwxNO_THREADS
276 !if "$(USE_THREADS)" == "0"
277 __THREAD_DEFINE_p_1 = /d wxNO_THREADS
279 !if "$(UNICODE)" == "0"
280 __UNICODE_DEFINE_p = /DwxUSE_UNICODE=0
282 !if "$(UNICODE)" == "1"
283 __UNICODE_DEFINE_p = /D_UNICODE
285 !if "$(UNICODE)" == "0"
286 __UNICODE_DEFINE_p_1 = /d wxUSE_UNICODE=0
288 !if "$(UNICODE)" == "1"
289 __UNICODE_DEFINE_p_1 = /d _UNICODE
292 __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
295 __MSLU_DEFINE_p_1 = /d wxUSE_UNICODE_MSLU=1
297 !if "$(USE_GDIPLUS)" == "1"
298 __GFXCTX_DEFINE_p = /DwxUSE_GRAPHICS_CONTEXT=1
300 !if "$(USE_GDIPLUS)" == "1"
301 __GFXCTX_DEFINE_p_1 = /d wxUSE_GRAPHICS_CONTEXT=1
303 !if "$(USE_CAIRO)" == "1"
304 ____CAIRO_INCLUDEDIR_FILENAMES_p = /I$(CAIRO_ROOT)\include\cairo
306 !if "$(USE_CAIRO)" == "1"
307 ____CAIRO_INCLUDEDIR_FILENAMES_1_p = /i $(CAIRO_ROOT)\include\cairo
309 !if "$(SHARED)" == "1"
310 __DLLFLAG_p = /DWXUSINGDLL
312 !if "$(SHARED)" == "1"
313 __DLLFLAG_p_1 = /d WXUSINGDLL
315 !if "$(MONOLITHIC)" == "0"
317 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv.lib
319 !if "$(MONOLITHIC)" == "0"
321 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
323 !if "$(MONOLITHIC)" == "0"
325 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
327 !if "$(MONOLITHIC)" == "1"
329 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
331 !if "$(USE_GUI)" == "1"
332 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
334 !if "$(USE_GUI)" == "1"
335 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
337 !if "$(USE_GUI)" == "1"
338 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
341 __UNICOWS_LIB_p = unicows.lib
343 !if "$(USE_GDIPLUS)" == "1"
344 __GDIPLUS_LIB_p = gdiplus.lib
346 !if "$(USE_CAIRO)" == "1"
347 __CAIRO_LIB_p = cairo.lib
349 !if "$(USE_CAIRO)" == "1"
350 ____CAIRO_LIBDIR_FILENAMES_p = /LIBPATH:$(CAIRO_ROOT)\lib
356 -if not exist $(OBJS) mkdir $(OBJS)
360 all: $(OBJS)\widgets.exe
363 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
364 -if exist $(OBJS)\*.res del $(OBJS)\*.res
365 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
366 -if exist $(OBJS)\widgets.exe del $(OBJS)\widgets.exe
367 -if exist $(OBJS)\widgets.ilk del $(OBJS)\widgets.ilk
368 -if exist $(OBJS)\widgets.pdb del $(OBJS)\widgets.pdb
370 $(OBJS)\widgets.exe: $(WIDGETS_OBJECTS) $(OBJS)\widgets_sample.res
371 link /NOLOGO /OUT:$@ $(__DEBUGINFO_1) /pdb:"$(OBJS)\widgets.pdb" $(__DEBUGINFO_2) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS $(____CAIRO_LIBDIR_FILENAMES_p) $(LDFLAGS) @<<
372 $(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) $(__GDIPLUS_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
375 $(OBJS)\widgets_bmpcombobox.obj: .\bmpcombobox.cpp
376 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\bmpcombobox.cpp
378 $(OBJS)\widgets_button.obj: .\button.cpp
379 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\button.cpp
381 $(OBJS)\widgets_checkbox.obj: .\checkbox.cpp
382 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\checkbox.cpp
384 $(OBJS)\widgets_choice.obj: .\choice.cpp
385 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\choice.cpp
387 $(OBJS)\widgets_clrpicker.obj: .\clrpicker.cpp
388 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\clrpicker.cpp
390 $(OBJS)\widgets_combobox.obj: .\combobox.cpp
391 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\combobox.cpp
393 $(OBJS)\widgets_datepick.obj: .\datepick.cpp
394 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\datepick.cpp
396 $(OBJS)\widgets_dirctrl.obj: .\dirctrl.cpp
397 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\dirctrl.cpp
399 $(OBJS)\widgets_dirpicker.obj: .\dirpicker.cpp
400 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\dirpicker.cpp
402 $(OBJS)\widgets_editlbox.obj: .\editlbox.cpp
403 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\editlbox.cpp
405 $(OBJS)\widgets_filectrl.obj: .\filectrl.cpp
406 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\filectrl.cpp
408 $(OBJS)\widgets_filepicker.obj: .\filepicker.cpp
409 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\filepicker.cpp
411 $(OBJS)\widgets_fontpicker.obj: .\fontpicker.cpp
412 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\fontpicker.cpp
414 $(OBJS)\widgets_gauge.obj: .\gauge.cpp
415 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\gauge.cpp
417 $(OBJS)\widgets_hyperlnk.obj: .\hyperlnk.cpp
418 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\hyperlnk.cpp
420 $(OBJS)\widgets_itemcontainer.obj: .\itemcontainer.cpp
421 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\itemcontainer.cpp
423 $(OBJS)\widgets_listbox.obj: .\listbox.cpp
424 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\listbox.cpp
426 $(OBJS)\widgets_notebook.obj: .\notebook.cpp
427 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\notebook.cpp
429 $(OBJS)\widgets_odcombobox.obj: .\odcombobox.cpp
430 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\odcombobox.cpp
432 $(OBJS)\widgets_radiobox.obj: .\radiobox.cpp
433 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\radiobox.cpp
435 $(OBJS)\widgets_searchctrl.obj: .\searchctrl.cpp
436 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\searchctrl.cpp
438 $(OBJS)\widgets_slider.obj: .\slider.cpp
439 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\slider.cpp
441 $(OBJS)\widgets_spinbtn.obj: .\spinbtn.cpp
442 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\spinbtn.cpp
444 $(OBJS)\widgets_static.obj: .\static.cpp
445 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\static.cpp
447 $(OBJS)\widgets_statbmp.obj: .\statbmp.cpp
448 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\statbmp.cpp
450 $(OBJS)\widgets_textctrl.obj: .\textctrl.cpp
451 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\textctrl.cpp
453 $(OBJS)\widgets_toggle.obj: .\toggle.cpp
454 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\toggle.cpp
456 $(OBJS)\widgets_widgets.obj: .\widgets.cpp
457 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\widgets.cpp
459 $(OBJS)\widgets_sample.res: .\..\sample.rc
460 rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_3_p_1) $(__NO_VC_CRTDBG_p_1) /d __WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) $(__MSLU_DEFINE_p_1) $(__GFXCTX_DEFINE_p_1) /i $(SETUPHDIR) /i .\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_1_p) /i . $(__DLLFLAG_p_1) /d _WINDOWS /i .\..\..\samples /d NOPCH .\..\sample.rc