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

SDK_XPIDLSRCS = 				\
	nsIDOMCSSPrimitiveValue.idl		\
	nsIDOMCSSRule.idl			\
	nsIDOMCSSRuleList.idl			\
	nsIDOMCSSStyleDeclaration.idl		\
	nsIDOMCSSStyleSheet.idl			\
	nsIDOMCSSValue.idl			\
	nsIDOMCSSValueList.idl			\
	nsIDOMElementCSSInlineStyle.idl		\
	$(NULL)

XPIDLSRCS =					\
	nsIDOMCSS2Properties.idl		\
	nsIDOMCSSCharsetRule.idl		\
	nsIDOMCSSFontFaceRule.idl		\
	nsIDOMCSSImportRule.idl			\
	nsIDOMCSSMediaRule.idl			\
	nsIDOMCSSMozDocumentRule.idl		\
	nsIDOMCSSSupportsRule.idl		\
	nsIDOMMozCSSKeyframeRule.idl		\
	nsIDOMMozCSSKeyframesRule.idl		\
	nsIDOMCSSPageRule.idl			\
	nsIDOMCSSStyleRule.idl			\
	nsIDOMCSSUnknownRule.idl		\
	nsIDOMCounter.idl			\
	nsIDOMRGBColor.idl			\
	nsIDOMRect.idl				\
	nsIDOMNSRGBAColor.idl			\
	$(NULL)

include $(topsrcdir)/config/rules.mk

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