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