#
# 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		= jsurl
LIBRARY_NAME	= jsurl_s
FORCE_STATIC_LIB = 1
MODULE_NAME	= javascript__protocol
GRE_MODULE	= 1
LIBXUL_LIBRARY	= 1


XPIDLSRCS	= \
		$(NULL)


CPPSRCS		= nsJSProtocolHandler.cpp

EXPORTS		= $(srcdir)/nsJSProtocolHandler.h

LOCAL_INCLUDES += \
		-I$(srcdir) \
		-I$(topsrcdir)/dom/base \
		-I$(topsrcdir)/netwerk/base/src \

ifdef BUILD_DEBUG_GC
DEFINES		+= -DDEBUG_GC
endif

DIRS            = $(NULL)
TEST_DIRS += test

include $(topsrcdir)/config/rules.mk

