Changes to make webclient compile and minimally run with Netscape 6.2.1. git-svn-id: svn://10.0.0.236/trunk@112073 18797224-902f-48f8-a5cc-f745e15eee43
59 lines
1.6 KiB
Plaintext
Executable File
59 lines
1.6 KiB
Plaintext
Executable File
#!gmake
|
|
#
|
|
# The contents of this file are subject to the Netscape 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/NPL/
|
|
#
|
|
# 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 Netscape
|
|
# Communications Corporation. Portions created by Netscape are
|
|
# Copyright (C) 1998 Netscape Communications Corporation. All
|
|
# Rights Reserved.
|
|
#
|
|
# Contributor(s):
|
|
# Igor Kushnirskiy <idk@eng.sun.com>
|
|
#
|
|
|
|
DEPTH = ..\..\..\..
|
|
|
|
JAVAXPIDLSRCS = nsISupports.idl \
|
|
nsIFile.idl \
|
|
nsIEnumerator.idl \
|
|
nsIComponentManager.idl \
|
|
nsIFactory.idl \
|
|
nsISupportsPrimitives.idl \
|
|
nsIXPIDLServiceManager.idl \
|
|
$(NULL)
|
|
|
|
include <$(DEPTH)\config\rules.mak>
|
|
include ..\config\rules.mak
|
|
|
|
.SUFFIXES: .idl .java
|
|
import: $(XPIDLSRCS)
|
|
|
|
$(JAVAXPIDLSRCS) :
|
|
copy $(DEPTH)\dist\idl\$(@F) .
|
|
|
|
#we have to exclude some files from here
|
|
#xpidl compiler does not support typedefs, yet.
|
|
#we do not have typedefs in java
|
|
#what is the best solution?
|
|
#idk@eng.sun.com (04/02/2001)
|
|
|
|
exclude:
|
|
rm -f nsISupportsPRTime.java
|
|
|
|
java2class:
|
|
if not exist $(DEPTH)\dist\classes mkdir $(DEPTH)\dist\classes
|
|
$(JDKHOME)\bin\javac -classpath ".;..\classes\;$(CLASSPATH)" -d $(DEPTH)\dist\classes *.java
|
|
|
|
export:: import idl2java exclude java2class
|
|
|