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