Subject: CVS commit: basesrc/usr.bin/crunch/crunchgen
To: None <source-changes@netbsd.org>
From: James Chacon <jmc@netbsd.org>
List: source-changes
Date: 10/04/2001 07:17:04
Module Name:	basesrc
Committed By:	jmc
Date:		Thu Oct  4 04:17:04 UTC 2001

Modified Files:
	basesrc/usr.bin/crunch/crunchgen: crunchgen.1 crunchgen.c

Log Message:
Add a -d option to set the DBG flag to whatever flags the builder wants. If
it's not set, default to -Os (so it's not hard coded into the binary.)

Generate a makefile by default that does all object file builds in local
subdirs by binary (i.e. bad144 gets built in $OBJDIR/bad144) via a reach over
make. (Sets .PATH and .CURDIR and does a make for the objects needed in that
dir).

Add a -o option that does the old behavior of searching for obj files by
querying the various object environment vars and searching. Without this
option none of the objdir special options, environment vars, etc will have
effect.

Document all the changes in the man page (and specificly note that without -o
none of the objdir functions take effect).


To generate a diff of this commit:
cvs rdiff -r1.11 -r1.12 basesrc/usr.bin/crunch/crunchgen/crunchgen.1
cvs rdiff -r1.22 -r1.23 basesrc/usr.bin/crunch/crunchgen/crunchgen.c

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