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_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 "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
262 __NDEBUG_DEFINE_p = /DNDEBUG
264 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
265 __NDEBUG_DEFINE_p = /DNDEBUG
267 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
268 __NDEBUG_DEFINE_p_1 = /d NDEBUG
270 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
271 __NDEBUG_DEFINE_p_1 = /d NDEBUG
273 !if "$(USE_EXCEPTIONS)" == "0"
274 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
276 !if "$(USE_EXCEPTIONS)" == "0"
277 __EXCEPTIONS_DEFINE_p_1 = /d wxNO_EXCEPTIONS
279 !if "$(USE_RTTI)" == "0"
280 __RTTI_DEFINE_p = /DwxNO_RTTI
282 !if "$(USE_RTTI)" == "0"
283 __RTTI_DEFINE_p_1 = /d wxNO_RTTI
285 !if "$(USE_THREADS)" == "0"
286 __THREAD_DEFINE_p = /DwxNO_THREADS
288 !if "$(USE_THREADS)" == "0"
289 __THREAD_DEFINE_p_1 = /d wxNO_THREADS
291 !if "$(UNICODE)" == "0"
292 __UNICODE_DEFINE_p = /DwxUSE_UNICODE=0
294 !if "$(UNICODE)" == "1"
295 __UNICODE_DEFINE_p = /D_UNICODE
297 !if "$(UNICODE)" == "0"
298 __UNICODE_DEFINE_p_1 = /d wxUSE_UNICODE=0
300 !if "$(UNICODE)" == "1"
301 __UNICODE_DEFINE_p_1 = /d _UNICODE
304 __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
307 __MSLU_DEFINE_p_1 = /d wxUSE_UNICODE_MSLU=1
309 !if "$(USE_CAIRO)" == "1"
310 ____CAIRO_INCLUDEDIR_FILENAMES_p = /I$(CAIRO_ROOT)\include\cairo
312 !if "$(USE_CAIRO)" == "1"
313 ____CAIRO_INCLUDEDIR_FILENAMES_1_p = /i $(CAIRO_ROOT)\include\cairo
315 !if "$(SHARED)" == "1"
316 __DLLFLAG_p = /DWXUSINGDLL
318 !if "$(SHARED)" == "1"
319 __DLLFLAG_p_1 = /d WXUSINGDLL
321 !if "$(MONOLITHIC)" == "0"
323 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv.lib
325 !if "$(MONOLITHIC)" == "0"
327 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
329 !if "$(MONOLITHIC)" == "0"
331 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
333 !if "$(MONOLITHIC)" == "1"
335 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
337 !if "$(USE_GUI)" == "1"
338 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
340 !if "$(USE_GUI)" == "1"
341 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
343 !if "$(USE_GUI)" == "1"
344 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
347 __UNICOWS_LIB_p = unicows.lib
349 !if "$(USE_CAIRO)" == "1"
350 __CAIRO_LIB_p = cairo.lib
352 !if "$(USE_CAIRO)" == "1"
353 ____CAIRO_LIBDIR_FILENAMES_p = /LIBPATH:$(CAIRO_ROOT)\lib
359 -if not exist $(OBJS) mkdir $(OBJS)
363 all: $(OBJS)\widgets.exe
366 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
367 -if exist $(OBJS)\*.res del $(OBJS)\*.res
368 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
369 -if exist $(OBJS)\widgets.exe del $(OBJS)\widgets.exe
370 -if exist $(OBJS)\widgets.ilk del $(OBJS)\widgets.ilk
371 -if exist $(OBJS)\widgets.pdb del $(OBJS)\widgets.pdb
373 $(OBJS)\widgets.exe: $(WIDGETS_OBJECTS) $(OBJS)\widgets_sample.res
374 link /NOLOGO /OUT:$@ $(__DEBUGINFO_1) /pdb:"$(OBJS)\widgets.pdb" $(__DEBUGINFO_2) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS $(____CAIRO_LIBDIR_FILENAMES_p) $(LDFLAGS) @<<
375 $(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
378 $(OBJS)\widgets_bmpcombobox.obj: .\bmpcombobox.cpp
379 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\bmpcombobox.cpp
381 $(OBJS)\widgets_button.obj: .\button.cpp
382 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\button.cpp
384 $(OBJS)\widgets_checkbox.obj: .\checkbox.cpp
385 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\checkbox.cpp
387 $(OBJS)\widgets_choice.obj: .\choice.cpp
388 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\choice.cpp
390 $(OBJS)\widgets_clrpicker.obj: .\clrpicker.cpp
391 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\clrpicker.cpp
393 $(OBJS)\widgets_combobox.obj: .\combobox.cpp
394 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\combobox.cpp
396 $(OBJS)\widgets_datepick.obj: .\datepick.cpp
397 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\datepick.cpp
399 $(OBJS)\widgets_dirctrl.obj: .\dirctrl.cpp
400 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\dirctrl.cpp
402 $(OBJS)\widgets_dirpicker.obj: .\dirpicker.cpp
403 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\dirpicker.cpp
405 $(OBJS)\widgets_editlbox.obj: .\editlbox.cpp
406 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\editlbox.cpp
408 $(OBJS)\widgets_filectrl.obj: .\filectrl.cpp
409 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\filectrl.cpp
411 $(OBJS)\widgets_filepicker.obj: .\filepicker.cpp
412 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\filepicker.cpp
414 $(OBJS)\widgets_fontpicker.obj: .\fontpicker.cpp
415 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\fontpicker.cpp
417 $(OBJS)\widgets_gauge.obj: .\gauge.cpp
418 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\gauge.cpp
420 $(OBJS)\widgets_hyperlnk.obj: .\hyperlnk.cpp
421 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\hyperlnk.cpp
423 $(OBJS)\widgets_itemcontainer.obj: .\itemcontainer.cpp
424 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\itemcontainer.cpp
426 $(OBJS)\widgets_listbox.obj: .\listbox.cpp
427 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\listbox.cpp
429 $(OBJS)\widgets_notebook.obj: .\notebook.cpp
430 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\notebook.cpp
432 $(OBJS)\widgets_odcombobox.obj: .\odcombobox.cpp
433 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\odcombobox.cpp
435 $(OBJS)\widgets_radiobox.obj: .\radiobox.cpp
436 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\radiobox.cpp
438 $(OBJS)\widgets_searchctrl.obj: .\searchctrl.cpp
439 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\searchctrl.cpp
441 $(OBJS)\widgets_slider.obj: .\slider.cpp
442 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\slider.cpp
444 $(OBJS)\widgets_spinbtn.obj: .\spinbtn.cpp
445 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\spinbtn.cpp
447 $(OBJS)\widgets_static.obj: .\static.cpp
448 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\static.cpp
450 $(OBJS)\widgets_statbmp.obj: .\statbmp.cpp
451 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\statbmp.cpp
453 $(OBJS)\widgets_textctrl.obj: .\textctrl.cpp
454 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\textctrl.cpp
456 $(OBJS)\widgets_toggle.obj: .\toggle.cpp
457 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\toggle.cpp
459 $(OBJS)\widgets_widgets.obj: .\widgets.cpp
460 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) .\widgets.cpp
462 $(OBJS)\widgets_sample.res: .\..\sample.rc
463 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