From f809bec95d6b98ed5bccbbcb1ea82aabcf757074 Mon Sep 17 00:00:00 2001 From: "idk%eng.sun.com" Date: Tue, 3 Apr 2001 20:59:04 +0000 Subject: [PATCH] *not part of the build* add on to my previous checkin --- java/xpcom/java/config/rules.mak | 0 java/xpcom/java/config/rules.mk | 0 java/xpcom/java/import/Makefile.in | 57 +++++++++++++++++++++++++++++ java/xpcom/java/import/makefile.win | 57 +++++++++++++++++++++++++++++ 4 files changed, 114 insertions(+) create mode 100755 java/xpcom/java/config/rules.mak create mode 100755 java/xpcom/java/config/rules.mk create mode 100755 java/xpcom/java/import/Makefile.in create mode 100755 java/xpcom/java/import/makefile.win diff --git a/java/xpcom/java/config/rules.mak b/java/xpcom/java/config/rules.mak new file mode 100755 index 00000000000..e69de29bb2d diff --git a/java/xpcom/java/config/rules.mk b/java/xpcom/java/config/rules.mk new file mode 100755 index 00000000000..e69de29bb2d diff --git a/java/xpcom/java/import/Makefile.in b/java/xpcom/java/import/Makefile.in new file mode 100755 index 00000000000..370d504f08f --- /dev/null +++ b/java/xpcom/java/import/Makefile.in @@ -0,0 +1,57 @@ +#!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 +# + +DEPTH = ../../../.. + +JAVAXPIDLSRCS = nsISupports.idl \ + nsIFile.idl \ + nsIEnumerator.idl \ + nsIComponentManager.idl \ + nsIFactory.idl \ + nsISupportsPrimitives.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: + rm -f nsISupportsPRTime.java + +java2class: + mkdir -p $(DEPTH)/dist/classes + $(JDKHOME)/bin/javac -classpath ".:../classes/:$(CLASSPATH)" -d $(DEPTH)/dist/classes *.java + +export:: import idl2java exclude java2class + diff --git a/java/xpcom/java/import/makefile.win b/java/xpcom/java/import/makefile.win new file mode 100755 index 00000000000..7562b45f4c3 --- /dev/null +++ b/java/xpcom/java/import/makefile.win @@ -0,0 +1,57 @@ +#!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 +# + +DEPTH = ..\..\..\.. + +JAVAXPIDLSRCS = nsISupports.idl \ + nsIFile.idl \ + nsIEnumerator.idl \ + nsIComponentManager.idl \ + nsIFactory.idl \ + nsISupportsPrimitives.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 suport typedefs, yet. +#we do not have typedefs in java +#what is the best solution? +#idk@eng.sun.com (04/02/2001) + +exclude: + del 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 +