Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2018-06-06 11:33:29 +0000
committerAlexander Kurtakov2018-06-06 11:33:29 +0000
commit25b4067edf23a6763c1c2e0b7ba28d92e3678b5b (patch)
tree375c73b2c66b4a2a813cad7967a0bc00d692d1c1
parent44c0a57863c6ecd139ae73569ff749aaba8bc237 (diff)
downloadeclipse.platform.swt-25b4067edf23a6763c1c2e0b7ba28d92e3678b5b.tar.gz
eclipse.platform.swt-25b4067edf23a6763c1c2e0b7ba28d92e3678b5b.tar.xz
eclipse.platform.swt-25b4067edf23a6763c1c2e0b7ba28d92e3678b5b.zip
Bug 535588 - Remove build support for aix,hpux and solaris
Change-Id: I5faee04a9b09db75554726b070c267f0cf03cc3b Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh8
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_aix.mak162
2 files changed, 0 insertions, 170 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 db3c0650fc..ba16573774 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh
@@ -77,14 +77,6 @@ if [ "${OS}" = "" ]; then
OS=`uname -s`
fi
case $OS in
- "AIX")
- SWT_OS=aix
- MAKEFILE=make_aix.mak
- ;;
- "FreeBSD")
- SWT_OS=freebsd
- MAKEFILE=make_freebsd.mak
- ;;
"Windows_NT")
SWT_OS=win32
MAKEFILE=make_win32.mak
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_aix.mak b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_aix.mak
deleted file mode 100644
index 9210e00699..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_aix.mak
+++ /dev/null
@@ -1,162 +0,0 @@
-#*******************************************************************************
-# Copyright (c) 2010, 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
-#*******************************************************************************
-
-# Makefile for creating SWT libraries for Linux GTK
-
-include make_common.mak
-
-SWT_VERSION=$(maj_ver)$(min_ver)
-GTK_VERSION?=2.0
-
-# Define the various shared libraries to be build.
-WS_PREFIX = gtk
-SWT_PREFIX = swt
-AWT_PREFIX = swt-awt
-SWTPI_PREFIX = swt-pi
-CAIRO_PREFIX = swt-cairo
-ATK_PREFIX = swt-atk
-GLX_PREFIX = swt-glx
-
-SWT_LIB = lib$(SWT_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).a
-AWT_LIB = lib$(AWT_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).a
-SWTPI_LIB = lib$(SWTPI_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).a
-CAIRO_LIB = lib$(CAIRO_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).a
-ATK_LIB = lib$(ATK_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).a
-GLX_LIB = lib$(GLX_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).a
-
-CAIROCFLAGS = `pkg-config --cflags cairo`
-CAIROLIBS = `pkg-config --libs cairo` -lcairo
-
-GTKCFLAGS = `pkg-config --cflags gtk+-2.0 gtk+-unix-print-$(GTK_VERSION)`
-GTKLIBS = `pkg-config --libs gtk+-2.0 gthread-2.0` $(XLIB64) -L/usr/X11R6/lib -lXtst -lX11
-
-AWT_LFLAGS = -shared -s ${SWT_LFLAGS}
-AWT_LIBS = -L$(AWT_LIB_PATH) -ljawt -lX11
-
-ATKCFLAGS = `pkg-config --cflags atk gtk+-2.0 gtk+-unix-print-$(GTK_VERSION)`
-ATKLIBS = `pkg-config --libs atk gtk+-2.0`
-
-GLXLIBS = -L/usr/X11R6/lib -lGL -lGLU -lm
-
-# Uncomment for Native Stats tool
-#NATIVE_STATS = -DNATIVE_STATS
-
-SWT_OBJECTS = swt.o c.o c_stats.o callback.o
-AWT_OBJECTS = swt_awt.o
-SWTPI_OBJECTS = swt.o os.o os_structs.o os_custom.o os_stats.o
-CAIRO_OBJECTS = swt.o cairo.o cairo_structs.o cairo_stats.o
-ATK_OBJECTS = swt.o atk.o atk_structs.o atk_custom.o atk_stats.o
-GLX_OBJECTS = swt.o glx.o glx_structs.o glx_stats.o
-
-CFLAGS = -O -Wall \
- -DSWT_VERSION=$(SWT_VERSION) \
- $(NATIVE_STATS) \
- -DAIX -DGTK \
- -I$(JAVA_HOME)/include \
- ${SWT_PTR_CFLAGS}
-LFLAGS = -shared -s ${SWT_LFLAGS}
-
-
-all: make_swt make_atk #make_glx
-
-#
-# SWT libs
-#
-make_swt: $(SWT_LIB) $(SWTPI_LIB)
-
-$(SWT_LIB): $(SWT_OBJECTS)
- $(CC) $(LFLAGS) -o $(SWT_LIB) $(SWT_OBJECTS)
-
-callback.o: callback.c callback.h
- $(CC) $(CFLAGS) -DUSE_ASSEMBLER -c callback.c
-
-$(SWTPI_LIB): $(SWTPI_OBJECTS)
- $(CC) $(LFLAGS) -o $(SWTPI_LIB) $(SWTPI_OBJECTS) $(GTKLIBS)
-
-swt.o: swt.c swt.h
- $(CC) $(CFLAGS) -c swt.c
-os.o: os.c os.h swt.h os_custom.h
- $(CC) $(CFLAGS) $(GTKCFLAGS) -c os.c
-os_structs.o: os_structs.c os_structs.h os.h swt.h
- $(CC) $(CFLAGS) $(GTKCFLAGS) -c os_structs.c
-os_custom.o: os_custom.c os_structs.h os.h swt.h
- $(CC) $(CFLAGS) $(GTKCFLAGS) -c os_custom.c
-os_stats.o: os_stats.c os_structs.h os.h os_stats.h swt.h
- $(CC) $(CFLAGS) $(GTKCFLAGS) -c os_stats.c
-
-#
-# CAIRO libs
-#
-make_cairo: $(CAIRO_LIB)
-
-$(CAIRO_LIB): $(CAIRO_OBJECTS)
- $(CC) $(LFLAGS) -o $(CAIRO_LIB) $(CAIRO_OBJECTS) $(CAIROLIBS)
-
-cairo.o: cairo.c cairo.h swt.h
- $(CC) $(CFLAGS) $(CAIROCFLAGS) -c cairo.c
-cairo_structs.o: cairo_structs.c cairo_structs.h cairo.h swt.h
- $(CC) $(CFLAGS) $(CAIROCFLAGS) -c cairo_structs.c
-cairo_stats.o: cairo_stats.c cairo_structs.h cairo.h cairo_stats.h swt.h
- $(CC) $(CFLAGS) $(CAIROCFLAGS) -c cairo_stats.c
-
-#
-# AWT lib
-#
-make_awt:$(AWT_LIB)
-
-$(AWT_LIB): $(AWT_OBJECTS)
- $(CC) $(AWT_LFLAGS) -o $(AWT_LIB) $(AWT_OBJECTS) $(AWT_LIBS)
-
-#
-# Atk lib
-#
-make_atk: $(ATK_LIB)
-
-$(ATK_LIB): $(ATK_OBJECTS)
- $(CC) $(LFLAGS) -o $(ATK_LIB) $(ATK_OBJECTS) $(ATKLIBS)
-
-atk.o: atk.c atk.h
- $(CC) $(CFLAGS) $(ATKCFLAGS) -c atk.c
-atk_structs.o: atk_structs.c atk_structs.h atk.h
- $(CC) $(CFLAGS) $(ATKCFLAGS) -c atk_structs.c
-atk_custom.o: atk_custom.c atk_structs.h atk.h
- $(CC) $(CFLAGS) $(ATKCFLAGS) -c atk_custom.c
-atk_stats.o: atk_stats.c atk_structs.h atk_stats.h atk.h
- $(CC) $(CFLAGS) $(ATKCFLAGS) -c atk_stats.c
-
-#
-# GLX lib
-#
-make_glx: $(GLX_LIB)
-
-$(GLX_LIB): $(GLX_OBJECTS)
- $(CC) $(LFLAGS) -o $(GLX_LIB) $(GLX_OBJECTS) $(GLXLIBS)
-
-glx.o: glx.c
- $(CC) $(CFLAGS) $(GLXCFLAGS) -c glx.c
-
-glx_structs.o: glx_structs.c
- $(CC) $(CFLAGS) $(GLXCFLAGS) -c glx_structs.c
-
-glx_stats.o: glx_stats.c glx_stats.h
- $(CC) $(CFLAGS) $(GLXCFLAGS) -c glx_stats.c
-
-#
-# Install
-#
-install: all
- cp *.a $(OUTPUT_DIR)
-
-#
-# Clean
-#
-clean:
- rm -f *.o *.a

Back to the top