1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.8 (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 # -------------------------------------------------------------------------
26 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
27 LIBDIRNAME = .\..\..\..\lib\bcc_$(LIBTYPE_SUFFIX)$(CFG)
29 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
30 WXCONFIGTOOL_CXXFLAGS = $(__RUNTIME_LIBS_7) -I$(BCCDIR)\include $(__DEBUGINFO) \
31 $(__OPTIMIZEFLAG_2) $(__THREADSFLAG_6) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
32 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
33 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) -I.\..\..\..\include \
34 -I$(SETUPHDIR) -I. $(__DLLFLAG_p) -I.\..\..\..\samples -DNOPCH $(CPPFLAGS) \
36 WXCONFIGTOOL_OBJECTS = \
37 $(OBJS)\wxconfigtool_wxconfigtool.obj \
38 $(OBJS)\wxconfigtool_appsettings.obj \
39 $(OBJS)\wxconfigtool_configitem.obj \
40 $(OBJS)\wxconfigtool_configitemselector.obj \
41 $(OBJS)\wxconfigtool_configtooldoc.obj \
42 $(OBJS)\wxconfigtool_configtoolview.obj \
43 $(OBJS)\wxconfigtool_configtree.obj \
44 $(OBJS)\wxconfigtool_custompropertydialog.obj \
45 $(OBJS)\wxconfigtool_htmlparser.obj \
46 $(OBJS)\wxconfigtool_mainframe.obj \
47 $(OBJS)\wxconfigtool_propeditor.obj \
48 $(OBJS)\wxconfigtool_property.obj \
49 $(OBJS)\wxconfigtool_settingsdialog.obj \
50 $(OBJS)\wxconfigtool_utils.obj
52 ### Conditionally set variables: ###
54 !if "$(USE_GUI)" == "0"
57 !if "$(USE_GUI)" == "1"
60 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
63 !if "$(DEBUG_FLAG)" == "1"
66 !if "$(UNICODE)" == "1"
69 !if "$(WXUNIV)" == "1"
72 !if "$(SHARED)" == "1"
75 !if "$(SHARED)" == "0"
78 !if "$(SHARED)" == "1"
81 !if "$(MONOLITHIC)" == "0"
84 !if "$(MONOLITHIC)" == "1"
87 !if "$(BUILD)" == "debug"
88 __OPTIMIZEFLAG_2 = -Od
90 !if "$(BUILD)" == "release"
91 __OPTIMIZEFLAG_2 = -O2
93 !if "$(USE_THREADS)" == "0"
96 !if "$(USE_THREADS)" == "1"
99 !if "$(USE_THREADS)" == "0"
102 !if "$(USE_THREADS)" == "1"
103 __THREADSFLAG_6 = -tWM
105 !if "$(RUNTIME_LIBS)" == "dynamic"
106 __RUNTIME_LIBS_7 = -tWR
108 !if "$(RUNTIME_LIBS)" == "static"
111 !if "$(RUNTIME_LIBS)" == "dynamic"
114 !if "$(RUNTIME_LIBS)" == "static"
117 !if "$(WXUNIV)" == "1"
118 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
120 !if "$(WXUNIV)" == "1"
121 __WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__
123 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
124 __DEBUG_DEFINE_p = -D__WXDEBUG__
126 !if "$(DEBUG_FLAG)" == "1"
127 __DEBUG_DEFINE_p = -D__WXDEBUG__
129 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
130 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
132 !if "$(DEBUG_FLAG)" == "1"
133 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
135 !if "$(USE_EXCEPTIONS)" == "0"
136 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
138 !if "$(USE_EXCEPTIONS)" == "0"
139 __EXCEPTIONS_DEFINE_p_1 = -dwxNO_EXCEPTIONS
141 !if "$(USE_RTTI)" == "0"
142 __RTTI_DEFINE_p = -DwxNO_RTTI
144 !if "$(USE_RTTI)" == "0"
145 __RTTI_DEFINE_p_1 = -dwxNO_RTTI
147 !if "$(USE_THREADS)" == "0"
148 __THREAD_DEFINE_p = -DwxNO_THREADS
150 !if "$(USE_THREADS)" == "0"
151 __THREAD_DEFINE_p_1 = -dwxNO_THREADS
153 !if "$(UNICODE)" == "1"
154 __UNICODE_DEFINE_p = -D_UNICODE
156 !if "$(UNICODE)" == "1"
157 __UNICODE_DEFINE_p_1 = -d_UNICODE
159 !if "$(SHARED)" == "1"
160 __DLLFLAG_p = -DWXUSINGDLL
162 !if "$(SHARED)" == "1"
163 __DLLFLAG_p_1 = -dWXUSINGDLL
165 !if "$(MONOLITHIC)" == "0"
167 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv.lib
169 !if "$(MONOLITHIC)" == "0"
171 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html.lib
173 !if "$(MONOLITHIC)" == "0"
175 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
177 !if "$(MONOLITHIC)" == "0"
179 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml.lib
181 !if "$(MONOLITHIC)" == "0"
183 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
185 !if "$(MONOLITHIC)" == "1"
187 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
189 !if "$(USE_GUI)" == "1"
190 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
192 !if "$(USE_GUI)" == "1"
193 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
195 !if "$(USE_GUI)" == "1"
196 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
199 __UNICOWS_LIB_p = unicows.lib
201 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
204 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
207 !if "$(DEBUG_INFO)" == "0"
210 !if "$(DEBUG_INFO)" == "1"
217 -if not exist $(OBJS) mkdir $(OBJS)
221 all: $(OBJS)\wxconfigtool.exe data
224 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
225 -if exist $(OBJS)\*.res del $(OBJS)\*.res
226 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
227 -if exist $(OBJS)\wxconfigtool.exe del $(OBJS)\wxconfigtool.exe
228 -if exist $(OBJS)\wxconfigtool.tds del $(OBJS)\wxconfigtool.tds
229 -if exist $(OBJS)\wxconfigtool.ilc del $(OBJS)\wxconfigtool.ilc
230 -if exist $(OBJS)\wxconfigtool.ild del $(OBJS)\wxconfigtool.ild
231 -if exist $(OBJS)\wxconfigtool.ilf del $(OBJS)\wxconfigtool.ilf
232 -if exist $(OBJS)\wxconfigtool.ils del $(OBJS)\wxconfigtool.ils
234 $(OBJS)\wxconfigtool.exe: $(WXCONFIGTOOL_OBJECTS) $(OBJS)\wxconfigtool_sample.res
235 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
236 c0w32.obj $(WXCONFIGTOOL_OBJECTS),$@,, $(__WXLIB_ADV_p) $(__WXLIB_HTML_p) $(__WXLIB_CORE_p) $(__WXLIB_XML_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) ole2w32.lib oleacc.lib odbc32.lib import32.lib cw32$(__THREADSFLAG_5)$(__RUNTIME_LIBS_8).lib,, $(OBJS)\wxconfigtool_sample.res
240 if not exist $(OBJS) mkdir $(OBJS)
241 for %f in (wxwin250.wxs) do if not exist $(OBJS)\%f copy .\..\configs\%f $(OBJS)
243 $(OBJS)\wxconfigtool_sample.res: .\..\..\..\samples\sample.rc
244 brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) -i.\..\..\..\include -i$(SETUPHDIR) -i. $(__DLLFLAG_p_1) -i.\..\..\..\samples $**
246 $(OBJS)\wxconfigtool_wxconfigtool.obj: .\wxconfigtool.cpp
247 $(CXX) -q -c -P -o$@ $(WXCONFIGTOOL_CXXFLAGS) $**
249 $(OBJS)\wxconfigtool_appsettings.obj: .\appsettings.cpp
250 $(CXX) -q -c -P -o$@ $(WXCONFIGTOOL_CXXFLAGS) $**
252 $(OBJS)\wxconfigtool_configitem.obj: .\configitem.cpp
253 $(CXX) -q -c -P -o$@ $(WXCONFIGTOOL_CXXFLAGS) $**
255 $(OBJS)\wxconfigtool_configitemselector.obj: .\configitemselector.cpp
256 $(CXX) -q -c -P -o$@ $(WXCONFIGTOOL_CXXFLAGS) $**
258 $(OBJS)\wxconfigtool_configtooldoc.obj: .\configtooldoc.cpp
259 $(CXX) -q -c -P -o$@ $(WXCONFIGTOOL_CXXFLAGS) $**
261 $(OBJS)\wxconfigtool_configtoolview.obj: .\configtoolview.cpp
262 $(CXX) -q -c -P -o$@ $(WXCONFIGTOOL_CXXFLAGS) $**
264 $(OBJS)\wxconfigtool_configtree.obj: .\configtree.cpp
265 $(CXX) -q -c -P -o$@ $(WXCONFIGTOOL_CXXFLAGS) $**
267 $(OBJS)\wxconfigtool_custompropertydialog.obj: .\custompropertydialog.cpp
268 $(CXX) -q -c -P -o$@ $(WXCONFIGTOOL_CXXFLAGS) $**
270 $(OBJS)\wxconfigtool_htmlparser.obj: .\htmlparser.cpp
271 $(CXX) -q -c -P -o$@ $(WXCONFIGTOOL_CXXFLAGS) $**
273 $(OBJS)\wxconfigtool_mainframe.obj: .\mainframe.cpp
274 $(CXX) -q -c -P -o$@ $(WXCONFIGTOOL_CXXFLAGS) $**
276 $(OBJS)\wxconfigtool_propeditor.obj: .\propeditor.cpp
277 $(CXX) -q -c -P -o$@ $(WXCONFIGTOOL_CXXFLAGS) $**
279 $(OBJS)\wxconfigtool_property.obj: .\property.cpp
280 $(CXX) -q -c -P -o$@ $(WXCONFIGTOOL_CXXFLAGS) $**
282 $(OBJS)\wxconfigtool_settingsdialog.obj: .\settingsdialog.cpp
283 $(CXX) -q -c -P -o$@ $(WXCONFIGTOOL_CXXFLAGS) $**
285 $(OBJS)\wxconfigtool_utils.obj: .\utils.cpp
286 $(CXX) -q -c -P -o$@ $(WXCONFIGTOOL_CXXFLAGS) $**