10 <import file="../common/build.xml" /> |
10 <import file="../common/build.xml" /> |
11 |
11 |
12 <!-- import package references --> |
12 <!-- import package references --> |
13 <import file="${sf.package.config.dir}/package_refs.ant.xml" /> |
13 <import file="${sf.package.config.dir}/package_refs.ant.xml" /> |
14 |
14 |
|
15 <target name="sf-compile"> |
|
16 <runtarget target="sf-package-compile"/> |
|
17 </target> |
|
18 |
|
19 <target name="sf-package-compile"> |
|
20 |
|
21 <hlm:sbsMakeOptions engine="gmake" id="sbs.fullbuild.options"/> |
|
22 <hlm:sbsMakeOptions engine="gmake" id="sbs.toolsbuild.options"/> |
|
23 |
|
24 <!-- CLEAN --> |
|
25 <hlm:argSet id="sbs.main.clean.sbs.var"> |
|
26 <hlm:arg name="config" value="${sf.spec.sbs.config}" /> |
|
27 <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" /> |
|
28 <hlm:arg name="command" value="CLEAN" /> |
|
29 </hlm:argSet> |
|
30 <antcall target="compile-main" inheritAll="false" inheritRefs="true"> |
|
31 <param name="build.system" value="${sf.spec.build.system}" /> |
|
32 <!-- param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" / --> |
|
33 <param name="sysdef.configurations.list" value="${sf.spec.sysdef.configurations.list}" /> |
|
34 <!-- param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/ --> |
|
35 <reference refid="sbs.main.clean.sbs.var" torefid="sbs.var" /> |
|
36 <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" /> |
|
37 <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" /> |
|
38 </antcall> |
|
39 |
|
40 <!-- BUILD tools2 --> |
|
41 <hlm:argSet id="sbs.tools2.var"> |
|
42 <hlm:arg name="config" value="tools2_rel" /> |
|
43 <hlm:arg name="singlejob" value="false" /> |
|
44 <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" /> |
|
45 </hlm:argSet> |
|
46 <antcall target="compile-main" inheritAll="false" inheritRefs="true"> |
|
47 <param name="build.system" value="${sf.spec.build.system}" /> |
|
48 <!-- param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" / --> |
|
49 <param name="sysdef.configurations.list" value="${sf.spec.sysdef.configurations.list}" /> |
|
50 <!-- param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/ --> |
|
51 <reference refid="sbs.tools2.var" torefid="sbs.var" /> |
|
52 <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" /> |
|
53 <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" /> |
|
54 </antcall> |
|
55 |
|
56 <!-- BUILD tools --> |
|
57 <hlm:argSet id="sbs.tools.var"> |
|
58 <hlm:arg name="config" value="tools_rel" /> |
|
59 <hlm:arg name="singlejob" value="true" /> |
|
60 <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" /> |
|
61 </hlm:argSet> |
|
62 <antcall target="compile-main" inheritAll="false" inheritRefs="true"> |
|
63 <param name="build.system" value="${sf.spec.build.system}" /> |
|
64 <!-- param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" / --> |
|
65 <param name="sysdef.configurations.list" value="${sf.spec.sysdef.configurations.list}" /> |
|
66 <!-- param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/ --> |
|
67 <reference refid="sbs.tools.var" torefid="sbs.var" /> |
|
68 <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" /> |
|
69 <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" /> |
|
70 </antcall> |
|
71 |
|
72 <!-- BUILD --> |
|
73 <hlm:argSet id="sbs.main.sbs.var"> |
|
74 <hlm:arg name="config" value="${sf.spec.sbs.config}.whatlog" /> |
|
75 <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" /> |
|
76 </hlm:argSet> |
|
77 <antcall target="compile-main" inheritAll="false" inheritRefs="true"> |
|
78 <param name="build.system" value="${sf.spec.build.system}" /> |
|
79 <!-- param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" / --> |
|
80 <param name="sysdef.configurations.list" value="${sf.spec.sysdef.configurations.list}" /> |
|
81 <!-- param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/ --> |
|
82 <reference refid="sbs.main.sbs.var" torefid="sbs.var" /> |
|
83 <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" /> |
|
84 <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" /> |
|
85 </antcall> |
|
86 |
|
87 <!-- CHECK --> |
|
88 <exec executable="cmd" dir="${build.drive}/" output="${build.drive}/output\logs\build_check_compile.log"> |
|
89 <arg value="/c sbs.bat -s ${build.drive}/output\build\canonical_system_definition_SF.xml -k -c ${sf.spec.sbs.config} -j 32 --check -m ${build.drive}/output\logs\build_check_Makefile"/> |
|
90 <!-- argument of -j option can be parameterized with: ${number.of.threads} --> |
|
91 </exec> |
|
92 |
|
93 </target> |
|
94 |
15 </project> |
95 </project> |
16 |
96 |