1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.2.2 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
11 !error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
13 BCCDIR = $(MAKEDIR)\..
16 !include ../../build/msw/config.bcc
18 # -------------------------------------------------------------------------
19 # Do not modify the rest of this file!
20 # -------------------------------------------------------------------------
27 $(COMPILER_PREFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
28 LIBDIRNAME = .\..\..\lib\$(COMPILER_PREFIX)_$(LIBTYPE_SUFFIX)$(CFG)
30 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
31 WIDGETS_CXXFLAGS = $(__RUNTIME_LIBS_7) -I$(BCCDIR)\include $(__DEBUGINFO) \
32 $(__OPTIMIZEFLAG_2) $(__THREADSFLAG_6) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
33 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
34 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
35 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include -I. $(__DLLFLAG_p) \
36 -I.\..\..\samples -DNOPCH $(CPPFLAGS) $(CXXFLAGS)
38 $(OBJS)\widgets_bmpcombobox.obj \
39 $(OBJS)\widgets_button.obj \
40 $(OBJS)\widgets_checkbox.obj \
41 $(OBJS)\widgets_choice.obj \
42 $(OBJS)\widgets_clrpicker.obj \
43 $(OBJS)\widgets_combobox.obj \
44 $(OBJS)\widgets_datepick.obj \
45 $(OBJS)\widgets_dirctrl.obj \
46 $(OBJS)\widgets_dirpicker.obj \
47 $(OBJS)\widgets_filectrl.obj \
48 $(OBJS)\widgets_filepicker.obj \
49 $(OBJS)\widgets_fontpicker.obj \
50 $(OBJS)\widgets_gauge.obj \
51 $(OBJS)\widgets_hyperlnk.obj \
52 $(OBJS)\widgets_itemcontainer.obj \
53 $(OBJS)\widgets_listbox.obj \
54 $(OBJS)\widgets_notebook.obj \
55 $(OBJS)\widgets_odcombobox.obj \
56 $(OBJS)\widgets_radiobox.obj \
57 $(OBJS)\widgets_searchctrl.obj \
58 $(OBJS)\widgets_slider.obj \
59 $(OBJS)\widgets_spinbtn.obj \
60 $(OBJS)\widgets_static.obj \
61 $(OBJS)\widgets_textctrl.obj \
62 $(OBJS)\widgets_toggle.obj \
63 $(OBJS)\widgets_widgets.obj
65 ### Conditionally set variables: ###
67 !if "$(USE_GUI)" == "0"
70 !if "$(USE_GUI)" == "1"
73 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
76 !if "$(DEBUG_FLAG)" == "1"
79 !if "$(UNICODE)" == "1"
82 !if "$(WXUNIV)" == "1"
85 !if "$(SHARED)" == "1"
88 !if "$(SHARED)" == "0"
91 !if "$(SHARED)" == "1"
94 !if "$(MONOLITHIC)" == "0"
97 !if "$(MONOLITHIC)" == "1"
100 !if "$(BUILD)" == "debug"
101 __OPTIMIZEFLAG_2 = -Od
103 !if "$(BUILD)" == "release"
104 __OPTIMIZEFLAG_2 = -O2
106 !if "$(USE_THREADS)" == "0"
109 !if "$(USE_THREADS)" == "1"
112 !if "$(USE_THREADS)" == "0"
115 !if "$(USE_THREADS)" == "1"
116 __THREADSFLAG_6 = -tWM
118 !if "$(RUNTIME_LIBS)" == "dynamic"
119 __RUNTIME_LIBS_7 = -tWR
121 !if "$(RUNTIME_LIBS)" == "static"
124 !if "$(RUNTIME_LIBS)" == "dynamic"
127 !if "$(RUNTIME_LIBS)" == "static"
130 !if "$(WXUNIV)" == "1"
131 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
133 !if "$(WXUNIV)" == "1"
134 __WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__
136 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
137 __DEBUG_DEFINE_p = -D__WXDEBUG__
139 !if "$(DEBUG_FLAG)" == "1"
140 __DEBUG_DEFINE_p = -D__WXDEBUG__
142 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
143 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
145 !if "$(DEBUG_FLAG)" == "1"
146 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
148 !if "$(USE_EXCEPTIONS)" == "0"
149 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
151 !if "$(USE_EXCEPTIONS)" == "0"
152 __EXCEPTIONS_DEFINE_p_1 = -dwxNO_EXCEPTIONS
154 !if "$(USE_RTTI)" == "0"
155 __RTTI_DEFINE_p = -DwxNO_RTTI
157 !if "$(USE_RTTI)" == "0"
158 __RTTI_DEFINE_p_1 = -dwxNO_RTTI
160 !if "$(USE_THREADS)" == "0"
161 __THREAD_DEFINE_p = -DwxNO_THREADS
163 !if "$(USE_THREADS)" == "0"
164 __THREAD_DEFINE_p_1 = -dwxNO_THREADS
166 !if "$(UNICODE)" == "1"
167 __UNICODE_DEFINE_p = -D_UNICODE
169 !if "$(UNICODE)" == "1"
170 __UNICODE_DEFINE_p_1 = -d_UNICODE
173 __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
176 __MSLU_DEFINE_p_1 = -dwxUSE_UNICODE_MSLU=1
178 !if "$(USE_GDIPLUS)" == "1"
179 __GFXCTX_DEFINE_p = -DwxUSE_GRAPHICS_CONTEXT=1
181 !if "$(USE_GDIPLUS)" == "1"
182 __GFXCTX_DEFINE_p_1 = -dwxUSE_GRAPHICS_CONTEXT=1
184 !if "$(SHARED)" == "1"
185 __DLLFLAG_p = -DWXUSINGDLL
187 !if "$(SHARED)" == "1"
188 __DLLFLAG_p_1 = -dWXUSINGDLL
190 !if "$(MONOLITHIC)" == "0"
192 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml.lib
194 !if "$(MONOLITHIC)" == "0"
196 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv.lib
198 !if "$(MONOLITHIC)" == "0"
200 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html.lib
202 !if "$(MONOLITHIC)" == "0"
204 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
206 !if "$(MONOLITHIC)" == "0"
208 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
210 !if "$(MONOLITHIC)" == "1"
212 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
214 !if "$(USE_GUI)" == "1"
215 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
217 !if "$(USE_GUI)" == "1"
218 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
220 !if "$(USE_GUI)" == "1"
221 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
224 __UNICOWS_LIB_p = unicows.lib
226 !if "$(USE_GDIPLUS)" == "1"
227 __GDIPLUS_LIB_p = gdiplus.lib
229 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
232 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
235 !if "$(DEBUG_INFO)" == "0"
238 !if "$(DEBUG_INFO)" == "1"
245 -if not exist $(OBJS) mkdir $(OBJS)
249 all: $(OBJS)\widgets.exe
252 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
253 -if exist $(OBJS)\*.res del $(OBJS)\*.res
254 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
255 -if exist $(OBJS)\widgets.exe del $(OBJS)\widgets.exe
256 -if exist $(OBJS)\widgets.tds del $(OBJS)\widgets.tds
257 -if exist $(OBJS)\widgets.ilc del $(OBJS)\widgets.ilc
258 -if exist $(OBJS)\widgets.ild del $(OBJS)\widgets.ild
259 -if exist $(OBJS)\widgets.ilf del $(OBJS)\widgets.ilf
260 -if exist $(OBJS)\widgets.ils del $(OBJS)\widgets.ils
262 $(OBJS)\widgets.exe: $(WIDGETS_OBJECTS) $(OBJS)\widgets_sample.res
263 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
264 c0w32.obj $(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) ole2w32.lib oleacc.lib odbc32.lib import32.lib cw32$(__THREADSFLAG_5)$(__RUNTIME_LIBS_8).lib,, $(OBJS)\widgets_sample.res
267 $(OBJS)\widgets_bmpcombobox.obj: .\bmpcombobox.cpp
268 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
270 $(OBJS)\widgets_button.obj: .\button.cpp
271 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
273 $(OBJS)\widgets_checkbox.obj: .\checkbox.cpp
274 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
276 $(OBJS)\widgets_choice.obj: .\choice.cpp
277 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
279 $(OBJS)\widgets_clrpicker.obj: .\clrpicker.cpp
280 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
282 $(OBJS)\widgets_combobox.obj: .\combobox.cpp
283 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
285 $(OBJS)\widgets_datepick.obj: .\datepick.cpp
286 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
288 $(OBJS)\widgets_dirctrl.obj: .\dirctrl.cpp
289 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
291 $(OBJS)\widgets_dirpicker.obj: .\dirpicker.cpp
292 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
294 $(OBJS)\widgets_filectrl.obj: .\filectrl.cpp
295 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
297 $(OBJS)\widgets_filepicker.obj: .\filepicker.cpp
298 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
300 $(OBJS)\widgets_fontpicker.obj: .\fontpicker.cpp
301 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
303 $(OBJS)\widgets_gauge.obj: .\gauge.cpp
304 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
306 $(OBJS)\widgets_hyperlnk.obj: .\hyperlnk.cpp
307 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
309 $(OBJS)\widgets_itemcontainer.obj: .\itemcontainer.cpp
310 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
312 $(OBJS)\widgets_listbox.obj: .\listbox.cpp
313 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
315 $(OBJS)\widgets_notebook.obj: .\notebook.cpp
316 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
318 $(OBJS)\widgets_odcombobox.obj: .\odcombobox.cpp
319 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
321 $(OBJS)\widgets_radiobox.obj: .\radiobox.cpp
322 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
324 $(OBJS)\widgets_searchctrl.obj: .\searchctrl.cpp
325 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
327 $(OBJS)\widgets_slider.obj: .\slider.cpp
328 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
330 $(OBJS)\widgets_spinbtn.obj: .\spinbtn.cpp
331 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
333 $(OBJS)\widgets_static.obj: .\static.cpp
334 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
336 $(OBJS)\widgets_textctrl.obj: .\textctrl.cpp
337 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
339 $(OBJS)\widgets_toggle.obj: .\toggle.cpp
340 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
342 $(OBJS)\widgets_widgets.obj: .\widgets.cpp
343 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
345 $(OBJS)\widgets_sample.res: .\..\sample.rc
346 brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -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) -i.\..\..\samples -dNOPCH $**