1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.8 (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 # -------------------------------------------------------------------------
25 WX_VERSION_NODOT = $(WX_RELEASE_NODOT)5
27 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
28 LIBDIRNAME = ..\..\src\gizmos\..\..\..\lib\bcc_$(LIBTYPE_SUFFIX)$(CFG)
30 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
31 GIZMOSDLL_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
32 $(__OPTIMIZEFLAG) $(__THREADSFLAG) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
33 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
34 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
35 -I..\..\src\gizmos\..\..\..\include -I$(SETUPHDIR) \
36 -I..\..\src\gizmos\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_GIZMOS -Hu \
37 -H=$(OBJS)\wxprec_gizmosdll.csm $(CPPFLAGS) $(CXXFLAGS)
39 $(OBJS)\gizmosdll_dummy.obj \
40 $(OBJS)\gizmosdll_dynamicsash.obj \
41 $(OBJS)\gizmosdll_editlbox.obj \
42 $(OBJS)\gizmosdll_ledctrl.obj \
43 $(OBJS)\gizmosdll_multicell.obj \
44 $(OBJS)\gizmosdll_splittree.obj \
45 $(OBJS)\gizmosdll_statpict.obj \
46 $(OBJS)\gizmosdll_xh_statpict.obj
47 GIZMOSLIB_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
48 $(__OPTIMIZEFLAG) $(__THREADSFLAG) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
49 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
50 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
51 -I..\..\src\gizmos\..\..\..\include -I$(SETUPHDIR) \
52 -I..\..\src\gizmos\..\..\include -Hu -H=$(OBJS)\wxprec_gizmoslib.csm \
53 $(CPPFLAGS) $(CXXFLAGS)
55 $(OBJS)\gizmoslib_dummy.obj \
56 $(OBJS)\gizmoslib_dynamicsash.obj \
57 $(OBJS)\gizmoslib_editlbox.obj \
58 $(OBJS)\gizmoslib_ledctrl.obj \
59 $(OBJS)\gizmoslib_multicell.obj \
60 $(OBJS)\gizmoslib_splittree.obj \
61 $(OBJS)\gizmoslib_statpict.obj \
62 $(OBJS)\gizmoslib_xh_statpict.obj
64 ### Conditionally set variables: ###
66 !if "$(USE_GUI)" == "0"
69 !if "$(USE_GUI)" == "1"
72 !if "$(OFFICIAL_BUILD)" == "0"
73 VENDORTAG = _$(VENDOR)
75 !if "$(OFFICIAL_BUILD)" == "1"
78 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
81 !if "$(DEBUG_FLAG)" == "1"
84 !if "$(UNICODE)" == "1"
87 !if "$(WXUNIV)" == "1"
90 !if "$(SHARED)" == "1"
93 !if "$(SHARED)" == "0"
96 !if "$(SHARED)" == "1"
99 !if "$(MONOLITHIC)" == "0"
102 !if "$(MONOLITHIC)" == "1"
105 !if "$(SHARED)" == "1"
106 __gizmosdll___depname = \
107 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).dll
109 !if "$(USE_THREADS)" == "0"
112 !if "$(USE_THREADS)" == "1"
115 !if "$(RUNTIME_LIBS)" == "dynamic"
118 !if "$(RUNTIME_LIBS)" == "static"
121 !if "$(WXUNIV)" == "1"
122 __WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__
124 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
125 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
127 !if "$(DEBUG_FLAG)" == "1"
128 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
130 !if "$(USE_EXCEPTIONS)" == "0"
131 __EXCEPTIONS_DEFINE_p_1 = -dwxNO_EXCEPTIONS
133 !if "$(USE_RTTI)" == "0"
134 __RTTI_DEFINE_p_1 = -dwxNO_RTTI
136 !if "$(USE_THREADS)" == "0"
137 __THREAD_DEFINE_p_1 = -dwxNO_THREADS
139 !if "$(UNICODE)" == "1"
140 __UNICODE_DEFINE_p_1 = -d_UNICODE
142 !if "$(MONOLITHIC)" == "1"
144 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
146 !if "$(USE_GUI)" == "1"
147 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
149 !if "$(USE_GUI)" == "1"
150 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
152 !if "$(USE_GUI)" == "1"
153 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
156 __UNICOWS_LIB_p = unicows.lib
158 !if "$(MONOLITHIC)" == "0"
160 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
162 !if "$(MONOLITHIC)" == "0"
164 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
166 !if "$(SHARED)" == "0"
167 __gizmoslib___depname = \
168 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.lib
170 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
173 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
176 !if "$(DEBUG_INFO)" == "0"
179 !if "$(DEBUG_INFO)" == "1"
182 !if "$(BUILD)" == "debug"
185 !if "$(BUILD)" == "release"
188 !if "$(USE_THREADS)" == "0"
191 !if "$(USE_THREADS)" == "1"
194 !if "$(RUNTIME_LIBS)" == "dynamic"
195 __RUNTIME_LIBS = -tWR
197 !if "$(RUNTIME_LIBS)" == "static"
200 !if "$(WXUNIV)" == "1"
201 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
203 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
204 __DEBUG_DEFINE_p = -D__WXDEBUG__
206 !if "$(DEBUG_FLAG)" == "1"
207 __DEBUG_DEFINE_p = -D__WXDEBUG__
209 !if "$(USE_EXCEPTIONS)" == "0"
210 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
212 !if "$(USE_RTTI)" == "0"
213 __RTTI_DEFINE_p = -DwxNO_RTTI
215 !if "$(USE_THREADS)" == "0"
216 __THREAD_DEFINE_p = -DwxNO_THREADS
218 !if "$(UNICODE)" == "1"
219 __UNICODE_DEFINE_p = -D_UNICODE
225 -if not exist $(OBJS) mkdir $(OBJS)
229 all: $(__gizmosdll___depname) $(__gizmoslib___depname)
232 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
233 -if exist $(OBJS)\*.res del $(OBJS)\*.res
234 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
235 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).dll
236 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).tds del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).tds
237 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).ilc del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).ilc
238 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).ild del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).ild
239 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).ilf del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).ilf
240 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).ils del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).ils
241 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.lib
242 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.lib
244 !if "$(SHARED)" == "1"
245 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).dll: $(OBJS)\gizmosdll_dummy.obj $(GIZMOSDLL_OBJECTS) $(OBJS)\gizmosdll_version.res
246 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
247 c0d32.obj $(GIZMOSDLL_OBJECTS),$@,, $(__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) ole2w32.lib oleacc.lib odbc32.lib $(__WXLIB_BASE_p) $(__WXLIB_CORE_p) import32.lib cw32$(__THREADSFLAG_6)$(__RUNTIME_LIBS_9).lib,, $(OBJS)\gizmosdll_version.res
249 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos $@
252 !if "$(SHARED)" == "0"
253 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.lib: $(OBJS)\gizmoslib_dummy.obj $(GIZMOSLIB_OBJECTS)
255 tlib /a /p4096 $@ @&&|
260 $(OBJS)\gizmosdll_dummy.obj: ../../src/gizmos\..\..\..\src\msw\dummy.cpp
261 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) -H $**
263 $(OBJS)\gizmosdll_version.res: ../../src/gizmos\..\..\..\src\msw\version.rc
264 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) -i..\..\src\gizmos\..\..\..\include -i$(SETUPHDIR) -dWXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG) $**
266 $(OBJS)\gizmosdll_dynamicsash.obj: ../../src/gizmos\dynamicsash.cpp
267 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
269 $(OBJS)\gizmosdll_editlbox.obj: ../../src/gizmos\editlbox.cpp
270 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
272 $(OBJS)\gizmosdll_ledctrl.obj: ../../src/gizmos\ledctrl.cpp
273 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
275 $(OBJS)\gizmosdll_multicell.obj: ../../src/gizmos\multicell.cpp
276 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
278 $(OBJS)\gizmosdll_splittree.obj: ../../src/gizmos\splittree.cpp
279 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
281 $(OBJS)\gizmosdll_statpict.obj: ../../src/gizmos\statpict.cpp
282 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
284 $(OBJS)\gizmosdll_xh_statpict.obj: ../../src/gizmos\xh_statpict.cpp
285 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
287 $(OBJS)\gizmoslib_dummy.obj: ../../src/gizmos\..\..\..\src\msw\dummy.cpp
288 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) -H $**
290 $(OBJS)\gizmoslib_dynamicsash.obj: ../../src/gizmos\dynamicsash.cpp
291 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
293 $(OBJS)\gizmoslib_editlbox.obj: ../../src/gizmos\editlbox.cpp
294 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
296 $(OBJS)\gizmoslib_ledctrl.obj: ../../src/gizmos\ledctrl.cpp
297 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
299 $(OBJS)\gizmoslib_multicell.obj: ../../src/gizmos\multicell.cpp
300 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
302 $(OBJS)\gizmoslib_splittree.obj: ../../src/gizmos\splittree.cpp
303 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
305 $(OBJS)\gizmoslib_statpict.obj: ../../src/gizmos\statpict.cpp
306 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
308 $(OBJS)\gizmoslib_xh_statpict.obj: ../../src/gizmos\xh_statpict.cpp
309 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**