mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-14 15:37:55 +00:00
6c4baee48e
removed headers generated by javah updated makefiles
85 lines
2.4 KiB
Makefile
85 lines
2.4 KiB
Makefile
# 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):
|
|
|
|
DEPTH = ../../..
|
|
topsrcdir = $(DEPTH)
|
|
srcdir = $(topsrcdir)/java/dom/jni
|
|
VPATH = $(topsrcdir)/java/dom/jni
|
|
|
|
JAVAHOME = $(JDKHOME)
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
LIBRARY_NAME = javadomjni
|
|
|
|
CPPSRCS = \
|
|
javaDOMGlobals.cpp \
|
|
javaDOMEventsGlobals.cpp \
|
|
nativeDOMProxyListener.cpp \
|
|
org_mozilla_dom_DOMAccessor.cpp \
|
|
org_mozilla_dom_AttrImpl.cpp \
|
|
org_mozilla_dom_CharacterDataImpl.cpp \
|
|
org_mozilla_dom_DocumentImpl.cpp \
|
|
org_mozilla_dom_DocumentTypeImpl.cpp \
|
|
org_mozilla_dom_DOMImplementationImpl.cpp \
|
|
org_mozilla_dom_ElementImpl.cpp \
|
|
org_mozilla_dom_EntityImpl.cpp \
|
|
org_mozilla_dom_NamedNodeMapImpl.cpp \
|
|
org_mozilla_dom_NodeImpl.cpp \
|
|
org_mozilla_dom_NodeListImpl.cpp \
|
|
org_mozilla_dom_NotationImpl.cpp \
|
|
org_mozilla_dom_ProcessingInstructionImpl.cpp \
|
|
org_mozilla_dom_TextImpl.cpp \
|
|
org_mozilla_dom_events_EventImpl.cpp \
|
|
org_mozilla_dom_events_UIEventImpl.cpp \
|
|
org_mozilla_dom_events_MouseEventImpl.cpp
|
|
|
|
include $(topsrcdir)/config/config.mk
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
JAVA_CLS= \
|
|
org.mozilla.dom.DOMAccessor \
|
|
org.mozilla.dom.AttrImpl \
|
|
org.mozilla.dom.CharacterDataImpl \
|
|
org.mozilla.dom.DocumentImpl \
|
|
org.mozilla.dom.DocumentTypeImpl \
|
|
org.mozilla.dom.DOMImplementationImpl \
|
|
org.mozilla.dom.ElementImpl \
|
|
org.mozilla.dom.EntityImpl \
|
|
org.mozilla.dom.NamedNodeMapImpl \
|
|
org.mozilla.dom.NodeImpl \
|
|
org.mozilla.dom.NodeListImpl \
|
|
org.mozilla.dom.NotationImpl \
|
|
org.mozilla.dom.ProcessingInstructionImpl \
|
|
org.mozilla.dom.TextImpl \
|
|
org.mozilla.dom.events.EventImpl \
|
|
org.mozilla.dom.events.MouseEventImpl \
|
|
org.mozilla.dom.events.UIEventImpl \
|
|
$(NULL)
|
|
|
|
JAVAH_PROG=$(JDKHOME)/bin/javah
|
|
JAVAH_FLAGS=-jni -classpath $(CLASSPATH):$(JAVA_DESTPATH)
|
|
|
|
export::
|
|
$(JAVAH_PROG) $(JAVAH_FLAGS) $(JAVA_CLS)
|
|
|
|
clobber::
|
|
rm -f org_*.h
|