625
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
1 |
<?xml version="1.0" encoding="ISO-8859-1"?>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
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">
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
3 |
<!-- build variants for x86 toolchain builds -->
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
4 |
<var name="x86" extends="root">
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
5 |
<varRef ref="default.interfaces"/>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
6 |
<varRef ref="default.locations"/>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
7 |
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
8 |
<!-- tools and scripts -->
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
9 |
<env name="BMCONV" default="$(EPOCROOT)/epoc32/tools/bmconv$(DOTEXE)" type="tool"/>
|
641
|
10 |
<env name="SBS_CHECKLIB" default="$(EPOCTOOLS)/checklib$(DOTEXE)" type="tool"/>
|
|
11 |
<set name="CHECKLIB" value="$(SBS_CHECKLIB)"/>
|
625
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
12 |
<env name="CPPFILT" default="$(GCCPREFIX)c++filt$(DOTEXE)" type="tool"/>
|
641
|
13 |
<env name="SBS_EFREEZE" default="$(PERL) $(EPOCTOOLS)/efreeze.pl" type="script"/>
|
|
14 |
<set name="EFREEZE" value="$(SBS_EFREEZE)"/>
|
674
|
15 |
<env name="SBS_DEF2DLL" default="$(PERL) $(EPOCTOOLS)/def2dll.pl" type="script"/>
|
|
16 |
<set name="DEF2DLLTOOL" value="$(SBS_DEF2DLL)"/>
|
|
17 |
<env name="SBS_GENDEF" default="$(PERL) $(EPOCTOOLS)/gendef.pl" type="script"/>
|
|
18 |
<set name="GENDEF" value="$(SBS_GENDEF)"/>
|
641
|
19 |
<env name="SBS_PETRAN" default="$(EPOCTOOLS)/petran$(DOTEXE)" type="tool"/>
|
|
20 |
<set name="PETRAN" value="$(SBS_PETRAN)"/>
|
|
21 |
<env name="SBS_PREPDEF" default="$(PERL) $(EPOCTOOLS)/prepdef.pl" type="script"/>
|
|
22 |
<set name="PREPDEF" value="$(SBS_PREPDEF)"/>
|
|
23 |
|
|
24 |
<env name="SBS_RCOMP" default="$(EPOCTOOLS)/rcomp$(DOTEXE)" type="tool"/>
|
|
25 |
<set name="RCOMP" value="$(SBS_RCOMP)"/>
|
625
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
26 |
<!-- 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. -->
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
27 |
<env name="RANSLEEP" default="$(SBS_HOME)/bin/$(HOSTPLATFORM_DIR)/ransleep$(DOTEXE)" type="tool"/>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
28 |
<env name="SBSV1MAKE" default="$(EPOCROOT)/epoc32/tools/make$(DOTEXE)" type="tool"/>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
29 |
<env name="STRINGTABLE" default="$(PERL) $(EPOCROOT)/epoc32/tools/stringtable.pl" type="script"/>
|
641
|
30 |
<env name="SBS_TRANASM" default="$(PERL) $(EPOCTOOLS)/tranasm.pl" type="script"/>
|
|
31 |
<set name="TRANASM" value="$(SBS_TRANASM)"/>
|
625
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
32 |
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
33 |
<set name="BASE_ARCH" value="x86"/>
|
641
|
34 |
<set name="POSTLINKER" value="$(SBS_PETRAN)"/>
|
625
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
35 |
<set name="IMPLIBTOOL" value="$(DLLTOOL)"/>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
36 |
<set name="DEFGENTOOL" value="$(GENDEF)"/>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
37 |
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
38 |
<!-- targettypes -->
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
39 |
<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"/>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
40 |
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
41 |
<!-- interfaces -->
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
42 |
<append name="INTERFACE_TYPES" value="$(TARGET_TYPES)"/>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
43 |
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
44 |
<!-- START block interfaces -->
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
45 |
<set name="INTERFACE.extension" value="Symbian.extension"/>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
46 |
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
47 |
<!-- macros -->
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
48 |
<set name="PLATMACROS.WINDOWS" value="$(PLATMACROS.TOOLCHAIN) EPOC32 $(PLATMACROS.CONFIG) $(PLATMACROS.VAR)"/>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
49 |
<set name="PLATMACROS.LINUX" value="$(PLATMACROS.WINDOWS)"/>
|
630
|
50 |
<set name="PLATMACROS.CONFIG" value="X86 GENERIC_X86"/>
|
625
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
51 |
<set name="PLATMACROS.VAR" value=""/>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
52 |
<set name="PLATMACROS.TOOLCHAIN" value=""/>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
53 |
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
54 |
<set name="BLDINF_OUTPUTPATH" value="$(SBS_BUILD_DIR)"/>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
55 |
<set name="CAPABILITY" value=""/>
|
630
|
56 |
<set name="CDEFS" value="__X86__ _UNICODE __SYMBIAN32__ __EPOC32__ PRODUCT_INCLUDE="$(PRODUCT_INCLUDE)" $(MMPDEFS)"/>
|
625
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
57 |
<set name="CODE_SEGMENT_START" value=""/>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
58 |
<set name="COMPILER_FPU_DEFAULT" value=""/>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
59 |
<set name="COMPILER_NO_HIDE_ALL_OPTION" value=""/>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
60 |
<set name="DEBUG_FORMAT" value=""/>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
61 |
<set name="DEFAULT_STDCPP_NEWLIB" value="stdnew.dso"/>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
62 |
<set name="DEFAULT_SYMBIAN_NEWLIB" value=""/>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
63 |
<set name="EPOCSTACKSIZE" value=""/>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
64 |
<set name="FIX_EXPORTS_USING_EXP_FILE" value="1"/>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
65 |
<set name="FULLVARIANTPATH" value="$(VARIANTPLATFORM)/$(VARIANTTYPE)"/>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
66 |
<set name="HEADER_FILES_CONTROL_OPTION" value=""/>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
67 |
<set name="IMPLIB_EXTENSION" value="lib"/>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
68 |
<set name="LIBRARY_DEBUG" value=""/>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
69 |
<set name="LINKER_ARCH_OPTION" value=""/>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
70 |
<set name="LINKER_ENTRYPOINT_PREFIX" value="__"/>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
71 |
<set name="MMPDEFS" value=""/>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
72 |
<set name="NMAKE" value="nmake"/>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
73 |
<set name="NMAKEFLAGS" value="-nologo -x - "/>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
74 |
<set name="NO_UNALIGNED_ACCESS" value="$(CC.NO_UNALIGNED_ACCESS)"/>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
75 |
<set name="OUTPUTPATH" value="$(SBS_BUILD_DIR)"/>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
76 |
<set name="PERTURBSTARTTIME" value=""/>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
77 |
<!-- add a random delay before starting tools to ease contention for licenses the maximum time to delay in milliseconds. RANSLEEP program must be available. -->
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
78 |
<set name="PERTURBMSECS" value="500"/>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
79 |
<!-- the maximum time to delay in milliseconds -->
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
80 |
<set name="POSTLINKER_COMPRESSION_DEFAULT" value="none"/>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
81 |
<set name="POSTLINKER_FPU_DEFAULT" value="$(PL.SOFTVFP_MAYBE_VFPV2)"/>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
82 |
<set name="POSTLINKER_FPU_MAPPING" value=""/>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
83 |
<set name="RELEASEPATH" value="$(EPOCROOT)/epoc32/release"/>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
84 |
<set name="RESOLVED_DEFFILE" value=""/>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
85 |
<set name="RESOLVED_DEFFILE_SECONDARY" value=""/>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
86 |
<set name="RUNTIME_LIBS_PATH" value="$(EPOCROOT)/epoc32/release/$(VARIANTPLATFORM)/lib"/>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
87 |
<set name="SID" value=""/>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
88 |
<set name="STATIC_LIBRARY_DIR" value="$(EPOCROOT)/epoc32/release/$(VARIANTPLATFORM)/$(VARIANTTYPE)"/>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
89 |
<set name="STATIC_RUNTIME_DIR" value="$(EPOCROOT)/epoc32/release/$(VARIANTPLATFORM)/$(VARIANTTYPE)"/>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
90 |
<set name="SYMBIAN_CC_MESSAGE_OPTION" value="$(CC_WARNINGS_CONTROL_OPTION) $(CC_ERRORS_CONTROL_OPTION)"/>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
91 |
<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)"/>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
92 |
<set name="SYMBIAN_LINK_FLAGS.CONFIG" value=""/>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
93 |
<set name="SYMBIAN_LINK_FLAGS.VAR" value=""/>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
94 |
<set name="SYSTEMINCLUDE" value=""/>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
95 |
<set name="TARGET" value=""/>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
96 |
<set name="TARGET_ARCH_OPTION" value=""/>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
97 |
<set name="TREAT_EXES_AS_SHARED" value=""/>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
98 |
<set name="UNRESOLVED_SYMBOL_REF_OPTION" value=""/>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
99 |
</var>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
100 |
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
101 |
<alias name="x86_urel" meaning="x86.urel.gccx86"/>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
102 |
<alias name="x86_udeb" meaning="x86.udeb.gccx86"/>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
103 |
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
104 |
<group name="x86">
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
105 |
<aliasRef ref="x86_urel"/>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
106 |
<aliasRef ref="x86_udeb"/>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
107 |
</group>
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
108 |
|
Richard Taylor <richard.i.taylor@nokia.com>
parents:
diff
changeset
|
109 |
</build>
|