Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2018-03-26 09:31:43 -0400
committerAlexander Kurtakov2018-03-26 09:31:43 -0400
commit37ab4783e1a81f9fd8217da0c9ae36de69d6e62b (patch)
tree73269ea56ffb6ee0d30ca09f8b9f1b51465d6322 /features
parent155392f846c2c65c1b506ba1b85f1111895dc0fa (diff)
downloadrt.equinox.framework-37ab4783e1a81f9fd8217da0c9ae36de69d6e62b.tar.gz
rt.equinox.framework-37ab4783e1a81f9fd8217da0c9ae36de69d6e62b.tar.xz
rt.equinox.framework-37ab4783e1a81f9fd8217da0c9ae36de69d6e62b.zip
Bug 532887 - Remove hpux/solaris gtk launchersI20180327-0805I20180327-0630I20180326-2000
Out of date, not built and so on. Change-Id: I5c7027a1ca4980d6b4635992f349750c6c45612a Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'features')
-rwxr-xr-xfeatures/org.eclipse.equinox.executable.feature/library/gtk/build.sh71
-rw-r--r--features/org.eclipse.equinox.executable.feature/library/gtk/make_hpux.mak101
-rw-r--r--features/org.eclipse.equinox.executable.feature/library/gtk/make_solaris.mak108
3 files changed, 3 insertions, 277 deletions
diff --git a/features/org.eclipse.equinox.executable.feature/library/gtk/build.sh b/features/org.eclipse.equinox.executable.feature/library/gtk/build.sh
index f29fc9bb7..566a0526f 100755
--- a/features/org.eclipse.equinox.executable.feature/library/gtk/build.sh
+++ b/features/org.eclipse.equinox.executable.feature/library/gtk/build.sh
@@ -1,6 +1,6 @@
#!/bin/sh
#*******************************************************************************
-# Copyright (c) 2000, 2014 IBM Corporation and others.
+# Copyright (c) 2000, 2018 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
@@ -121,17 +121,12 @@ case $defaultOS in
defaultJava=DEFAULT_JAVA_EXEC
OUTPUT_DIR="$EXEC_DIR/contributed/$defaultWS/$defaultOS/$defaultOSArch"
;;
- "ia64")
- defaultOSArch="ia64"
- defaultJava=DEFAULT_JAVA_EXEC
- OUTPUT_DIR="$EXEC_DIR/bin/$defaultWS/$defaultOS/$defaultOSArch"
- ;;
- "arm*")
+ "arm*")
defaultOSArch="arm"
defaultJava=DEFAULT_JAVA_EXEC
OUTPUT_DIR="$EXEC_DIR/bin/$defaultWS/$defaultOS/$defaultOSArch"
;;
- "aarch64")
+ "aarch64")
defaultOSArch="aarch64"
defaultJava=DEFAULT_JAVA_EXEC
OUTPUT_DIR="$EXEC_DIR/bin/$defaultWS/$defaultOS/$defaultOSArch"
@@ -149,58 +144,6 @@ case $defaultOS in
fi
[ -d /bluebird/teamswt/swt-builddir/JDKs/AIX/PPC64/j564/sdk ] && defaultJavaHome="/bluebird/teamswt/swt-builddir/JDKs/AIX/PPC64/j564/sdk"
;;
- "HP-UX" | "hpux")
- makefile="make_hpux.mak"
- defaultOS="hpux"
- case $defaultOSArch in
- "ia64_32")
- PATH=$PATH:/opt/hp-gcc/bin:/opt/gtk2.6/bin
- PKG_CONFIG_PATH="/opt/gtk2.6/lib/pkgconfig"
- ;;
- "ia64")
- PATH=$PATH:/opt/hp-gcc/bin:/opt/gtk_64bit/bin
- PKG_CONFIG_PATH="/opt/gtk_64bit/lib/hpux64/pkgconfig"
- ;;
- esac
- export PATH PKG_CONFIG_PATH
- [ -d /opt/java1.5 ] && defaultJavaHome="/opt/java1.5"
- ;;
- "SunOS" | "solaris")
- makefile="make_solaris.mak"
- defaultOS="solaris"
- OUTPUT_DIR="$EXEC_DIR/bin/$defaultWS/$defaultOS/$defaultOSArch"
- #PATH=/usr/ccs/bin:/opt/SUNWspro/bin:$PATH
- PATH=/usr/ccs/bin:/export/home/SUNWspro/bin:$PATH
- export PATH
- if [ "$PROC" = "" ]; then
- PROC=`uname -p`
- fi
- case ${PROC} in
- "i386" | "x86")
- if [ "`isainfo -k`" = "amd64" ]; then
- defaultOSArch="x86_64"
- [ -d /bluebird/teamswt/swt-builddir/build/JRE/Solaris_x64/jdk1.8.0_71 ] && defaultJavaHome="/bluebird/teamswt/swt-builddir/build/JRE/Solaris_x64/jdk1.8.0_71"
- else
- defaultOSArch="x86"
- [ -d /bluebird/teamswt/swt-builddir/build/JRE/Solaris_x86/jdk1.6.0_14 ] && defaultJavaHome="/bluebird/teamswt/swt-builddir/build/JRE/Solaris_x86/jdk1.6.0_14"
- fi
- CC=cc
- ;;
- "sparc")
- if [ "`isainfo -k`" = "sparcv9" ]; then
- defaultOSArch="sparcv9"
- [ -d /bluebird/teamswt/swt-builddir/JDKs/SOLARIS/SPARC64/jdk1.5.0_22 ] && defaultJavaHome="/bluebird/teamswt/swt-builddir/JDKs/SOLARIS/SPARC64/jdk1.5.0_22"
- else
- defaultOSArch="sparc"
- [ -d /bluebird/teamswt/swt-builddir/build/JRE/SPARC/jdk1.6.0_14 ] && defaultJavaHome="/bluebird/teamswt/swt-builddir/build/JRE/SPARC/jdk1.6.0_14"
- fi
- CC=cc
- ;;
- *)
- echo "*** Unknown processor type <${PROC}>"
- ;;
- esac
- ;;
*)
echo "Unknown OS -- build aborted"
;;
@@ -241,17 +184,9 @@ elif [ "$defaultOSArch" = "s390x" ]; then
if [ "${JAVA_HOME}" = "" ]; then
export JAVA_HOME="/home/swtbuild/java5/s390x/ibm-java2-s390x-50"
fi
-elif [ "$defaultOSArch" = "ia64" ]; then
- M_ARCH=-mlp64
- export M_ARCH
elif [ "$defaultOSArch" = "x86" ]; then
M_ARCH=-m32
export M_ARCH
-elif [ "$defaultOS" = "solaris" ]; then
- if [ "$defaultOSArch" = "x86_64" -o "$defaultOSArch" = "sparcv9" ]; then
- M_ARCH=-m64
- export M_ARCH
- fi
fi
LIBRARY_DIR="$EXEC_DIR/../org.eclipse.equinox.launcher.$defaultWS.$defaultOS.$defaultOSArch"
diff --git a/features/org.eclipse.equinox.executable.feature/library/gtk/make_hpux.mak b/features/org.eclipse.equinox.executable.feature/library/gtk/make_hpux.mak
deleted file mode 100644
index c4a12d385..000000000
--- a/features/org.eclipse.equinox.executable.feature/library/gtk/make_hpux.mak
+++ /dev/null
@@ -1,101 +0,0 @@
-#*******************************************************************************
-# Copyright (c) 2000, 2016 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
-# Kevin Cornell (Rational Software Corporation)
-# Sumit Sarkar (Hewlett-Packard)
-#*******************************************************************************
-include ../make_version.mak
-# Makefile for creating the HPUX/Motif eclipse launcher program.
-
-# This makefile expects the following environment variables set:
-#
-# PROGRAM_OUTPUT - the filename of the output executable
-# DEFAULT_OS - the default value of the "-os" switch
-# DEFAULT_OS_ARCH - the default value of the "-arch" switch
-# DEFAULT_WS - the default value of the "-ws" switch
-# X11_HOME - the full path to X11 header files
-# MOTIF_HOME - the full path to Motif header files
-
-#ifeq ($(PROGRAM_OUTPUT),)
-# PROGRAM_OUTPUT=eclipse
-#endif
-
-DEFAULT_JAVA=DEFAULT_JAVA_EXEC
-PROGRAM_LIBRARY=eclipse_$(LIB_VERSION).so
-
-# Define the object modules to be compiled and flags.
-CC=gcc
-MAIN_OBJS = eclipseMain.o
-COMMON_OBJS = eclipseConfig.o eclipseCommon.o eclipseGtkCommon.o eclipseGtkInit.o
-DLL_OBJS = eclipse.o eclipseGtk.o eclipseUtil.o eclipseJNI.o eclipseShm.o eclipseNix.o
-
-EXEC = $(PROGRAM_OUTPUT)
-DLL = $(PROGRAM_LIBRARY)
-LIBS = -L$(MOTIF_HOME)/lib -L$(X11_HOME)/lib -lpthread -lrt
-GTK_LIBS = \
- -DGTK_LIB="\"libgtk-x11-2.0.so\"" -DGDK_LIB="\"libgdk-x11-2.0.so\"" \
- -DGTK3_LIB="\"libgtk-3.so\"" -DGDK3_LIB="\"libgdk-3.so\"" \
- -DPIXBUF_LIB="\"libgdk_pixbuf-2.0.so\"" \
- -DGOBJ_LIB="\"libgobject-2.0.so\"" -DX11_LIB="\"libX11.so\""
-LFLAGS = ${M_ARCH} -shared -static-libgcc
-# -Wl,--export-dynamic
-CFLAGS = ${M_ARCH} -O -s \
- -DDEFAULT_OS="\"$(DEFAULT_OS)\"" \
- -DDEFAULT_OS_ARCH="\"$(DEFAULT_OS_ARCH)\"" \
- -DDEFAULT_WS="\"$(DEFAULT_WS)\"" \
- -D$(DEFAULT_JAVA) \
- -DHPUX \
- $(GTK_LIBS) \
- -I./ \
- -I../ \
- -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/hp-ux \
- `pkg-config --cflags gtk+-2.0`
-
-all: $(EXEC) $(DLL)
-
-.c.o:
- $(CC) $(CFLAGS) -c $< -o $@
-
-eclipse.o: ../eclipse.c ../eclipseOS.h ../eclipseCommon.h ../eclipseJNI.h
- $(CC) $(CFLAGS) -c ../eclipse.c -o $@
-
-eclipseMain.o: ../eclipseMain.c ../eclipseUnicode.h ../eclipseCommon.h
- $(CC) $(CFLAGS) -c ../eclipseMain.c -o $@
-
-eclipseCommon.o: ../eclipseCommon.c ../eclipseCommon.h ../eclipseUnicode.h
- $(CC) $(CFLAGS) -c ../eclipseCommon.c -o $@
-
-eclipseUtil.o: ../eclipseUtil.c ../eclipseUtil.h ../eclipseOS.h
- $(CC) $(CFLAGS) -c ../eclipseUtil.c -o $@
-
-eclipseJNI.o: ../eclipseJNI.c ../eclipseCommon.h ../eclipseOS.h ../eclipseJNI.h
- $(CC) $(CFLAGS) -c ../eclipseJNI.c -o $@
-
-eclipseConfig.o: ../eclipseConfig.c ../eclipseConfig.h ../eclipseOS.h
- $(CC) $(CFLAGS) -c ../eclipseConfig.c -o $@
-
-eclipseShm.o: ../eclipseShm.h ../eclipseUnicode.h ../eclipseShm.c
- $(CC) $(CFLAGS) -c ../eclipseShm.c -o $@
-
-eclipseNix.o: ../eclipseNix.c
- $(CC) $(CFLAGS) -c ../eclipseNix.c -o $@
-
-$(EXEC): $(MAIN_OBJS) $(COMMON_OBJS)
- $(CC) ${M_ARCH} -o $(EXEC) $(MAIN_OBJS) $(COMMON_OBJS) $(LIBS)
-
-$(DLL): $(DLL_OBJS) $(COMMON_OBJS)
- $(CC) $(LFLAGS) -o $(DLL) $(DLL_OBJS) $(COMMON_OBJS) $(LIBS)
-
-install: all
- cp $(EXEC) $(OUTPUT_DIR)
- cp $(DLL) $(LIBRARY_DIR)
- rm -f $(EXEC) $(MAIN_OBJS) $(COMMON_OBJS) $(DLL_OBJS)
-
-clean:
- rm -f $(EXEC) $(MAIN_OBJS) $(COMMON_OBJS) $(DLL_OBJS)
diff --git a/features/org.eclipse.equinox.executable.feature/library/gtk/make_solaris.mak b/features/org.eclipse.equinox.executable.feature/library/gtk/make_solaris.mak
deleted file mode 100644
index 47cd82465..000000000
--- a/features/org.eclipse.equinox.executable.feature/library/gtk/make_solaris.mak
+++ /dev/null
@@ -1,108 +0,0 @@
-#*******************************************************************************
-# Copyright (c) 2000, 2010 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
-# Kevin Cornell (Rational Software Corporation)
-# Tom Tromey (Red Hat, Inc.)
-# Martin Oberhuber (Wind River) - [176805] Support building with gcc and debug
-#*******************************************************************************
-include ../make_version.mak
-# Makefile for creating the GTK eclipse launcher program.
-#
-# This makefile expects the utility "pkg-config" to be in the PATH.
-
-# This makefile expects the following environment variables set:
-#
-# PROGRAM_OUTPUT - the filename of the output executable
-# DEFAULT_OS - the default value of the "-os" switch
-# DEFAULT_OS_ARCH - the default value of the "-arch" switch
-# DEFAULT_WS - the default value of the "-ws" switch
-# JAVA_HOME - JAVA_HOME for JNI headers
-
-#ifeq ($(PROGRAM_OUTPUT),)
- PROGRAM_OUTPUT=eclipse
-#endif
-
-PROGRAM_LIBRARY=$(PROGRAM_OUTPUT)_$(LIB_VERSION).so
-
-# Define the object modules to be compiled and flags.
-MAIN_OBJS = eclipseMain.o
-COMMON_OBJS = eclipseConfig.o eclipseCommon.o eclipseGtkCommon.o eclipseGtkInit.o
-DLL_OBJS = eclipse.o eclipseGtk.o eclipseUtil.o eclipseJNI.o eclipseShm.o eclipseNix.o
-PICFLAG = -K PIC
-# Optimize and remove all debugging information by default
-OPTFLAG = -O -s
-# OPTFLAG = -g
-
-EXEC = $(PROGRAM_OUTPUT)
-DLL = $(PROGRAM_LIBRARY)
-#LIBS = `pkg-config --libs-only-L gtk+-2.0` -lgtk-x11-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lgdk-x11-2.0 -lglib-2.0 -lthread -ldl -lc
-LIBS = -lthread -ldl -lc -lrt
-GTK_LIBS = \
- -DGTK_LIB="\"libgtk-x11-2.0.so.0\"" -DGDK_LIB="\"libgdk-x11-2.0.so.0\"" \
- -DGTK3_LIB="\"libgtk-3.so.0\"" -DGDK3_LIB="\"libgdk-3.so.0\"" \
- -DPIXBUF_LIB="\"libgdk_pixbuf-2.0.so.0\"" -DGOBJ_LIB="\"libgobject-2.0.so.0\"" -DX11_LIB="\"libX11.so.4\""
-LFLAGS = ${M_ARCH} -G
-CFLAGS = ${M_ARCH} \
- $(OPTFLAG) \
- -DSOLARIS \
- $(PICFLAG) \
- -DDEFAULT_OS="\"$(DEFAULT_OS)\"" \
- -DDEFAULT_OS_ARCH="\"$(DEFAULT_OS_ARCH)\"" \
- -DDEFAULT_WS="\"$(DEFAULT_WS)\"" \
- $(GTK_LIBS) \
- -I. \
- -I.. \
- -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/solaris \
- `pkg-config --cflags gtk+-2.0`
-
-all: $(EXEC) $(DLL)
-
-eclipse.o: ../eclipse.c ../eclipseOS.h ../eclipseCommon.h ../eclipseJNI.h
- $(CC) $(CFLAGS) -c ../eclipse.c -o eclipse.o
-
-eclipseMain.o: ../eclipseUnicode.h ../eclipseCommon.h ../eclipseMain.c
- $(CC) $(CFLAGS) -c ../eclipseMain.c -o eclipseMain.o
-
-eclipseCommon.o: ../eclipseCommon.h ../eclipseUnicode.h ../eclipseCommon.c
- $(CC) $(CFLAGS) -c ../eclipseCommon.c
-
-eclipseGtkCommon.o: ../eclipseCommon.h ../eclipseOS.h eclipseGtk.h eclipseGtkCommon.c
- $(CC) $(CFLAGS) -c eclipseGtkCommon.c -o eclipseGtkCommon.o
-
-eclipseGtkInit.o: ../eclipseCommon.h eclipseGtk.h eclipseGtkInit.c
- $(CC) $(CFLAGS) -c eclipseGtkInit.c -o eclipseGtkInit.o
-
-eclipseUtil.o: ../eclipseUtil.c ../eclipseUtil.h ../eclipseOS.h
- $(CC) $(CFLAGS) -c ../eclipseUtil.c -o eclipseUtil.o
-
-eclipseJNI.o: ../eclipseJNI.c ../eclipseCommon.h ../eclipseOS.h ../eclipseJNI.h
- $(CC) $(CFLAGS) -c ../eclipseJNI.c -o eclipseJNI.o
-
-eclipseConfig.o: ../eclipseConfig.c ../eclipseConfig.h ../eclipseOS.h
- $(CC) $(CFLAGS) -c ../eclipseConfig.c -o eclipseConfig.o
-
-eclipseShm.o: ../eclipseShm.h ../eclipseUnicode.h ../eclipseShm.c
- $(CC) $(CFLAGS) -c ../eclipseShm.c -o eclipseShm.o
-
-eclipseNix.o: ../eclipseNix.c
- $(CC) $(CFLAGS) -c ../eclipseNix.c -o eclipseNix.o
-
-$(EXEC): $(MAIN_OBJS) $(COMMON_OBJS)
- $(CC) ${M_ARCH} -o $(EXEC) $(MAIN_OBJS) $(COMMON_OBJS) $(LIBS)
-
-$(DLL): $(DLL_OBJS) $(COMMON_OBJS)
- $(CC) $(LFLAGS) -o $(DLL) $(DLL_OBJS) $(COMMON_OBJS) $(LIBS)
-
-install: all
- cp $(EXEC) $(OUTPUT_DIR)
- cp $(DLL) $(LIBRARY_DIR)
- rm -f $(EXEC) $(DLL) $(MAIN_OBJS) $(COMMON_OBJS) $(DLL_OBJS)
-
-clean:
- rm -f $(EXEC) $(DLL) $(MAIN_OBJS) $(COMMON_OBJS) $(DLL_OBJS)

Back to the top