author | Richard Taylor <richard.i.taylor@nokia.com> |
Mon, 25 Jan 2010 09:56:17 +0000 | |
changeset 155 | e65788ec4aa9 |
parent 81 | 7653ed978a00 |
child 234 | 5350032783e4 |
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 |
<!-- 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"/> |
|
81
7653ed978a00
Review rework 1: Enabling winscw builds of PDLLs
Iain Williamson <iain.williamson@nokia.com>
parents:
3
diff
changeset
|
29 |
<set name="INTERFACE.pdll" value="Emulator.pdll"/> |
3 | 30 |
<set name="INTERFACE.stddll" value="Emulator.stddll"/> |
31 |
<set name="INTERFACE.exexp" value="Emulator.exexp"/> |
|
32 |
<set name="INTERFACE.fsy" value="Emulator.fsy"/> |
|
33 |
<set name="INTERFACE.implib" value="Emulator.implib"/> |
|
34 |
<set name="INTERFACE.kdll" value="Emulator.kdll"/> |
|
35 |
<set name="INTERFACE.kext" value="Emulator.kext"/> |
|
36 |
<set name="INTERFACE.klib" value="Emulator.klib"/> |
|
37 |
<set name="INTERFACE.ldd" value="Emulator.ldd"/> |
|
38 |
<set name="INTERFACE.lib" value="Emulator.lib"/> |
|
39 |
<set name="INTERFACE.stdlib" value="Emulator.stdlib"/> |
|
40 |
<set name="INTERFACE.none" value="Emulator.none"/> |
|
41 |
<set name="INTERFACE.pdd" value="Emulator.pdd"/> |
|
42 |
<set name="INTERFACE.pdl" value="Emulator.pdl"/> |
|
43 |
<set name="INTERFACE.plugin" value="Emulator.plugin"/> |
|
44 |
<set name="INTERFACE.resource" value="Emulator.resource"/> |
|
45 |
<set name="INTERFACE.textnotifier2" value="Emulator.textnotifier2"/> |
|
46 |
<set name="INTERFACE.var" value="Emulator.var"/> |
|
47 |
<set name='CC' value='$(MWCC)'/> |
|
48 |
<set name='CDEFS' value='__SYMBIAN32__ __CW32__ __WINS__ __WINSCW__ __SUPPORT_CPP_EXCEPTIONS__ _UNICODE $(MMPDEFS)'/> |
|
49 |
<set name='CFLAGS' value='-c -align 4 -warnings on -w nohidevirtual,nounusedexpr -msgstyle gcc -enum int -str pool -exc ms -trigraphs on -cwd source'/> |
|
50 |
<set name='CW_DEFAULT_LIBS' value='gdi32.lib user32.lib kernel32.lib'/> |
|
51 |
<set name='CW_RUNTIME_STATIC' value='msl_all_static_mse_symbian_d.lib'/> |
|
52 |
<set name='CW_RUNTIME_NONSTATIC' value='MSL_All_x86_Symbian_D.lib'/> |
|
53 |
<set name='DEFAULT_NORMAL_NEWLIB' value='scppnwdl.lib'/> |
|
54 |
<set name='DEFAULT_SYSTEM_NEWLIB' value='scppnwdl_kern.lib'/> |
|
55 |
<set name='EXPORT_TYPE' value='dllexport'/> |
|
56 |
<set name='LD' value='$(MWLD)'/> |
|
57 |
<set name='LFLAGS' value='-msgstyle gcc -stdlib -subsystem windows'/> |
|
58 |
<set name='LFLAGS_INFGEN' value='-S -show only,names,unmangled,verbose '/> |
|
59 |
<set name='LFLAGS_SYMGEN' value='-S -show only,names,verbose '/> |
|
60 |
<set name='LINKPATH' value='winscw/udeb'/> |
|
61 |
<set name='LISTING_OPTION' value='-S'/> |
|
62 |
<set name='MMPDEFS' value=''/> |
|
63 |
<set name='EPOCSTACKSIZE' value=''/> |
|
64 |
<set name='NMAKE' value='nmake'/> |
|
65 |
<set name='NMAKEFLAGS' value='-nologo -x - '/> |
|
66 |
<set name='OPT.ADDCOMMAND' value='-addcommand '/> |
|
67 |
<set name='OPT.CHECKLIB.STDCPP' value='stdc++'/> |
|
68 |
<set name='OPT.CHECKLIB.SYMCPP' value='symc++'/> |
|
69 |
<set name='OPT.CHECKLIB.WIN32' value='--coff'/> |
|
70 |
<set name='OPT.HEAPCOMMIT' value='-heapcommit='/> |
|
71 |
<set name='OPT.DEFINE' value='-d '/> |
|
72 |
<set name='OPT.DEFFILE' value='-f '/> |
|
73 |
<set name='OPT.DEPEND' value='-gccdepends -MD '/> |
|
74 |
<set name='OPT.EXPORT' value='-export '/> |
|
75 |
<set name='OPT.HEAPRESERVE' value='-heapreserve='/> |
|
76 |
<set name='OPT.IMAGEBASE' value='-imagebase '/> |
|
77 |
<set name='OPT.IMPLIB' value='-implib '/> |
|
78 |
<set name='OPT.IMPORTLIB' value='-importlib '/> |
|
79 |
<set name='OPT.LIBFILE' value='-l'/> |
|
80 |
<set name='OPT.LIBPATH' value='-l '/> |
|
81 |
<set name='OPT.LISTING' value='-S -show source,unmangled,comments '/> |
|
82 |
<set name='OPT.MENTRYPOINT' value='-m '/> |
|
83 |
<set name='OPT.MAINENTRYPOINT' value='-main '/> |
|
84 |
<set name='OPT.MAP' value='-map '/> |
|
85 |
<set name='OPT.NOCOMPACTIMPORTLIB' value='-nocompactimportlib '/> |
|
86 |
<set name='OPT.NOENTRY' value='-noentry '/> |
|
87 |
<set name='OPT.NOIMPLIB' value='-noimplib '/> |
|
88 |
<set name='OPT.NOSTDINC' value='-nostdinc '/> |
|
89 |
<set name='OPT.OUT' value='-o '/> |
|
90 |
<set name='OPT.PREINCLUDE' value='-include '/> |
|
91 |
<set name='OPT.RUNTIME' value='-runtime '/> |
|
92 |
<set name='OPT.SEARCH' value='-search'/> |
|
93 |
<set name='OPT.SHARED' value='-shared '/> |
|
94 |
<set name='OPT.SPLITINCLUDE' value='-i-'/> |
|
95 |
<set name='OPT.STATICLIBRARY' value='-library '/> |
|
96 |
<set name='OPT.STDINC' value='-stdinc '/> |
|
97 |
<set name='OPT.STDLIB' value='-stdlib '/> |
|
98 |
<set name='OPT.SYM' value='-sym '/> |
|
99 |
<set name='OPT.SYSINCLUDE' value='-i '/> |
|
100 |
<set name='OPT.USERINCLUDE' value='-i '/> |
|
101 |
<set name='OPT.WCHAR' value='-wchar_t '/> |
|
102 |
<set name='OPT.WARNINGS' value='-warnings '/> |
|
103 |
<set name='OUTPUTPATH' value='$(SBS_BUILD_DIR)'/> |
|
104 |
<set name='BLDINF_OUTPUTPATH' value='$(SBS_BUILD_DIR)'/> |
|
105 |
<set name='RC' value='$(MWWINRC)'/> |
|
106 |
<set name='RELEASEPATH' value='$(EPOCROOT)/epoc32/release'/> |
|
107 |
<set name='SBSV1MAKE' value='$(EPOCROOT)/epoc32/tools/make$(DOTEXE)'/> |
|
108 |
<set name='STDCPP_DEF' value='__SYMBIAN_STDCPP_SUPPORT__'/> |
|
109 |
<set name='STDCPP_INCLUDE' value='$(EPOCINCLUDE)/stdapis'/> |
|
110 |
<set name='STDCPP_WCHAR_DEF' value='__wchar_t_defined'/> |
|
111 |
<set name='SYMLOOKUPUTIL' value='$(PERL) $(EPOCROOT)/epoc32/tools/sym_lkup_util.pl'/> |
|
112 |
<set name='SYMLOOKUPARGS' value='--ignore_export_dir'/> |
|
113 |
<set name='SYSTEMINCLUDE' value=''/> |
|
114 |
<set name='TARGET' value='TARGET_WAS_NOT_SET_PROPERLY'/> |
|
115 |
<set name='TARGETPATH' value=''/> |
|
116 |
<set name='TARGETTYPE' value='TARGETTYPE_WAS_NOT_SET_PROPERLY'/> |
|
117 |
<set name='USERINCLUDE' value=''/> |
|
118 |
<set name='VARIANTPLATFORM' value='winscw'/> |
|
119 |
<set name='PLATMACROS.WINDOWS' value='CW32 WINS WINSCW'/> |
|
120 |
<set name='PLATMACROS.LINUX' value='$(PLATMACROS.WINDOWS)'/> |
|
121 |
</var> |
|
122 |
||
123 |
<var name="winscw_udeb" extends="winscw_base"> |
|
124 |
<set name='FULLVARIANTPATH' value='winscw/udeb'/> |
|
125 |
<set name='VARIANTTYPE' value='udeb'/> |
|
126 |
||
127 |
<append name='CDEFS' value='_DEBUG'/> |
|
128 |
<append name='CFLAGS' value='-g -O0 -inline off'/> |
|
129 |
<append name='LFLAGS' value='-g'/> |
|
130 |
</var> |
|
131 |
||
132 |
<var name="winscw_urel" extends="winscw_base"> |
|
133 |
<set name='FULLVARIANTPATH' value='winscw/urel'/> |
|
134 |
<set name='VARIANTTYPE' value='urel'/> |
|
135 |
||
136 |
<append name='CDEFS' value='NDEBUG'/> |
|
137 |
<append name='CFLAGS' value='-O4,s'/> |
|
138 |
</var> |
|
139 |
||
140 |
<group name="winscw"> |
|
141 |
<varRef ref="winscw_urel"/> |
|
142 |
<varRef ref="winscw_udeb"/> |
|
143 |
</group> |
|
144 |
</build> |