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