idk%eng.sun.com 2f849ec82e *not part of the build*
fixed parallel build failure


git-svn-id: svn://10.0.0.236/trunk@96745 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-08 21:36:46 +00:00

58 lines
1.5 KiB
Makefile
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.mk
include ../config/rules.mk
.SUFFIXES: .idl .java
import: $(JAVAXPIDLSRCS)
$(JAVAXPIDLSRCS) :
cp $(DEPTH)/dist/idl/$(@F) .
#we have to exclude some files from here
#xpidl compiler does not suport typedefs, yet.
#we do not have typedefs in java
#what is the best solution?
#idk@eng.sun.com (04/02/2001)
exclude: idl2java
rm -f nsISupportsPRTime.java
java2class: idl2java
mkdir -p $(DEPTH)/dist/classes
$(JDKHOME)/bin/javac -classpath ".:../classes/:$(CLASSPATH)" -d $(DEPTH)/dist/classes *.java
export:: import idl2java exclude java2class