1 @echo off |
1 @echo off |
2 rem |
2 # |
3 rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
3 # Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
4 rem All rights reserved. |
4 # All rights reserved. |
5 rem This component and the accompanying materials are made available |
5 # This component and the accompanying materials are made available |
6 rem under the terms of "Eclipse Public License v1.0" |
6 # under the terms of "Eclipse Public License v1.0" |
7 rem which accompanies this distribution, and is available |
7 # which accompanies this distribution, and is available |
8 rem at the URL "http://www.eclipse.org/legal/epl-v10.html". |
8 # at the URL "http://www.eclipse.org/legal/epl-v10.html". |
9 rem |
9 # |
10 rem Initial Contributors: |
10 # Initial Contributors: |
11 rem Nokia Corporation - initial contribution. |
11 # Nokia Corporation - initial contribution. |
12 rem |
12 # |
13 rem Contributors: |
13 # Contributors: |
14 rem |
14 # |
15 rem Description: |
15 # Description: |
16 rem |
16 # |
17 @echo on |
17 @echo on |
18 |
18 |
19 setlocal |
19 setlocal |
20 |
20 |
21 if not exist buildtemp md buildtemp |
21 python gencode.py |
22 |
22 |
23 set target=%1 |
23 #if not exist buildtemp md buildtemp |
24 if "%target%"=="" goto build |
|
25 |
24 |
26 for /F %%i in (makefiles.txt) do make -f %%i %target% |
25 #set target=%1 |
27 goto end |
26 #if "%target%"=="" goto build |
28 |
27 |
29 :build |
28 #for /F %%i in (makefiles.txt) do make -f %%i %target% |
30 call gencode MAKMAKE |
29 #goto end |
31 call gencode RESOURCE |
|
32 call gencode LIB |
|
33 call gencode BLD |
|
34 |
30 |
35 call xcopy /yuce .\buildtemp\*.* ..\..\..\uiresources_plat\layout_data_api\inc |
31 #:build |
36 call xcopy /yuce .\buildtemp\*.* ..\generated_inc |
32 #call gencode MAKMAKE |
|
33 #call gencode RESOURCE |
|
34 #call gencode LIB |
|
35 #call gencode BLD |
37 |
36 |
38 :end |
37 #call xcopy /yuce .\buildtemp\*.* ..\..\..\uiresources_plat\layout_data_api\inc |
|
38 #call xcopy /yuce .\buildtemp\*.* ..\generated_inc |
|
39 |
|
40 #:end |
39 endlocal |
41 endlocal |