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 # =========================================================================
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) -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_timepick.obj \
66 $(OBJS)\widgets_toggle.obj \
67 $(OBJS)\widgets_widgets.obj
69 ### Conditionally set variables: ###
71 !if "$(USE_GUI)" == "0"
74 !if "$(USE_GUI)" == "1"
77 !if "$(BUILD)" == "debug"
80 !if "$(UNICODE)" == "1"
83 !if "$(WXUNIV)" == "1"
86 !if "$(SHARED)" == "1"
89 !if "$(SHARED)" == "0"
92 !if "$(SHARED)" == "1"
95 !if "$(MONOLITHIC)" == "0"
98 !if "$(MONOLITHIC)" == "1"
101 !if "$(BUILD)" == "debug"
102 __OPTIMIZEFLAG_2 = -Od
104 !if "$(BUILD)" == "release"
105 __OPTIMIZEFLAG_2 = -O2
107 !if "$(USE_THREADS)" == "0"
110 !if "$(USE_THREADS)" == "1"
113 !if "$(USE_THREADS)" == "0"
116 !if "$(USE_THREADS)" == "1"
117 __THREADSFLAG_6 = -tWM
119 !if "$(RUNTIME_LIBS)" == "dynamic"
120 __RUNTIME_LIBS_7 = -tWR
122 !if "$(RUNTIME_LIBS)" == "static"
125 !if "$(RUNTIME_LIBS)" == "dynamic"
128 !if "$(RUNTIME_LIBS)" == "static"
131 !if "$(WXUNIV)" == "1"
132 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
134 !if "$(WXUNIV)" == "1"
135 __WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__
137 !if "$(DEBUG_FLAG)" == "0"
138 __DEBUG_DEFINE_p = -DwxDEBUG_LEVEL=0
140 !if "$(DEBUG_FLAG)" == "0"
141 __DEBUG_DEFINE_p_1 = -dwxDEBUG_LEVEL=0
143 !if "$(BUILD)" == "release"
144 __NDEBUG_DEFINE_p = -DNDEBUG
146 !if "$(BUILD)" == "release"
147 __NDEBUG_DEFINE_p_1 = -dNDEBUG
149 !if "$(USE_EXCEPTIONS)" == "0"
150 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
152 !if "$(USE_EXCEPTIONS)" == "0"
153 __EXCEPTIONS_DEFINE_p_1 = -dwxNO_EXCEPTIONS
155 !if "$(USE_RTTI)" == "0"
156 __RTTI_DEFINE_p = -DwxNO_RTTI
158 !if "$(USE_RTTI)" == "0"
159 __RTTI_DEFINE_p_1 = -dwxNO_RTTI
161 !if "$(USE_THREADS)" == "0"
162 __THREAD_DEFINE_p = -DwxNO_THREADS
164 !if "$(USE_THREADS)" == "0"
165 __THREAD_DEFINE_p_1 = -dwxNO_THREADS
167 !if "$(UNICODE)" == "0"
168 __UNICODE_DEFINE_p = -DwxUSE_UNICODE=0
170 !if "$(UNICODE)" == "1"
171 __UNICODE_DEFINE_p = -D_UNICODE
173 !if "$(UNICODE)" == "0"
174 __UNICODE_DEFINE_p_1 = -dwxUSE_UNICODE=0
176 !if "$(UNICODE)" == "1"
177 __UNICODE_DEFINE_p_1 = -d_UNICODE
180 __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
183 __MSLU_DEFINE_p_1 = -dwxUSE_UNICODE_MSLU=1
185 !if "$(USE_CAIRO)" == "1"
186 ____CAIRO_INCLUDEDIR_FILENAMES_p = -I$(CAIRO_ROOT)\include\cairo
188 !if "$(USE_CAIRO)" == "1"
189 ____CAIRO_INCLUDEDIR_FILENAMES_1_p = -i$(CAIRO_ROOT)\include\cairo
191 !if "$(SHARED)" == "1"
192 __DLLFLAG_p = -DWXUSINGDLL
194 !if "$(SHARED)" == "1"
195 __DLLFLAG_p_1 = -dWXUSINGDLL
197 !if "$(MONOLITHIC)" == "0"
199 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv.lib
201 !if "$(MONOLITHIC)" == "0"
203 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
205 !if "$(MONOLITHIC)" == "0"
207 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
209 !if "$(MONOLITHIC)" == "1"
211 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
213 !if "$(USE_GUI)" == "1"
214 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
216 !if "$(USE_GUI)" == "1"
217 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
219 !if "$(USE_GUI)" == "1"
220 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
223 __UNICOWS_LIB_p = unicows.lib
225 !if "$(USE_CAIRO)" == "1"
226 __CAIRO_LIB_p = cairo.lib
228 !if "$(USE_CAIRO)" == "1"
229 ____CAIRO_LIBDIR_FILENAMES_p = -L$(CAIRO_ROOT)\lib
231 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
234 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
237 !if "$(DEBUG_INFO)" == "0"
240 !if "$(DEBUG_INFO)" == "1"
247 -if not exist $(OBJS) mkdir $(OBJS)
251 all: $(OBJS)\widgets.exe
254 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
255 -if exist $(OBJS)\*.res del $(OBJS)\*.res
256 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
257 -if exist $(OBJS)\widgets.exe del $(OBJS)\widgets.exe
258 -if exist $(OBJS)\widgets.tds del $(OBJS)\widgets.tds
259 -if exist $(OBJS)\widgets.ilc del $(OBJS)\widgets.ilc
260 -if exist $(OBJS)\widgets.ild del $(OBJS)\widgets.ild
261 -if exist $(OBJS)\widgets.ilf del $(OBJS)\widgets.ilf
262 -if exist $(OBJS)\widgets.ils del $(OBJS)\widgets.ils
264 $(OBJS)\widgets.exe: $(WIDGETS_OBJECTS) $(OBJS)\widgets_sample.res
265 ilink32 -Tpe -q -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa $(____CAIRO_LIBDIR_FILENAMES_p) $(LDFLAGS) @&&|
266 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) $(__CAIRO_LIB_p) ole2w32.lib oleacc.lib import32.lib cw32$(__THREADSFLAG_5)$(__RUNTIME_LIBS_8).lib,, $(OBJS)\widgets_sample.res
269 $(OBJS)\widgets_bmpcombobox.obj: .\bmpcombobox.cpp
270 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\bmpcombobox.cpp
272 $(OBJS)\widgets_button.obj: .\button.cpp
273 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\button.cpp
275 $(OBJS)\widgets_checkbox.obj: .\checkbox.cpp
276 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\checkbox.cpp
278 $(OBJS)\widgets_choice.obj: .\choice.cpp
279 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\choice.cpp
281 $(OBJS)\widgets_clrpicker.obj: .\clrpicker.cpp
282 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\clrpicker.cpp
284 $(OBJS)\widgets_combobox.obj: .\combobox.cpp
285 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\combobox.cpp
287 $(OBJS)\widgets_datepick.obj: .\datepick.cpp
288 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\datepick.cpp
290 $(OBJS)\widgets_dirctrl.obj: .\dirctrl.cpp
291 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\dirctrl.cpp
293 $(OBJS)\widgets_dirpicker.obj: .\dirpicker.cpp
294 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\dirpicker.cpp
296 $(OBJS)\widgets_editlbox.obj: .\editlbox.cpp
297 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\editlbox.cpp
299 $(OBJS)\widgets_filectrl.obj: .\filectrl.cpp
300 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\filectrl.cpp
302 $(OBJS)\widgets_filepicker.obj: .\filepicker.cpp
303 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\filepicker.cpp
305 $(OBJS)\widgets_fontpicker.obj: .\fontpicker.cpp
306 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\fontpicker.cpp
308 $(OBJS)\widgets_gauge.obj: .\gauge.cpp
309 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\gauge.cpp
311 $(OBJS)\widgets_hyperlnk.obj: .\hyperlnk.cpp
312 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\hyperlnk.cpp
314 $(OBJS)\widgets_itemcontainer.obj: .\itemcontainer.cpp
315 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\itemcontainer.cpp
317 $(OBJS)\widgets_listbox.obj: .\listbox.cpp
318 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\listbox.cpp
320 $(OBJS)\widgets_notebook.obj: .\notebook.cpp
321 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\notebook.cpp
323 $(OBJS)\widgets_odcombobox.obj: .\odcombobox.cpp
324 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\odcombobox.cpp
326 $(OBJS)\widgets_radiobox.obj: .\radiobox.cpp
327 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\radiobox.cpp
329 $(OBJS)\widgets_searchctrl.obj: .\searchctrl.cpp
330 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\searchctrl.cpp
332 $(OBJS)\widgets_slider.obj: .\slider.cpp
333 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\slider.cpp
335 $(OBJS)\widgets_spinbtn.obj: .\spinbtn.cpp
336 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\spinbtn.cpp
338 $(OBJS)\widgets_static.obj: .\static.cpp
339 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\static.cpp
341 $(OBJS)\widgets_statbmp.obj: .\statbmp.cpp
342 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\statbmp.cpp
344 $(OBJS)\widgets_textctrl.obj: .\textctrl.cpp
345 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\textctrl.cpp
347 $(OBJS)\widgets_timepick.obj: .\timepick.cpp
348 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\timepick.cpp
350 $(OBJS)\widgets_toggle.obj: .\toggle.cpp
351 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\toggle.cpp
353 $(OBJS)\widgets_widgets.obj: .\widgets.cpp
354 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\widgets.cpp
356 $(OBJS)\widgets_sample.res: .\..\sample.rc
357 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) -i$(SETUPHDIR) -i.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_1_p) -i. $(__DLLFLAG_p_1) -i.\..\..\samples -dNOPCH .\..\sample.rc