#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

DEPTH		= @DEPTH@
topsrcdir	= @top_srcdir@
srcdir		= @srcdir@
VPATH		= @srcdir@

include $(DEPTH)/config/autoconf.mk

MODULE		= dom
XPIDL_MODULE	= dom_core
GRE_MODULE	= 1

SDK_XPIDLSRCS =                                 \
	nsIDOMAttr.idl				\
	nsIDOMCDATASection.idl			\
	nsIDOMCharacterData.idl			\
	nsIDOMComment.idl			\
	nsIDOMDOMException.idl			\
	nsIDOMDOMImplementation.idl		\
	nsIDOMDocument.idl			\
	nsIDOMDocumentFragment.idl		\
	nsIDOMDocumentType.idl			\
	nsIDOMElement.idl			\
	nsIDOMNamedNodeMap.idl			\
	nsIDOMNode.idl				\
	nsIDOMNodeList.idl			\
	nsIDOMProcessingInstruction.idl		\
	nsIDOMText.idl				\
	$(NULL)
XPIDLSRCS =                                     \
	nsIDOMDOMStringList.idl			\
	nsIDOMXMLDocument.idl			\
	nsIDOMUserDataHandler.idl		\
	nsIDOMNSEditableElement.idl		\
	nsIDOMNodeSelector.idl			\
	nsIDOMDOMTokenList.idl			\
	nsIDOMDOMSettableTokenList.idl	\
	nsIInlineEventHandlers.idl              \
	nsIDOMMutationObserver.idl              \
	$(NULL)

include $(topsrcdir)/config/rules.mk

XPIDL_FLAGS += \
  -I$(topsrcdir)/dom/interfaces/base \
  $(NULL)
