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) -I$(BCCDIR)\include \
24 $(__DEBUGINFO) $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
25 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
26 -I..\..\src\gizmos\..\..\..\include -I$(SETUPHDIR) \
27 -I..\..\src\gizmos\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_GIZMOS \
28 $(CXXFLAGS) -Hu -H=$(OBJS)\wxprec_gizmosdll.csm
30 $(OBJS)\gizmosdll_dummy.obj \
31 $(OBJS)\gizmosdll_dynamicsash.obj \
32 $(OBJS)\gizmosdll_editlbox.obj \
33 $(OBJS)\gizmosdll_ledctrl.obj \
34 $(OBJS)\gizmosdll_multicell.obj \
35 $(OBJS)\gizmosdll_splittree.obj \
36 $(OBJS)\gizmosdll_statpict.obj
37 GIZMOSLIB_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS) -I$(BCCDIR)\include \
38 $(__DEBUGINFO) $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
39 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
40 -I..\..\src\gizmos\..\..\..\include -I$(SETUPHDIR) \
41 -I..\..\src\gizmos\..\..\include $(CXXFLAGS) -Hu \
42 -H=$(OBJS)\wxprec_gizmoslib.csm
44 $(OBJS)\gizmoslib_dummy.obj \
45 $(OBJS)\gizmoslib_dynamicsash.obj \
46 $(OBJS)\gizmoslib_editlbox.obj \
47 $(OBJS)\gizmoslib_ledctrl.obj \
48 $(OBJS)\gizmoslib_multicell.obj \
49 $(OBJS)\gizmoslib_splittree.obj \
50 $(OBJS)\gizmoslib_statpict.obj
52 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
54 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
56 ### Conditionally set variables: ###
58 !if "$(SHARED)" == "0"
59 LIBDIRNAME = ..\..\src\gizmos\..\..\..\lib\bcc_lib$(CFG)
61 !if "$(SHARED)" == "1"
62 LIBDIRNAME = ..\..\src\gizmos\..\..\..\lib\bcc_dll$(CFG)
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
140 __UNICOWS_LIB_p = unicows.lib
142 !if "$(MONOLITHIC)" == "0"
143 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
145 !if "$(MONOLITHIC)" == "0"
147 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
149 !if "$(MONOLITHIC)" == "1"
151 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
153 !if "$(WXUNIV)" == "1"
154 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
156 !if "$(SHARED)" == "1"
157 __gizmosdll___depname = \
158 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_bcc$(VENDORTAG).dll
160 !if "$(SHARED)" == "0"
161 __gizmoslib___depname = \
162 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib
168 -if not exist $(OBJS) mkdir $(OBJS)
172 all: $(__gizmosdll___depname) $(__gizmoslib___depname)
174 $(OBJS)\gizmosdll_dummy.obj: ../../src/gizmos\..\..\..\src\msw\dummy.cpp
175 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) -H $**
177 $(OBJS)\gizmosdll_dynamicsash.obj: ../../src/gizmos\dynamicsash.cpp
178 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
180 $(OBJS)\gizmosdll_editlbox.obj: ../../src/gizmos\editlbox.cpp
181 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
183 $(OBJS)\gizmosdll_ledctrl.obj: ../../src/gizmos\ledctrl.cpp
184 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
186 $(OBJS)\gizmosdll_multicell.obj: ../../src/gizmos\multicell.cpp
187 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
189 $(OBJS)\gizmosdll_splittree.obj: ../../src/gizmos\splittree.cpp
190 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
192 $(OBJS)\gizmosdll_statpict.obj: ../../src/gizmos\statpict.cpp
193 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
195 $(OBJS)\gizmoslib_dummy.obj: ../../src/gizmos\..\..\..\src\msw\dummy.cpp
196 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) -H $**
198 $(OBJS)\gizmoslib_dynamicsash.obj: ../../src/gizmos\dynamicsash.cpp
199 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
201 $(OBJS)\gizmoslib_editlbox.obj: ../../src/gizmos\editlbox.cpp
202 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
204 $(OBJS)\gizmoslib_ledctrl.obj: ../../src/gizmos\ledctrl.cpp
205 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
207 $(OBJS)\gizmoslib_multicell.obj: ../../src/gizmos\multicell.cpp
208 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
210 $(OBJS)\gizmoslib_splittree.obj: ../../src/gizmos\splittree.cpp
211 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
213 $(OBJS)\gizmoslib_statpict.obj: ../../src/gizmos\statpict.cpp
214 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
217 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
218 -if exist $(OBJS)\*.res del $(OBJS)\*.res
219 -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
220 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib
221 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib
223 !if "$(SHARED)" == "1"
224 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_bcc$(VENDORTAG).dll: $(OBJS)\gizmosdll_dummy.obj $(GIZMOSDLL_OBJECTS)
225 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
226 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,,
228 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos $@
231 !if "$(SHARED)" == "0"
232 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib: $(OBJS)\gizmoslib_dummy.obj $(GIZMOSLIB_OBJECTS)
234 tlib /a /p2048 $@ @&&|