Orb/lib/config/locations.xml
author szarinda <>
Thu, 21 Jan 2010 17:29:01 +0000
changeset 0 42188c7ea2d9
permissions -rw-r--r--
Initial contribution of ORB delivering Feature bug 1460

<?xml version="1.0" encoding="iso-8859-1"?>
<build xmlns="http://symbian.com/xml/build"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://symbian.com/xml/build ../../schema/build/2_0.xsd">
  <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. -->
  <!-- This component and the accompanying materials are made available under the terms of the License 
"Eclipse Public License v1.0" which accompanies this distribution, 
and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
  <!-- Initial Contributors:
        Nokia Corporation - initial contribution.
Contributors: 
-->
  <!-- The standard locations for widely used tools and resources.

       This is easier to maintain than defining the locations in each
       configuration that uses a tool or resource.
        -->
  <var host='linux.*'
       name="hostplatform.locations">
    <set name='DOTEXE'
         value='' />
    <set name='GCCPREFIX'
         value='/usr/bin/' />
    <set name='GNUPREFIX'
         value='/bin/' />
    <env default='linux-i386'
         name='HOSTPLATFORM_DIR' />
    <env default='linux i386'
         name='HOSTPLATFORM' />
    <env default='/usr/bin/cpp'
         name='SBS_GNUCPP'
         type='tool' />
    <env default='/bin/date'
         name='SBS_GNUDATE'
         type='tool' />
    <env default='$(SBS_HOME)/$(HOSTPLATFORM_DIR)/bin/make'
         name='SBS_GNUMAKE38'
         type='tool' />
    <env default='/bin/sed'
         name='SBS_GNUSED'
         type='tool' />
    <env default='/bin/mkdir'
         name='SBS_GNUMKDIR'
         type='tool' />
    <env default='/bin/cp'
         name='SBS_GNUCP'
         type='tool' />
    <env default='/bin/cat'
         name='SBS_GNUCAT'
         type='tool' />
    <env default='/usr/bin/tr'
         name='SBS_GNUTR'
         type='tool' />
    <env default='/bin/rm'
         name='SBS_GNURM'
         type='tool' />
    <env default='/bin/ln'
         name='SBS_GNULN'
         type='tool' />
    <env default='/bin/rmdir'
         name='SBS_GNURMDIR'
         type='tool' />
    <env default='/bin/chmod'
         name='SBS_GNUCHMOD'
         type='tool' />
    <env default='/usr/bin/md5sum'
         name='SBS_GNUMD5SUM'
         type='tool' />
    <env default='/bin/touch'
         name='SBS_GNUTOUCH'
         type='tool' />
    <env default='/usr/bin/find'
         name='SBS_GNUFIND'
         type='tool' />
    <env default='/bin/grep'
         name='SBS_GNUGREP'
         type='tool' />
    <env default="$(SBS_HOME)/$(HOSTPLATFORM_DIR)/bin/sh"
         name='SBS_SHELL'
         type='tool' />
    <env default="$(SBS_HOME)/$(HOSTPLATFORM_DIR)/bin/zip"
         name='SBS_ZIP'
         type='tool' />
    <env default="$(SBS_HOME)/$(HOSTPLATFORM_DIR)/bin/unzip"
         name='SBS_UNZIP'
         type='tool' />
    <env default="$(SBS_HOME)/$(HOSTPLATFORM_DIR)/bv/bin/cpp"
         name='SBS_BVCPP'
         type='tool' />
    <env default='perl'
         name='SBS_PERL'
         type='tool' />
    <env default='python'
         name='SBS_PYTHON'
         type='tool' />
  </var>
  <var host='win.*'
       name="hostplatform.locations">
    <set name='COREUTILSBINDIR'
         type='path'
         value='$(SBS_CYGWIN)/bin' />
    <set name='DOTEXE'
         value='.exe' />
    <set name='GNUPREFIX'
         value='$(COREUTILSBINDIR)/' />
    <set name='GCCPREFIX'
         value='$(MINGWBINDIR)/' />
    <set name='MINGWBINDIR'
         type='path'
         value='$(SBS_MINGW)/bin' />
    <env default='win32'
         name='HOSTPLATFORM_DIR' />
    <env default='win 32'
         name='HOSTPLATFORM' />
    <env default='$(SBS_HOME)/$(HOSTPLATFORM_DIR)/cygwin'
         name='SBS_CYGWIN'
         type='path' />
    <env default='$(SBS_HOME)/$(HOSTPLATFORM_DIR)/mingw'
         name='SBS_MINGW'
         type='path' />
    <env default='$(MINGWBINDIR)/cpp.exe'
         name='SBS_GNUCPP'
         type='tool' />
    <env default='$(COREUTILSBINDIR)/date.exe'
         name='SBS_GNUDATE'
         type='tool' />
    <env default='$(MINGWBINDIR)/make.exe'
         name='SBS_GNUMAKE38'
         type='tool' />
    <env default='$(COREUTILSBINDIR)/sed.exe'
         name='SBS_GNUSED'
         type='tool' />
    <env default='$(COREUTILSBINDIR)/mkdir.exe'
         name='SBS_GNUMKDIR'
         type='tool' />
    <env default='$(COREUTILSBINDIR)/cp.exe'
         name='SBS_GNUCP'
         type='tool' />
    <env default='$(COREUTILSBINDIR)/cat.exe'
         name='SBS_GNUCAT'
         type='tool' />
    <env default='$(COREUTILSBINDIR)/tr.exe'
         name='SBS_GNUTR'
         type='tool' />
    <env default='$(COREUTILSBINDIR)/rm.exe'
         name='SBS_GNURM'
         type='tool' />
    <env default='$(COREUTILSBINDIR)/ln.exe'
         name='SBS_GNULN'
         type='tool' />
    <env default='$(COREUTILSBINDIR)/rmdir.exe'
         name='SBS_GNURMDIR'
         type='tool' />
    <env default='$(COREUTILSBINDIR)/chmod.exe'
         name='SBS_GNUCHMOD'
         type='tool' />
    <env default='$(COREUTILSBINDIR)/md5sum.exe'
         name='SBS_GNUMD5SUM'
         type='tool' />
    <env default='$(COREUTILSBINDIR)/touch.exe'
         name='SBS_GNUTOUCH'
         type='tool' />
    <env default='$(COREUTILSBINDIR)/find.exe'
         name='SBS_GNUFIND'
         type='tool' />
    <env default='$(COREUTILSBINDIR)/grep.exe'
         name='SBS_GNUGREP'
         type='tool' />
    <env default="$(COREUTILSBINDIR)/sh.exe"
         name='SBS_SHELL'
         type='tool' />
    <env default="$(COREUTILSBINDIR)/zip.exe"
         name='SBS_ZIP'
         type='tool' />
    <env default="$(COREUTILSBINDIR)/unzip.exe"
         name='SBS_UNZIP'
         type='tool' />
    <env default="$(SBS_HOME)/$(HOSTPLATFORM_DIR)/bv/bin/cpp.exe"
         name='SBS_BVCPP'
         type='tool' />
    <env default='perl.exe'
         name='SBS_PERL'
         type='tool' />
    <env default='$(SBS_HOME)/$(HOSTPLATFORM_DIR)/python252/python.exe'
         name='SBS_PYTHON'
         type='tool' />
  </var>
  <var extends="hostplatform.locations"
       name="default.locations">
    <env default=''
         name='EPOCROOT'
         type='path' />
    <!-- Place where intermediate files are built -->
    <env default='$(EPOCROOT)/epoc32/build'
         name='SBS_BUILD_DIR'
         type='path' />
    <set name='DATE'
         type='tool'
         value='$(SBS_GNUDATE)' />
    <set name='GNUCPP'
         type='tool'
         value='$(SBS_GNUCPP)'
         versionCommand='$(GNUCPP) --version'
         versionResult='cpp(.exe)? .* [345]\..*' />
    <set name='GNUCP'
         type='tool'
         value='$(SBS_GNUCP)'
         versionCommand='$(GNUCP) --version'
         versionResult='cp(.exe)?\s*\((GNU\s*)?coreutils\)\s*[5-9]\..*' />
    <set name='GNUCAT'
         type='tool'
         value='$(SBS_GNUCAT)'
         versionCommand='$(GNUCAT) --version'
         versionResult='cat(.exe)?\s*\((GNU\s*)?coreutils\)\s*[5-9]\..*' />
    <set name='GNUTR'
         type='tool'
         value='$(SBS_GNUTR)'
         versionCommand='$(GNUTR) --version'
         versionResult='tr(.exe)?\s*\((GNU\s*)?coreutils\)\s*[5-9]\..*' />
    <set name='GNUMAKE38'
         type='tool'
         value='$(SBS_GNUMAKE38)'
         versionCommand='$(GNUMAKE38) -v'
         versionResult='GNU Make 3.8[1-9]' />
    <set name='GNUSED'
         type='tool'
         value='$(SBS_GNUSED)'
         versionCommand='$(GNUSED) --version'
         versionResult='GNU sed version [3-9].*' />
    <set name='GNUMKDIR'
         type='tool'
         value='$(SBS_GNUMKDIR)'
         versionCommand='$(GNUMKDIR) --version'
         versionResult='.*' />
    <set name='GNURM'
         type='tool'
         value='$(SBS_GNURM)'
         versionCommand='$(GNURM) --version'
         versionResult='rm.*coreutils.*' />
    <set name='GNULN'
         type='tool'
         value='$(SBS_GNULN)'
         versionCommand='$(GNULN) --version'
         versionResult='ln.*coreutils.*' />
    <set name='GNURMDIR'
         type='tool'
         value='$(SBS_GNURMDIR)'
         versionCommand='$(GNURMDIR) --version'
         versionResult='rmdir.*coreutils.*' />
    <set name='GNUCHMOD'
         type='tool'
         value='$(SBS_GNUCHMOD)'
         versionCommand='$(GNUCHMOD) --version'
         versionResult='chmod.*coreutils.*' />
    <set name='GNUMD5SUM'
         type='tool'
         value='$(SBS_GNUMD5SUM)'
         versionCommand='$(GNUMD5SUM) --version'
         versionResult='md5sum.*coreutils.*' />
    <set name='GNUTOUCH'
         type='tool'
         value='$(SBS_GNUTOUCH)'
         versionCommand='$(GNUTOUCH) --version'
         versionResult='touch.*coreutils.*' />
    <set name='GNUFIND'
         type='tool'
         value='$(SBS_GNUFIND)'
         versionCommand='$(GNUFIND) --version'
         versionResult='(GNU)?.*find.*(GNU)?.*' />
    <set name='GNUGREP'
         type='tool'
         value='$(SBS_GNUGREP)'
         versionCommand='$(GNUGREP) --version'
         versionResult='(GNU)?.*grep.*(GNU)?.*' />
    <set name='ZIP'
         type='tool'
         value="$(SBS_ZIP)" />
    <set name='UNZIP'
         type='tool'
         value="$(SBS_UNZIP)" />
    <set name='PERL'
         type='tool'
         value='$(SBS_PERL)' />
    <set name='PYTHON'
         type='tool'
         value='$(SBS_PYTHON)'
         versionCommand='$(PYTHON) -V'
         versionResult='Python 2\.[456].*' />
    <set name='DEFAULT_PLATFORMS'
         value='ARMV5 ARMV7 WINSCW' />
    <set name='BASE_DEFAULT_PLATFORMS'
         value='ARMV5 ARMV7 WINSCW ARMV5SMP' />
    <set name='BASE_USER_DEFAULT_PLATFORMS'
         value='ARMV5 ARMV7 WINSCW' />
    <set name='BUILD_INCLUDE'
         value='' />
    <set name='CREATEVMAP'
         type='tool'
         value='$(PYTHON) $(SBS_HOME)/bin/createvmap.py' />
    <set name='CREATEVMAPCPP'
         type='tool'
         value='$(SBS_BVCPP)' />
    <set name='FEATURELISTFILES'
         value='' />
    <set name='FEATUREVARIANTNAME'
         value='' />
  </var>
</build>