freebsd-skq/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 Get rid of the ReturnStatus obscuration that was anyway used only 2005-05-18 06:50:39 +00:00
buf.c Move the Boolean and ReturnStatus stuff from sprite.h to util.h and 2005-05-13 08:53:00 +00:00
buf.h Move the Boolean and ReturnStatus stuff from sprite.h to util.h and 2005-05-13 08:53:00 +00:00
cond.c Under certain conditions the condition parser would go one past end of 2005-05-25 16:06:14 +00:00
cond.h Rework the directive parsing code. Instead of using a lot of strcmp()s 2005-04-11 07:20:10 +00:00
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 Move the Boolean and ReturnStatus stuff from sprite.h to util.h and 2005-05-13 08:53:00 +00:00
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 Rename the directive_hash.[ch] files to hash_tables.[ch] now 2005-04-29 15:15:28 +00:00
hash.c Move the Boolean and ReturnStatus stuff from sprite.h to util.h and 2005-05-13 08:53:00 +00:00
hash.h Move the Boolean and ReturnStatus stuff from sprite.h to util.h and 2005-05-13 08:53:00 +00:00
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 Get rid of the ReturnStatus obscuration that was anyway used only 2005-05-18 06:50:39 +00:00
lst.h Get rid of the ReturnStatus obscuration that was anyway used only 2005-05-18 06:50:39 +00:00
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 Move the Boolean and ReturnStatus stuff from sprite.h to util.h and 2005-05-13 08:53:00 +00:00
pathnames.h
proc.c Factor out ProcExec() into its own file and rename it to Proc_Exec() for 2005-05-24 15:41:34 +00:00
proc.h Factor out ProcExec() into its own file and rename it to Proc_Exec() for 2005-05-24 15:41:34 +00:00
shell.c Factor out all the .SHELL parsing related stuff into its own file and 2005-05-24 15:30:03 +00:00
shell.h Factor out all the .SHELL parsing related stuff into its own file and 2005-05-24 15:30:03 +00:00
str.c Don't go beyond the provided string when parsing the `\' character. 2006-10-09 19:37:26 +00:00
str.h Make the ArgArray_Init() function visible to the rest of make. 2005-05-23 13:27:52 +00:00
suff.c Get rid of the third argument to Var_Value() the pointer it pointed 2005-05-24 15:58:35 +00:00
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 Use the print_flags function to print the OP_ flags of a target. 2005-05-13 13:47:41 +00:00
util.h Get rid of the ReturnStatus obscuration that was anyway used only 2005-05-18 06:50:39 +00:00
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 The caller of Var_Value() should not change the variable value. Make 2005-05-24 16:05:51 +00:00