Commit | Line | Data |
---|---|---|
6bddc3e8 MF |
1 | ## Process this file with automake to generate Makefile.in |
2 | # | |
3 | # Copyright (C) 1993-2021 Free Software Foundation, Inc. | |
4 | # | |
5 | # This program is free software; you can redistribute it and/or modify | |
6 | # it under the terms of the GNU General Public License as published by | |
7 | # the Free Software Foundation; either version 3 of the License, or | |
8 | # (at your option) any later version. | |
9 | # | |
10 | # This program is distributed in the hope that it will be useful, | |
11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 | # GNU General Public License for more details. | |
14 | # | |
15 | # You should have received a copy of the GNU General Public License | |
16 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | |
17 | ||
6c57b87f | 18 | AUTOMAKE_OPTIONS = dejagnu foreign no-dist subdir-objects |
6bddc3e8 MF |
19 | ACLOCAL_AMFLAGS = -I.. -I../config |
20 | ||
21 | srcroot = $(srcdir)/.. | |
22 | ||
23 | SUBDIRS = @subdirs@ | |
24 | ||
25 | MOSTLYCLEANFILES = core | |
26 | ||
27 | # Generate nltvals.def for newlib/libgloss using devo and build tree. | |
28 | # This file is shipped with distributions so we build in the source dir. | |
29 | # Use `make nltvals' to rebuild. | |
30 | # Note: If gdb releases begin to contain target header files (not a good idea, | |
31 | # but if they did ...), nltvals.def coud be generated at build time. | |
32 | # An alternative is to slurp in the tables at runtime. | |
33 | .PHONY: nltvals | |
34 | nltvals: | |
35 | $(abs_srcdir)/common/gennltvals.py --cpp "$(CPP)" --output nltvals.def --srcroot $(srcroot) | |
36 | $(SHELL) $(srcroot)/move-if-change nltvals.def $(abs_srcdir)/common/nltvals.def | |
6c57b87f MF |
37 | |
38 | include testsuite/local.mk |