sl@0: rem Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: rem All rights reserved. sl@0: rem This component and the accompanying materials are made available sl@0: rem under the terms of "Eclipse Public License v1.0" sl@0: rem which accompanies this distribution, and is available sl@0: rem at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: rem sl@0: rem Initial Contributors: sl@0: rem Nokia Corporation - initial contribution. sl@0: rem sl@0: rem Contributors: sl@0: rem sl@0: rem Description: sl@0: rem sl@0: sl@0: SETLOCAL sl@0: SET __PYTHON__=%SBS_HOME%\win32\python252\python.exe sl@0: sl@0: REM Checking for __PYTHON__ existing is actually a double check that SBS_HOME is defined and it points sl@0: REM to something that looks like raptor installation. We piggy back onto the python that comes with raptor. sl@0: IF NOT EXIST %__PYTHON__% GOTO fallbacktoperl sl@0: sl@0: %__PYTHON__% buildutils\mmbuild2.py %1 %2 %3 %4 %5 %6 %7 %8 %9 sl@0: sl@0: goto end sl@0: sl@0: :fallbacktoperl sl@0: REM the old mmbuild script - intended now for use only if raptor is not installed sl@0: perl -S mmbuild.pl %1 %2 %3 %4 %5 %6 %7 %8 %9 sl@0: sl@0: :end