standards/99960: [Patch] [make] Add -p flag

Ed Schouten ed at
Sun Jul 9 12:40:12 UTC 2006

>Number:         99960
>Category:       standards
>Synopsis:       [Patch] [make] Add -p flag
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-standards
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 09 12:40:10 GMT 2006
>Originator:     Ed Schouten
>Release:        FreeBSD 5.5-STABLE i386
System: FreeBSD 5.5-STABLE FreeBSD 5.5-STABLE #0: Mon May 29 10:55:24 CEST 2006 root at i386
According to,
the only missing flag for the make(1) utility is -p. When make is run
with -p, it only processes the input makefiles, but only dumps its
processed contents.
Run `make -p`. Illegal option... :-)
A patch is available at:

When applied, the following commands allow you to rebuild make(1):

$ cd /usr/src/usr.bin/make
$ make -p > tmpMakefile
$ make -f tmpMakefile all install clean
$ rm tmpMakefile

The -p switch just clones `-d g1` and skips processing.

More information about the freebsd-standards mailing list