Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelipe Heidrich2004-08-18 21:54:54 +0000
committerFelipe Heidrich2004-08-18 21:54:54 +0000
commit0f8debe873183954d0c3e3908c9452bbda1e3e05 (patch)
treeae074850256dec5cd11bbda2d25da0ce3d18769f /bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh
parent6fe91aaf7d8b35e691ebd0e7dfaa6bdce89682a1 (diff)
downloadeclipse.platform.swt-0f8debe873183954d0c3e3908c9452bbda1e3e05.tar.gz
eclipse.platform.swt-0f8debe873183954d0c3e3908c9452bbda1e3e05.tar.xz
eclipse.platform.swt-0f8debe873183954d0c3e3908c9452bbda1e3e05.zip
cleanup
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh22
1 files changed, 21 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh
index 2db3bc5f2e..2b9de2f897 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh
@@ -1,3 +1,4 @@
+#!/bin/sh
#*******************************************************************************
# Copyright (c) 2000, 2004 IBM Corporation and others.
# All rights reserved. This program and the accompanying materials
@@ -11,6 +12,25 @@
# Tom Tromey (Red Hat, Inc.)
#*******************************************************************************
-#!/bin/sh
+CC=gcc
+LD=gcc
+MOZILLA_HOME=/mozilla/mozilla/1.6/linux_gtk2/mozilla/dist
+MODEL=`uname -m`
+
+case $MODEL in
+ "x86_64")
+ JAVA_HOME=/bluebird/teamswt/swt-builddir/jdk1.5.0
+ AWT_LIB_PATH=$JAVA_HOME/jre/lib/amd64
+ XTEST_LIB_PATH=/usr/X11R6/lib64
+ SWT_PTR_CFLAGS=-DSWT_PTR_SIZE_64
+ ;;
+ *)
+ JAVA_HOME=/bluebird/teamswt/swt-builddir/IBMJava2-141
+ AWT_LIB_PATH=$JAVA_HOME/jre/bin
+ XTEST_LIB_PATH=/usr/X11R6/lib
+ ;;
+esac
+
+export CC LD JAVA_HOME AWT_LIB_PATH XTEST_LIB_PATH MOZILLA_HOME SWT_PTR_CFLAGS
make -f make_gtk.mak ${1} ${2} ${3} ${4}

Back to the top