1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.2 (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 GIZMOSLIB_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
42 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
43 $(__UNICODE_DEFINE_p) -I..\..\src\gizmos\..\..\..\include -I$(SETUPHDIR) \
44 -I..\..\src\gizmos\..\..\include -Hu -H=$(OBJS)\wxprec_gizmoslib.csm \
45 $(CPPFLAGS) $(CXXFLAGS)
47 $(OBJS)\gizmoslib_dummy.obj \
48 $(OBJS)\gizmoslib_dynamicsash.obj \
49 $(OBJS)\gizmoslib_editlbox.obj \
50 $(OBJS)\gizmoslib_ledctrl.obj \
51 $(OBJS)\gizmoslib_multicell.obj \
52 $(OBJS)\gizmoslib_splittree.obj \
53 $(OBJS)\gizmoslib_statpict.obj
55 ### Conditionally set variables: ###
57 !if "$(USE_GUI)" == "0"
60 !if "$(USE_GUI)" == "1"
63 !if "$(OFFICIAL_BUILD)" == "0"
64 VENDORTAG = _$(VENDOR)
66 !if "$(OFFICIAL_BUILD)" == "1"
69 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
72 !if "$(DEBUG_FLAG)" == "1"
75 !if "$(UNICODE)" == "1"
78 !if "$(WXUNIV)" == "1"
81 !if "$(SHARED)" == "1"
84 !if "$(SHARED)" == "1"
85 __gizmosdll___depname = \
86 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_bcc$(VENDORTAG).dll
88 !if "$(RUNTIME_LIBS)" == "dynamic"
91 !if "$(RUNTIME_LIBS)" == "static"
94 !if "$(MONOLITHIC)" == "1"
96 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
98 !if "$(USE_GUI)" == "1"
99 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
101 !if "$(USE_GUI)" == "1"
102 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
104 !if "$(USE_GUI)" == "1"
105 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
108 __UNICOWS_LIB_p = unicows.lib
110 !if "$(MONOLITHIC)" == "0"
111 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
113 !if "$(MONOLITHIC)" == "0"
115 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
117 !if "$(SHARED)" == "0"
118 __gizmoslib___depname = \
119 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib
121 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
124 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
127 !if "$(DEBUG_INFO)" == "0"
130 !if "$(DEBUG_INFO)" == "1"
133 !if "$(BUILD)" == "debug"
136 !if "$(BUILD)" == "release"
139 !if "$(RUNTIME_LIBS)" == "dynamic"
140 __RUNTIME_LIBS = -tWR
142 !if "$(RUNTIME_LIBS)" == "static"
145 !if "$(WXUNIV)" == "1"
146 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
148 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
149 __DEBUG_DEFINE_p = -D__WXDEBUG__
151 !if "$(DEBUG_FLAG)" == "1"
152 __DEBUG_DEFINE_p = -D__WXDEBUG__
154 !if "$(UNICODE)" == "1"
155 __UNICODE_DEFINE_p = -D_UNICODE
157 !if "$(SHARED)" == "0"
158 LIBDIRNAME = ..\..\src\gizmos\..\..\..\lib\bcc_lib$(CFG)
160 !if "$(SHARED)" == "1"
161 LIBDIRNAME = ..\..\src\gizmos\..\..\..\lib\bcc_dll$(CFG)
167 -if not exist $(OBJS) mkdir $(OBJS)
171 all: $(__gizmosdll___depname) $(__gizmoslib___depname)
174 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
175 -if exist $(OBJS)\*.res del $(OBJS)\*.res
176 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_bcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_bcc$(VENDORTAG).dll
177 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_bcc$(VENDORTAG).tds del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_bcc$(VENDORTAG).tds
178 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_bcc$(VENDORTAG).ilc del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_bcc$(VENDORTAG).ilc
179 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_bcc$(VENDORTAG).ild del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_bcc$(VENDORTAG).ild
180 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_bcc$(VENDORTAG).ilf del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_bcc$(VENDORTAG).ilf
181 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_bcc$(VENDORTAG).ils del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_bcc$(VENDORTAG).ils
182 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib
183 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib
185 !if "$(SHARED)" == "1"
186 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_bcc$(VENDORTAG).dll: $(OBJS)\gizmosdll_dummy.obj $(GIZMOSDLL_OBJECTS)
187 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
188 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 $(__UNICOWS_LIB_p) ole2w32.lib oleacc.lib odbc32.lib $(__WXLIB_BASE_p) $(__WXLIB_CORE_p) import32.lib cw32mt$(__RUNTIME_LIBS_7).lib,,
190 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos $@
193 !if "$(SHARED)" == "0"
194 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib: $(OBJS)\gizmoslib_dummy.obj $(GIZMOSLIB_OBJECTS)
196 tlib /a /p4096 $@ @&&|
201 $(OBJS)\gizmosdll_dummy.obj: ../../src/gizmos\..\..\..\src\msw\dummy.cpp
202 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) -H $**
204 $(OBJS)\gizmosdll_dynamicsash.obj: ../../src/gizmos\dynamicsash.cpp
205 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
207 $(OBJS)\gizmosdll_editlbox.obj: ../../src/gizmos\editlbox.cpp
208 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
210 $(OBJS)\gizmosdll_ledctrl.obj: ../../src/gizmos\ledctrl.cpp
211 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
213 $(OBJS)\gizmosdll_multicell.obj: ../../src/gizmos\multicell.cpp
214 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
216 $(OBJS)\gizmosdll_splittree.obj: ../../src/gizmos\splittree.cpp
217 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
219 $(OBJS)\gizmosdll_statpict.obj: ../../src/gizmos\statpict.cpp
220 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
222 $(OBJS)\gizmoslib_dummy.obj: ../../src/gizmos\..\..\..\src\msw\dummy.cpp
223 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) -H $**
225 $(OBJS)\gizmoslib_dynamicsash.obj: ../../src/gizmos\dynamicsash.cpp
226 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
228 $(OBJS)\gizmoslib_editlbox.obj: ../../src/gizmos\editlbox.cpp
229 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
231 $(OBJS)\gizmoslib_ledctrl.obj: ../../src/gizmos\ledctrl.cpp
232 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
234 $(OBJS)\gizmoslib_multicell.obj: ../../src/gizmos\multicell.cpp
235 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
237 $(OBJS)\gizmoslib_splittree.obj: ../../src/gizmos\splittree.cpp
238 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
240 $(OBJS)\gizmoslib_statpict.obj: ../../src/gizmos\statpict.cpp
241 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**