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/msw/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$(SETUPHDIR) \
26 -I..\..\src\gizmos\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_GIZMOS \
27 $(CXXFLAGS) -Hu -H=$(OBJS)\wxprec_gizmosdll.csm
29 $(OBJS)\gizmosdll_dummy.obj \
30 $(OBJS)\gizmosdll_dynamicsash.obj \
31 $(OBJS)\gizmosdll_editlbox.obj \
32 $(OBJS)\gizmosdll_ledctrl.obj \
33 $(OBJS)\gizmosdll_multicell.obj \
34 $(OBJS)\gizmosdll_splittree.obj \
35 $(OBJS)\gizmosdll_statpict.obj
36 GIZMOSLIB_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS) $(__DEBUGINFO) \
37 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
38 $(__UNICODE_DEFINE_p) -I..\..\src\gizmos\..\..\..\include -I$(SETUPHDIR) \
39 -I..\..\src\gizmos\..\..\include $(CXXFLAGS) -Hu \
40 -H=$(OBJS)\wxprec_gizmoslib.csm
42 $(OBJS)\gizmoslib_dummy.obj \
43 $(OBJS)\gizmoslib_dynamicsash.obj \
44 $(OBJS)\gizmoslib_editlbox.obj \
45 $(OBJS)\gizmoslib_ledctrl.obj \
46 $(OBJS)\gizmoslib_multicell.obj \
47 $(OBJS)\gizmoslib_splittree.obj \
48 $(OBJS)\gizmoslib_statpict.obj
50 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
52 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
54 ### Conditionally set variables: ###
56 !if "$(SHARED)" == "0"
57 LIBDIRNAME = ..\..\src\gizmos\..\..\..\lib\bcc_lib$(CFG)
59 !if "$(SHARED)" == "1"
60 LIBDIRNAME = ..\..\src\gizmos\..\..\..\lib\bcc_dll$(CFG)
62 !if "$(USE_GUI)" == "0"
65 !if "$(USE_GUI)" == "1"
68 !if "$(OFFICIAL_BUILD)" == "0"
69 VENDORTAG = _$(VENDOR)
71 !if "$(OFFICIAL_BUILD)" == "1"
74 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
77 !if "$(DEBUG_FLAG)" == "1"
80 !if "$(SHARED)" == "1"
83 !if "$(UNICODE)" == "1"
86 !if "$(WXUNIV)" == "1"
89 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
92 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
95 !if "$(DEBUG_INFO)" == "0"
98 !if "$(DEBUG_INFO)" == "1"
101 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
102 __DEBUG_DEFINE_p = -D__WXDEBUG__
104 !if "$(DEBUG_FLAG)" == "1"
105 __DEBUG_DEFINE_p = -D__WXDEBUG__
107 !if "$(USE_GUI)" == "1"
108 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
110 !if "$(USE_GUI)" == "1"
111 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
113 !if "$(USE_GUI)" == "1"
114 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
116 !if "$(BUILD)" == "debug"
119 !if "$(BUILD)" == "release"
122 !if "$(RUNTIME_LIBS)" == "dynamic"
123 __RUNTIME_LIBS = -tWR
125 !if "$(RUNTIME_LIBS)" == "static"
128 !if "$(RUNTIME_LIBS)" == "dynamic"
131 !if "$(RUNTIME_LIBS)" == "static"
134 !if "$(UNICODE)" == "1"
135 __UNICODE_DEFINE_p = -DwxUSE_UNICODE=1
138 __UNICOWS_LIB_p = unicows.lib
140 !if "$(MONOLITHIC)" == "0"
141 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
143 !if "$(MONOLITHIC)" == "0"
145 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
147 !if "$(MONOLITHIC)" == "1"
149 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
151 !if "$(WXUNIV)" == "1"
152 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
154 !if "$(SHARED)" == "1"
155 __gizmosdll___depname = \
156 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_bcc$(VENDORTAG).dll
158 !if "$(SHARED)" == "0"
159 __gizmoslib___depname = \
160 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib
166 -if not exist $(OBJS) mkdir $(OBJS)
170 all: $(__gizmosdll___depname) $(__gizmoslib___depname)
172 $(OBJS)\gizmosdll_dummy.obj: ../../src/gizmos\..\..\..\src\msw\dummy.cpp
173 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) -H $**
175 $(OBJS)\gizmosdll_dynamicsash.obj: ../../src/gizmos\dynamicsash.cpp
176 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
178 $(OBJS)\gizmosdll_editlbox.obj: ../../src/gizmos\editlbox.cpp
179 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
181 $(OBJS)\gizmosdll_ledctrl.obj: ../../src/gizmos\ledctrl.cpp
182 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
184 $(OBJS)\gizmosdll_multicell.obj: ../../src/gizmos\multicell.cpp
185 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
187 $(OBJS)\gizmosdll_splittree.obj: ../../src/gizmos\splittree.cpp
188 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
190 $(OBJS)\gizmosdll_statpict.obj: ../../src/gizmos\statpict.cpp
191 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
193 $(OBJS)\gizmoslib_dummy.obj: ../../src/gizmos\..\..\..\src\msw\dummy.cpp
194 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) -H $**
196 $(OBJS)\gizmoslib_dynamicsash.obj: ../../src/gizmos\dynamicsash.cpp
197 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
199 $(OBJS)\gizmoslib_editlbox.obj: ../../src/gizmos\editlbox.cpp
200 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
202 $(OBJS)\gizmoslib_ledctrl.obj: ../../src/gizmos\ledctrl.cpp
203 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
205 $(OBJS)\gizmoslib_multicell.obj: ../../src/gizmos\multicell.cpp
206 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
208 $(OBJS)\gizmoslib_splittree.obj: ../../src/gizmos\splittree.cpp
209 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
211 $(OBJS)\gizmoslib_statpict.obj: ../../src/gizmos\statpict.cpp
212 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
215 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
216 -if exist $(OBJS)\*.res del $(OBJS)\*.res
217 -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
218 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib
219 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib
221 !if "$(SHARED)" == "1"
222 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_bcc$(VENDORTAG).dll: $(OBJS)\gizmosdll_dummy.obj $(GIZMOSDLL_OBJECTS)
223 ilink32 -Tpd -q $(LDFLAGS) $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
224 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) import32.lib ole2w32.lib $(__WXLIB_BASE_p) $(__WXLIB_CORE_p) import32.lib cw32mt$(__RUNTIME_LIBS_7).lib,,
226 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos $@
229 !if "$(SHARED)" == "0"
230 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib: $(OBJS)\gizmoslib_dummy.obj $(GIZMOSLIB_OBJECTS)
232 tlib /a /p2048 $@ @&&|