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