Subject: CVS commit: gnusrc/gnu/usr.bin
To: None <source-changes@netbsd.org>
From: James Chacon <jmc@netbsd.org>
List: source-changes
Date: 11/26/2001 20:19:49
Module Name:	gnusrc
Committed By:	jmc
Date:		Mon Nov 26 18:19:49 UTC 2001

Modified Files:
	gnusrc/gnu/usr.bin/binutils: Makefile.inc
	gnusrc/gnu/usr.bin/binutils/ld: Makefile
	gnusrc/gnu/usr.bin/gcc: Makefile.backend Makefile.inc
	gnusrc/gnu/usr.bin/gcc/cpp0: Makefile

Log Message:
A few things to make r/o source trees work that might have timestamps on the
dist .y and .c files reversed.

1. Move the .y.c and other assorted implicit rule overrides out of Makefile.inc
   and into local Makefile's. The system Makefile (bsd.sys.mk) sets up .l.c and
   .y.c rules so unless these come after all inclusions they just get ignored.

2. Add @true as the command for any of the rule overrides. Otherwise make
   still bails complaining about not knowing how to build the requisite .c or
   .h file.

This obviously wasn't tested before as it couldn't have worked as-is.


To generate a diff of this commit:
cvs rdiff -r1.9 -r1.10 gnusrc/gnu/usr.bin/binutils/Makefile.inc
cvs rdiff -r1.6 -r1.7 gnusrc/gnu/usr.bin/binutils/ld/Makefile
cvs rdiff -r1.1 -r1.2 gnusrc/gnu/usr.bin/gcc/Makefile.backend \
    gnusrc/gnu/usr.bin/gcc/Makefile.inc
cvs rdiff -r1.1 -r1.2 gnusrc/gnu/usr.bin/gcc/cpp0/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.