Generate Java interface from nsError.h. Not part of build. a=mkaply

git-svn-id: svn://10.0.0.236/trunk@172089 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
pedemont%us.ibm.com
2005-04-13 19:04:57 +00:00
parent 20a18d91cf
commit 73cbbeaf63
4 changed files with 176 additions and 7 deletions

View File

@@ -15,7 +15,7 @@
#
# The Initial Developer of the Original Code is
# IBM Corporation.
# Portions created by the Initial Developer are Copyright (C) 2004
# Portions created by the Initial Developer are Copyright (C) 2005
# IBM Corporation. All Rights Reserved.
#
# Contributor(s):
@@ -76,6 +76,10 @@ JAVA_SRCS = \
AppFileLocProvider.java \
$(NULL)
GEN_JAVA_SRCS = \
XPCOMError.java \
$(NULL)
LOCAL_INCLUDES = -I$(JAVA_INCLUDE_PATH)
ifeq ($(OS_ARCH),WINNT)
@@ -96,6 +100,10 @@ EXTRA_DSO_LDOPTS = \
include $(topsrcdir)/config/rules.mk
export::
@$(INSTALL) -m 644 $(addprefix $(srcdir)/,$(JAVA_SRCS)) $(JAVA_DIST_DIR)/org/mozilla/xpcom
XPCOMError.java: $(topsrcdir)/xpcom/base/nsError.h gen-nsError.pl Makefile Makefile.in
$(PERL) $(srcdir)/gen-nsError.pl < $< > $@
export:: $(GEN_JAVA_SRCS)
@$(INSTALL) -m 644 $(addprefix $(srcdir)/,$(JAVA_SRCS)) $(JAVA_DIST_DIR)/org/mozilla/xpcom
@$(INSTALL) -m 644 $(GEN_JAVA_SRCS) $(JAVA_DIST_DIR)/org/mozilla/xpcom