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