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
24 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
26 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
27 WXCONFIGTOOL_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS_6) -I$(BCCDIR)\include \
28 $(__DEBUGINFO) $(__OPTIMIZEFLAG_2) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
29 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -I.\..\..\..\include \
30 -I$(SETUPHDIR) -I. $(__DLLFLAG_p) -I.\..\..\..\samples $(CXXFLAGS)
31 WXCONFIGTOOL_OBJECTS = \
32 $(OBJS)\wxconfigtool_wxconfigtool.obj \
33 $(OBJS)\wxconfigtool_appsettings.obj \
34 $(OBJS)\wxconfigtool_configitem.obj \
35 $(OBJS)\wxconfigtool_configitemselector.obj \
36 $(OBJS)\wxconfigtool_configtooldoc.obj \
37 $(OBJS)\wxconfigtool_configtoolview.obj \
38 $(OBJS)\wxconfigtool_configtree.obj \
39 $(OBJS)\wxconfigtool_custompropertydialog.obj \
40 $(OBJS)\wxconfigtool_htmlparser.obj \
41 $(OBJS)\wxconfigtool_mainframe.obj \
42 $(OBJS)\wxconfigtool_propeditor.obj \
43 $(OBJS)\wxconfigtool_property.obj \
44 $(OBJS)\wxconfigtool_settingsdialog.obj \
45 $(OBJS)\wxconfigtool_utils.obj
47 ### Conditionally set variables: ###
49 !if "$(SHARED)" == "0"
50 LIBDIRNAME = .\..\..\..\lib\bcc_lib$(CFG)
52 !if "$(SHARED)" == "1"
53 LIBDIRNAME = .\..\..\..\lib\bcc_dll$(CFG)
55 !if "$(USE_GUI)" == "0"
58 !if "$(USE_GUI)" == "1"
61 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
64 !if "$(DEBUG_FLAG)" == "1"
67 !if "$(SHARED)" == "1"
70 !if "$(UNICODE)" == "1"
73 !if "$(WXUNIV)" == "1"
76 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
79 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
82 !if "$(DEBUG_INFO)" == "0"
85 !if "$(DEBUG_INFO)" == "1"
88 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
89 __DEBUG_DEFINE_p = -D__WXDEBUG__
91 !if "$(DEBUG_FLAG)" == "1"
92 __DEBUG_DEFINE_p = -D__WXDEBUG__
94 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
95 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
97 !if "$(DEBUG_FLAG)" == "1"
98 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
100 !if "$(SHARED)" == "1"
101 __DLLFLAG_p = -DWXUSINGDLL
103 !if "$(SHARED)" == "1"
104 __DLLFLAG_p_1 = -dWXUSINGDLL
106 !if "$(USE_GUI)" == "1"
107 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
109 !if "$(USE_GUI)" == "1"
110 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
112 !if "$(USE_GUI)" == "1"
113 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
115 !if "$(BUILD)" == "debug"
116 __OPTIMIZEFLAG_2 = -Od
118 !if "$(BUILD)" == "release"
119 __OPTIMIZEFLAG_2 = -O2
121 !if "$(RUNTIME_LIBS)" == "dynamic"
122 __RUNTIME_LIBS_6 = -tWR
124 !if "$(RUNTIME_LIBS)" == "static"
127 !if "$(RUNTIME_LIBS)" == "dynamic"
130 !if "$(RUNTIME_LIBS)" == "static"
133 !if "$(UNICODE)" == "1"
134 __UNICODE_DEFINE_p = -DwxUSE_UNICODE=1
136 !if "$(UNICODE)" == "1"
137 __UNICODE_DEFINE_p_1 = -dwxUSE_UNICODE=1
140 __UNICOWS_LIB_p = unicows.lib
142 !if "$(MONOLITHIC)" == "0"
144 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_adv.lib
146 !if "$(MONOLITHIC)" == "0"
147 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
149 !if "$(MONOLITHIC)" == "0"
151 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
153 !if "$(MONOLITHIC)" == "0"
155 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html.lib
157 !if "$(MONOLITHIC)" == "1"
159 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
161 !if "$(MONOLITHIC)" == "0"
162 __WXLIB_XML_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xml.lib
164 !if "$(WXUNIV)" == "1"
165 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
167 !if "$(WXUNIV)" == "1"
168 __WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__
174 -if not exist $(OBJS) mkdir $(OBJS)
178 all: $(OBJS)\wxconfigtool.exe data
180 $(OBJS)\wxconfigtool_appsettings.obj: .\appsettings.cpp
181 $(CXX) -q -c -P -o$@ $(WXCONFIGTOOL_CXXFLAGS) $**
183 $(OBJS)\wxconfigtool_configitem.obj: .\configitem.cpp
184 $(CXX) -q -c -P -o$@ $(WXCONFIGTOOL_CXXFLAGS) $**
186 $(OBJS)\wxconfigtool_configitemselector.obj: .\configitemselector.cpp
187 $(CXX) -q -c -P -o$@ $(WXCONFIGTOOL_CXXFLAGS) $**
189 $(OBJS)\wxconfigtool_configtooldoc.obj: .\configtooldoc.cpp
190 $(CXX) -q -c -P -o$@ $(WXCONFIGTOOL_CXXFLAGS) $**
192 $(OBJS)\wxconfigtool_configtoolview.obj: .\configtoolview.cpp
193 $(CXX) -q -c -P -o$@ $(WXCONFIGTOOL_CXXFLAGS) $**
195 $(OBJS)\wxconfigtool_configtree.obj: .\configtree.cpp
196 $(CXX) -q -c -P -o$@ $(WXCONFIGTOOL_CXXFLAGS) $**
198 $(OBJS)\wxconfigtool_custompropertydialog.obj: .\custompropertydialog.cpp
199 $(CXX) -q -c -P -o$@ $(WXCONFIGTOOL_CXXFLAGS) $**
201 $(OBJS)\wxconfigtool_htmlparser.obj: .\htmlparser.cpp
202 $(CXX) -q -c -P -o$@ $(WXCONFIGTOOL_CXXFLAGS) $**
204 $(OBJS)\wxconfigtool_mainframe.obj: .\mainframe.cpp
205 $(CXX) -q -c -P -o$@ $(WXCONFIGTOOL_CXXFLAGS) $**
207 $(OBJS)\wxconfigtool_propeditor.obj: .\propeditor.cpp
208 $(CXX) -q -c -P -o$@ $(WXCONFIGTOOL_CXXFLAGS) $**
210 $(OBJS)\wxconfigtool_property.obj: .\property.cpp
211 $(CXX) -q -c -P -o$@ $(WXCONFIGTOOL_CXXFLAGS) $**
213 $(OBJS)\wxconfigtool_sample.res: .\..\..\..\samples\sample.rc
214 brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) -i.\..\..\..\include -i$(SETUPHDIR) -i. $(__DLLFLAG_p_1) -i.\..\..\..\samples $**
216 $(OBJS)\wxconfigtool_settingsdialog.obj: .\settingsdialog.cpp
217 $(CXX) -q -c -P -o$@ $(WXCONFIGTOOL_CXXFLAGS) $**
219 $(OBJS)\wxconfigtool_utils.obj: .\utils.cpp
220 $(CXX) -q -c -P -o$@ $(WXCONFIGTOOL_CXXFLAGS) $**
222 $(OBJS)\wxconfigtool_wxconfigtool.obj: .\wxconfigtool.cpp
223 $(CXX) -q -c -P -o$@ $(WXCONFIGTOOL_CXXFLAGS) $**
226 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
227 -if exist $(OBJS)\*.res del $(OBJS)\*.res
228 -if exist $(OBJS)\wxconfigtool.exe del $(OBJS)\wxconfigtool.exe
231 if not exist $(OBJS) mkdir $(OBJS)
232 for %f in (wxconfigtool.pjd ../configs/wxwin250.wxs) do if not exist $(OBJS)\%f copy .\%f $(OBJS)
234 $(OBJS)\wxconfigtool.exe: $(WXCONFIGTOOL_OBJECTS) $(OBJS)\wxconfigtool_sample.res
235 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib $(__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$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(__UNICOWS_LIB_p) import32.lib ole2w32.lib import32.lib cw32mt$(__RUNTIME_LIBS_7).lib,, $(OBJS)\wxconfigtool_sample.res