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 # =========================================================================
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) $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \
34 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
35 $(__MSLU_DEFINE_p) $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include \
36 $(____CAIRO_INCLUDEDIR_FILENAMES_p) -I. $(__DLLFLAG_p) -I.\..\..\samples \
37 -DNOPCH $(CPPFLAGS) $(CXXFLAGS)
39 $(OBJS)\widgets_bmpcombobox.obj \
40 $(OBJS)\widgets_button.obj \
41 $(OBJS)\widgets_checkbox.obj \
42 $(OBJS)\widgets_choice.obj \
43 $(OBJS)\widgets_clrpicker.obj \
44 $(OBJS)\widgets_combobox.obj \
45 $(OBJS)\widgets_datepick.obj \
46 $(OBJS)\widgets_dirctrl.obj \
47 $(OBJS)\widgets_dirpicker.obj \
48 $(OBJS)\widgets_editlbox.obj \
49 $(OBJS)\widgets_filectrl.obj \
50 $(OBJS)\widgets_filepicker.obj \
51 $(OBJS)\widgets_fontpicker.obj \
52 $(OBJS)\widgets_gauge.obj \
53 $(OBJS)\widgets_hyperlnk.obj \
54 $(OBJS)\widgets_itemcontainer.obj \
55 $(OBJS)\widgets_listbox.obj \
56 $(OBJS)\widgets_notebook.obj \
57 $(OBJS)\widgets_odcombobox.obj \
58 $(OBJS)\widgets_radiobox.obj \
59 $(OBJS)\widgets_searchctrl.obj \
60 $(OBJS)\widgets_slider.obj \
61 $(OBJS)\widgets_spinbtn.obj \
62 $(OBJS)\widgets_static.obj \
63 $(OBJS)\widgets_statbmp.obj \
64 $(OBJS)\widgets_textctrl.obj \
65 $(OBJS)\widgets_toggle.obj \
66 $(OBJS)\widgets_widgets.obj
68 ### Conditionally set variables: ###
70 !if "$(USE_GUI)" == "0"
73 !if "$(USE_GUI)" == "1"
76 !if "$(BUILD)" == "debug"
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 "$(DEBUG_FLAG)" == "0"
137 __DEBUG_DEFINE_p = -DwxDEBUG_LEVEL=0
139 !if "$(DEBUG_FLAG)" == "0"
140 __DEBUG_DEFINE_p_1 = -dwxDEBUG_LEVEL=0
142 !if "$(BUILD)" == "release"
143 __NDEBUG_DEFINE_p = -DNDEBUG
145 !if "$(BUILD)" == "release"
146 __NDEBUG_DEFINE_p_1 = -dNDEBUG
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)" == "0"
167 __UNICODE_DEFINE_p = -DwxUSE_UNICODE=0
169 !if "$(UNICODE)" == "1"
170 __UNICODE_DEFINE_p = -D_UNICODE
172 !if "$(UNICODE)" == "0"
173 __UNICODE_DEFINE_p_1 = -dwxUSE_UNICODE=0
175 !if "$(UNICODE)" == "1"
176 __UNICODE_DEFINE_p_1 = -d_UNICODE
179 __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
182 __MSLU_DEFINE_p_1 = -dwxUSE_UNICODE_MSLU=1
184 !if "$(USE_GDIPLUS)" == "1"
185 __GFXCTX_DEFINE_p = -DwxUSE_GRAPHICS_CONTEXT=1
187 !if "$(USE_GDIPLUS)" == "1"
188 __GFXCTX_DEFINE_p_1 = -dwxUSE_GRAPHICS_CONTEXT=1
190 !if "$(USE_CAIRO)" == "1"
191 ____CAIRO_INCLUDEDIR_FILENAMES_p = -I$(CAIRO_ROOT)\include\cairo
193 !if "$(USE_CAIRO)" == "1"
194 ____CAIRO_INCLUDEDIR_FILENAMES_1_p = -i$(CAIRO_ROOT)\include\cairo
196 !if "$(SHARED)" == "1"
197 __DLLFLAG_p = -DWXUSINGDLL
199 !if "$(SHARED)" == "1"
200 __DLLFLAG_p_1 = -dWXUSINGDLL
202 !if "$(MONOLITHIC)" == "0"
204 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv.lib
206 !if "$(MONOLITHIC)" == "0"
208 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
210 !if "$(MONOLITHIC)" == "0"
212 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
214 !if "$(MONOLITHIC)" == "1"
216 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
218 !if "$(USE_GUI)" == "1"
219 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
221 !if "$(USE_GUI)" == "1"
222 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
224 !if "$(USE_GUI)" == "1"
225 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
228 __UNICOWS_LIB_p = unicows.lib
230 !if "$(USE_GDIPLUS)" == "1"
231 __GDIPLUS_LIB_p = gdiplus.lib
233 !if "$(USE_CAIRO)" == "1"
234 __CAIRO_LIB_p = cairo.lib
236 !if "$(USE_CAIRO)" == "1"
237 ____CAIRO_LIBDIR_FILENAMES_p = -L$(CAIRO_ROOT)\lib
239 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
242 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
245 !if "$(DEBUG_INFO)" == "0"
248 !if "$(DEBUG_INFO)" == "1"
255 -if not exist $(OBJS) mkdir $(OBJS)
259 all: $(OBJS)\widgets.exe
262 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
263 -if exist $(OBJS)\*.res del $(OBJS)\*.res
264 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
265 -if exist $(OBJS)\widgets.exe del $(OBJS)\widgets.exe
266 -if exist $(OBJS)\widgets.tds del $(OBJS)\widgets.tds
267 -if exist $(OBJS)\widgets.ilc del $(OBJS)\widgets.ilc
268 -if exist $(OBJS)\widgets.ild del $(OBJS)\widgets.ild
269 -if exist $(OBJS)\widgets.ilf del $(OBJS)\widgets.ilf
270 -if exist $(OBJS)\widgets.ils del $(OBJS)\widgets.ils
272 $(OBJS)\widgets.exe: $(WIDGETS_OBJECTS) $(OBJS)\widgets_sample.res
273 ilink32 -Tpe -q -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa $(____CAIRO_LIBDIR_FILENAMES_p) $(LDFLAGS) @&&|
274 c0w32.obj $(WIDGETS_OBJECTS),$@,, $(__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) ole2w32.lib oleacc.lib import32.lib cw32$(__THREADSFLAG_5)$(__RUNTIME_LIBS_8).lib,, $(OBJS)\widgets_sample.res
277 $(OBJS)\widgets_bmpcombobox.obj: .\bmpcombobox.cpp
278 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\bmpcombobox.cpp
280 $(OBJS)\widgets_button.obj: .\button.cpp
281 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\button.cpp
283 $(OBJS)\widgets_checkbox.obj: .\checkbox.cpp
284 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\checkbox.cpp
286 $(OBJS)\widgets_choice.obj: .\choice.cpp
287 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\choice.cpp
289 $(OBJS)\widgets_clrpicker.obj: .\clrpicker.cpp
290 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\clrpicker.cpp
292 $(OBJS)\widgets_combobox.obj: .\combobox.cpp
293 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\combobox.cpp
295 $(OBJS)\widgets_datepick.obj: .\datepick.cpp
296 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\datepick.cpp
298 $(OBJS)\widgets_dirctrl.obj: .\dirctrl.cpp
299 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\dirctrl.cpp
301 $(OBJS)\widgets_dirpicker.obj: .\dirpicker.cpp
302 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\dirpicker.cpp
304 $(OBJS)\widgets_editlbox.obj: .\editlbox.cpp
305 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\editlbox.cpp
307 $(OBJS)\widgets_filectrl.obj: .\filectrl.cpp
308 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\filectrl.cpp
310 $(OBJS)\widgets_filepicker.obj: .\filepicker.cpp
311 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\filepicker.cpp
313 $(OBJS)\widgets_fontpicker.obj: .\fontpicker.cpp
314 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\fontpicker.cpp
316 $(OBJS)\widgets_gauge.obj: .\gauge.cpp
317 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\gauge.cpp
319 $(OBJS)\widgets_hyperlnk.obj: .\hyperlnk.cpp
320 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\hyperlnk.cpp
322 $(OBJS)\widgets_itemcontainer.obj: .\itemcontainer.cpp
323 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\itemcontainer.cpp
325 $(OBJS)\widgets_listbox.obj: .\listbox.cpp
326 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\listbox.cpp
328 $(OBJS)\widgets_notebook.obj: .\notebook.cpp
329 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\notebook.cpp
331 $(OBJS)\widgets_odcombobox.obj: .\odcombobox.cpp
332 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\odcombobox.cpp
334 $(OBJS)\widgets_radiobox.obj: .\radiobox.cpp
335 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\radiobox.cpp
337 $(OBJS)\widgets_searchctrl.obj: .\searchctrl.cpp
338 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\searchctrl.cpp
340 $(OBJS)\widgets_slider.obj: .\slider.cpp
341 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\slider.cpp
343 $(OBJS)\widgets_spinbtn.obj: .\spinbtn.cpp
344 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\spinbtn.cpp
346 $(OBJS)\widgets_static.obj: .\static.cpp
347 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\static.cpp
349 $(OBJS)\widgets_statbmp.obj: .\statbmp.cpp
350 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\statbmp.cpp
352 $(OBJS)\widgets_textctrl.obj: .\textctrl.cpp
353 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\textctrl.cpp
355 $(OBJS)\widgets_toggle.obj: .\toggle.cpp
356 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\toggle.cpp
358 $(OBJS)\widgets_widgets.obj: .\widgets.cpp
359 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\widgets.cpp
361 $(OBJS)\widgets_sample.res: .\..\sample.rc
362 brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -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) $(__GFXCTX_DEFINE_p_1) -i$(SETUPHDIR) -i.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_1_p) -i. $(__DLLFLAG_p_1) -i.\..\..\samples -dNOPCH .\..\sample.rc