author | Richard Taylor <richard.i.taylor@nokia.com> |
Mon, 29 Mar 2010 14:56:03 +0100 | |
branch | fix |
changeset 417 | ea9157619e03 |
parent 360 | 77642c41e033 |
child 443 | 2f5cedd04db9 |
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"> |
|
3 |
<!-- Some common Raptor make engines --> |
|
4 |
||
5 |
<!-- Raptor make engine for GNU make --> |
|
6 |
<var name="make_engine"> |
|
7 |
<varRef ref="default.locations"/> |
|
8 |
||
9 |
<!-- Shell settings --> |
|
10 |
<set name='DEFAULT_SHELL' value='$(SBS_HOME)/$(HOSTPLATFORM_DIR)/bin/talon$(DOTEXE)' type='tool'/> |
|
11 |
<set name='TALON_SHELL' value='$(SBS_SHELL)' type='tool'/> |
|
12 |
<set name='USE_TALON' value='1'/> |
|
13 |
<set name='TALON_TIMEOUT' value='600000'/> |
|
14 |
<set name='TALON_DESCRAMBLE' value='1'/> |
|
15 |
||
16 |
<!-- Command-line for initialisation --> |
|
17 |
<set name="initialise" value=""/> |
|
18 |
||
19 |
<!-- Command-line for shutdown --> |
|
20 |
<set name="shutdown" value=""/> |
|
21 |
||
22 |
<!-- Command-line for build --> |
|
23 |
<set name="build" value="$(GNUMAKE38) HAVE_ORDERONLY=1 -r" type="tool"/> |
|
24 |
||
25 |
<!-- Options --> |
|
26 |
<set name="makefile" value="-f"/> |
|
27 |
<set name="keep_going" value="-k"/> |
|
28 |
<set name="jobs" value="-j"/> |
|
29 |
||
30 |
<!-- The following are stuck on the commandline before any options |
|
31 |
specified by the sbs "mo" option, so they can be overridden --> |
|
32 |
<set name="defaultoptions" value=""/> |
|
33 |
||
34 |
<!-- How to split out the makefiles --> |
|
35 |
<set name="selectors" value="export,bitmap,resource_deps,resource,default"/> |
|
36 |
<set name="export.selector.iface" value="\.export$"/> |
|
37 |
<set name="export.selector.target" value="EXPORT"/> |
|
38 |
<set name="bitmap.selector.iface" value="\.(bitmap|extension|mifconv)$"/> |
|
39 |
<set name="bitmap.selector.target" value="BITMAP"/> |
|
40 |
<set name="resource_deps.selector.iface" value="\.resource$"/> |
|
41 |
<set name="resource_deps.selector.target" value="RESOURCE_DEPS"/> |
|
42 |
<set name="resource_deps.selector.ignoretargets" value="^(RESOURCE|CLEAN|CLEANEXPORT|REALLYCLEAN)$"/> |
|
43 |
<set name="resource.selector.iface" value="\.(resource|extension|mif2cdlindex|nativejava)$"/> |
|
44 |
<set name="resource.selector.target" value="RESOURCE"/> |
|
45 |
<set name="default.selector.iface" value="\.(?!export$|bitmap$|resource$|mifconv$|mif2cdlindex$|nativejava$).*$"/> |
|
46 |
<set name="default.selector.target" value="ALL"/> |
|
47 |
||
48 |
<!-- is the text output with -j buffered or scrambled? --> |
|
49 |
<set name="scrambled" value="true"/> |
|
360
77642c41e033
fix: emake log output corruption fix by using output from the annotation file. Updates.
timothy.murphy@nokia.com
parents:
3
diff
changeset
|
50 |
|
77642c41e033
fix: emake log output corruption fix by using output from the annotation file. Updates.
timothy.murphy@nokia.com
parents:
3
diff
changeset
|
51 |
<!-- workaround for damaged log output from emake --> |
77642c41e033
fix: emake log output corruption fix by using output from the annotation file. Updates.
timothy.murphy@nokia.com
parents:
3
diff
changeset
|
52 |
<set name="copylogfromannofile" value="false"/> |
3 | 53 |
</var> |
54 |
||
55 |
<alias name="make" meaning="make_engine"/> |
|
56 |
||
57 |
<!-- use the talon shell --> |
|
58 |
<var name="make_no_talon_engine" extends="make_engine"> |
|
59 |
<set name='DEFAULT_SHELL' value='$(SBS_SHELL)' type='tool'/> |
|
60 |
<set name='USE_TALON' value=''/> |
|
61 |
</var> |
|
62 |
||
63 |
<alias name="make_no_talon" meaning="make_no_talon_engine"/> |
|
64 |
||
65 |
<!-- other derived versions of GNU make --> |
|
66 |
||
67 |
<!-- Raptor make engine for Electric Make --> |
|
68 |
<var name="emake_engine" extends="make_engine"> |
|
69 |
<env name="EMAKE" default="emake" type="tool" versionCommand="$(EMAKE) --version " versionResult="Electric Make version (4\.[2-9])|([56789]\.[0-9])"/> |
|
70 |
<set name="build" value="$(EMAKE) HAVE_ORDERONLY= -r"/> |
|
71 |
<set name="scrambled" value="false"/> |
|
72 |
<set name='TALON_DESCRAMBLE' value=''/> |
|
360
77642c41e033
fix: emake log output corruption fix by using output from the annotation file. Updates.
timothy.murphy@nokia.com
parents:
3
diff
changeset
|
73 |
|
77642c41e033
fix: emake log output corruption fix by using output from the annotation file. Updates.
timothy.murphy@nokia.com
parents:
3
diff
changeset
|
74 |
<!-- workaround for damaged log output from emake --> |
77642c41e033
fix: emake log output corruption fix by using output from the annotation file. Updates.
timothy.murphy@nokia.com
parents:
3
diff
changeset
|
75 |
<set name="copylogfromannofile" value="true"/> |
3 | 76 |
</var> |
77 |
||
78 |
<alias name="emake" meaning="emake_engine"/> |
|
79 |
||
80 |
<!-- use the talon shell --> |
|
81 |
<var name="emake_no_talon_engine" extends="emake_engine"> |
|
82 |
<set name='DEFAULT_SHELL' value='$(SBS_SHELL)' type='tool'/> |
|
83 |
<set name='USE_TALON' value=''/> |
|
84 |
</var> |
|
85 |
||
86 |
<alias name="emake_no_talon" meaning="emake_no_talon_engine"/> |
|
87 |
||
88 |
<!-- Raptor make engine for PVMgmake --> |
|
89 |
<var name="pvmgmake_engine" extends="make_engine"> |
|
90 |
<env name="PVMGMAKE" default="pvmgmake" type="tool" versionCommand="$(PVMGMAKE) --version " versionResult="PVMGmake-([0-9]\.[0-9])|(0.) rpt"/> |
|
91 |
<set name="build" value="$(PVMGMAKE) HAVE_ORDERONLY=true -r"/> |
|
92 |
<set name="scrambled" value="false" /> |
|
93 |
<set name='TALON_DESCRAMBLE' value=''/> |
|
94 |
</var> |
|
95 |
||
96 |
<alias name="pvmgmake" meaning="pvmgmake_engine"/> |
|
97 |
||
98 |
</build> |