phony2.patch

Doug Evans dje@transmeta.com
Fri Jun 23 09:12:00 GMT 2000


I'm guessing this is a better version of the patch.

2000-06-23  Doug Evans  <dje@casey.transmeta.com>

	* Makefile.in (headers,nltvals.def): Merge.

Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/sim/common/Makefile.in,v
retrieving revision 1.1.1.2
diff -c -p -r1.1.1.2 Makefile.in
*** Makefile.in	1999/07/19 23:29:41	1.1.1.2
--- Makefile.in	2000/06/23 16:07:43
*************** MAKEOVERRIDES=
*** 71,87 ****
  
  all:
  
! # Generate TARG_VALS_H 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
  .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
  	rootme=`pwd` ; \
  	cd $(srcdir) ; \
  	rm -f nltvals.new ; \
--- 71,84 ----
  
  all:
  
! # Generate nltvals.def for newlib/libgloss using devo and build tree.
  # This file is shipped with distributions so we build in the source dir.
  # Use `make headers' to rebuild.
! # 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
! headers:
  	rootme=`pwd` ; \
  	cd $(srcdir) ; \
  	rm -f nltvals.new ; \


More information about the Gdb-patches mailing list