1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.1 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
11 !include ../../../build/config.bcc
13 # -------------------------------------------------------------------------
14 # Do not modify the rest of this file!
15 # -------------------------------------------------------------------------
17 !if "$(BCCDIR)" == "\.."
18 !error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
23 GIZMOSDLL_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS) $(__DEBUGINFO) \
24 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
25 $(__UNICODE_DEFINE_p) -I..\..\src\gizmos\..\..\..\include -I$(LIBDIRNAME) \
26 -I..\..\src\gizmos\..\..\..\src\tiff -I..\..\src\gizmos\..\..\..\src\jpeg \
27 -I..\..\src\gizmos\..\..\..\src\png -I..\..\src\gizmos\..\..\..\src\zlib \
28 -I..\..\src\gizmos\..\..\..\src\regex \
29 -I..\..\src\gizmos\..\..\..\src\expat\lib \
30 -I..\..\src\gizmos\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_GIZMOS \
31 $(CXXFLAGS) -Hu -H=$(OBJS)\wxprec_gizmosdll.csm
33 $(OBJS)\gizmosdll_dummy.obj \
34 $(OBJS)\gizmosdll_dynamicsash.obj \
35 $(OBJS)\gizmosdll_editlbox.obj \
36 $(OBJS)\gizmosdll_ledctrl.obj \
37 $(OBJS)\gizmosdll_multicell.obj \
38 $(OBJS)\gizmosdll_splittree.obj \
39 $(OBJS)\gizmosdll_statpict.obj
40 GIZMOSLIB_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS) $(__DEBUGINFO) \
41 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
42 $(__UNICODE_DEFINE_p) -I..\..\src\gizmos\..\..\..\include -I$(LIBDIRNAME) \
43 -I..\..\src\gizmos\..\..\..\src\tiff -I..\..\src\gizmos\..\..\..\src\jpeg \
44 -I..\..\src\gizmos\..\..\..\src\png -I..\..\src\gizmos\..\..\..\src\zlib \
45 -I..\..\src\gizmos\..\..\..\src\regex \
46 -I..\..\src\gizmos\..\..\..\src\expat\lib \
47 -I..\..\src\gizmos\..\..\include $(CXXFLAGS) -Hu \
48 -H=$(OBJS)\wxprec_gizmoslib.csm
50 $(OBJS)\gizmoslib_dummy.obj \
51 $(OBJS)\gizmoslib_dynamicsash.obj \
52 $(OBJS)\gizmoslib_editlbox.obj \
53 $(OBJS)\gizmoslib_ledctrl.obj \
54 $(OBJS)\gizmoslib_multicell.obj \
55 $(OBJS)\gizmoslib_splittree.obj \
56 $(OBJS)\gizmoslib_statpict.obj
58 ..\..\src\gizmos\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
60 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
62 ### Conditionally set variables: ###
64 !if "$(USE_GUI)" == "0"
67 !if "$(USE_GUI)" == "1"
70 !if "$(OFFICIAL_BUILD)" == "0"
71 VENDORTAG = _$(VENDOR)
73 !if "$(OFFICIAL_BUILD)" == "1"
76 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
79 !if "$(DEBUG_FLAG)" == "1"
82 !if "$(SHARED)" == "1"
85 !if "$(UNICODE)" == "1"
88 !if "$(WXUNIV)" == "1"
91 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
94 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
97 !if "$(DEBUG_INFO)" == "0"
100 !if "$(DEBUG_INFO)" == "1"
103 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
104 __DEBUG_DEFINE_p = -D__WXDEBUG__
106 !if "$(DEBUG_FLAG)" == "1"
107 __DEBUG_DEFINE_p = -D__WXDEBUG__
109 !if "$(USE_GUI)" == "1"
110 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
112 !if "$(USE_GUI)" == "1"
113 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
115 !if "$(USE_GUI)" == "1"
116 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
118 !if "$(BUILD)" == "debug"
121 !if "$(BUILD)" == "release"
124 !if "$(RUNTIME_LIBS)" == "dynamic"
125 __RUNTIME_LIBS = -tWR
127 !if "$(RUNTIME_LIBS)" == "static"
130 !if "$(RUNTIME_LIBS)" == "dynamic"
133 !if "$(RUNTIME_LIBS)" == "static"
136 !if "$(UNICODE)" == "1"
137 __UNICODE_DEFINE_p = -DwxUSE_UNICODE=1
139 !if "$(MONOLITHIC)" == "0"
140 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
142 !if "$(MONOLITHIC)" == "0"
144 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
146 !if "$(MONOLITHIC)" == "1"
148 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
150 !if "$(WXUNIV)" == "1"
151 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
153 !if "$(SHARED)" == "1"
154 __gizmosdll___depname = \
155 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_bcc$(VENDORTAG).dll
157 !if "$(SHARED)" == "0"
158 __gizmoslib___depname = \
159 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib
165 -if not exist $(OBJS) mkdir $(OBJS)
169 all: $(__gizmosdll___depname) $(__gizmoslib___depname)
171 $(OBJS)\gizmosdll_dummy.obj: ../../src/gizmos\..\..\..\src\msw\dummy.cpp
172 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) -H $**
174 $(OBJS)\gizmosdll_dynamicsash.obj: ../../src/gizmos\dynamicsash.cpp
175 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
177 $(OBJS)\gizmosdll_editlbox.obj: ../../src/gizmos\editlbox.cpp
178 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
180 $(OBJS)\gizmosdll_ledctrl.obj: ../../src/gizmos\ledctrl.cpp
181 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
183 $(OBJS)\gizmosdll_multicell.obj: ../../src/gizmos\multicell.cpp
184 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
186 $(OBJS)\gizmosdll_splittree.obj: ../../src/gizmos\splittree.cpp
187 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
189 $(OBJS)\gizmosdll_statpict.obj: ../../src/gizmos\statpict.cpp
190 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
192 $(OBJS)\gizmoslib_dummy.obj: ../../src/gizmos\..\..\..\src\msw\dummy.cpp
193 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) -H $**
195 $(OBJS)\gizmoslib_dynamicsash.obj: ../../src/gizmos\dynamicsash.cpp
196 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
198 $(OBJS)\gizmoslib_editlbox.obj: ../../src/gizmos\editlbox.cpp
199 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
201 $(OBJS)\gizmoslib_ledctrl.obj: ../../src/gizmos\ledctrl.cpp
202 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
204 $(OBJS)\gizmoslib_multicell.obj: ../../src/gizmos\multicell.cpp
205 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
207 $(OBJS)\gizmoslib_splittree.obj: ../../src/gizmos\splittree.cpp
208 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
210 $(OBJS)\gizmoslib_statpict.obj: ../../src/gizmos\statpict.cpp
211 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
214 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
215 -if exist $(OBJS)\*.res del $(OBJS)\*.res
216 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_bcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_bcc$(VENDORTAG).dll
217 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib
218 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib
220 !if "$(SHARED)" == "1"
221 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_bcc$(VENDORTAG).dll: $(GIZMOSDLL_OBJECTS) $(OBJS)\gizmosdll_dummy.obj
222 ilink32 -Tpd -q $(LDFLAGS) $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
223 c0d32.obj $(GIZMOSDLL_OBJECTS),$@,, $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib import32.lib ole2w32.lib $(__WXLIB_BASE_p) $(__WXLIB_CORE_p) cw32mt$(__RUNTIME_LIBS_7).lib,,
225 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos $@
228 !if "$(SHARED)" == "0"
229 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib: $(GIZMOSLIB_OBJECTS) $(OBJS)\gizmoslib_dummy.obj
231 tlib /a /p2048 $@ @&&|