mmserv/callaudiocontrol/data/Create_CallAudioControl_STUB_SIS.bat
changeset 0 71ca22bcf22a
equal deleted inserted replaced
-1:000000000000 0:71ca22bcf22a
       
     1 @ECHO OFF
       
     2 SETLOCAL
       
     3 rem
       
     4 rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     5 rem All rights reserved.
       
     6 rem This component and the accompanying materials are made available
       
     7 rem under the terms of "Eclipse Public License v1.0"
       
     8 rem which accompanies this distribution, and is available
       
     9 rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
    10 rem
       
    11 rem Initial Contributors:
       
    12 rem Nokia Corporation - initial contribution.
       
    13 rem
       
    14 rem Contributors:
       
    15 rem
       
    16 rem Description:  Call Audio Control Stub SIS file generation
       
    17 rem
       
    18 
       
    19 IF "%1" == "" GOTO SYNTAX_ERROR
       
    20 
       
    21 IF "%1" == "3.1" (
       
    22 	SET SIS_FILE_SUFFIX="_S60_3.1"
       
    23 	echo. Generating the SIS file for S60 3.1
       
    24 ) ELSE IF "%1" == "3.2" (
       
    25 	SET SIS_FILE_SUFFIX="_S60_3.2_5.x"
       
    26 	echo. Generating the SIS file for S60 3.2 and onwards
       
    27 ) ELSE (
       
    28 	GOTO SYNTAX_ERROR
       
    29 )
       
    30 
       
    31 echo. Attempt to create .SIS file...
       
    32 call makesis -s CallAudioControl%SIS_FILE_SUFFIX%_Stub.pkg CallAudioControl_Stub.sis
       
    33 GOTO EOF
       
    34 
       
    35 :SIS_FILE_CREATION_ERROR
       
    36 echo. SIS file is not generated. Please fix the problem and run this script again !!
       
    37 echo.
       
    38 GOTO EOF
       
    39 
       
    40 :SYNTAX_ERROR
       
    41 echo. Usage::::
       
    42 echo.
       
    43 echo. %0 [S60_VERSION]
       
    44 echo.
       
    45 echo.     S60_VERSION : 3.1 or 3.2
       
    46 echo.
       
    47 echo. Eg: For creating the SIS files in a S60 3.1 SDKs
       
    48 echo.
       
    49 echo. 		%0 3.1
       
    50 echo.
       
    51 echo.     For creating the SIS files in a S60 3.2 or 5.x SDKs
       
    52 echo.
       
    53 echo. 		%0 3.2
       
    54 echo.
       
    55 
       
    56 GOTO EOF
       
    57 
       
    58 :EOF
       
    59 ENDLOCAL