1 # -*- Mode: makefile -*-
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/.
7 # Place a GDB Python auto-load file next to the gdb-tests executable, both
8 # in the build directory and in the dist/bin directory.
9 PP_TARGETS
+= GDB_AUTOLOAD
10 GDB_AUTOLOAD
:= gdb-tests-gdb.py.in
11 GDB_AUTOLOAD_FLAGS
:= -Dtopsrcdir
=$(abspath
$(srcdir)/..
)
13 INSTALL_TARGETS
+= GDB_INSTALL_AUTOLOAD
14 GDB_INSTALL_AUTOLOAD_FILES
:= $(CURDIR
)/gdb-tests-gdb.py
15 GDB_INSTALL_AUTOLOAD_DEST
:= $(DIST
)/bin