#!gmake # # 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@ VPATH = @srcdir@ srcdir = @srcdir@ relativesrcdir = @relativesrcdir@ include $(DEPTH)/config/autoconf.mk MODULE = jsdebug LIBRARY_NAME = jsd DIRS = idl CPPSRCS = \ jsd_xpc.cpp \ jshash.cpp IS_COMPONENT = 1 LIBXUL_LIBRARY = 1 MODULE_NAME = JavaScript_Debugger EXPORT_LIBRARY = 1 XPCSHELL_TESTS = test # REQUIRES = java js EXPORTS = jsdebug.h ifdef JS_THREADSAFE DEFINES += -DJS_THREADSAFE endif CPPSRCS += \ jsdebug.cpp \ jsd_atom.cpp \ jsd_high.cpp \ jsd_hook.cpp \ jsd_lock.cpp \ jsd_obj.cpp \ jsd_scpt.cpp \ jsd_stak.cpp \ jsd_step.cpp \ jsd_text.cpp \ jsd_val.cpp \ $(NULL) ifdef ENABLE_TESTS TOOL_DIRS += test endif include $(topsrcdir)/config/rules.mk DEFINES += -DEXPORT_JSD_API