1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.2.1 (http://bakefile.sourceforge.net)
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 # -------------------------------------------------------------------------
17 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)$(DIR_SUFFIX_CPU)
18 LIBDIRNAME = .\..\..\lib\vc$(DIR_SUFFIX_CPU)_$(LIBTYPE_SUFFIX)$(CFG)
20 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
21 WIDGETS_CXXFLAGS = /M$(__RUNTIME_LIBS_8)$(__DEBUGRUNTIME_3) /DWIN32 \
22 $(__DEBUGINFO_0) /Fd$(OBJS)\widgets.pdb $(____DEBUGRUNTIME_2_p) \
23 $(__OPTIMIZEFLAG_4) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
24 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
25 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
26 $(__GFXCTX_DEFINE_p) /I$(SETUPHDIR) /I.\..\..\include /W4 /I. $(__DLLFLAG_p) \
27 /D_WINDOWS /I.\..\..\samples /DNOPCH $(__RTTIFLAG_9) $(__EXCEPTIONSFLAG_10) \
28 $(CPPFLAGS) $(CXXFLAGS)
30 $(OBJS)\widgets_bmpcombobox.obj \
31 $(OBJS)\widgets_button.obj \
32 $(OBJS)\widgets_checkbox.obj \
33 $(OBJS)\widgets_clrpicker.obj \
34 $(OBJS)\widgets_combobox.obj \
35 $(OBJS)\widgets_datepick.obj \
36 $(OBJS)\widgets_dirctrl.obj \
37 $(OBJS)\widgets_dirpicker.obj \
38 $(OBJS)\widgets_filepicker.obj \
39 $(OBJS)\widgets_fontpicker.obj \
40 $(OBJS)\widgets_gauge.obj \
41 $(OBJS)\widgets_hyperlnk.obj \
42 $(OBJS)\widgets_listbox.obj \
43 $(OBJS)\widgets_notebook.obj \
44 $(OBJS)\widgets_odcombobox.obj \
45 $(OBJS)\widgets_radiobox.obj \
46 $(OBJS)\widgets_searchctrl.obj \
47 $(OBJS)\widgets_slider.obj \
48 $(OBJS)\widgets_spinbtn.obj \
49 $(OBJS)\widgets_static.obj \
50 $(OBJS)\widgets_textctrl.obj \
51 $(OBJS)\widgets_toggle.obj \
52 $(OBJS)\widgets_widgets.obj \
53 $(OBJS)\widgets_sample.res
55 ### Conditionally set variables: ###
57 !if "$(USE_GUI)" == "0"
60 !if "$(USE_GUI)" == "1"
63 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
66 !if "$(DEBUG_FLAG)" == "1"
69 !if "$(UNICODE)" == "1"
72 !if "$(WXUNIV)" == "1"
75 !if "$(TARGET_CPU)" == "amd64"
76 DIR_SUFFIX_CPU = _amd64
78 !if "$(TARGET_CPU)" == "amd64"
79 DIR_SUFFIX_CPU = _amd64
81 !if "$(TARGET_CPU)" == "ia64"
82 DIR_SUFFIX_CPU = _ia64
84 !if "$(TARGET_CPU)" == "ia64"
85 DIR_SUFFIX_CPU = _ia64
87 !if "$(SHARED)" == "1"
90 !if "$(SHARED)" == "0"
93 !if "$(SHARED)" == "1"
96 !if "$(TARGET_CPU)" == "amd64"
97 LINK_TARGET_CPU = /MACHINE:AMD64
99 !if "$(TARGET_CPU)" == "amd64"
100 LINK_TARGET_CPU = /MACHINE:AMD64
102 !if "$(TARGET_CPU)" == "ia64"
103 LINK_TARGET_CPU = /MACHINE:IA64
105 !if "$(TARGET_CPU)" == "ia64"
106 LINK_TARGET_CPU = /MACHINE:IA64
108 !if "$(MONOLITHIC)" == "0"
111 !if "$(MONOLITHIC)" == "1"
114 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
117 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
120 !if "$(DEBUG_INFO)" == "0"
123 !if "$(DEBUG_INFO)" == "1"
126 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
127 __DEBUGINFO_1 = /DEBUG
129 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
132 !if "$(DEBUG_INFO)" == "0"
135 !if "$(DEBUG_INFO)" == "1"
136 __DEBUGINFO_1 = /DEBUG
138 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
139 ____DEBUGRUNTIME_2_p = /D_DEBUG
141 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
142 ____DEBUGRUNTIME_2_p =
144 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
145 ____DEBUGRUNTIME_2_p =
147 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
148 ____DEBUGRUNTIME_2_p = /D_DEBUG
150 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
151 ____DEBUGRUNTIME_2_p_1 = /d _DEBUG
153 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
154 ____DEBUGRUNTIME_2_p_1 =
156 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
157 ____DEBUGRUNTIME_2_p_1 =
159 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
160 ____DEBUGRUNTIME_2_p_1 = /d _DEBUG
162 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
165 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
168 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
171 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
174 !if "$(BUILD)" == "debug"
175 __OPTIMIZEFLAG_4 = /Od
177 !if "$(BUILD)" == "release"
178 __OPTIMIZEFLAG_4 = /O2
180 !if "$(USE_THREADS)" == "0"
183 !if "$(USE_THREADS)" == "1"
186 !if "$(RUNTIME_LIBS)" == "dynamic"
189 !if "$(RUNTIME_LIBS)" == "static"
190 __RUNTIME_LIBS_8 = $(__THREADSFLAG_7)
192 !if "$(USE_RTTI)" == "0"
195 !if "$(USE_RTTI)" == "1"
198 !if "$(USE_EXCEPTIONS)" == "0"
199 __EXCEPTIONSFLAG_10 =
201 !if "$(USE_EXCEPTIONS)" == "1"
202 __EXCEPTIONSFLAG_10 = /EHsc
204 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
205 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
207 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
208 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
210 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
211 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
213 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
214 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
216 !if "$(WXUNIV)" == "1"
217 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
219 !if "$(WXUNIV)" == "1"
220 __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
222 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
223 __DEBUG_DEFINE_p = /D__WXDEBUG__
225 !if "$(DEBUG_FLAG)" == "1"
226 __DEBUG_DEFINE_p = /D__WXDEBUG__
228 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
229 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
231 !if "$(DEBUG_FLAG)" == "1"
232 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
234 !if "$(USE_EXCEPTIONS)" == "0"
235 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
237 !if "$(USE_EXCEPTIONS)" == "0"
238 __EXCEPTIONS_DEFINE_p_1 = /d wxNO_EXCEPTIONS
240 !if "$(USE_RTTI)" == "0"
241 __RTTI_DEFINE_p = /DwxNO_RTTI
243 !if "$(USE_RTTI)" == "0"
244 __RTTI_DEFINE_p_1 = /d wxNO_RTTI
246 !if "$(USE_THREADS)" == "0"
247 __THREAD_DEFINE_p = /DwxNO_THREADS
249 !if "$(USE_THREADS)" == "0"
250 __THREAD_DEFINE_p_1 = /d wxNO_THREADS
252 !if "$(UNICODE)" == "1"
253 __UNICODE_DEFINE_p = /D_UNICODE
255 !if "$(UNICODE)" == "1"
256 __UNICODE_DEFINE_p_1 = /d _UNICODE
259 __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
262 __MSLU_DEFINE_p_1 = /d wxUSE_UNICODE_MSLU=1
264 !if "$(USE_GDIPLUS)" == "1"
265 __GFXCTX_DEFINE_p = /DwxUSE_GRAPHICS_CONTEXT=1
267 !if "$(USE_GDIPLUS)" == "1"
268 __GFXCTX_DEFINE_p_1 = /d wxUSE_GRAPHICS_CONTEXT=1
270 !if "$(SHARED)" == "1"
271 __DLLFLAG_p = /DWXUSINGDLL
273 !if "$(SHARED)" == "1"
274 __DLLFLAG_p_1 = /d WXUSINGDLL
276 !if "$(MONOLITHIC)" == "0"
278 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml.lib
280 !if "$(MONOLITHIC)" == "0"
282 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv.lib
284 !if "$(MONOLITHIC)" == "0"
286 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html.lib
288 !if "$(MONOLITHIC)" == "0"
290 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
292 !if "$(MONOLITHIC)" == "0"
294 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
296 !if "$(MONOLITHIC)" == "1"
298 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
300 !if "$(USE_GUI)" == "1"
301 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
303 !if "$(USE_GUI)" == "1"
304 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
306 !if "$(USE_GUI)" == "1"
307 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
310 __UNICOWS_LIB_p = unicows.lib
312 !if "$(USE_GDIPLUS)" == "1"
313 __GDIPLUS_LIB_p = gdiplus.lib
319 -if not exist $(OBJS) mkdir $(OBJS)
323 all: $(OBJS)\widgets.exe
326 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
327 -if exist $(OBJS)\*.res del $(OBJS)\*.res
328 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
329 -if exist $(OBJS)\widgets.exe del $(OBJS)\widgets.exe
330 -if exist $(OBJS)\widgets.ilk del $(OBJS)\widgets.ilk
331 -if exist $(OBJS)\widgets.pdb del $(OBJS)\widgets.pdb
333 $(OBJS)\widgets.exe: $(WIDGETS_OBJECTS) $(OBJS)\widgets_sample.res
334 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<<
335 $(WIDGETS_OBJECTS) $(__WXLIB_XML_p) $(__WXLIB_ADV_p) $(__WXLIB_HTML_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) 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 odbc32.lib
338 $(OBJS)\widgets_bmpcombobox.obj: .\bmpcombobox.cpp
339 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) $**
341 $(OBJS)\widgets_button.obj: .\button.cpp
342 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) $**
344 $(OBJS)\widgets_checkbox.obj: .\checkbox.cpp
345 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) $**
347 $(OBJS)\widgets_clrpicker.obj: .\clrpicker.cpp
348 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) $**
350 $(OBJS)\widgets_combobox.obj: .\combobox.cpp
351 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) $**
353 $(OBJS)\widgets_datepick.obj: .\datepick.cpp
354 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) $**
356 $(OBJS)\widgets_dirctrl.obj: .\dirctrl.cpp
357 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) $**
359 $(OBJS)\widgets_dirpicker.obj: .\dirpicker.cpp
360 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) $**
362 $(OBJS)\widgets_filepicker.obj: .\filepicker.cpp
363 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) $**
365 $(OBJS)\widgets_fontpicker.obj: .\fontpicker.cpp
366 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) $**
368 $(OBJS)\widgets_gauge.obj: .\gauge.cpp
369 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) $**
371 $(OBJS)\widgets_hyperlnk.obj: .\hyperlnk.cpp
372 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) $**
374 $(OBJS)\widgets_listbox.obj: .\listbox.cpp
375 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) $**
377 $(OBJS)\widgets_notebook.obj: .\notebook.cpp
378 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) $**
380 $(OBJS)\widgets_odcombobox.obj: .\odcombobox.cpp
381 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) $**
383 $(OBJS)\widgets_radiobox.obj: .\radiobox.cpp
384 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) $**
386 $(OBJS)\widgets_searchctrl.obj: .\searchctrl.cpp
387 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) $**
389 $(OBJS)\widgets_slider.obj: .\slider.cpp
390 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) $**
392 $(OBJS)\widgets_spinbtn.obj: .\spinbtn.cpp
393 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) $**
395 $(OBJS)\widgets_static.obj: .\static.cpp
396 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) $**
398 $(OBJS)\widgets_textctrl.obj: .\textctrl.cpp
399 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) $**
401 $(OBJS)\widgets_toggle.obj: .\toggle.cpp
402 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) $**
404 $(OBJS)\widgets_widgets.obj: .\widgets.cpp
405 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) $**
407 $(OBJS)\widgets_sample.res: .\..\sample.rc
408 rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_2_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 /i . $(__DLLFLAG_p_1) /d _WINDOWS /i .\..\..\samples /d NOPCH $**