Module Name: src Committed By: sjg Date: Wed Apr 7 00:11:28 UTC 2010
Modified Files: src/usr.bin/make: compat.c job.c main.c make.1 make.c make.h nonints.h parse.c Log Message: Add: .error "message" .warning "message" based on FreeBSD implementation. add .info while were at it. .ERROR: a target to run on error. We pass the failing GNode to PrintOnError so it can set .ERROR_TARGET. .MAKE.MAKEFILE_PREFERENCE As a means to control make's list of prefered makefile names. (Default: "makefile Makefile") .MAKE.DEPENDFILE Names the file to read dependencies from (Default ".depend") .MAKE.MODE Processed after all makefiles are read. Can put make into "compat" mode (more to come). Fix: compat.c: Error code should not be sent to debug_file. Make_DoAllVar: use DONE_ALLSRC to avoid processing a node multiple times. ReadMakefile: we can simply use doing_depend to control setting MAKEFILE. To generate a diff of this commit: cvs rdiff -u -r1.76 -r1.77 src/usr.bin/make/compat.c cvs rdiff -u -r1.146 -r1.147 src/usr.bin/make/job.c cvs rdiff -u -r1.175 -r1.176 src/usr.bin/make/main.c cvs rdiff -u -r1.167 -r1.168 src/usr.bin/make/make.1 cvs rdiff -u -r1.78 -r1.79 src/usr.bin/make/make.c cvs rdiff -u -r1.79 -r1.80 src/usr.bin/make/make.h cvs rdiff -u -r1.57 -r1.58 src/usr.bin/make/nonints.h cvs rdiff -u -r1.160 -r1.161 src/usr.bin/make/parse.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.