make.1 (190821) | make.1 (201526) |
---|---|
1.\" Copyright (c) 1990, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)make.1 8.8 (Berkeley) 6/13/95 | 1.\" Copyright (c) 1990, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)make.1 8.8 (Berkeley) 6/13/95 |
33.\" $FreeBSD: head/usr.bin/make/make.1 190821 2009-04-07 19:49:38Z fjoe $ | 33.\" $FreeBSD: head/usr.bin/make/make.1 201526 2010-01-04 18:57:22Z obrien $ |
34.\" 35.Dd December 29, 2008 36.Dt MAKE 1 37.Os 38.Sh NAME 39.Nm make 40.Nd maintain program dependencies 41.Sh SYNOPSIS --- 193 unchanged lines hidden (view full) --- 235.Fl m 236options can be specified to form a search path. 237This path will override the default system include path, 238.Pa /usr/share/mk . 239The system include path will always be appended to the search path used 240for "..."-style inclusions and makefile searches (see the 241.Fl I 242option). | 34.\" 35.Dd December 29, 2008 36.Dt MAKE 1 37.Os 38.Sh NAME 39.Nm make 40.Nd maintain program dependencies 41.Sh SYNOPSIS --- 193 unchanged lines hidden (view full) --- 235.Fl m 236options can be specified to form a search path. 237This path will override the default system include path, 238.Pa /usr/share/mk . 239The system include path will always be appended to the search path used 240for "..."-style inclusions and makefile searches (see the 241.Fl I 242option). |
243.Pp 244If a file or directory name in the 245.Fl m 246argument (or the 247.Ev MAKESYSPATH 248environment variable) starts with the string 249.Qq \&.../ 250then 251.Nm 252will search for the specified file or directory named in the remaining part 253of the argument string. 254The search starts with the current directory of the Makefile and then works 255upward towards the root of the filesystem. 256If the search is successful, 257then the resulting directory replaces the 258.Qq \&.../ 259specification in the 260.Fl m 261argument. 262If used, this feature allows 263.Nm 264to easily search in the current source tree for customized sys.mk files 265(e.g. by using 266.Qq \&.../mk/sys.mk 267as an argument). 268Note that a 269.Fl C 270that are earlier on the command line affect where 271.Fl m Qq \&.../ 272searches. |
|
243.It Fl n 244Display the commands that would have been executed, but do not actually 245execute them. 246.It Fl P 247Collate the output of a given job and display it only when the job finishes, 248instead of mixing the output of parallel jobs together. 249This option has no effect unless 250.Fl j --- 1409 unchanged lines hidden (view full) --- 1660.Sh ENVIRONMENT 1661The 1662.Nm 1663utility uses the following environment variables, if they exist: 1664.Ev MACHINE , 1665.Ev MAKE , 1666.Ev MAKEFLAGS , 1667.Ev MAKEOBJDIR , | 273.It Fl n 274Display the commands that would have been executed, but do not actually 275execute them. 276.It Fl P 277Collate the output of a given job and display it only when the job finishes, 278instead of mixing the output of parallel jobs together. 279This option has no effect unless 280.Fl j --- 1409 unchanged lines hidden (view full) --- 1690.Sh ENVIRONMENT 1691The 1692.Nm 1693utility uses the following environment variables, if they exist: 1694.Ev MACHINE , 1695.Ev MAKE , 1696.Ev MAKEFLAGS , 1697.Ev MAKEOBJDIR , |
1698.Ev MAKEOBJDIRPREFIX , |
|
1668and | 1699and |
1669.Ev MAKEOBJDIRPREFIX . | 1700.Ev MAKESYSPATH . |
1670.Sh FILES 1671.Bl -tag -width /usr/share/doc/psd/12.make -compact 1672.It Pa .depend 1673list of dependencies 1674.It Pa Makefile 1675list of dependencies 1676.It Pa makefile 1677list of dependencies --- 115 unchanged lines hidden --- | 1701.Sh FILES 1702.Bl -tag -width /usr/share/doc/psd/12.make -compact 1703.It Pa .depend 1704list of dependencies 1705.It Pa Makefile 1706list of dependencies 1707.It Pa makefile 1708list of dependencies --- 115 unchanged lines hidden --- |