sbsv2/raptor/lib/config/x86.xml
changeset 28 b8fa7dfeeaa1
equal deleted inserted replaced
27:3a31ca4b29c4 28:b8fa7dfeeaa1
       
     1 <?xml version="1.0" encoding="ISO-8859-1"?>
       
     2 <build xmlns="http://symbian.com/xml/build" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://symbian.com/xml/build ../../schema/build/2_0.xsd">
       
     3 	<!-- build variants for x86 toolchain builds -->
       
     4 	<var name="x86" extends="root">
       
     5 		<varRef ref="default.interfaces"/>
       
     6 		<varRef ref="default.locations"/>
       
     7 		
       
     8 		<!-- tools and scripts -->
       
     9 		<env name="BMCONV" default="$(EPOCROOT)/epoc32/tools/bmconv$(DOTEXE)" type="tool"/>
       
    10 		<env name="SBS_CHECKLIB" default="$(EPOCTOOLS)/checklib$(DOTEXE)" type="tool"/>
       
    11 		<set name="CHECKLIB" value="$(SBS_CHECKLIB)"/>
       
    12 		<env name="CPPFILT" default="$(GCCPREFIX)c++filt$(DOTEXE)" type="tool"/>
       
    13 		<env name="SBS_EFREEZE" default="$(PERL) $(EPOCTOOLS)/efreeze.pl" type="script"/>
       
    14 		<set name="EFREEZE" value="$(SBS_EFREEZE)"/>
       
    15 		<env name="GENDEF" default="$(PERL) $(EPOCROOT)/epoc32/tools/gendef.pl" type="script"/>
       
    16 		<env name="SBS_PETRAN" default="$(EPOCTOOLS)/petran$(DOTEXE)" type="tool"/>
       
    17 		<set name="PETRAN" value="$(SBS_PETRAN)"/>
       
    18 		<env name="SBS_PREPDEF" default="$(PERL) $(EPOCTOOLS)/prepdef.pl" type="script"/>
       
    19 		<set name="PREPDEF" value="$(SBS_PREPDEF)"/>
       
    20 
       
    21 		<env name="SBS_RCOMP" default="$(EPOCTOOLS)/rcomp$(DOTEXE)" type="tool"/>
       
    22 		<set name="RCOMP" value="$(SBS_RCOMP)"/>
       
    23 		<!-- RANSLEEP is a program that can be used to cause a random delay in milliseconds. This is only useful in parallel builds. See the PERTURBSTARTTIME switch for more details.  -->
       
    24 		<env name="RANSLEEP" default="$(SBS_HOME)/bin/$(HOSTPLATFORM_DIR)/ransleep$(DOTEXE)" type="tool"/>
       
    25 		<env name="SBSV1MAKE" default="$(EPOCROOT)/epoc32/tools/make$(DOTEXE)" type="tool"/>
       
    26 		<env name="STRINGTABLE" default="$(PERL) $(EPOCROOT)/epoc32/tools/stringtable.pl" type="script"/>
       
    27 		<env name="SBS_TRANASM" default="$(PERL) $(EPOCTOOLS)/tranasm.pl" type="script"/>
       
    28 		<set name="TRANASM" value="$(SBS_TRANASM)"/>
       
    29 		
       
    30 		<set name="BASE_ARCH" value="x86"/>
       
    31 		<set name="POSTLINKER" value="$(SBS_PETRAN)"/>
       
    32 		<set name="IMPLIBTOOL" value="$(DLLTOOL)"/>
       
    33 		<set name="DEFGENTOOL" value="$(GENDEF)"/>
       
    34 		
       
    35 		<!-- targettypes -->
       
    36 		<set name="TARGET_TYPES" value="ani dll exe exexp implib fsy kdll kext klib ldd lib pdd pdl pdll plugin plugin3 stdexe stddll stdlib textnotifier2 var var2 none"/>
       
    37 		
       
    38 		<!-- interfaces -->
       
    39 		<append name="INTERFACE_TYPES" value="$(TARGET_TYPES)"/>
       
    40 
       
    41 		<!-- START block interfaces -->
       
    42 		<set name="INTERFACE.extension" value="Symbian.extension"/>
       
    43 		
       
    44 		<!-- macros -->
       
    45 		<set name="PLATMACROS.WINDOWS" value="$(PLATMACROS.TOOLCHAIN) EPOC32 $(PLATMACROS.CONFIG) $(PLATMACROS.VAR)"/>
       
    46 		<set name="PLATMACROS.LINUX" value="$(PLATMACROS.WINDOWS)"/>
       
    47 		<set name="PLATMACROS.CONFIG" value="X86 GENERIC_X86"/>
       
    48 		<set name="PLATMACROS.VAR" value=""/>
       
    49 		<set name="PLATMACROS.TOOLCHAIN" value=""/>
       
    50 		
       
    51 		<set name="BLDINF_OUTPUTPATH" value="$(SBS_BUILD_DIR)"/>
       
    52 		<set name="CAPABILITY" value=""/>
       
    53 		<set name="CDEFS" value="__X86__ _UNICODE __SYMBIAN32__ __EPOC32__ PRODUCT_INCLUDE=&quot;$(PRODUCT_INCLUDE)&quot; $(MMPDEFS)"/>
       
    54 		<set name="CODE_SEGMENT_START" value=""/>
       
    55 		<set name="COMPILER_FPU_DEFAULT" value=""/>
       
    56 		<set name="COMPILER_NO_HIDE_ALL_OPTION" value=""/>
       
    57 		<set name="DEBUG_FORMAT" value=""/>
       
    58 		<set name="DEFAULT_STDCPP_NEWLIB" value="stdnew.dso"/>
       
    59 		<set name="DEFAULT_SYMBIAN_NEWLIB" value=""/>
       
    60 		<set name="EPOCSTACKSIZE" value=""/>
       
    61 		<set name="FIX_EXPORTS_USING_EXP_FILE" value="1"/>
       
    62 		<set name="FULLVARIANTPATH" value="$(VARIANTPLATFORM)/$(VARIANTTYPE)"/>
       
    63 		<set name="HEADER_FILES_CONTROL_OPTION" value=""/>
       
    64 		<set name="IMPLIB_EXTENSION" value="lib"/>
       
    65 		<set name="LIBRARY_DEBUG" value=""/>
       
    66 		<set name="LINKER_ARCH_OPTION" value=""/>
       
    67 		<set name="LINKER_ENTRYPOINT_PREFIX" value="__"/>
       
    68 		<set name="MMPDEFS" value=""/>
       
    69 		<set name="NMAKE" value="nmake"/>
       
    70 		<set name="NMAKEFLAGS" value="-nologo -x - "/>
       
    71 		<set name="NO_UNALIGNED_ACCESS" value="$(CC.NO_UNALIGNED_ACCESS)"/>
       
    72 		<set name="OUTPUTPATH" value="$(SBS_BUILD_DIR)"/>
       
    73 		<set name="PERTURBSTARTTIME" value=""/>
       
    74 		<!-- add a random delay before starting tools to ease contention for licenses the maximum time to delay in milliseconds. RANSLEEP program must be available.   -->
       
    75 		<set name="PERTURBMSECS" value="500"/>
       
    76 		<!-- the maximum time to delay in milliseconds -->
       
    77 		<set name="POSTLINKER_COMPRESSION_DEFAULT" value="none"/>
       
    78 		<set name="POSTLINKER_FPU_DEFAULT" value="$(PL.SOFTVFP_MAYBE_VFPV2)"/>
       
    79 		<set name="POSTLINKER_FPU_MAPPING" value=""/>
       
    80 		<set name="RELEASEPATH" value="$(EPOCROOT)/epoc32/release"/>
       
    81 		<set name="RESOLVED_DEFFILE" value=""/>
       
    82 		<set name="RESOLVED_DEFFILE_SECONDARY" value=""/>
       
    83 		<set name="RUNTIME_LIBS_PATH" value="$(EPOCROOT)/epoc32/release/$(VARIANTPLATFORM)/lib"/>
       
    84 		<set name="SID" value=""/>
       
    85 		<set name="STATIC_LIBRARY_DIR" value="$(EPOCROOT)/epoc32/release/$(VARIANTPLATFORM)/$(VARIANTTYPE)"/>
       
    86 		<set name="STATIC_RUNTIME_DIR" value="$(EPOCROOT)/epoc32/release/$(VARIANTPLATFORM)/$(VARIANTTYPE)"/>
       
    87 		<set name="SYMBIAN_CC_MESSAGE_OPTION" value="$(CC_WARNINGS_CONTROL_OPTION) $(CC_ERRORS_CONTROL_OPTION)"/>
       
    88 		<set name="SYMBIAN_LINK_FLAGS" value="$(SYMBIAN_LD_MESSAGE_OPTION) $(BPABI_OPTION) $(RELOCATABLE_IMAGE_OPTION) $(UNRESOLVED_SYMBOL_REF_OPTION) $(STDLIB_OPTION) $(EXTRA_LD_OPTION) $(SYMBIAN_LINK_FLAGS.CONFIG) $(SYMBIAN_LINK_FLAGS.VAR)"/>
       
    89 		<set name="SYMBIAN_LINK_FLAGS.CONFIG" value=""/>
       
    90 		<set name="SYMBIAN_LINK_FLAGS.VAR" value=""/>
       
    91 		<set name="SYSTEMINCLUDE" value=""/>
       
    92 		<set name="TARGET" value=""/>
       
    93 		<set name="TARGET_ARCH_OPTION" value=""/>
       
    94 		<set name="TREAT_EXES_AS_SHARED" value=""/>
       
    95 		<set name="UNRESOLVED_SYMBOL_REF_OPTION" value=""/>	
       
    96 	</var>
       
    97 
       
    98 	<alias name="x86_urel" meaning="x86.urel.gccx86"/>
       
    99 	<alias name="x86_udeb" meaning="x86.udeb.gccx86"/>
       
   100 
       
   101 	<group name="x86">
       
   102 		<aliasRef ref="x86_urel"/>
       
   103 		<aliasRef ref="x86_udeb"/>
       
   104 	</group>
       
   105 	
       
   106 </build>