|
1 @rem |
|
2 @rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 @rem All rights reserved. |
|
4 @rem This component and the accompanying materials are made available |
|
5 @rem under the terms of "Eclipse Public License v1.0" |
|
6 @rem which accompanies this distribution, and is available |
|
7 @rem at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 @rem |
|
9 @rem Initial Contributors: |
|
10 @rem Nokia Corporation - initial contribution. |
|
11 @rem |
|
12 @rem Contributors: |
|
13 @rem |
|
14 @rem Description: |
|
15 @rem |
|
16 @echo off |
|
17 |
|
18 set _vgroup=word |
|
19 |
|
20 if "%1"=="wins" set _mbmdir=\epoc32\release\wins\%2\z\system\apps\%_vgroup% |
|
21 if "%1"=="WINS" set _mbmdir=\epoc32\release\wins\%2\z\system\apps\%_vgroup% |
|
22 if "%1"=="marm" set _mbmdir=\epoc32\release\marm\%2 |
|
23 if "%1"=="MARM" set _mbmdir=\epoc32\release\marm\%2 |
|
24 |
|
25 bmconv bld.txt >NUL |
|
26 copy %_vgroup%.mbm %_mbmdir%\%_vgroup%.mcl >NUL |
|
27 |
|
28 if "%2"=="urel" copy %_vgroup%u.acl %_mbmdir%\%_vgroup%.acl >NUL |
|
29 if "%2"=="UREL" copy %_vgroup%u.acl %_mbmdir%\%_vgroup%.acl >NUL |
|
30 if "%2"=="UDEB" copy %_vgroup%u.acl %_mbmdir%\%_vgroup%.acl >NUL |
|
31 if "%2"=="udeb" copy %_vgroup%u.acl %_mbmdir%\%_vgroup%.acl >NUL |
|
32 |
|
33 if "%2"=="urel" set _inifile=wsiniu.ini |
|
34 if "%2"=="UREL" set _inifile=wsiniu.ini |
|
35 if "%2"=="udeb" set _inifile=wsiniu.ini |
|
36 if "%2"=="UDEB" set _inifile=wsiniu.ini |
|
37 if "%1"=="marm" copy %_inifile% %_mbmdir%\wsini.ini |
|
38 if "%1"=="MARM" copy %_inifile% %_mbmdir%\wsini.ini |
|
39 if "%1"=="wins" copy %_inifile% \epoc32\release\wins\%2\z\system\data\wsini.ini |
|
40 if "%1"=="WINS" copy %_inifile% \epoc32\release\wins\%2\z\system\data\wsini.ini |
|
41 fc4bat %_vgroup%.mbg \epoc32\include\%_vgroup%.mbg |
|
42 if errorlevel==1 copy %_vgroup%.mbg \epoc32\include >NUL |
|
43 del %_vgroup%.mbg >NUL |
|
44 del %_vgroup%.mbm >NUL |
|
45 |
|
46 set _vgroup= |
|
47 set _mbmdir= |