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 Metrowerks Emulator compilers -->
|
|
4 |
<var name="winscw_base" extends="root">
|
|
5 |
<varRef ref="default.interfaces"/>
|
|
6 |
<varRef ref="default.locations"/>
|
|
7 |
<!-- picked up from the Environment -->
|
|
8 |
<env name='CHECKLIB' default='$(EPOCROOT)/epoc32/tools/checklib$(DOTEXE)' type='tool'/>
|
|
9 |
<env name='EFREEZE' default="$(PERL) $(EPOCROOT)/epoc32/tools/efreeze.pl" type='tool'/>
|
|
10 |
<env name='BMCONV' default="$(EPOCROOT)/epoc32/tools/bmconv$(DOTEXE)" type='tool'/>
|
|
11 |
<env name='MAKEDEF' default='$(PERL) $(EPOCROOT)/epoc32/tools/makedef.pl' type='path'/>
|
|
12 |
<env name='MWCC' default='mwccsym2$(DOTEXE)' type='tool' versionCommand='$(MWCC) -version' versionResult='Version 3.2.*'/>
|
|
13 |
<env name='MWLD' default='mwldsym2$(DOTEXE)' type='tool' versionCommand='$(MWLD) -version' versionResult='Version 3.2.*'/>
|
|
14 |
<env name='MWWINRC' default='mwwinrc$(DOTEXE)' type='tool' versionCommand='$(MWWINRC) -version' versionResult='Version 3.2.*'/>
|
|
15 |
|
|
16 |
<env name='PREPDEF' default='$(PERL) $(EPOCROOT)/epoc32/tools/prepdef.pl' type='path'/>
|
|
17 |
<env name='RCOMP' default='$(EPOCROOT)/epoc32/tools/rcomp$(DOTEXE)' type='tool'/>
|
|
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='WINSCW'/>
|
|
22 |
|
|
23 |
<!-- interfaces -->
|
|
24 |
<set name="INTERFACE.ani" value="Emulator.ani"/>
|
|
25 |
<set name="INTERFACE.bitmap" value="Emulator.bitmap"/>
|
|
26 |
<set name="INTERFACE.exe" value="Emulator.exe"/>
|
|
27 |
<set name="INTERFACE.stdexe" value="Emulator.stdexe"/>
|
|
28 |
<set name="INTERFACE.dll" value="Emulator.dll"/>
|
|
29 |
<set name="INTERFACE.stddll" value="Emulator.stddll"/>
|
|
30 |
<set name="INTERFACE.exexp" value="Emulator.exexp"/>
|
|
31 |
<set name="INTERFACE.fsy" value="Emulator.fsy"/>
|
|
32 |
<set name="INTERFACE.implib" value="Emulator.implib"/>
|
|
33 |
<set name="INTERFACE.kdll" value="Emulator.kdll"/>
|
|
34 |
<set name="INTERFACE.kext" value="Emulator.kext"/>
|
|
35 |
<set name="INTERFACE.klib" value="Emulator.klib"/>
|
|
36 |
<set name="INTERFACE.ldd" value="Emulator.ldd"/>
|
|
37 |
<set name="INTERFACE.lib" value="Emulator.lib"/>
|
|
38 |
<set name="INTERFACE.stdlib" value="Emulator.stdlib"/>
|
|
39 |
<set name="INTERFACE.none" value="Emulator.none"/>
|
|
40 |
<set name="INTERFACE.pdd" value="Emulator.pdd"/>
|
|
41 |
<set name="INTERFACE.pdl" value="Emulator.pdl"/>
|
|
42 |
<set name="INTERFACE.plugin" value="Emulator.plugin"/>
|
|
43 |
<set name="INTERFACE.resource" value="Emulator.resource"/>
|
|
44 |
<set name="INTERFACE.textnotifier2" value="Emulator.textnotifier2"/>
|
|
45 |
<set name="INTERFACE.var" value="Emulator.var"/>
|
|
46 |
<set name='CC' value='$(MWCC)'/>
|
|
47 |
<set name='CDEFS' value='__SYMBIAN32__ __CW32__ __WINS__ __WINSCW__ __SUPPORT_CPP_EXCEPTIONS__ _UNICODE $(MMPDEFS)'/>
|
|
48 |
<set name='CFLAGS' value='-c -align 4 -warnings on -w nohidevirtual,nounusedexpr -msgstyle gcc -enum int -str pool -exc ms -trigraphs on -cwd source'/>
|
|
49 |
<set name='CW_DEFAULT_LIBS' value='gdi32.lib user32.lib kernel32.lib'/>
|
|
50 |
<set name='CW_RUNTIME_STATIC' value='msl_all_static_mse_symbian_d.lib'/>
|
|
51 |
<set name='CW_RUNTIME_NONSTATIC' value='MSL_All_x86_Symbian_D.lib'/>
|
|
52 |
<set name='DEFAULT_NORMAL_NEWLIB' value='scppnwdl.lib'/>
|
|
53 |
<set name='DEFAULT_SYSTEM_NEWLIB' value='scppnwdl_kern.lib'/>
|
|
54 |
<set name='EXPORT_TYPE' value='dllexport'/>
|
|
55 |
<set name='LD' value='$(MWLD)'/>
|
|
56 |
<set name='LFLAGS' value='-msgstyle gcc -stdlib -subsystem windows'/>
|
|
57 |
<set name='LFLAGS_INFGEN' value='-S -show only,names,unmangled,verbose '/>
|
|
58 |
<set name='LFLAGS_SYMGEN' value='-S -show only,names,verbose '/>
|
|
59 |
<set name='LINKPATH' value='winscw/udeb'/>
|
|
60 |
<set name='LISTING_OPTION' value='-S'/>
|
|
61 |
<set name='MMPDEFS' value=''/>
|
|
62 |
<set name='EPOCSTACKSIZE' value=''/>
|
|
63 |
<set name='NMAKE' value='nmake'/>
|
|
64 |
<set name='NMAKEFLAGS' value='-nologo -x - '/>
|
|
65 |
<set name='OPT.ADDCOMMAND' value='-addcommand '/>
|
|
66 |
<set name='OPT.CHECKLIB.STDCPP' value='stdc++'/>
|
|
67 |
<set name='OPT.CHECKLIB.SYMCPP' value='symc++'/>
|
|
68 |
<set name='OPT.CHECKLIB.WIN32' value='--coff'/>
|
|
69 |
<set name='OPT.HEAPCOMMIT' value='-heapcommit='/>
|
|
70 |
<set name='OPT.DEFINE' value='-d '/>
|
|
71 |
<set name='OPT.DEFFILE' value='-f '/>
|
|
72 |
<set name='OPT.DEPEND' value='-gccdepends -MD '/>
|
|
73 |
<set name='OPT.EXPORT' value='-export '/>
|
|
74 |
<set name='OPT.HEAPRESERVE' value='-heapreserve='/>
|
|
75 |
<set name='OPT.IMAGEBASE' value='-imagebase '/>
|
|
76 |
<set name='OPT.IMPLIB' value='-implib '/>
|
|
77 |
<set name='OPT.IMPORTLIB' value='-importlib '/>
|
|
78 |
<set name='OPT.LIBFILE' value='-l'/>
|
|
79 |
<set name='OPT.LIBPATH' value='-l '/>
|
|
80 |
<set name='OPT.LISTING' value='-S -show source,unmangled,comments '/>
|
|
81 |
<set name='OPT.MENTRYPOINT' value='-m '/>
|
|
82 |
<set name='OPT.MAINENTRYPOINT' value='-main '/>
|
|
83 |
<set name='OPT.MAP' value='-map '/>
|
|
84 |
<set name='OPT.NOCOMPACTIMPORTLIB' value='-nocompactimportlib '/>
|
|
85 |
<set name='OPT.NOENTRY' value='-noentry '/>
|
|
86 |
<set name='OPT.NOIMPLIB' value='-noimplib '/>
|
|
87 |
<set name='OPT.NOSTDINC' value='-nostdinc '/>
|
|
88 |
<set name='OPT.OUT' value='-o '/>
|
|
89 |
<set name='OPT.PREINCLUDE' value='-include '/>
|
|
90 |
<set name='OPT.RUNTIME' value='-runtime '/>
|
|
91 |
<set name='OPT.SEARCH' value='-search'/>
|
|
92 |
<set name='OPT.SHARED' value='-shared '/>
|
|
93 |
<set name='OPT.SPLITINCLUDE' value='-i-'/>
|
|
94 |
<set name='OPT.STATICLIBRARY' value='-library '/>
|
|
95 |
<set name='OPT.STDINC' value='-stdinc '/>
|
|
96 |
<set name='OPT.STDLIB' value='-stdlib '/>
|
|
97 |
<set name='OPT.SYM' value='-sym '/>
|
|
98 |
<set name='OPT.SYSINCLUDE' value='-i '/>
|
|
99 |
<set name='OPT.USERINCLUDE' value='-i '/>
|
|
100 |
<set name='OPT.WCHAR' value='-wchar_t '/>
|
|
101 |
<set name='OPT.WARNINGS' value='-warnings '/>
|
|
102 |
<set name='OUTPUTPATH' value='$(SBS_BUILD_DIR)'/>
|
|
103 |
<set name='BLDINF_OUTPUTPATH' value='$(SBS_BUILD_DIR)'/>
|
|
104 |
<set name='RC' value='$(MWWINRC)'/>
|
|
105 |
<set name='RELEASEPATH' value='$(EPOCROOT)/epoc32/release'/>
|
|
106 |
<set name='SBSV1MAKE' value='$(EPOCROOT)/epoc32/tools/make$(DOTEXE)'/>
|
|
107 |
<set name='STDCPP_DEF' value='__SYMBIAN_STDCPP_SUPPORT__'/>
|
|
108 |
<set name='STDCPP_INCLUDE' value='$(EPOCINCLUDE)/stdapis'/>
|
|
109 |
<set name='STDCPP_WCHAR_DEF' value='__wchar_t_defined'/>
|
|
110 |
<set name='SYMLOOKUPUTIL' value='$(PERL) $(EPOCROOT)/epoc32/tools/sym_lkup_util.pl'/>
|
|
111 |
<set name='SYMLOOKUPARGS' value='--ignore_export_dir'/>
|
|
112 |
<set name='SYSTEMINCLUDE' value=''/>
|
|
113 |
<set name='TARGET' value='TARGET_WAS_NOT_SET_PROPERLY'/>
|
|
114 |
<set name='TARGETPATH' value=''/>
|
|
115 |
<set name='TARGETTYPE' value='TARGETTYPE_WAS_NOT_SET_PROPERLY'/>
|
|
116 |
<set name='USERINCLUDE' value=''/>
|
|
117 |
<set name='VARIANTPLATFORM' value='winscw'/>
|
|
118 |
<set name='PLATMACROS.WINDOWS' value='CW32 WINS WINSCW'/>
|
|
119 |
<set name='PLATMACROS.LINUX' value='$(PLATMACROS.WINDOWS)'/>
|
|
120 |
</var>
|
|
121 |
|
|
122 |
<var name="winscw_udeb" extends="winscw_base">
|
|
123 |
<set name='FULLVARIANTPATH' value='winscw/udeb'/>
|
|
124 |
<set name='VARIANTTYPE' value='udeb'/>
|
|
125 |
|
|
126 |
<append name='CDEFS' value='_DEBUG'/>
|
|
127 |
<append name='CFLAGS' value='-g -O0 -inline off'/>
|
|
128 |
<append name='LFLAGS' value='-g'/>
|
|
129 |
</var>
|
|
130 |
|
|
131 |
<var name="winscw_urel" extends="winscw_base">
|
|
132 |
<set name='FULLVARIANTPATH' value='winscw/urel'/>
|
|
133 |
<set name='VARIANTTYPE' value='urel'/>
|
|
134 |
|
|
135 |
<append name='CDEFS' value='NDEBUG'/>
|
|
136 |
<append name='CFLAGS' value='-O4,s'/>
|
|
137 |
</var>
|
|
138 |
|
|
139 |
<group name="winscw">
|
|
140 |
<varRef ref="winscw_urel"/>
|
|
141 |
<varRef ref="winscw_udeb"/>
|
|
142 |
</group>
|
|
143 |
</build>
|