js/src/jsapi-tests/Makefile.in

branch
TOR_BUG_9701
changeset 15
b8a032363ba2
equal deleted inserted replaced
-1:000000000000 0:0e64d735b34b
1 # -*- Mode: makefile -*-
2 #
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
7 LIBS = ../$(LIB_PREFIX)js_static.$(LIB_SUFFIX) $(NSPR_LIBS) $(MOZ_ZLIB_LIBS)
8
9 ifdef MOZ_SHARED_ICU
10 EXTRA_LIBS += $(MOZ_ICU_LIBS)
11 endif
12
13 EXTRA_LIBS += $(MOZ_FFI_LIBS)
14
15 ifdef QEMU_EXE
16 MOZ_POST_PROGRAM_COMMAND = $(topsrcdir)/build/qemu-wrap --qemu $(QEMU_EXE) --libdir $(CROSS_LIB)
17 endif
18
19 # Place a GDB Python auto-load file next to the jsapi-tests executable in
20 # the build directory.
21 PP_TARGETS += JSAPI_TESTS_AUTOLOAD
22 JSAPI_TESTS_AUTOLOAD := jsapi-tests-gdb.py.in
23 JSAPI_TESTS_AUTOLOAD_FLAGS := -Dtopsrcdir=$(abspath $(srcdir)/..)
24
25 include $(topsrcdir)/config/rules.mk
26
27 check::
28 $(wildcard $(RUN_TEST_PROGRAM)) $(DIST)/bin/jsapi-tests$(BIN_SUFFIX)

mercurial