1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/src/jsapi-tests/Makefile.in Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,28 @@ 1.4 +# -*- Mode: makefile -*- 1.5 +# 1.6 +# This Source Code Form is subject to the terms of the Mozilla Public 1.7 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.8 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.9 + 1.10 +LIBS = ../$(LIB_PREFIX)js_static.$(LIB_SUFFIX) $(NSPR_LIBS) $(MOZ_ZLIB_LIBS) 1.11 + 1.12 +ifdef MOZ_SHARED_ICU 1.13 +EXTRA_LIBS += $(MOZ_ICU_LIBS) 1.14 +endif 1.15 + 1.16 +EXTRA_LIBS += $(MOZ_FFI_LIBS) 1.17 + 1.18 +ifdef QEMU_EXE 1.19 +MOZ_POST_PROGRAM_COMMAND = $(topsrcdir)/build/qemu-wrap --qemu $(QEMU_EXE) --libdir $(CROSS_LIB) 1.20 +endif 1.21 + 1.22 +# Place a GDB Python auto-load file next to the jsapi-tests executable in 1.23 +# the build directory. 1.24 +PP_TARGETS += JSAPI_TESTS_AUTOLOAD 1.25 +JSAPI_TESTS_AUTOLOAD := jsapi-tests-gdb.py.in 1.26 +JSAPI_TESTS_AUTOLOAD_FLAGS := -Dtopsrcdir=$(abspath $(srcdir)/..) 1.27 + 1.28 +include $(topsrcdir)/config/rules.mk 1.29 + 1.30 +check:: 1.31 + $(wildcard $(RUN_TEST_PROGRAM)) $(DIST)/bin/jsapi-tests$(BIN_SUFFIX)