3
|
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 configurations for the gccxml_cc1plus C++ language processor -->
|
|
4 |
<var name="gccxml_base" extends="root">
|
|
5 |
<varRef ref="default.interfaces"/>
|
|
6 |
<varRef ref="default.locations"/>
|
|
7 |
<!-- picked up from the Environment -->
|
|
8 |
<env name='CPP' default='$(GNUCPP)' type='tool'/>
|
|
9 |
<env name='BMCONV' default="$(EPOCROOT)/epoc32/tools/bmconv$(DOTEXE)" type='tool'/>
|
|
10 |
<env name='CREATERFIFILE' default='$(PERL) $(SBS_HOME)/bin/createrfifile.pl ' type='path'/>
|
|
11 |
<env name='GNUAWK' default='$(GNUPREFIX)gawk$(DOTEXE)' type='tool' versionCommand='$(GNUAWK) --version' versionResult='GNU Awk [3-9].*'/>
|
|
12 |
<env name='MAKEDEF' default='$(PERL) $(EPOCROOT)/epoc32/tools/makedef.pl' type='path'/>
|
|
13 |
<env name='PREPDEF' default='$(PERL) $(EPOCROOT)/epoc32/tools/prepdef.pl' type='path'/>
|
|
14 |
<env name='RCOMP' default='$(EPOCROOT)/epoc32/tools/rcomp$(DOTEXE)' type='tool'/>
|
|
15 |
<env name='RVCT22BIN' type='path'/>
|
|
16 |
<env name='RVCT22INC' type='path'/>
|
|
17 |
<env name='RVCT22LIB' type='path'/>
|
|
18 |
<env name='STRINGTABLE' default='$(PERL) $(EPOCROOT)/epoc32/tools/stringtable.pl' type='path'/>
|
|
19 |
|
|
20 |
<!-- link to bld.inf and mmp platform names -->
|
|
21 |
<set name='TRADITIONAL_PLATFORM' value='GCCXML'/>
|
|
22 |
|
|
23 |
<!-- interfaces -->
|
|
24 |
<set name="INTERFACE.ani" value="analysis.ani"/>
|
|
25 |
<set name="INTERFACE.dll" value="analysis.dll"/>
|
|
26 |
<set name="INTERFACE.exe" value="analysis.exe"/>
|
|
27 |
<set name="INTERFACE.exexp" value="analysis.exexp"/>
|
|
28 |
<set name="INTERFACE.extension" value="analysis.extension"/>
|
|
29 |
<set name="INTERFACE.implib" value="analysis.implib"/>
|
|
30 |
<set name="INTERFACE.fsy" value="analysis.fsy"/>
|
|
31 |
<set name="INTERFACE.kdll" value="analysis.kdll"/>
|
|
32 |
<set name="INTERFACE.kext" value="analysis.kext"/>
|
|
33 |
<set name="INTERFACE.klib" value="analysis.klib"/>
|
|
34 |
<set name="INTERFACE.ldd" value="analysis.ldd"/>
|
|
35 |
<set name="INTERFACE.lib" value="analysis.lib"/>
|
|
36 |
<set name="INTERFACE.pdd" value="analysis.pdd"/>
|
|
37 |
<set name="INTERFACE.pdl" value="analysis.pdl"/>
|
|
38 |
<set name="INTERFACE.plugin" value="analysis.plugin"/>
|
|
39 |
<set name="INTERFACE.resource" value="analysis.resource"/>
|
|
40 |
<set name="INTERFACE.stddll" value="analysis.stddll"/>
|
|
41 |
<set name="INTERFACE.stdexe" value="analysis.stdexe"/>
|
|
42 |
<set name="INTERFACE.stdlib" value="analysis.stdlib"/>
|
|
43 |
<set name="INTERFACE.textnotifier2" value="analysis.textnotifier2"/>
|
|
44 |
<set name="INTERFACE.var" value="analysis.var"/>
|
|
45 |
<set name="INTERFACE.var2" value="analysis.var2"/>
|
|
46 |
<!-- the following should really be done via the default "Symbian.*" interfaces from standard.xml - but they're currently tied to non-defaulted ARM build specifics -->
|
|
47 |
<set name="INTERFACE.none" value="analysis.none"/>
|
|
48 |
|
|
49 |
<!-- Java used by Trace Compiler -->
|
|
50 |
<env name='JAVA_HOME' default='' type='path'/>
|
|
51 |
<env name='JAVATC' default='$(JAVA_HOME)/bin/java' type='tool'/>
|
|
52 |
|
|
53 |
<!-- note that gccxml_cc1plus should be version checked, but I've yet to find a reliable way of doing this -->
|
|
54 |
<set name='CC' value="$(EPOCROOT)/epoc32/tools/gccxml_cc1plus$(DOTEXE)" type='tool'/>
|
|
55 |
<set name='CDEFS' value='_UNICODE __SYMBIAN32__ __GCC32__ __EPOC32__ __MARM__ __MINGW32__ _STLP_LITTLE_ENDIAN __GCCXML__ __MARM_ARM4__ $(MMPDEFS)'/>
|
|
56 |
<set name='CFLAGS' value='-bi -nostdinc -Wall -Wno-ctor-dtor-privacy -Wno-unknown-pragmas -UWIN32 -fshort-wchar -quiet -w '/>
|
|
57 |
|
|
58 |
<!-- in support of TEMs - processed as if in an RVCT build -->
|
|
59 |
<set name='RVCTBIN' value='$(RVCT22BIN)'/>
|
|
60 |
<set name='RVCTINC' value='$(RVCT22INC)'/>
|
|
61 |
<set name='RVCTLIB' value='$(RVCT22LIB)'/>
|
|
62 |
|
|
63 |
<set name='CPPFLAGS' value='-nostdinc -M -MG'/>
|
|
64 |
|
|
65 |
<set name='MMPDEFS' value=''/>
|
|
66 |
<set name='NMAKE' value='nmake$(DOTEXE)'/>
|
|
67 |
<set name='NMAKEFLAGS' value='-nologo -x - '/>
|
|
68 |
<set name='MAIN_OUTPUTPATH' value='$(EPOCROOT)/epoc32/build'/>
|
|
69 |
<set name='OUTPUTPATH' value='$(MAIN_OUTPUTPATH)'/>
|
|
70 |
<set name='RELEASEPATH' value='$(EPOCROOT)/epoc32/release'/>
|
|
71 |
<set name='SBSV1MAKE' value='$(EPOCROOT)/epoc32/tools/make$(DOTEXE)'/>
|
|
72 |
<set name='SYSTEMINCLUDE' value=''/>
|
|
73 |
<set name='TARGET' value='TARGET_WAS_NOT_SET_PROPERLY'/>
|
|
74 |
<set name='TARGETPATH' value=''/>
|
|
75 |
<set name='TARGETTYPE' value='TARGETTYPE_WAS_NOT_SET_PROPERLY'/>
|
|
76 |
<set name='USERINCLUDE' value=''/>
|
|
77 |
<set name='VARIANTPLATFORM' value='gccxml'/>
|
|
78 |
|
|
79 |
<set name='OPT.DEFINE' value='-D'/>
|
|
80 |
<set name='OPT.OUT' value='-o '/>
|
|
81 |
<set name='OPT.PREINCLUDE' value='-include '/>
|
|
82 |
<set name='OPT.SPLITINCLUDE' value=' -I- '/>
|
|
83 |
<set name='OPT.SYSINCLUDE' value='-I '/>
|
|
84 |
<set name='OPT.USERINCLUDE' value='-I '/>
|
|
85 |
<set name='PLATMACROS.WINDOWS' value='GCCXML ARMCC EPOC32 MARM EABI ARMCC_2 ARMCC_2_2 GENERIC_MARM MARM_ARMV5'/>
|
|
86 |
<set name='PLATMACROS.LINUX' value='$(PLATMACROS.WINDOWS)'/>
|
|
87 |
|
|
88 |
<set name='KERNEL_MODE_DEF' value='__KERNEL_MODE__'/>
|
|
89 |
<set name='KERNEL_MODE_INCLUDES' value='$(EPOCINCLUDE)/nkern $(EPOCINCLUDE)/kernel/arm $(EPOCINCLUDE)/memmodel/epoc $(EPOCINCLUDE)/kernel $(EPOCINCLUDE)/nkern/arm'/>
|
|
90 |
<set name='STDCPP_DEF' value='__SYMBIAN_STDCPP_SUPPORT__'/>
|
|
91 |
<set name='STDCPP_INCLUDE' value='$(EPOCINCLUDE)/stdapis'/>
|
|
92 |
</var>
|
|
93 |
|
|
94 |
<var name="gccxml_udeb" extends="gccxml_base">
|
|
95 |
<set name='FULLVARIANTPATH' value='gccxml/udeb'/>
|
|
96 |
<set name='VARIANTTYPE' value='udeb'/>
|
|
97 |
|
|
98 |
<append name='CDEFS' value='_DEBUG'/>
|
|
99 |
<append name='CFLAGS' value='-g'/>
|
|
100 |
</var>
|
|
101 |
|
|
102 |
<var name="gccxml_urel" extends="gccxml_base">
|
|
103 |
<set name='FULLVARIANTPATH' value='gccxml/urel'/>
|
|
104 |
<set name='VARIANTTYPE' value='urel'/>
|
|
105 |
|
|
106 |
<append name='CDEFS' value='NDEBUG'/>
|
|
107 |
<append name='CFLAGS' value='-fomit-frame-pointer'/>
|
|
108 |
</var>
|
|
109 |
|
|
110 |
<group name="gccxml">
|
|
111 |
<varRef ref="gccxml_urel"/>
|
|
112 |
<varRef ref="gccxml_udeb"/>
|
|
113 |
</group>
|
|
114 |
</build>
|
|
115 |
|