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