From 24c4a29875b18b0cbae5aab3f47641819c1b2d21 Mon Sep 17 00:00:00 2001 From: "edburns%acm.org" Date: Sat, 12 Aug 2000 01:22:18 +0000 Subject: [PATCH] Changes to make it build in the BAL case. --- java/webclient/src_moz/Makefile.in | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/java/webclient/src_moz/Makefile.in b/java/webclient/src_moz/Makefile.in index 29ee61ed100..022d3642395 100644 --- a/java/webclient/src_moz/Makefile.in +++ b/java/webclient/src_moz/Makefile.in @@ -22,13 +22,20 @@ topsrcdir = $(DEPTH) srcdir = $(topsrcdir)/java/webclient/src_moz VPATH = $(topsrcdir)/java/webclient/src_moz +# We don't need to build the stubs in the BAL case. +ifeq ($(BAL_INTERFACE),) DIRS = motif +endif JAVAHOME = $(JDKHOME) include $(DEPTH)/config/autoconf.mk +ifneq ($(BAL_INTERFACE),) +LIBRARY_NAME = webclient_bal +else LIBRARY_NAME = webclient +endif CPPSRCS = \ ns_util.cpp \ @@ -66,7 +73,17 @@ EXTRA_DSO_LDOPTS += -lgtkxtbin -lgtksuperwin -L/usr/X11R6/lib -lXt endif endif -EXTRA_DSO_LDOPTS += -L$(DEPTH)/dist/bin/components -lwidget_gtk -lwc_share +ifneq ($(BAL_INTERFACE),) +CXXFLAGS += -DBAL_INTERFACE +endif + +EXTRA_DSO_LDOPTS += -L$(DEPTH)/dist/bin/components -lwidget_gtk + +ifneq ($(BAL_INTERFACE),) +EXTRA_DSO_LDOPTS += -lwc_share_bal +else +EXTRA_DSO_LDOPTS += -lwc_share +endif INCLUDES := -I$(JDKHOME)/include -I$(JDKHOME)/include/solaris $(INCLUDES) \ -I$(DEPTH)/widget/src/gtk -I../src_share