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 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
27 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
28 GIZMOSDLL_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
29 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
30 $(__UNICODE_DEFINE_p) -I..\..\src\gizmos\..\..\..\include -I$(SETUPHDIR) \
31 -I..\..\src\gizmos\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_GIZMOS -Hu \
32 -H=$(OBJS)\wxprec_gizmosdll.csm $(CPPFLAGS) $(CXXFLAGS)
34 $(OBJS)\gizmosdll_dummy.obj \
35 $(OBJS)\gizmosdll_dynamicsash.obj \
36 $(OBJS)\gizmosdll_editlbox.obj \
37 $(OBJS)\gizmosdll_ledctrl.obj \
38 $(OBJS)\gizmosdll_multicell.obj \
39 $(OBJS)\gizmosdll_splittree.obj \
40 $(OBJS)\gizmosdll_statpict.obj \
41 $(OBJS)\gizmosdll_treelistctrl.obj
42 GIZMOSLIB_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
43 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
44 $(__UNICODE_DEFINE_p) -I..\..\src\gizmos\..\..\..\include -I$(SETUPHDIR) \
45 -I..\..\src\gizmos\..\..\include -Hu -H=$(OBJS)\wxprec_gizmoslib.csm \
46 $(CPPFLAGS) $(CXXFLAGS)
48 $(OBJS)\gizmoslib_dummy.obj \
49 $(OBJS)\gizmoslib_dynamicsash.obj \
50 $(OBJS)\gizmoslib_editlbox.obj \
51 $(OBJS)\gizmoslib_ledctrl.obj \
52 $(OBJS)\gizmoslib_multicell.obj \
53 $(OBJS)\gizmoslib_splittree.obj \
54 $(OBJS)\gizmoslib_statpict.obj \
55 $(OBJS)\gizmoslib_treelistctrl.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 "$(SHARED)" == "1"
87 __gizmosdll___depname = \
88 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_bcc$(VENDORTAG).dll
90 !if "$(RUNTIME_LIBS)" == "dynamic"
93 !if "$(RUNTIME_LIBS)" == "static"
96 !if "$(MONOLITHIC)" == "1"
98 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
100 !if "$(USE_GUI)" == "1"
101 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
103 !if "$(USE_GUI)" == "1"
104 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
106 !if "$(USE_GUI)" == "1"
107 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
110 __UNICOWS_LIB_p = unicows.lib
112 !if "$(MONOLITHIC)" == "0"
113 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
115 !if "$(MONOLITHIC)" == "0"
117 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
119 !if "$(SHARED)" == "0"
120 __gizmoslib___depname = \
121 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib
123 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
126 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
129 !if "$(DEBUG_INFO)" == "0"
132 !if "$(DEBUG_INFO)" == "1"
135 !if "$(BUILD)" == "debug"
138 !if "$(BUILD)" == "release"
141 !if "$(RUNTIME_LIBS)" == "dynamic"
142 __RUNTIME_LIBS = -tWR
144 !if "$(RUNTIME_LIBS)" == "static"
147 !if "$(WXUNIV)" == "1"
148 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
150 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
151 __DEBUG_DEFINE_p = -D__WXDEBUG__
153 !if "$(DEBUG_FLAG)" == "1"
154 __DEBUG_DEFINE_p = -D__WXDEBUG__
156 !if "$(UNICODE)" == "1"
157 __UNICODE_DEFINE_p = -D_UNICODE
159 !if "$(SHARED)" == "0"
160 LIBDIRNAME = ..\..\src\gizmos\..\..\..\lib\bcc_lib$(CFG)
162 !if "$(SHARED)" == "1"
163 LIBDIRNAME = ..\..\src\gizmos\..\..\..\lib\bcc_dll$(CFG)
169 -if not exist $(OBJS) mkdir $(OBJS)
173 all: $(__gizmosdll___depname) $(__gizmoslib___depname)
176 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
177 -if exist $(OBJS)\*.res del $(OBJS)\*.res
178 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_bcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_bcc$(VENDORTAG).dll
179 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_bcc$(VENDORTAG).tds del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_bcc$(VENDORTAG).tds
180 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_bcc$(VENDORTAG).ilc del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_bcc$(VENDORTAG).ilc
181 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_bcc$(VENDORTAG).ild del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_bcc$(VENDORTAG).ild
182 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_bcc$(VENDORTAG).ilf del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_bcc$(VENDORTAG).ilf
183 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_bcc$(VENDORTAG).ils del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_bcc$(VENDORTAG).ils
184 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib
185 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib
187 !if "$(SHARED)" == "1"
188 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_bcc$(VENDORTAG).dll: $(OBJS)\gizmosdll_dummy.obj $(GIZMOSDLL_OBJECTS)
189 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
190 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 $(__UNICOWS_LIB_p) ole2w32.lib oleacc.lib odbc32.lib $(__WXLIB_BASE_p) $(__WXLIB_CORE_p) import32.lib cw32mt$(__RUNTIME_LIBS_8).lib,,
192 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos $@
195 !if "$(SHARED)" == "0"
196 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib: $(OBJS)\gizmoslib_dummy.obj $(GIZMOSLIB_OBJECTS)
198 tlib /a /p4096 $@ @&&|
203 $(OBJS)\gizmosdll_dummy.obj: ../../src/gizmos\..\..\..\src\msw\dummy.cpp
204 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) -H $**
206 $(OBJS)\gizmosdll_dynamicsash.obj: ../../src/gizmos\dynamicsash.cpp
207 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
209 $(OBJS)\gizmosdll_editlbox.obj: ../../src/gizmos\editlbox.cpp
210 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
212 $(OBJS)\gizmosdll_ledctrl.obj: ../../src/gizmos\ledctrl.cpp
213 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
215 $(OBJS)\gizmosdll_multicell.obj: ../../src/gizmos\multicell.cpp
216 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
218 $(OBJS)\gizmosdll_splittree.obj: ../../src/gizmos\splittree.cpp
219 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
221 $(OBJS)\gizmosdll_statpict.obj: ../../src/gizmos\statpict.cpp
222 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
224 $(OBJS)\gizmosdll_treelistctrl.obj: ../../src/gizmos\treelistctrl.cpp
225 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
227 $(OBJS)\gizmoslib_dummy.obj: ../../src/gizmos\..\..\..\src\msw\dummy.cpp
228 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) -H $**
230 $(OBJS)\gizmoslib_dynamicsash.obj: ../../src/gizmos\dynamicsash.cpp
231 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
233 $(OBJS)\gizmoslib_editlbox.obj: ../../src/gizmos\editlbox.cpp
234 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
236 $(OBJS)\gizmoslib_ledctrl.obj: ../../src/gizmos\ledctrl.cpp
237 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
239 $(OBJS)\gizmoslib_multicell.obj: ../../src/gizmos\multicell.cpp
240 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
242 $(OBJS)\gizmoslib_splittree.obj: ../../src/gizmos\splittree.cpp
243 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
245 $(OBJS)\gizmoslib_statpict.obj: ../../src/gizmos\statpict.cpp
246 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
248 $(OBJS)\gizmoslib_treelistctrl.obj: ../../src/gizmos\treelistctrl.cpp
249 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**