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