1999-11-06 02:47:15 +00:00
|
|
|
# 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.
|
|
|
|
#
|
1999-08-06 00:28:53 +00:00
|
|
|
# The Initial Developer of the Original Code is Sun Microsystems,
|
1999-11-06 02:47:15 +00:00
|
|
|
# Inc. Portions created by Sun are
|
|
|
|
# Copyright (C) 1999 Sun Microsystems, Inc. All
|
|
|
|
# Rights Reserved.
|
|
|
|
#
|
|
|
|
# Contributor(s):
|
1999-08-06 00:28:53 +00:00
|
|
|
|
1999-09-02 01:41:22 +00:00
|
|
|
DEPTH = ../../..
|
1999-09-25 01:45:46 +00:00
|
|
|
topsrcdir = $(DEPTH)
|
1999-10-25 22:42:40 +00:00
|
|
|
srcdir = $(topsrcdir)/java/dom/jni
|
|
|
|
VPATH = $(topsrcdir)/java/dom/jni
|
1999-08-06 00:28:53 +00:00
|
|
|
|
1999-11-25 00:39:38 +00:00
|
|
|
JAVAHOME = $(JDKHOME)
|
|
|
|
|
1999-08-06 00:28:53 +00:00
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
|
|
|
LIBRARY_NAME = javadomjni
|
|
|
|
|
|
|
|
CPPSRCS = \
|
|
|
|
javaDOMGlobals.cpp \
|
1999-10-25 22:42:40 +00:00
|
|
|
javaDOMEventsGlobals.cpp \
|
|
|
|
nativeDOMProxyListener.cpp \
|
2000-03-30 23:52:19 +00:00
|
|
|
org_mozilla_dom_DOMAccessor.cpp \
|
1999-08-06 00:28:53 +00:00
|
|
|
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 \
|
1999-08-23 19:27:48 +00:00
|
|
|
org_mozilla_dom_EntityImpl.cpp \
|
1999-08-06 00:28:53 +00:00
|
|
|
org_mozilla_dom_NamedNodeMapImpl.cpp \
|
|
|
|
org_mozilla_dom_NodeImpl.cpp \
|
|
|
|
org_mozilla_dom_NodeListImpl.cpp \
|
1999-09-02 01:41:22 +00:00
|
|
|
org_mozilla_dom_NotationImpl.cpp \
|
1999-08-06 00:28:53 +00:00
|
|
|
org_mozilla_dom_ProcessingInstructionImpl.cpp \
|
1999-10-25 22:42:40 +00:00
|
|
|
org_mozilla_dom_TextImpl.cpp \
|
|
|
|
org_mozilla_dom_events_EventImpl.cpp \
|
|
|
|
org_mozilla_dom_events_UIEventImpl.cpp \
|
2001-04-02 21:18:06 +00:00
|
|
|
org_mozilla_dom_events_MouseEventImpl.cpp
|
1999-08-06 00:28:53 +00:00
|
|
|
|
|
|
|
include $(topsrcdir)/config/config.mk
|
|
|
|
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
1999-10-25 22:42:40 +00:00
|
|
|
|
2000-06-23 17:14:11 +00:00
|
|
|
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)
|
|
|
|
|
2001-04-02 21:18:06 +00:00
|
|
|
clobber_all:: clobber
|
|
|
|
|
2000-06-23 17:14:11 +00:00
|
|
|
clobber::
|
|
|
|
rm -f org_*.h
|