#
# 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@
FAIL_ON_WARNINGS := 1

include $(DEPTH)/config/autoconf.mk

MODULE         = dom
LIBRARY_NAME   = json_s
LIBXUL_LIBRARY = 1


CPPSRCS =                      \
       nsJSON.cpp              \
       $(NULL)

EXPORTS = nsJSON.h \
          $(NULL)

FORCE_STATIC_LIB = 1

LOCAL_INCLUDES = \
		-I$(srcdir)/../base \
		-I$(topsrcdir)/content/events/src

DEFINES += -D_IMPL_NS_LAYOUT

TEST_DIRS += test

include $(topsrcdir)/config/rules.mk
