diff options
author | Grant Gayed <ggayed> | 2004-11-19 20:35:13 +0000 |
---|---|---|
committer | Grant Gayed <ggayed> | 2004-11-19 20:35:13 +0000 |
commit | 1cfc3cc130ac4c46547d819d936a1748bb2bd0f7 (patch) | |
tree | 53e7cb03c745639f6f3a5953ccae79b3b1ea9534 /bundles/org.eclipse.swt.opengl | |
parent | 48a71a35acdec6ad1839392b84df1a90a452d66c (diff) | |
download | eclipse.platform.swt-1cfc3cc130ac4c46547d819d936a1748bb2bd0f7.tar.gz eclipse.platform.swt-1cfc3cc130ac4c46547d819d936a1748bb2bd0f7.tar.xz eclipse.platform.swt-1cfc3cc130ac4c46547d819d936a1748bb2bd0f7.zip |
*** empty log message ***
Diffstat (limited to 'bundles/org.eclipse.swt.opengl')
-rw-r--r-- | bundles/org.eclipse.swt.opengl/gtk/library/build.sh | 20 | ||||
-rw-r--r-- | bundles/org.eclipse.swt.opengl/gtk/library/make_linux.mak (renamed from bundles/org.eclipse.swt.opengl/gtk/library/make_gtk.mak) | 2 |
2 files changed, 18 insertions, 4 deletions
diff --git a/bundles/org.eclipse.swt.opengl/gtk/library/build.sh b/bundles/org.eclipse.swt.opengl/gtk/library/build.sh index 9133ca2f7f..16778e7b7d 100644 --- a/bundles/org.eclipse.swt.opengl/gtk/library/build.sh +++ b/bundles/org.eclipse.swt.opengl/gtk/library/build.sh @@ -1,3 +1,4 @@ +#!/bin/sh #******************************************************************************* # Copyright (c) 2000, 2003 IBM Corporation and others. # All rights reserved. This program and the accompanying materials @@ -9,6 +10,21 @@ # IBM Corporation - initial API and implementation #******************************************************************************* -#!/bin/sh +if [ "${OS}" = "" ]; then + OS=`uname -s` +fi + +case $OS in + "Linux") + JAVA_HOME = /bluebird/teamswt/swt-builddir/ive/bin + makefile="make_linux.mak" + echo "Building Linux GTK version of SWT OpenGL" + ;; + *) + echo "*** Unknown OS <${OS}>" + ;; +esac + +export JAVA_HOME -make -f make_gtk.mak ${1+"$@"} +make -f $makefile ${1+"$@"} diff --git a/bundles/org.eclipse.swt.opengl/gtk/library/make_gtk.mak b/bundles/org.eclipse.swt.opengl/gtk/library/make_linux.mak index 7d04043da8..8bdc7268a1 100644 --- a/bundles/org.eclipse.swt.opengl/gtk/library/make_gtk.mak +++ b/bundles/org.eclipse.swt.opengl/gtk/library/make_linux.mak @@ -10,8 +10,6 @@ #******************************************************************************* # Define the installation directories for various products. -JAVA_HOME = /bluebird/teamswt/swt-builddir/ive/bin - CC=gcc LD=gcc |