michael@0: # -*- Mode: makefile -*- michael@0: # michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: LIBS = ../$(LIB_PREFIX)js_static.$(LIB_SUFFIX) $(NSPR_LIBS) $(MOZ_ZLIB_LIBS) michael@0: michael@0: ifdef MOZ_SHARED_ICU michael@0: EXTRA_LIBS += $(MOZ_ICU_LIBS) michael@0: endif michael@0: michael@0: EXTRA_LIBS += $(MOZ_FFI_LIBS) michael@0: michael@0: # Place a GDB Python auto-load file next to the gdb-tests executable, both michael@0: # in the build directory and in the dist/bin directory. michael@0: PP_TARGETS += GDB_AUTOLOAD michael@0: GDB_AUTOLOAD := gdb-tests-gdb.py.in michael@0: GDB_AUTOLOAD_FLAGS := -Dtopsrcdir=$(abspath $(srcdir)/..) michael@0: michael@0: INSTALL_TARGETS += GDB_INSTALL_AUTOLOAD michael@0: GDB_INSTALL_AUTOLOAD_FILES := $(CURDIR)/gdb-tests-gdb.py michael@0: GDB_INSTALL_AUTOLOAD_DEST := $(DIST)/bin