1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.4 (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)3
27 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
29 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
30 GIZMOSDLL_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
31 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
32 $(__UNICODE_DEFINE_p) -I..\..\src\gizmos\..\..\..\include -I$(SETUPHDIR) \
33 -I..\..\src\gizmos\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_GIZMOS -Hu \
34 -H=$(OBJS)\wxprec_gizmosdll.csm $(CPPFLAGS) $(CXXFLAGS)
36 $(OBJS)\gizmosdll_dummy.obj \
37 $(OBJS)\gizmosdll_dynamicsash.obj \
38 $(OBJS)\gizmosdll_editlbox.obj \
39 $(OBJS)\gizmosdll_ledctrl.obj \
40 $(OBJS)\gizmosdll_multicell.obj \
41 $(OBJS)\gizmosdll_splittree.obj \
42 $(OBJS)\gizmosdll_statpict.obj
43 GIZMOSLIB_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
44 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
45 $(__UNICODE_DEFINE_p) -I..\..\src\gizmos\..\..\..\include -I$(SETUPHDIR) \
46 -I..\..\src\gizmos\..\..\include -Hu -H=$(OBJS)\wxprec_gizmoslib.csm \
47 $(CPPFLAGS) $(CXXFLAGS)
49 $(OBJS)\gizmoslib_dummy.obj \
50 $(OBJS)\gizmoslib_dynamicsash.obj \
51 $(OBJS)\gizmoslib_editlbox.obj \
52 $(OBJS)\gizmoslib_ledctrl.obj \
53 $(OBJS)\gizmoslib_multicell.obj \
54 $(OBJS)\gizmoslib_splittree.obj \
55 $(OBJS)\gizmoslib_statpict.obj
57 ### Conditionally set variables: ###
59 !if "$(USE_GUI)" == "0"
62 !if "$(USE_GUI)" == "1"
65 !if "$(OFFICIAL_BUILD)" == "0"
66 VENDORTAG = _$(VENDOR)
68 !if "$(OFFICIAL_BUILD)" == "1"
71 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
74 !if "$(DEBUG_FLAG)" == "1"
77 !if "$(UNICODE)" == "1"
80 !if "$(WXUNIV)" == "1"
83 !if "$(SHARED)" == "1"
86 !if "$(MONOLITHIC)" == "0"
89 !if "$(MONOLITHIC)" == "1"
92 !if "$(SHARED)" == "1"
93 __gizmosdll___depname = \
94 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).dll
96 !if "$(RUNTIME_LIBS)" == "dynamic"
99 !if "$(RUNTIME_LIBS)" == "static"
102 !if "$(MONOLITHIC)" == "1"
104 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
106 !if "$(USE_GUI)" == "1"
107 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
109 !if "$(USE_GUI)" == "1"
110 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
112 !if "$(USE_GUI)" == "1"
113 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
116 __UNICOWS_LIB_p = unicows.lib
118 !if "$(MONOLITHIC)" == "0"
120 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
122 !if "$(MONOLITHIC)" == "0"
124 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
126 !if "$(SHARED)" == "0"
127 __gizmoslib___depname = \
128 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.lib
130 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
133 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
136 !if "$(DEBUG_INFO)" == "0"
139 !if "$(DEBUG_INFO)" == "1"
142 !if "$(BUILD)" == "debug"
145 !if "$(BUILD)" == "release"
148 !if "$(RUNTIME_LIBS)" == "dynamic"
149 __RUNTIME_LIBS = -tWR
151 !if "$(RUNTIME_LIBS)" == "static"
154 !if "$(WXUNIV)" == "1"
155 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
157 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
158 __DEBUG_DEFINE_p = -D__WXDEBUG__
160 !if "$(DEBUG_FLAG)" == "1"
161 __DEBUG_DEFINE_p = -D__WXDEBUG__
163 !if "$(UNICODE)" == "1"
164 __UNICODE_DEFINE_p = -D_UNICODE
166 !if "$(SHARED)" == "0"
167 LIBDIRNAME = ..\..\src\gizmos\..\..\..\lib\bcc_lib$(CFG)
169 !if "$(SHARED)" == "1"
170 LIBDIRNAME = ..\..\src\gizmos\..\..\..\lib\bcc_dll$(CFG)
176 -if not exist $(OBJS) mkdir $(OBJS)
180 all: $(__gizmosdll___depname) $(__gizmoslib___depname)
183 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
184 -if exist $(OBJS)\*.res del $(OBJS)\*.res
185 -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
186 -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
187 -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
188 -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
189 -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
190 -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
191 -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
192 -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
194 !if "$(SHARED)" == "1"
195 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).dll: $(OBJS)\gizmosdll_dummy.obj $(GIZMOSDLL_OBJECTS)
196 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
197 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 cw32mt$(__RUNTIME_LIBS_8).lib,,
199 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos $@
202 !if "$(SHARED)" == "0"
203 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.lib: $(OBJS)\gizmoslib_dummy.obj $(GIZMOSLIB_OBJECTS)
205 tlib /a /p4096 $@ @&&|
210 $(OBJS)\gizmosdll_dummy.obj: ../../src/gizmos\..\..\..\src\msw\dummy.cpp
211 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) -H $**
213 $(OBJS)\gizmosdll_dynamicsash.obj: ../../src/gizmos\dynamicsash.cpp
214 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
216 $(OBJS)\gizmosdll_editlbox.obj: ../../src/gizmos\editlbox.cpp
217 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
219 $(OBJS)\gizmosdll_ledctrl.obj: ../../src/gizmos\ledctrl.cpp
220 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
222 $(OBJS)\gizmosdll_multicell.obj: ../../src/gizmos\multicell.cpp
223 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
225 $(OBJS)\gizmosdll_splittree.obj: ../../src/gizmos\splittree.cpp
226 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
228 $(OBJS)\gizmosdll_statpict.obj: ../../src/gizmos\statpict.cpp
229 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
231 $(OBJS)\gizmoslib_dummy.obj: ../../src/gizmos\..\..\..\src\msw\dummy.cpp
232 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) -H $**
234 $(OBJS)\gizmoslib_dynamicsash.obj: ../../src/gizmos\dynamicsash.cpp
235 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
237 $(OBJS)\gizmoslib_editlbox.obj: ../../src/gizmos\editlbox.cpp
238 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
240 $(OBJS)\gizmoslib_ledctrl.obj: ../../src/gizmos\ledctrl.cpp
241 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
243 $(OBJS)\gizmoslib_multicell.obj: ../../src/gizmos\multicell.cpp
244 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
246 $(OBJS)\gizmoslib_splittree.obj: ../../src/gizmos\splittree.cpp
247 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
249 $(OBJS)\gizmoslib_statpict.obj: ../../src/gizmos\statpict.cpp
250 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**