From 46a19b74dde4d9d2eabcca30a1f85fcac9aef4bf Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Thu, 27 Jul 2000 11:56:34 +0000 Subject: 2000-06-23 Doug Evans * Makefile.in (headers,nltvals.def): Merge. --- sim/common/Makefile.in | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'sim/common/Makefile.in') diff --git a/sim/common/Makefile.in b/sim/common/Makefile.in index 02d69a7..b97ad1d 100644 --- a/sim/common/Makefile.in +++ b/sim/common/Makefile.in @@ -71,17 +71,14 @@ MAKEOVERRIDES= all: -# Generate TARG_VALS_H for newlib/libgloss using devo and build tree. +# Generate nltvals.def for newlib/libgloss using devo and build tree. # This file is shipped with distributions so we build in the source dir. -# This is built in srcdir so putting dependencies here is risky. # Use `make headers' to rebuild. -headers: nltvals.def +# Note: If gdb releases begin to contain target header files (not a good idea, +# but if they did ...), targ-vals.def coud be generated at build time. +# An alternative is to slurp in the tables at runtime. .PHONY: headers - -# Note: If gdb releases begin to contain target header files, generate -# targ-vals.def at build time. - -nltvals.def: Makefile gennltvals.sh gentvals.sh +headers: rootme=`pwd` ; \ cd $(srcdir) ; \ rm -f nltvals.new ; \ -- cgit v1.1