aboutsummaryrefslogtreecommitdiff
path: root/java/eclipse/files/make_gtk.mak
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2004-10-27 16:57:48 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2004-10-27 16:57:48 +0000
commit9e2dbd4bf105e9911e9e2348305d01de3f2367b4 (patch)
treeced631407d864fa9fb18ab5cbc441e9d17fa415b /java/eclipse/files/make_gtk.mak
parent5d0afe735502da3a6d26a5bf2cfa98a36ddff9c0 (diff)
downloadports-9e2dbd4bf105e9911e9e2348305d01de3f2367b4.tar.gz
ports-9e2dbd4bf105e9911e9e2348305d01de3f2367b4.zip
Notes
Diffstat (limited to 'java/eclipse/files/make_gtk.mak')
-rw-r--r--java/eclipse/files/make_gtk.mak36
1 files changed, 28 insertions, 8 deletions
diff --git a/java/eclipse/files/make_gtk.mak b/java/eclipse/files/make_gtk.mak
index 0e8d27898c0c..222f4435497e 100644
--- a/java/eclipse/files/make_gtk.mak
+++ b/java/eclipse/files/make_gtk.mak
@@ -54,6 +54,7 @@ ATKLIBS = `pkg-config --libs atk gtk+-2.0`
GNOMECFLAGS = `pkg-config --cflags gnome-vfs-module-2.0 libgnome-2.0 libgnomeui-2.0`
GNOMELIBS = `pkg-config --libs gnome-vfs-module-2.0 libgnome-2.0 libgnomeui-2.0`
+ifeq ($(BROWSER),mozilla)
MOZILLACFLAGS = -O \
-fno-rtti \
-Wall \
@@ -61,14 +62,33 @@ MOZILLACFLAGS = -O \
-I$(JAVA_HOME)/include \
-I$(JAVA_HOME)/include/bsd \
-I$(JAVA_HOME)/include/freebsd \
- -include $(MOZILLA_HOME)/include/mozilla/mozilla-config.h \
- -I$(MOZILLA_HOME)/include/mozilla \
- -I$(MOZILLA_HOME)/include/mozilla/xpcom \
- -I$(MOZILLA_HOME)/include/mozilla/string \
- -I$(MOZILLA_HOME)/include/mozilla/nspr \
- -I$(MOZILLA_HOME)/include/mozilla/embed_base \
- -I$(MOZILLA_HOME)/include/mozilla/gfx
-MOZILLALIBS = -L$(MOZILLA_HOME)/lib/mozilla -lgtkembedmoz -lxpcom
+ -include $(MOZILLA_HOME)/include/$(BROWSER)/mozilla-config.h \
+ -I$(MOZILLA_HOME)/include/$(BROWSER) \
+ -I$(MOZILLA_HOME)/include/$(BROWSER)/xpcom \
+ -I$(MOZILLA_HOME)/include/$(BROWSER)/string \
+ -I$(MOZILLA_HOME)/include/$(BROWSER)/nspr \
+ -I$(MOZILLA_HOME)/include/$(BROWSER)/embed_base \
+ -I$(MOZILLA_HOME)/include/$(BROWSER)/gfx
+else
+MOZILLACFLAGS = -O \
+ -fno-rtti \
+ -Wall \
+ -I./ \
+ -I$(JAVA_HOME)/include \
+ -I$(JAVA_HOME)/include/bsd \
+ -I$(JAVA_HOME)/include/freebsd \
+ -include $(MOZILLA_HOME)/lib/$(BROWSER)/include/$(BROWSER)-$(BROWSER_VER)/mozilla-config.h \
+ -I$(MOZILLA_HOME)/lib/$(BROWSER)/include/$(BROWSER)-$(BROWSER_VER) \
+ -I$(MOZILLA_HOME)/lib/$(BROWSER)/include/$(BROWSER)-$(BROWSER_VER)/xpcom \
+ -I$(MOZILLA_HOME)/lib/$(BROWSER)/include/$(BROWSER)-$(BROWSER_VER)/string \
+ -I$(MOZILLA_HOME)/lib/$(BROWSER)/include/$(BROWSER)-$(BROWSER_VER)/nspr \
+ -I$(MOZILLA_HOME)/lib/$(BROWSER)/include/$(BROWSER)-$(BROWSER_VER)/embed_base \
+ -I$(MOZILLA_HOME)/lib/$(BROWSER)/include/$(BROWSER)-$(BROWSER_VER)/gfx
+endif
+
+MOZILLALIBS = -L$(MOZILLA_HOME)/lib/$(BROWSER) \
+ -L$(MOZILLA_HOME)/lib/$(BROWSER)/lib/$(BROWSER)-$(BROWSER_VER) \
+ -lgtkembedmoz -lxpcom
MOZILLALDFLAGS = -s
SWT_OBJECTS = swt.o callback.o