]> git.saurik.com Git - wxWidgets.git/blob - utils/configtool/src/makefile.bcc
Regenerated makefiles
[wxWidgets.git] / utils / configtool / src / makefile.bcc
1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.6 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
6
7 .autodepend
8
9 !ifndef BCCDIR
10 !ifndef MAKEDIR
11 !error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
12 !endif
13 BCCDIR = $(MAKEDIR)\..
14 !endif
15
16 !include ../../../build/msw/config.bcc
17
18 # -------------------------------------------------------------------------
19 # Do not modify the rest of this file!
20 # -------------------------------------------------------------------------
21
22 ### Variables: ###
23
24 WX_RELEASE_NODOT = 25
25 OBJS = \
26 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
27 LIBDIRNAME = .\..\..\..\lib\bcc_$(LIBTYPE_SUFFIX)$(CFG)
28 SETUPHDIR = \
29 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
30 WXCONFIGTOOL_CXXFLAGS = $(__RUNTIME_LIBS_6) -I$(BCCDIR)\include $(__DEBUGINFO) \
31 $(__OPTIMIZEFLAG_2) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
32 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -I.\..\..\..\include \
33 -I$(SETUPHDIR) -I. $(__DLLFLAG_p) -I.\..\..\..\samples -DNOPCH $(CPPFLAGS) \
34 $(CXXFLAGS)
35 WXCONFIGTOOL_OBJECTS = \
36 $(OBJS)\wxconfigtool_wxconfigtool.obj \
37 $(OBJS)\wxconfigtool_appsettings.obj \
38 $(OBJS)\wxconfigtool_configitem.obj \
39 $(OBJS)\wxconfigtool_configitemselector.obj \
40 $(OBJS)\wxconfigtool_configtooldoc.obj \
41 $(OBJS)\wxconfigtool_configtoolview.obj \
42 $(OBJS)\wxconfigtool_configtree.obj \
43 $(OBJS)\wxconfigtool_custompropertydialog.obj \
44 $(OBJS)\wxconfigtool_htmlparser.obj \
45 $(OBJS)\wxconfigtool_mainframe.obj \
46 $(OBJS)\wxconfigtool_propeditor.obj \
47 $(OBJS)\wxconfigtool_property.obj \
48 $(OBJS)\wxconfigtool_settingsdialog.obj \
49 $(OBJS)\wxconfigtool_utils.obj
50
51 ### Conditionally set variables: ###
52
53 !if "$(USE_GUI)" == "0"
54 PORTNAME = base
55 !endif
56 !if "$(USE_GUI)" == "1"
57 PORTNAME = msw
58 !endif
59 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
60 WXDEBUGFLAG = d
61 !endif
62 !if "$(DEBUG_FLAG)" == "1"
63 WXDEBUGFLAG = d
64 !endif
65 !if "$(UNICODE)" == "1"
66 WXUNICODEFLAG = u
67 !endif
68 !if "$(WXUNIV)" == "1"
69 WXUNIVNAME = univ
70 !endif
71 !if "$(SHARED)" == "1"
72 WXDLLFLAG = dll
73 !endif
74 !if "$(SHARED)" == "0"
75 LIBTYPE_SUFFIX = lib
76 !endif
77 !if "$(SHARED)" == "1"
78 LIBTYPE_SUFFIX = dll
79 !endif
80 !if "$(MONOLITHIC)" == "0"
81 EXTRALIBS_FOR_BASE =
82 !endif
83 !if "$(MONOLITHIC)" == "1"
84 EXTRALIBS_FOR_BASE =
85 !endif
86 !if "$(BUILD)" == "debug"
87 __OPTIMIZEFLAG_2 = -Od
88 !endif
89 !if "$(BUILD)" == "release"
90 __OPTIMIZEFLAG_2 = -O2
91 !endif
92 !if "$(RUNTIME_LIBS)" == "dynamic"
93 __RUNTIME_LIBS_6 = -tWR
94 !endif
95 !if "$(RUNTIME_LIBS)" == "static"
96 __RUNTIME_LIBS_6 =
97 !endif
98 !if "$(RUNTIME_LIBS)" == "dynamic"
99 __RUNTIME_LIBS_7 = i
100 !endif
101 !if "$(RUNTIME_LIBS)" == "static"
102 __RUNTIME_LIBS_7 =
103 !endif
104 !if "$(WXUNIV)" == "1"
105 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
106 !endif
107 !if "$(WXUNIV)" == "1"
108 __WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__
109 !endif
110 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
111 __DEBUG_DEFINE_p = -D__WXDEBUG__
112 !endif
113 !if "$(DEBUG_FLAG)" == "1"
114 __DEBUG_DEFINE_p = -D__WXDEBUG__
115 !endif
116 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
117 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
118 !endif
119 !if "$(DEBUG_FLAG)" == "1"
120 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
121 !endif
122 !if "$(UNICODE)" == "1"
123 __UNICODE_DEFINE_p = -D_UNICODE
124 !endif
125 !if "$(UNICODE)" == "1"
126 __UNICODE_DEFINE_p_1 = -d_UNICODE
127 !endif
128 !if "$(SHARED)" == "1"
129 __DLLFLAG_p = -DWXUSINGDLL
130 !endif
131 !if "$(SHARED)" == "1"
132 __DLLFLAG_p_1 = -dWXUSINGDLL
133 !endif
134 !if "$(MONOLITHIC)" == "0"
135 __WXLIB_ADV_p = \
136 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv.lib
137 !endif
138 !if "$(MONOLITHIC)" == "0"
139 __WXLIB_HTML_p = \
140 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html.lib
141 !endif
142 !if "$(MONOLITHIC)" == "0"
143 __WXLIB_CORE_p = \
144 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
145 !endif
146 !if "$(MONOLITHIC)" == "0"
147 __WXLIB_XML_p = \
148 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml.lib
149 !endif
150 !if "$(MONOLITHIC)" == "0"
151 __WXLIB_BASE_p = \
152 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
153 !endif
154 !if "$(MONOLITHIC)" == "1"
155 __WXLIB_MONO_p = \
156 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
157 !endif
158 !if "$(USE_GUI)" == "1"
159 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
160 !endif
161 !if "$(USE_GUI)" == "1"
162 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
163 !endif
164 !if "$(USE_GUI)" == "1"
165 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
166 !endif
167 !if "$(MSLU)" == "1"
168 __UNICOWS_LIB_p = unicows.lib
169 !endif
170 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
171 __DEBUGINFO = -v
172 !endif
173 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
174 __DEBUGINFO = -v-
175 !endif
176 !if "$(DEBUG_INFO)" == "0"
177 __DEBUGINFO = -v-
178 !endif
179 !if "$(DEBUG_INFO)" == "1"
180 __DEBUGINFO = -v
181 !endif
182
183
184 all: $(OBJS)
185 $(OBJS):
186 -if not exist $(OBJS) mkdir $(OBJS)
187
188 ### Targets: ###
189
190 all: $(OBJS)\wxconfigtool.exe data
191
192 clean:
193 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
194 -if exist $(OBJS)\*.res del $(OBJS)\*.res
195 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
196 -if exist $(OBJS)\wxconfigtool.exe del $(OBJS)\wxconfigtool.exe
197 -if exist $(OBJS)\wxconfigtool.tds del $(OBJS)\wxconfigtool.tds
198 -if exist $(OBJS)\wxconfigtool.ilc del $(OBJS)\wxconfigtool.ilc
199 -if exist $(OBJS)\wxconfigtool.ild del $(OBJS)\wxconfigtool.ild
200 -if exist $(OBJS)\wxconfigtool.ilf del $(OBJS)\wxconfigtool.ilf
201 -if exist $(OBJS)\wxconfigtool.ils del $(OBJS)\wxconfigtool.ils
202
203 $(OBJS)\wxconfigtool.exe: $(WXCONFIGTOOL_OBJECTS) $(OBJS)\wxconfigtool_sample.res
204 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
205 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 cw32mt$(__RUNTIME_LIBS_7).lib,, $(OBJS)\wxconfigtool_sample.res
206 |
207
208 data:
209 if not exist $(OBJS) mkdir $(OBJS)
210 for %f in (wxwin250.wxs) do if not exist $(OBJS)\%f copy .\..\configs\%f $(OBJS)
211
212 $(OBJS)\wxconfigtool_sample.res: .\..\..\..\samples\sample.rc
213 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 $**
214
215 $(OBJS)\wxconfigtool_wxconfigtool.obj: .\wxconfigtool.cpp
216 $(CXX) -q -c -P -o$@ $(WXCONFIGTOOL_CXXFLAGS) $**
217
218 $(OBJS)\wxconfigtool_appsettings.obj: .\appsettings.cpp
219 $(CXX) -q -c -P -o$@ $(WXCONFIGTOOL_CXXFLAGS) $**
220
221 $(OBJS)\wxconfigtool_configitem.obj: .\configitem.cpp
222 $(CXX) -q -c -P -o$@ $(WXCONFIGTOOL_CXXFLAGS) $**
223
224 $(OBJS)\wxconfigtool_configitemselector.obj: .\configitemselector.cpp
225 $(CXX) -q -c -P -o$@ $(WXCONFIGTOOL_CXXFLAGS) $**
226
227 $(OBJS)\wxconfigtool_configtooldoc.obj: .\configtooldoc.cpp
228 $(CXX) -q -c -P -o$@ $(WXCONFIGTOOL_CXXFLAGS) $**
229
230 $(OBJS)\wxconfigtool_configtoolview.obj: .\configtoolview.cpp
231 $(CXX) -q -c -P -o$@ $(WXCONFIGTOOL_CXXFLAGS) $**
232
233 $(OBJS)\wxconfigtool_configtree.obj: .\configtree.cpp
234 $(CXX) -q -c -P -o$@ $(WXCONFIGTOOL_CXXFLAGS) $**
235
236 $(OBJS)\wxconfigtool_custompropertydialog.obj: .\custompropertydialog.cpp
237 $(CXX) -q -c -P -o$@ $(WXCONFIGTOOL_CXXFLAGS) $**
238
239 $(OBJS)\wxconfigtool_htmlparser.obj: .\htmlparser.cpp
240 $(CXX) -q -c -P -o$@ $(WXCONFIGTOOL_CXXFLAGS) $**
241
242 $(OBJS)\wxconfigtool_mainframe.obj: .\mainframe.cpp
243 $(CXX) -q -c -P -o$@ $(WXCONFIGTOOL_CXXFLAGS) $**
244
245 $(OBJS)\wxconfigtool_propeditor.obj: .\propeditor.cpp
246 $(CXX) -q -c -P -o$@ $(WXCONFIGTOOL_CXXFLAGS) $**
247
248 $(OBJS)\wxconfigtool_property.obj: .\property.cpp
249 $(CXX) -q -c -P -o$@ $(WXCONFIGTOOL_CXXFLAGS) $**
250
251 $(OBJS)\wxconfigtool_settingsdialog.obj: .\settingsdialog.cpp
252 $(CXX) -q -c -P -o$@ $(WXCONFIGTOOL_CXXFLAGS) $**
253
254 $(OBJS)\wxconfigtool_utils.obj: .\utils.cpp
255 $(CXX) -q -c -P -o$@ $(WXCONFIGTOOL_CXXFLAGS) $**
256