1 #!/bin/bash 2 # 3 # External makefile Xcode project project uses this script to build and clean from the Xcode GUI 4 # 5 # Copyright (c) 2008 - 2011, Apple Inc. All rights reserved.<BR> 6 # 7 # This program and the accompanying materials 8 # are licensed and made available under the terms and conditions of the BSD License 9 # which accompanies this distribution. The full text of the license may be found at 10 # http://opensource.org/licenses/bsd-license.php 11 # 12 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 13 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 14 # 15 16 # force exit on error 17 set -e 18 19 # 20 # Source the workspace and set up the environment variables we need 21 # 22 cd ../../.. 23 ./build.sh $1 $2 $3 $4 $5 $6 $8 24