blob: 2e0d25721b7a4e978d65cd4316f7e1cc9e7e9eb2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
#!/bin/sh
#*******************************************************************************
# Copyright (c) 2000, 2008 IBM Corporation and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
#
# Contributors:
# IBM Corporation - initial API and implementation
#*******************************************************************************
cd `dirname $0`
if [ "x${MODEL}" = "xx86_64" ]; then
export ARCHS="-arch x86_64"
if [ "x${OUTPUT_DIR}" = "x" ]; then
export OUTPUT_DIR=../../../org.eclipse.swt.cocoa.macosx.x86_64
fi
if [ "x${XULRUNNER_SDK}" = "x" ]; then
export XULRUNNER_SDK="/Users/Shared/xulrunner/64-bit/mozilla/dist"
fi
if [ "x${XULRUNNER_LIBS}" = "x" ]; then
export XULRUNNER_LIBS="${XULRUNNER_SDK}/lib/libxpcomglue.a"
fi
else
export ARCHS="-arch i386 -arch ppc"
if [ "x${OUTPUT_DIR}" = "x" ]; then
export OUTPUT_DIR=../../../org.eclipse.swt.cocoa.macosx
fi
if [ "x${XULRUNNER_SDK}" = "x" ]; then
export XULRUNNER_SDK="/Users/Shared/xulrunner/1.8.0.1/mozilla/dist/i386/dist/sdk"
fi
if [ "x${XULRUNNER_LIBS}" = "x" ]; then
export XULRUNNER_LIBS="${XULRUNNER_SDK}/lib/libxpcomglue.a ${XULRUNNER_SDK}/../../../ppc/dist/sdk/lib/libxpcomglue.a"
fi
fi
export MACOSX_DEPLOYMENT_TARGET=10.5
make -f make_macosx.mak $1 $2 $3 $4 $5 $6 $7 $8 $9
|