2000-03-04 04:10:58 +03:00
|
|
|
#!nmake
|
|
|
|
#
|
|
|
|
# The contents of this file are subject to the Mozilla Public
|
|
|
|
# License Version 1.1 (the "License"); you may not use this file
|
|
|
|
# except in compliance with the License. You may obtain a copy of
|
|
|
|
# the License at http://www.mozilla.org/MPL/
|
|
|
|
#
|
|
|
|
# Software distributed under the License is distributed on an "AS
|
|
|
|
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
|
|
|
# implied. See the License for the specific language governing
|
|
|
|
# rights and limitations under the License.
|
|
|
|
#
|
|
|
|
# The Original Code is mozilla.org code.
|
|
|
|
#
|
|
|
|
# The Initial Developer of the Original Code is Sun Microsystems,
|
|
|
|
# Inc. Portions created by Sun are
|
|
|
|
# Copyright (C) 1999 Sun Microsystems, Inc. All
|
|
|
|
# Rights Reserved.
|
|
|
|
#
|
|
|
|
# Contributor(s):
|
|
|
|
|
|
|
|
IGNORE_MANIFEST=1
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
#//
|
|
|
|
#// Makefile to build the java portion of the java wrapper to mozilla
|
|
|
|
#//
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
#//
|
|
|
|
#// Specify the depth of the current directory relative to the
|
|
|
|
#// root of NS
|
|
|
|
#//
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
DEPTH= ..\..\..
|
|
|
|
|
|
|
|
# PENDING(edburns): find out where this should really get defined
|
|
|
|
JAVA_OR_NSJVM=1
|
|
|
|
NO_CAFE=1
|
|
|
|
|
|
|
|
include <$(DEPTH)\config\config.mak>
|
|
|
|
|
|
|
|
# for compatibility
|
|
|
|
include <$(DEPTH)\java\config\localdefs.mak>
|
|
|
|
|
|
|
|
JAR_WEBCLIENT_CLASSES = \
|
|
|
|
org\mozilla\webclient \
|
2001-05-25 01:13:50 +04:00
|
|
|
org\mozilla\webclient\stubs \
|
2000-03-04 04:10:58 +03:00
|
|
|
org\mozilla\webclient\wrapper_native \
|
|
|
|
org\mozilla\webclient\wrapper_native\win32 \
|
|
|
|
org\mozilla\webclient\test \
|
2001-07-28 05:14:12 +04:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
!ifdef WEBCLIENT_ICE
|
|
|
|
JAR_WEBCLIENT_CLASSES = \
|
|
|
|
$(JAR_WEBCLIENT_CLASSES) \
|
|
|
|
org\mozilla\webclient\wrapper_nonnative \
|
|
|
|
org\mozilla\webclient\test_nonnative \
|
|
|
|
$(NULL)
|
|
|
|
!endif
|
2000-03-04 04:10:58 +03:00
|
|
|
|
|
|
|
|
|
|
|
# org\mozilla\webclient\test org\mozilla\webclient\win32 org\mozilla\webclient\test\swing
|
|
|
|
|
|
|
|
!ifdef JAVA_OR_NSJVM
|
|
|
|
JDIRS = $(JAR_WEBCLIENT_CLASSES)
|
|
|
|
!endif
|
|
|
|
|
2001-05-01 03:50:52 +04:00
|
|
|
WEBCLIENT_JAR_NAME=webclient(VERSION_NUMBER).jar
|
2000-03-04 04:10:58 +03:00
|
|
|
|
|
|
|
JAVAC_PROG=$(JDKHOME)\bin\javac
|
|
|
|
|
|
|
|
export::
|
2000-06-05 02:16:36 +04:00
|
|
|
@echo +++ NOTE, you must have the org.w3c.dom classes in your classpath!
|
|
|
|
@echo +++ If you do not have org.w3c.dom classes, webclient will not build.
|
|
|
|
@echo +++ You can get the required dom classes at
|
2000-06-09 23:03:42 +04:00
|
|
|
@echo +++ http://www.mozilla.org/projects/blackwood/webclient/bin/m3/files.html
|
2000-06-05 02:16:36 +04:00
|
|
|
@echo +++
|
|
|
|
@echo +++ checking that org.mozilla.dom classes have been built...
|
|
|
|
if not exist $(MOZ_SRC)\mozilla\dist\classes\org\mozilla\dom\DOMAccessor.class \
|
|
|
|
stopbuild.exe
|
2000-03-04 04:10:58 +03:00
|
|
|
@echo +++ Checking that org.mozilla.util classes have been built...
|
|
|
|
if not exist $(MOZ_SRC)\mozilla\dist\classes\org\mozilla\util\Assert.class \
|
|
|
|
stopbuild.exe
|
|
|
|
|
2000-06-05 02:16:36 +04:00
|
|
|
!ifdef CLASSPATH
|
|
|
|
JAVAC_CLASSPATH=$(JAVAC_CLASSPATH);$(CLASSPATH)
|
|
|
|
!endif
|
|
|
|
|
2000-09-21 01:38:33 +04:00
|
|
|
include <$(DEPTH)\config\javarules.mak>
|
2001-07-28 05:14:12 +04:00
|
|
|
include <$(DEPTH)\config\rules.mak>
|