|
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 # Place a GDB Python auto-load file next to the gdb-tests executable, both |
|
16 # in the build directory and in the dist/bin directory. |
|
17 PP_TARGETS += GDB_AUTOLOAD |
|
18 GDB_AUTOLOAD := gdb-tests-gdb.py.in |
|
19 GDB_AUTOLOAD_FLAGS := -Dtopsrcdir=$(abspath $(srcdir)/..) |
|
20 |
|
21 INSTALL_TARGETS += GDB_INSTALL_AUTOLOAD |
|
22 GDB_INSTALL_AUTOLOAD_FILES := $(CURDIR)/gdb-tests-gdb.py |
|
23 GDB_INSTALL_AUTOLOAD_DEST := $(DIST)/bin |