Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRolf Theunissen2018-03-29 10:23:53 +0000
committerAlexander Kurtakov2018-04-11 12:35:58 +0000
commit148086d9b53e0d2c51fe0087cd4acad1f77878ba (patch)
tree1ae1bc6d8a7e8651b8f893b027542b03b0bd6a54 /bundles/org.eclipse.swt/Eclipse SWT PI/gtk
parent6f5d313bd9f6941439cca36fbb00817997e728cb (diff)
downloadeclipse.platform.swt-148086d9b53e0d2c51fe0087cd4acad1f77878ba.tar.gz
eclipse.platform.swt-148086d9b53e0d2c51fe0087cd4acad1f77878ba.tar.xz
eclipse.platform.swt-148086d9b53e0d2c51fe0087cd4acad1f77878ba.zip
Bug 488431 - Provide SWT/GTK3 port on Windows
Graceful errors for features not implemented in SWT/GTK-Win32 Change-Id: Ib54d2dbba9f4aac89b2edb1ff135e0e28d39f7d8 Signed-off-by: Rolf Theunissen <rolf.theunissen@altran.com>
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/gtk')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_win32.mak9
1 files changed, 7 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_win32.mak b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_win32.mak
index ee087017c5..64e97ba958 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_win32.mak
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_win32.mak
@@ -7,9 +7,14 @@
#
# Contributors:
# IBM Corporation - initial API and implementation
+# Rolf Theunissen - SWT/GTK port on Windows
#*******************************************************************************
-# Makefile for creating SWT libraries for Linux GTK
+# Makefile for creating SWT libraries for win32 GTK
+
+# rewrite backslashes to slashes in paths
+JAVA_HOME := $(subst \,/,$(JAVA_HOME))
+OUTPUT_DIR := $(subst \,/,$(OUTPUT_DIR))
#SWT_LIB_DEBUG=1 # to debug glue code in /bundles/org.eclipse.swt/bin/library. E.g os_custom.c:swt_fixed_forall(..)
# Can be set via environment like: export SWT_LIB_DEBUG=1
@@ -53,7 +58,7 @@ else
GTKLIBS = `pkg-config --libs gtk+-$(GTK_VERSION) gthread-2.0` $(XLIB64)
endif
-AWT_LFLAGS = -shared ${SWT_LFLAGS}
+AWT_LFLAGS = -shared ${SWT_LFLAGS}
AWT_LIBS = -L$(AWT_LIB_PATH) -ljawt
ATKCFLAGS = `pkg-config --cflags atk gtk+-$(GTK_VERSION)`

Back to the top