82 == os build will be skipped if sf.spec.os.skipbuild=true |
82 == os build will be skipped if sf.spec.os.skipbuild=true |
83 == s60 build will be skipped if sf.spec.s60.skipbuild=true |
83 == s60 build will be skipped if sf.spec.s60.skipbuild=true |
84 == |
84 == |
85 --> |
85 --> |
86 <target name="sf-compile"> |
86 <target name="sf-compile"> |
87 |
87 |
|
88 <!-- TODO clean up to single target once genxml v2.0.0 merge is fixed --> |
|
89 <if><istrue value="${sf.spec.splitbuild}"/> |
|
90 <then> |
88 <if><istrue value="${sf.spec.os.skipbuild}" /> |
91 <if><istrue value="${sf.spec.os.skipbuild}" /> |
89 <then><echo message="Skipping OS build"/></then> |
92 <then><echo message="Skipping OS build"/></then> |
90 <else><runtarget target="sf-os-compile"/></else></if> |
93 <else><runtarget target="sf-os-compile"/></else></if> |
91 |
94 |
92 <if><istrue value="${sf.spec.s60.skipbuild}" /> |
95 <if><istrue value="${sf.spec.s60.skipbuild}" /> |
93 <then><echo message="Skipping S60 build"/></then> |
96 <then><echo message="Skipping S60 build"/></then> |
94 <else><runtarget target="sf-s60-compile"/></else></if> |
97 <else><runtarget target="sf-s60-compile"/></else></if> |
95 |
98 </then> |
|
99 <else> |
|
100 <!-- TODO targets for single sysdef build --> |
|
101 |
|
102 </else> |
|
103 </if> |
96 </target> |
104 </target> |
97 |
105 |
98 <!-- |
106 <!-- |
99 == Name: SF-OS-COMPILE |
107 == Name: SF-OS-COMPILE |
100 == |
108 == |
109 <hlm:argSet id="sbs.tools2.var"> |
117 <hlm:argSet id="sbs.tools2.var"> |
110 <hlm:arg name="config" value="tools2_rel" /> |
118 <hlm:arg name="config" value="tools2_rel" /> |
111 <hlm:arg name="singlejob" value="false" /> |
119 <hlm:arg name="singlejob" value="false" /> |
112 <hlm:arg name="enable-filter" value="true" /> |
120 <hlm:arg name="enable-filter" value="true" /> |
113 </hlm:argSet> |
121 </hlm:argSet> |
|
122 |
|
123 <hlm:argSet id="sbs.tools2.clean.var"> |
|
124 <hlm:arg name="config" value="tools2_rel" /> |
|
125 <hlm:arg name="singlejob" value="false" /> |
|
126 <hlm:arg name="enable-filter" value="true" /> |
|
127 <hlm:arg name="command" value="CLEAN" /> |
|
128 </hlm:argSet> |
114 |
129 |
115 <hlm:argSet id="sbs.tools.var"> |
130 <hlm:argSet id="sbs.tools.var"> |
116 <hlm:arg name="config" value="tools_rel" /> |
131 <hlm:arg name="config" value="tools_rel" /> |
117 <hlm:arg name="singlejob" value="true" /> |
132 <hlm:arg name="singlejob" value="true" /> |
118 <hlm:arg name="enable-filter" value="true" /> |
133 <hlm:arg name="enable-filter" value="true" /> |
119 </hlm:argSet> |
134 </hlm:argSet> |
|
135 |
|
136 <hlm:argSet id="sbs.tools.clean.var"> |
|
137 <hlm:arg name="config" value="tools_rel" /> |
|
138 <hlm:arg name="singlejob" value="true" /> |
|
139 <hlm:arg name="enable-filter" value="true" /> |
|
140 <hlm:arg name="command" value="CLEAN" /> |
|
141 </hlm:argSet> |
120 |
142 |
121 <hlm:argSet id="sbs.main.sbs.var"> |
143 <hlm:argSet id="sbs.main.sbs.var"> |
122 <hlm:arg name="config" value="${sf.spec.sbs.config}" /> |
144 <hlm:arg name="config" value="${sf.spec.sbs.config}" /> |
123 <hlm:arg name="enable-filter" value="true" /> |
145 <hlm:arg name="enable-filter" value="true" /> |
124 </hlm:argSet> |
146 </hlm:argSet> |
125 |
147 |
|
148 <hlm:argSet id="sbs.main.clean.sbs.var"> |
|
149 <hlm:arg name="config" value="${sf.spec.sbs.config}" /> |
|
150 <hlm:arg name="enable-filter" value="true" /> |
|
151 <hlm:arg name="command" value="CLEAN" /> |
|
152 </hlm:argSet> |
|
153 |
126 <hlm:sbsMakeOptions engine="gmake" id="sbs.toolsbuild.options" /> |
154 <hlm:sbsMakeOptions engine="gmake" id="sbs.toolsbuild.options" /> |
127 <hlm:sbsMakeOptions engine="gmake" id="sbs.fullbuild.options" /> |
155 <hlm:sbsMakeOptions engine="gmake" id="sbs.fullbuild.options" /> |
128 |
156 |
|
157 <!-- OS clean tools2 build first> |
|
158 <antcall target="compile-main" inheritAll="false" inheritRefs="true"> |
|
159 <param name="build.system" value="${sf.spec.build.system}" /> |
|
160 <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" /> |
|
161 <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" /> |
|
162 <param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/> |
|
163 <reference refid="sbs.tools2.clean.var" torefid="sbs.var" /> |
|
164 <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" /> |
|
165 <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" /> |
|
166 </antcall--> |
|
167 |
129 <!-- OS tools2 build first--> |
168 <!-- OS tools2 build first--> |
130 <antcall target="compile-main" inheritAll="false" inheritRefs="true"> |
169 <antcall target="compile-main" inheritAll="false" inheritRefs="true"> |
131 <param name="build.system" value="${sf.spec.build.system}" /> |
170 <param name="build.system" value="${sf.spec.build.system}" /> |
132 <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" /> |
171 <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" /> |
133 <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" /> |
172 <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" /> |
135 <reference refid="sbs.tools2.var" torefid="sbs.var" /> |
174 <reference refid="sbs.tools2.var" torefid="sbs.var" /> |
136 <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" /> |
175 <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" /> |
137 <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" /> |
176 <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" /> |
138 </antcall> |
177 </antcall> |
139 |
178 |
|
179 <!-- OS clean tools build after tools2> |
|
180 <antcall target="compile-main" inheritAll="false" inheritRefs="true"> |
|
181 <param name="build.system" value="${sf.spec.build.system}" /> |
|
182 <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" /> |
|
183 <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" /> |
|
184 <param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/> |
|
185 <reference refid="sbs.tools.clean.var" torefid="sbs.var" /> |
|
186 <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" /> |
|
187 <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" /> |
|
188 </antcall--> |
|
189 |
140 <!-- OS tools build after tools2 --> |
190 <!-- OS tools build after tools2 --> |
141 <antcall target="compile-main" inheritAll="false" inheritRefs="true"> |
191 <antcall target="compile-main" inheritAll="false" inheritRefs="true"> |
142 <param name="build.system" value="${sf.spec.build.system}" /> |
192 <param name="build.system" value="${sf.spec.build.system}" /> |
143 <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" /> |
193 <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" /> |
144 <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" /> |
194 <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" /> |
146 <reference refid="sbs.tools.var" torefid="sbs.var" /> |
196 <reference refid="sbs.tools.var" torefid="sbs.var" /> |
147 <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" /> |
197 <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" /> |
148 <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" /> |
198 <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" /> |
149 </antcall> |
199 </antcall> |
150 |
200 |
|
201 <!-- OS clean main build --> |
|
202 <antcall target="compile-main" inheritAll="false" inheritRefs="true"> |
|
203 <param name="build.system" value="${sf.spec.build.system}" /> |
|
204 <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" /> |
|
205 <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" /> |
|
206 <param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/> |
|
207 <reference refid="sbs.main.clean.sbs.var" torefid="sbs.var" /> |
|
208 <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" /> |
|
209 <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" /> |
|
210 </antcall> |
|
211 |
151 <!-- OS main build --> |
212 <!-- OS main build --> |
152 <antcall target="compile-main" inheritAll="false" inheritRefs="true"> |
213 <antcall target="compile-main" inheritAll="false" inheritRefs="true"> |
153 <param name="build.system" value="${sf.spec.build.system}" /> |
214 <param name="build.system" value="${sf.spec.build.system}" /> |
154 <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" /> |
215 <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" /> |
155 <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" /> |
216 <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" /> |
170 == |
231 == |
171 --> |
232 --> |
172 <target name="sf-s60-compile"> |
233 <target name="sf-s60-compile"> |
173 |
234 |
174 <hlm:argSet id="sbs.tools.var"> |
235 <hlm:argSet id="sbs.tools.var"> |
|
236 <hlm:arg name="config" value="${sf.spec.sbs.tools.config}" /> |
|
237 <hlm:arg name="singlejob" value="true" /> |
|
238 <hlm:arg name="enable-filter" value="true" /> |
|
239 </hlm:argSet> |
|
240 |
|
241 <hlm:argSet id="sbs.tools.clean.var"> |
175 <hlm:arg name="config" value="${sf.spec.sbs.tools.config}" /> |
242 <hlm:arg name="config" value="${sf.spec.sbs.tools.config}" /> |
176 <hlm:arg name="singlejob" value="true" /> |
243 <hlm:arg name="singlejob" value="true" /> |
177 <hlm:arg name="enable-filter" value="true" /> |
244 <hlm:arg name="enable-filter" value="true" /> |
178 </hlm:argSet> |
245 </hlm:argSet> |
179 |
246 |
180 <hlm:argSet id="sbs.main.sbs.var"> |
247 <hlm:argSet id="sbs.main.sbs.var"> |
181 <hlm:arg name="config" value="${sf.spec.sbs.config}" /> |
248 <hlm:arg name="config" value="${sf.spec.sbs.config}" /> |
182 <hlm:arg name="enable-filter" value="true" /> |
249 <hlm:arg name="enable-filter" value="true" /> |
183 </hlm:argSet> |
250 </hlm:argSet> |
|
251 |
|
252 <hlm:argSet id="sbs.main.clean.sbs.var"> |
|
253 <hlm:arg name="config" value="${sf.spec.sbs.config}" /> |
|
254 <hlm:arg name="enable-filter" value="true" /> |
|
255 <hlm:arg name="command" value="CLEAN" /> |
|
256 </hlm:argSet> |
184 |
257 |
185 <hlm:sbsMakeOptions engine="gmake" id="sbs.toolsbuild.options" /> |
258 <hlm:sbsMakeOptions engine="gmake" id="sbs.toolsbuild.options" /> |
186 <hlm:sbsMakeOptions engine="gmake" id="sbs.fullbuild.options" /> |
259 <hlm:sbsMakeOptions engine="gmake" id="sbs.fullbuild.options" /> |
187 |
260 |
188 <!-- s60 clean tools build --> |
261 <!-- s60 clean tools build> |
189 <antcall target="compile-main" inheritAll="false" inheritRefs="true"> |
262 <antcall target="compile-main" inheritAll="false" inheritRefs="true"> |
190 <param name="build.system" value="${sf.spec.build.system}" /> |
263 <param name="build.system" value="${sf.spec.build.system}" /> |
191 <param name="sysdef.configurations.list" value="${sf.spec.s60.sysdef.clean.configurations.list}" /> |
264 <param name="sysdef.configurations.list" value="${sf.spec.s60.sysdef.clean.configurations.list}" /> |
192 <param name="sf.spec.sysdef.version" value ="${sf.spec.s60.sysdef.version}"/> |
265 <param name="sf.spec.sysdef.version" value ="${sf.spec.s60.sysdef.version}"/> |
193 |
266 <reference refid="sbs.tools.clean.var" torefid="sbs.var" /> |
194 <reference refid="sbs.tools.var" torefid="sbs.var" /> |
|
195 <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" /> |
267 <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" /> |
196 <reference refid="sf.spec.s60.system.definition.files" torefid="system.definition.files" /> |
268 <reference refid="sf.spec.s60.system.definition.files" torefid="system.definition.files" /> |
197 </antcall> |
269 </antcall--> |
198 |
270 |
199 <!-- s60 clean main build --> |
271 <!-- s60 tools build --> |
200 <antcall target="compile-main" inheritAll="false" inheritRefs="true"> |
272 <antcall target="compile-main" inheritAll="false" inheritRefs="true"> |
201 <param name="build.system" value="${sf.spec.build.system}" /> |
273 <param name="build.system" value="${sf.spec.build.system}" /> |
202 <param name="sysdef.configurations.list" value="${sf.spec.s60.sysdef.clean.configurations.list}" /> |
274 <param name="sysdef.configurations.list" value="${sf.spec.s60.sysdef.clean.configurations.list}" /> |
203 <param name="sf.spec.sysdef.version" value="${sf.spec.s60.sysdef.version}"/> |
275 <param name="sf.spec.sysdef.version" value ="${sf.spec.s60.sysdef.version}"/> |
|
276 <reference refid="sbs.tools.var" torefid="sbs.var" /> |
|
277 <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" /> |
|
278 <reference refid="sf.spec.s60.system.definition.files" torefid="system.definition.files" /> |
|
279 </antcall> |
|
280 |
|
281 <!-- s60 clean main build --> |
|
282 <antcall target="compile-main" inheritAll="false" inheritRefs="true"> |
|
283 <param name="build.system" value="${sf.spec.build.system}" /> |
|
284 <param name="sysdef.configurations.list" value="${sf.spec.s60.sysdef.clean.configurations.list}" /> |
|
285 <param name="sf.spec.sysdef.version" value="${sf.spec.s60.sysdef.version}"/> |
|
286 <reference refid="sbs.main.clean.sbs.var" torefid="sbs.var" /> |
|
287 <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" /> |
|
288 <reference refid="sf.spec.s60.system.definition.files" torefid="system.definition.files" /> |
|
289 </antcall> |
|
290 |
|
291 <!-- s60 main build --> |
|
292 <antcall target="compile-main" inheritAll="false" inheritRefs="true"> |
|
293 <param name="build.system" value="${sf.spec.build.system}" /> |
|
294 <param name="sysdef.configurations.list" value="${sf.spec.s60.sysdef.clean.configurations.list}" /> |
|
295 <param name="sf.spec.sysdef.version" value="${sf.spec.s60.sysdef.version}"/> |
204 <reference refid="sbs.main.sbs.var" torefid="sbs.var" /> |
296 <reference refid="sbs.main.sbs.var" torefid="sbs.var" /> |
205 <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" /> |
297 <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" /> |
206 <reference refid="sf.spec.s60.system.definition.files" torefid="system.definition.files" /> |
298 <reference refid="sf.spec.s60.system.definition.files" torefid="system.definition.files" /> |
207 </antcall> |
299 </antcall> |
208 |
300 |