Patch contributed by Michal Ceresna and verified by John Marmion.

This patch makes the webclient trunk work with the MOZILLA_0_9_9_BRANCH
on linux.


git-svn-id: svn://10.0.0.236/trunk@122500 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
edburns%acm.org
2002-06-01 19:11:44 +00:00
parent b1e8ad1cac
commit dca1ac3c28
11 changed files with 79 additions and 29 deletions

View File

@@ -25,7 +25,8 @@ include $(DEPTH)/config/autoconf.mk
#// DIRS - There are subdirectories to process
#//
#//------------------------------------------------------------------------
DIRS= import classes_spec src_share src_moz
DIRS= classes_spec src_share src_moz
#//------------------------------------------------------------------------
#//

View File

@@ -61,6 +61,34 @@ else
LIBRARY_NAME = webclient
endif
REQUIRES = xpcom \
layout \
shistory \
appcomps \
appshell \
pref \
locale \
intl \
rdf \
bookmarks \
content \
editor \
string \
embed_base \
webBrowser_core \
webbrwsr \
webshell \
windowwatcher \
profile \
necko \
docshell \
dom \
widget \
uriloader \
webbrowserpersist \
gfx \
$(NULL)
CPPSRCS = \
ns_util.cpp \
ns_util_export.cpp \

View File

@@ -158,7 +158,9 @@ include <$(DEPTH)\config\rules.mak>
buildRunems:
$(MAKE_INSTALL) .\$(OBJDIR)\$(LIBRARY_NAME).dll $(DIST)\bin
$(MAKE_INSTALL) .\$(OBJDIR)\$(LIBRARY_NAME).lib $(DIST)\lib
!ifdef MOZ_DEBUG
copy $(DIST)\bin\windbgdlg.exe $(JDKHOME)\bin
!endif
!ifdef BAL_INTERFACE
!else
!ifndef PACKAGE_BUILD

View File

@@ -74,7 +74,7 @@ sub init() {
$file_separator = "\/";
$JAVA="java";
}
$javahome=$ENV{"JAVAHOME"};
$javahome=$ENV{"JDKHOME"} . $file_separator . "bin";
unless(-f "$javahome$file_separator$JAVA") {
die "Can't find java executable $javahome$file_separator$JAVA";
}