freebsd-dev/usr.bin/make
Ed Schouten 40e761838e Add POSIX -p flag to make(1).
This article [1] describes the -p flag for make(1):

	Write to standard output the complete set of macro definitions and
	target descriptions. The output format is unspecified.

We already support a similar flag (-d g1), but unlike -p, it still
executes commands. Our implementation just turns it into -d g1, but also
sets flag `printGraphOnly', which will cause make(1) to skip execution.

[1] http://www.opengroup.org/onlinepubs/009695399/utilities/make.html

Reviewed by:	imp
PR:		standards/99960
2008-07-30 21:18:38 +00:00
..
PSD.doc
arch.c <limits.h> is necessary for using INT_MIN, so included it here 2008-03-04 15:56:17 +00:00
arch.h
buf.c
buf.h
cond.c
cond.h
config.h
dir.c
dir.h
for.c Fix splitting into words of the .for expression to allow for 2008-03-24 12:33:28 +00:00
for.h
globals.h If the special target .MAKEFILEDEPS exists, then enable the 2008-03-12 14:50:58 +00:00
GNode.h Improve logging when -dm is specified: if the node is considered 2007-04-20 06:33:25 +00:00
hash_tables.c If the special target .MAKEFILEDEPS exists, then enable the 2008-03-12 14:51:47 +00:00
hash_tables.h
hash.c
hash.h
job.c It seems some don't care for the anchient joke. Add WITHOUT_OLD_JOKE 2008-03-04 22:51:37 +00:00
job.h Implement "Remaking Makefiles" feature: 2007-03-08 09:16:11 +00:00
lst.c
lst.h
main.c Add POSIX -p flag to make(1). 2008-07-30 21:18:38 +00:00
make.1 Add POSIX -p flag to make(1). 2008-07-30 21:18:38 +00:00
make.c Improve logging when -dm is specified: if the node is considered 2007-04-20 06:33:25 +00:00
make.h Implement "Remaking Makefiles" feature: 2007-03-08 09:16:11 +00:00
Makefile No need to tell make to DTRT with "make love", just do it. 2008-03-04 22:32:58 +00:00
Makefile.dist Linux requires -D__dead2= and -D__unused= to get rid of the 2008-03-04 05:35:27 +00:00
parse.c If the special target .MAKEFILEDEPS exists, then enable the 2008-03-12 14:50:58 +00:00
parse.h
pathnames.h
proc.c
proc.h
shell.c
shell.h
str.c Don't go beyond the provided string when parsing the `\' character. 2006-10-09 19:37:26 +00:00
str.h
suff.c
suff.h
targ.c Improve logging when -dm is specified: if the node is considered 2007-04-20 06:33:25 +00:00
targ.h
util.c
util.h
var.c VarAdd() already does the debug printing, so Var_Set() only needs to do it 2006-07-17 21:05:27 +00:00
var.h