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