sf-platform/build.xml
changeset 59 c7be4c65f97e
parent 57 af82fccdcb75
child 60 9edae8fe1416
equal deleted inserted replaced
58:00208f982d58 59:c7be4c65f97e
     1 <?xml version="1.0" encoding="UTF-8"?>
     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <project name="SF-PLATFORM-CONFIG" xmlns:hlm="http://www.nokia.com/helium">
     2 <project name="SF-PLATFORM-CONFIG" xmlns:hlm="http://www.nokia.com/helium">
     3   <!-- location of this config -->
     3   <!-- location of this config -->
     4   <dirname property="sf.platform.config.dir" file="${ant.file.SF-PLATFORM-CONFIG}"/>
     4   <dirname property="sf.platform.config.dir" file="${ant.file.SF-PLATFORM-CONFIG}"/>
     5   
     5 
     6   <!--
     6   <!--
     7   * Property defaults
     7   * Property defaults
     8    -->
     8    -->
     9 
     9 
    10   <!--
    10   <!--
    11   TODO if needed in future
    11   TODO if needed in future
    12   
    12 
    13   * Load platform specific properties.
    13   * Load platform specific properties.
    14   
    14 
    15    -->
    15    -->
    16   
    16 
    17   <!-- workaround until GenXML can merge v2.0.0 fragments -->
    17   <!-- workaround until GenXML can merge v2.0.0 fragments -->
    18   <target name="create-canonical-sysdef-file">
    18   <target name="create-canonical-sysdef-file">
    19             
    19 
    20        <if>
    20        <if>
    21           <!-- TODO use scripting to match this -->
    21           <!-- TODO use scripting to match this -->
    22           <equals arg1="${sf.spec.sysdef.version}" arg2="1.4.0" /> 
    22           <equals arg1="${sf.spec.sysdef.version}" arg2="1.4.0" />
    23           <then>
    23           <then>
    24             <echo message="Using System Definition v1.4.0 "/>
    24             <echo message="Using System Definition v1.4.0 "/>
    25             <runtarget target="compile.create-canonical-sysdef-file"/>
    25             <runtarget target="compile.create-canonical-sysdef-file"/>
    26           </then>
    26           </then>
    27           <else>
    27           <else>
    28             <runtarget target="preprocess-sysdef-files"/>  
    28             <runtarget target="preprocess-sysdef-files"/>
    29             <echo message="Exporting preprocessed System Definition"/> 
    29             <echo message="Exporting preprocessed System Definition"/>
    30             
    30 
    31             <!-- TODO use better method to export or wait for GenXML fix?-->
    31             <!-- TODO use better method to export or wait for GenXML fix?-->
    32             <copy file="${build.output.dir}\build\input\0000000000000001_system_definition.xml" 
    32             <copy file="${build.output.dir}\build\input\0000000000000001_system_definition.xml"
    33                   tofile="${canonical.sysdef.file}" failonerror="true" verbose="true"/>
    33                   tofile="${canonical.sysdef.file}" failonerror="true" verbose="true"/>
    34           </else>
    34           </else>
    35         </if>
    35         </if>
    36           
    36 
    37   </target>
    37   </target>
    38     
    38 
    39   <!-- 
    39   <!--
    40     == Name: PREPROCESS-SYSDEF-FILES
    40     == Name: PREPROCESS-SYSDEF-FILES
    41     ==
    41     ==
    42     == Desc: Override of default target in order to deal with symbian os
    42     == Desc: Override of default target in order to deal with symbian os
    43     ==       system_definition.xml that does not have /sf source prefix    
    43     ==       system_definition.xml that does not have /sf source prefix
    44     ==       
    44     ==
    45     ==       TODO get this moved as a Helium core target?
    45     ==       TODO get this moved as a Helium core target?
    46     -->
    46     -->
    47   <target name="preprocess-sysdef-files">
    47   <target name="preprocess-sysdef-files">
    48         <mkdir dir="${build.output.dir}/build/input"/>
    48         <mkdir dir="${build.output.dir}/build/input"/>
    49         <delete verbose="true">
    49         <delete verbose="true">
    50             <fileset dir="${build.output.dir}/build/input/" includes="**"/>
    50             <fileset dir="${build.output.dir}/build/input/" includes="**"/>
    51         </delete>
    51         </delete>
    52         
    52 
    53         <for param="file">
    53         <for param="file">
    54             <resources refid="system.definition.files"/>
    54             <resources refid="system.definition.files"/>
    55             <sequential>
    55             <sequential>
    56                 <copy todir="${build.output.dir}/build/input" verbose="true">
    56                 <copy todir="${build.output.dir}/build/input" verbose="true">
    57                     <fileset file="@{file}"/>
    57                     <fileset file="@{file}"/>
    69                     </mapper>
    69                     </mapper>
    70                 </copy>
    70                 </copy>
    71             </sequential>
    71             </sequential>
    72         </for>
    72         </for>
    73     </target>
    73     </target>
    74   
    74 
    75   <!-- 
    75     <target name="generate-layers">
       
    76        <echo message="canno-file:${canonical.sysdef.file}"/>
       
    77        <echo message="raptor-filters:raptor_${sysdef.configuration}"/>
       
    78 
       
    79 	   <!-- split builds currently generate layer sysdef from original -->
       
    80 	   <if><istrue value="${sf.spec.splitbuild}"/>
       
    81        <then>
       
    82            <hlm:compileGenxmlFilterMacro xmlns:hlm="http://www.nokia.com/helium" input="${canonical.sysdef.file}" filter="raptor_${sysdef.configuration}" output="${build.output.dir}/build/canonical_system_definition_${sysdef.configuration}_temp.xml"/ >
       
    83 	   </then>
       
    84 	   <else>
       
    85 	       <!-- but all we want is a sysdef with the config name appended, so just copy it -->
       
    86            <echo message="INFO: skip genxml and copy sysdef to sysdef+config name"/>
       
    87            <copy file="${canonical.sysdef.file}" tofile="${build.drive}/output/build/canonical_system_definition_${sysdef.configuration}_temp.xml"/>
       
    88        </else>
       
    89     </if>
       
    90 
       
    91 	<copy file="${build.drive}/output/build/canonical_system_definition_${sysdef.configuration}_temp.xml" tofile="${build.drive}/output/build/canonical_system_definition_${sysdef.configuration}.xml">
       
    92 		<filterchain>
       
    93 			<linecontainsregexp negate="true">
       
    94 			  <regexp pattern="^\s*$"/>
       
    95 			</linecontainsregexp>
       
    96 		</filterchain>
       
    97 	</copy>
       
    98 	<delete file="${build.drive}/output/build/canonical_system_definition_${sysdef.configuration}_temp.xml"/>
       
    99 	</target>
       
   100 
       
   101   <!--
    76     == Name: SF-COMPILE
   102     == Name: SF-COMPILE
    77     ==
   103     ==
    78     == Desc: Override of common sf-compile target defined in
   104     == Desc: Override of common sf-compile target defined in
    79     ==       common\build.xml
   105     ==       common\build.xml
    80     ==       
   106     ==
    81     ==       os  build will be skipped if sf.spec.os.skipbuild=true
   107     ==       os  build will be skipped if sf.spec.os.skipbuild=true
    82     ==       s60 build will be skipped if sf.spec.s60.skipbuild=true
   108     ==       s60 build will be skipped if sf.spec.s60.skipbuild=true
    83     == 
   109     ==
    84     -->
   110     -->
    85   <target name="sf-compile">
   111   <target name="sf-compile">
    86   
   112 
    87     <!-- TODO clean up to single target once genxml v2.0.0 merge is fixed -->
   113     <!-- TODO clean up to single target once genxml v2.0.0 merge is fixed -->
    88     <if><istrue value="${sf.spec.splitbuild}"/>
   114     <if><istrue value="${sf.spec.splitbuild}"/>
    89        <then>
   115        <then>
    90        <if><istrue value="${sf.spec.os.skipbuild}" />
   116        <if><istrue value="${sf.spec.os.skipbuild}" />
    91             <then><echo message="Skipping OS build"/></then>      
   117             <then><echo message="Skipping OS build"/></then>
    92        <else><runtarget target="sf-os-compile"/></else></if>
   118        <else><runtarget target="sf-os-compile"/></else></if>
    93        
   119 
    94        <if><istrue value="${sf.spec.s60.skipbuild}" />
   120        <if><istrue value="${sf.spec.s60.skipbuild}" />
    95             <then><echo message="Skipping S60 build"/></then>       
   121             <then><echo message="Skipping S60 build"/></then>
    96        <else><runtarget target="sf-s60-compile"/></else></if>
   122        <else><runtarget target="sf-s60-compile"/></else></if>
    97 	   </then>
   123 	   </then>
    98 	   <else>
   124 	   <else>
    99 	        <!-- TODO targets for single sysdef build -->
   125 	        <!-- TODO targets for single sysdef build -->
   100 	   
   126 	        <runtarget target="sf-os-compile"/>
   101 	   </else>
   127 	   </else>
   102     </if>
   128     </if>
   103   </target>
   129   </target>
   104 
   130 
   105   <!-- 
   131   <!--
   106     == Name: SF-OS-COMPILE
   132     == Name: SF-OS-COMPILE
   107     ==
   133     ==
   108     == Desc: Compile OS part of build using the spec defined in:
   134     == Desc: Compile OS part of build using the spec defined in:
   109     == 
   135     ==
   110     ==         - job_props.ant.xml
   136     ==         - job_props.ant.xml
   111     ==         - job_refs.ant.xml
   137     ==         - job_refs.ant.xml
   112     ==
   138     ==
   113     -->
   139     -->
   114   <target name="sf-os-compile">
   140   <target name="sf-os-compile">
   115       
   141 
   116         <hlm:argSet id="sbs.tools2.var">
   142         <hlm:argSet id="sbs.tools2.var">
   117                 <hlm:arg name="config" value="tools2_rel" />
   143                 <hlm:arg name="config" value="tools2_rel" />
   118                 <hlm:arg name="singlejob" value="false" />
   144                 <hlm:arg name="singlejob" value="false" />
   119                 <hlm:arg name="enable-filter" value="true" />
   145                 <hlm:arg name="enable-filter" value="true" />
   120         </hlm:argSet>
   146         </hlm:argSet>
   123                 <hlm:arg name="config" value="tools2_rel" />
   149                 <hlm:arg name="config" value="tools2_rel" />
   124                 <hlm:arg name="singlejob" value="false" />
   150                 <hlm:arg name="singlejob" value="false" />
   125                 <hlm:arg name="enable-filter" value="true" />
   151                 <hlm:arg name="enable-filter" value="true" />
   126 				<hlm:arg name="command" value="CLEAN" />
   152 				<hlm:arg name="command" value="CLEAN" />
   127         </hlm:argSet>
   153         </hlm:argSet>
   128         
   154 
   129         <hlm:argSet id="sbs.tools.var"> 
   155         <hlm:argSet id="sbs.tools.var">
   130                 <hlm:arg name="config" value="tools_rel" />
   156                 <hlm:arg name="config" value="tools_rel" />
   131                 <hlm:arg name="singlejob" value="true" />
   157                 <hlm:arg name="singlejob" value="true" />
   132                 <hlm:arg name="enable-filter" value="true" />
   158                 <hlm:arg name="enable-filter" value="true" />
   133         </hlm:argSet>
   159         </hlm:argSet>
   134 		
   160 
   135 		<hlm:argSet id="sbs.tools.clean.var"> 
   161 		<hlm:argSet id="sbs.tools.clean.var">
   136                 <hlm:arg name="config" value="tools_rel" />
   162                 <hlm:arg name="config" value="tools_rel" />
   137                 <hlm:arg name="singlejob" value="true" />
   163                 <hlm:arg name="singlejob" value="true" />
   138                 <hlm:arg name="enable-filter" value="true" />
   164                 <hlm:arg name="enable-filter" value="true" />
   139 				<hlm:arg name="command" value="CLEAN" />
   165 				<hlm:arg name="command" value="CLEAN" />
   140         </hlm:argSet>
   166         </hlm:argSet>
   147 		<hlm:argSet id="sbs.main.clean.sbs.var">
   173 		<hlm:argSet id="sbs.main.clean.sbs.var">
   148                 <hlm:arg name="config" value="${sf.spec.sbs.config}" />
   174                 <hlm:arg name="config" value="${sf.spec.sbs.config}" />
   149                 <hlm:arg name="enable-filter" value="true" />
   175                 <hlm:arg name="enable-filter" value="true" />
   150 				<hlm:arg name="command" value="CLEAN" />
   176 				<hlm:arg name="command" value="CLEAN" />
   151         </hlm:argSet>
   177         </hlm:argSet>
   152 		
   178 
   153         <hlm:sbsMakeOptions engine="gmake" id="sbs.toolsbuild.options" />
   179         <hlm:sbsMakeOptions engine="gmake" id="sbs.toolsbuild.options" />
   154         <hlm:sbsMakeOptions engine="gmake" id="sbs.fullbuild.options" />
   180         <hlm:sbsMakeOptions engine="gmake" id="sbs.fullbuild.options" />
   155 
   181 
   156 		<!-- OS clean tools2 build first>
   182 		<!-- OS clean tools2 build first>
   157         <antcall target="compile-main" inheritAll="false" inheritRefs="true">
   183         <antcall target="compile-main" inheritAll="false" inheritRefs="true">
   161                 <param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/>
   187                 <param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/>
   162                 <reference refid="sbs.tools2.clean.var" torefid="sbs.var" />
   188                 <reference refid="sbs.tools2.clean.var" torefid="sbs.var" />
   163                 <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" />
   189                 <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" />
   164                 <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" />
   190                 <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" />
   165         </antcall-->
   191         </antcall-->
   166 		
   192 
   167         <!-- OS tools2 build first-->
   193         <!-- OS tools2 build first-->
   168         <antcall target="compile-main" inheritAll="false" inheritRefs="true">
   194         <antcall target="compile-main" inheritAll="false" inheritRefs="true">
   169                 <param name="build.system" value="${sf.spec.build.system}" />
   195                 <param name="build.system" value="${sf.spec.build.system}" />
   170                 <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" />
   196                 <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" />
   171                 <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
   197                 <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
   183                 <param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/>
   209                 <param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/>
   184                 <reference refid="sbs.tools.clean.var" torefid="sbs.var" />
   210                 <reference refid="sbs.tools.clean.var" torefid="sbs.var" />
   185                 <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" />
   211                 <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" />
   186                 <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" />
   212                 <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" />
   187         </antcall-->
   213         </antcall-->
   188 		
   214 
   189         <!-- OS tools build after tools2 -->
   215         <!-- OS tools build after tools2 -->
   190         <antcall target="compile-main" inheritAll="false" inheritRefs="true">
   216         <antcall target="compile-main" inheritAll="false" inheritRefs="true">
   191                 <param name="build.system" value="${sf.spec.build.system}" />
   217                 <param name="build.system" value="${sf.spec.build.system}" />
   192                 <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" />
   218                 <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" />
   193                 <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
   219                 <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
   200 		<!-- OS clean main build -->
   226 		<!-- OS clean main build -->
   201         <antcall target="compile-main" inheritAll="false" inheritRefs="true">
   227         <antcall target="compile-main" inheritAll="false" inheritRefs="true">
   202                 <param name="build.system" value="${sf.spec.build.system}" />
   228                 <param name="build.system" value="${sf.spec.build.system}" />
   203                 <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" />
   229                 <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" />
   204                 <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
   230                 <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
   205                 <param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/>                    
   231                 <param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/>
   206                 <reference refid="sbs.main.clean.sbs.var" torefid="sbs.var" />
   232                 <reference refid="sbs.main.clean.sbs.var" torefid="sbs.var" />
   207                 <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
   233                 <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
   208                 <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" />
   234                 <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" />
   209         </antcall> 
   235         </antcall>
   210 		
   236 
   211         <!-- OS main build -->
   237         <!-- OS main build -->
   212         <antcall target="compile-main" inheritAll="false" inheritRefs="true">
   238         <antcall target="compile-main" inheritAll="false" inheritRefs="true">
   213                 <param name="build.system" value="${sf.spec.build.system}" />
   239                 <param name="build.system" value="${sf.spec.build.system}" />
   214                 <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" />
   240                 <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" />
   215                 <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
   241                 <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
   216                 <param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/>                    
   242                 <param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/>
   217                 <reference refid="sbs.main.sbs.var" torefid="sbs.var" />
   243                 <reference refid="sbs.main.sbs.var" torefid="sbs.var" />
   218                 <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
   244                 <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
   219                 <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" />
   245                 <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" />
   220         </antcall>            
   246         </antcall>
   221   </target>
   247   </target>
   222   
   248 
   223   <!-- 
   249   <!--
   224     == Name: SF-S60-COMPILE
   250     == Name: SF-S60-COMPILE
   225     ==
   251     ==
   226     == Desc: Compile S60 part of build using the spec defined in:
   252     == Desc: Compile S60 part of build using the spec defined in:
   227     == 
   253     ==
   228     ==         - job_props.ant.xml
   254     ==         - job_props.ant.xml
   229     ==         - job_refs.ant.xml
   255     ==         - job_refs.ant.xml
   230     ==
   256     ==
   231     -->
   257     -->
   232   <target name="sf-s60-compile">
   258   <target name="sf-s60-compile">
   233   
   259 
   234         <hlm:argSet id="sbs.tools.var">
   260         <hlm:argSet id="sbs.tools.var">
   235           			<hlm:arg name="config" value="${sf.spec.sbs.tools.config}" />
   261           			<hlm:arg name="config" value="${sf.spec.sbs.tools.config}" />
   236           			<hlm:arg name="singlejob" value="true" />
   262           			<hlm:arg name="singlejob" value="true" />
   237           			<hlm:arg name="enable-filter" value="true" />
   263           			<hlm:arg name="enable-filter" value="true" />
   238     		</hlm:argSet>
   264     		</hlm:argSet>
   239 			
   265 
   240 			<hlm:argSet id="sbs.tools.clean.var">
   266 			<hlm:argSet id="sbs.tools.clean.var">
   241           			<hlm:arg name="config" value="${sf.spec.sbs.tools.config}" />
   267           			<hlm:arg name="config" value="${sf.spec.sbs.tools.config}" />
   242           			<hlm:arg name="singlejob" value="true" />
   268           			<hlm:arg name="singlejob" value="true" />
   243           			<hlm:arg name="enable-filter" value="true" />
   269           			<hlm:arg name="enable-filter" value="true" />
   244     		</hlm:argSet>
   270     		</hlm:argSet>
   245     
   271 
   246     		<hlm:argSet id="sbs.main.sbs.var">
   272     		<hlm:argSet id="sbs.main.sbs.var">
   247           			<hlm:arg name="config" value="${sf.spec.sbs.config}" />
   273           			<hlm:arg name="config" value="${sf.spec.sbs.config}" />
   248           			<hlm:arg name="enable-filter" value="true" />
   274           			<hlm:arg name="enable-filter" value="true" />
   249     		</hlm:argSet>
   275     		</hlm:argSet>
   250 			
   276 
   251 			<hlm:argSet id="sbs.main.clean.sbs.var">
   277 			<hlm:argSet id="sbs.main.clean.sbs.var">
   252           			<hlm:arg name="config" value="${sf.spec.sbs.config}" />
   278           			<hlm:arg name="config" value="${sf.spec.sbs.config}" />
   253           			<hlm:arg name="enable-filter" value="true" />
   279           			<hlm:arg name="enable-filter" value="true" />
   254 					<hlm:arg name="command" value="CLEAN" />
   280 					<hlm:arg name="command" value="CLEAN" />
   255     		</hlm:argSet>
   281     		</hlm:argSet>
   256         
   282 
   257     		<hlm:sbsMakeOptions engine="gmake" id="sbs.toolsbuild.options" />
   283     		<hlm:sbsMakeOptions engine="gmake" id="sbs.toolsbuild.options" />
   258     		<hlm:sbsMakeOptions engine="gmake" id="sbs.fullbuild.options" />
   284     		<hlm:sbsMakeOptions engine="gmake" id="sbs.fullbuild.options" />
   259 
   285 
   260             <!-- s60 clean tools build>
   286             <!-- s60 clean tools build>
   261     		<antcall target="compile-main" inheritAll="false" inheritRefs="true">
   287     		<antcall target="compile-main" inheritAll="false" inheritRefs="true">
   262           			<param name="build.system" value="${sf.spec.build.system}" />
   288           			<param name="build.system" value="${sf.spec.build.system}" />
   263           			<param name="sysdef.configurations.list" value="${sf.spec.s60.sysdef.clean.configurations.list}" />
   289           			<param name="sysdef.configurations.list" value="${sf.spec.s60.sysdef.clean.configurations.list}" />
   264                     <param name="sf.spec.sysdef.version" value ="${sf.spec.s60.sysdef.version}"/>                                   
   290                     <param name="sf.spec.sysdef.version" value ="${sf.spec.s60.sysdef.version}"/>
   265           			<reference refid="sbs.tools.clean.var" torefid="sbs.var" />
   291           			<reference refid="sbs.tools.clean.var" torefid="sbs.var" />
   266           			<reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" />
   292           			<reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" />
   267           			<reference refid="sf.spec.s60.system.definition.files" torefid="system.definition.files" />
   293           			<reference refid="sf.spec.s60.system.definition.files" torefid="system.definition.files" />
   268     		</antcall-->
   294     		</antcall-->
   269 			
   295 
   270             <!-- s60  tools build -->
   296             <!-- s60  tools build -->
   271     		<antcall target="compile-main" inheritAll="false" inheritRefs="true">
   297     		<antcall target="compile-main" inheritAll="false" inheritRefs="true">
   272           			<param name="build.system" value="${sf.spec.build.system}" />
   298           			<param name="build.system" value="${sf.spec.build.system}" />
   273           			<param name="sysdef.configurations.list" value="${sf.spec.s60.sysdef.clean.configurations.list}" />
   299           			<param name="sysdef.configurations.list" value="${sf.spec.s60.sysdef.clean.configurations.list}" />
   274                 <param name="sf.spec.sysdef.version" value ="${sf.spec.s60.sysdef.version}"/>                                   
   300                 <param name="sf.spec.sysdef.version" value ="${sf.spec.s60.sysdef.version}"/>
   275           			<reference refid="sbs.tools.var" torefid="sbs.var" />
   301           			<reference refid="sbs.tools.var" torefid="sbs.var" />
   276           			<reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" />
   302           			<reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" />
   277           			<reference refid="sf.spec.s60.system.definition.files" torefid="system.definition.files" />
   303           			<reference refid="sf.spec.s60.system.definition.files" torefid="system.definition.files" />
   278     		</antcall>
   304     		</antcall>
   279     
   305 
   280 	        <!-- s60 clean main build -->
   306 	        <!-- s60 clean main build -->
   281     		<antcall target="compile-main" inheritAll="false" inheritRefs="true">
   307     		<antcall target="compile-main" inheritAll="false" inheritRefs="true">
   282           			<param name="build.system" value="${sf.spec.build.system}" />
   308           			<param name="build.system" value="${sf.spec.build.system}" />
   283           			<param name="sysdef.configurations.list" value="${sf.spec.s60.sysdef.clean.configurations.list}" />
   309           			<param name="sysdef.configurations.list" value="${sf.spec.s60.sysdef.clean.configurations.list}" />
   284                     <param name="sf.spec.sysdef.version" value="${sf.spec.s60.sysdef.version}"/> 
   310                     <param name="sf.spec.sysdef.version" value="${sf.spec.s60.sysdef.version}"/>
   285           			<reference refid="sbs.main.clean.sbs.var" torefid="sbs.var" />
   311           			<reference refid="sbs.main.clean.sbs.var" torefid="sbs.var" />
   286           			<reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
   312           			<reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
   287           			<reference refid="sf.spec.s60.system.definition.files" torefid="system.definition.files" />
   313           			<reference refid="sf.spec.s60.system.definition.files" torefid="system.definition.files" />
   288     		</antcall>
   314     		</antcall>
   289 			
   315 
   290     		<!-- s60 main build -->
   316     		<!-- s60 main build -->
   291     		<antcall target="compile-main" inheritAll="false" inheritRefs="true">
   317     		<antcall target="compile-main" inheritAll="false" inheritRefs="true">
   292           			<param name="build.system" value="${sf.spec.build.system}" />
   318           			<param name="build.system" value="${sf.spec.build.system}" />
   293           			<param name="sysdef.configurations.list" value="${sf.spec.s60.sysdef.clean.configurations.list}" />
   319           			<param name="sysdef.configurations.list" value="${sf.spec.s60.sysdef.clean.configurations.list}" />
   294                     <param name="sf.spec.sysdef.version" value="${sf.spec.s60.sysdef.version}"/> 
   320                     <param name="sf.spec.sysdef.version" value="${sf.spec.s60.sysdef.version}"/>
   295           			<reference refid="sbs.main.sbs.var" torefid="sbs.var" />
   321           			<reference refid="sbs.main.sbs.var" torefid="sbs.var" />
   296           			<reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
   322           			<reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
   297           			<reference refid="sf.spec.s60.system.definition.files" torefid="system.definition.files" />
   323           			<reference refid="sf.spec.s60.system.definition.files" torefid="system.definition.files" />
   298     		</antcall>
   324     		</antcall>
   299     
   325 
   300     		<!-- s60 postbuild bldmelast using ebs -->
   326     		<!-- s60 postbuild bldmelast using ebs -->
   301     		<antcall target="compile-main" inheritAll="false">
   327     		<antcall target="compile-main" inheritAll="false">
   302           			<param name="build.system" value="ebs" />
   328           			<param name="build.system" value="ebs" />
   303           			<param name="sysdef.configurations.list" value="S60_bldmelast" />
   329           			<param name="sysdef.configurations.list" value="S60_bldmelast" />
   304           			<reference refid="sf.spec.s60.system.definition.files" torefid="system.definition.files" />
   330           			<reference refid="sf.spec.s60.system.definition.files" torefid="system.definition.files" />
   305     		</antcall>
   331     		</antcall>
   306 
   332 
   307 	</target>
   333 	</target>
   308   
   334 
   309   <!-- import sf-common-config -->
   335   <!-- import sf-common-config -->
   310   <import file="../common/build.xml" />
   336   <import file="../common/build.xml" />
   311   
   337 
   312 </project>
   338 </project>
   313 
   339