2007-03-22 10:30:00 -07:00
|
|
|
#!gmake
|
|
|
|
#
|
2012-05-21 04:12:37 -07:00
|
|
|
# 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/.
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
2012-08-04 11:26:44 -07:00
|
|
|
DEPTH = @DEPTH@
|
2007-03-22 10:30:00 -07:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
srcdir = @srcdir@
|
2012-08-04 11:26:44 -07:00
|
|
|
relativesrcdir = @relativesrcdir@
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
|
|
|
MODULE = jsdebug
|
|
|
|
LIBRARY_NAME = jsd
|
2011-05-23 09:54:47 -07:00
|
|
|
DIRS = idl
|
2012-07-18 17:38:10 -07:00
|
|
|
CPPSRCS = \
|
|
|
|
jsd_xpc.cpp \
|
|
|
|
jshash.cpp
|
2011-05-23 09:54:47 -07:00
|
|
|
IS_COMPONENT = 1
|
|
|
|
LIBXUL_LIBRARY = 1
|
|
|
|
|
|
|
|
MODULE_NAME = JavaScript_Debugger
|
|
|
|
EXPORT_LIBRARY = 1
|
|
|
|
|
2011-10-10 15:06:28 -07:00
|
|
|
XPCSHELL_TESTS = test
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
# REQUIRES = java js
|
|
|
|
|
|
|
|
EXPORTS = jsdebug.h
|
|
|
|
|
|
|
|
ifdef JS_THREADSAFE
|
|
|
|
DEFINES += -DJS_THREADSAFE
|
|
|
|
endif
|
|
|
|
|
|
|
|
CSRCS = \
|
|
|
|
jsdebug.c \
|
|
|
|
jsd_atom.c \
|
|
|
|
jsd_high.c \
|
|
|
|
jsd_hook.c \
|
|
|
|
jsd_lock.c \
|
|
|
|
jsd_obj.c \
|
|
|
|
jsd_scpt.c \
|
|
|
|
jsd_stak.c \
|
|
|
|
jsd_step.c \
|
|
|
|
jsd_text.c \
|
|
|
|
jsd_val.c \
|
|
|
|
$(NULL)
|
|
|
|
|
2009-10-26 06:30:40 -07:00
|
|
|
ifdef ENABLE_TESTS
|
|
|
|
TOOL_DIRS += test
|
|
|
|
endif
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|
|
|
|
DEFINES += -DEXPORT_JSD_API
|