#
# 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_xul
GRE_MODULE	= 1

XPIDLSRCS =					\
	nsIDOMXULButtonElement.idl              \
	nsIDOMXULCheckboxElement.idl          \
	nsIDOMXULCommandDispatcher.idl		\
	nsIDOMXULCommandEvent.idl \
	nsIDOMXULControlElement.idl          \
	nsIDOMXULDescriptionElement.idl         \
	nsIDOMXULDocument.idl			\
	nsIDOMXULElement.idl			\
	nsIDOMXULContainerElement.idl \
	nsIDOMXULImageElement.idl               \
	nsIDOMXULLabelElement.idl               \
	nsIDOMXULLabeledControlEl.idl          \
	nsIDOMXULMenuListElement.idl     \
	nsIDOMXULPopupElement.idl          \
	nsIDOMXULRelatedElement.idl \
	nsIDOMXULSelectCntrlEl.idl       \
	nsIDOMXULSelectCntrlItemEl.idl   \
	nsIDOMXULMultSelectCntrlEl.idl \
	nsIDOMXULTextboxElement.idl \
	nsIDOMXULTreeElement.idl \
	$(NULL)

include $(topsrcdir)/config/rules.mk

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