386BSD 0.1 development
[unix-history] / usr / src / usr.bin / make / make.1
CommitLineData
7b089094
WJ
1.\" Copyright (c) 1990 The Regents of the University of California.
2.\" 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.
9.\" 2. Redistributions in binary form must reproduce the above copyright
10.\" notice, this list of conditions and the following disclaimer in the
11.\" documentation and/or other materials provided with the distribution.
12.\" 3. All advertising materials mentioning features or use of this software
13.\" must display the following acknowledgement:
14.\" This product includes software developed by the University of
15.\" California, Berkeley and its contributors.
16.\" 4. Neither the name of the University nor the names of its contributors
17.\" may be used to endorse or promote products derived from this software
18.\" without specific prior written permission.
19.\"
20.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
21.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
24.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
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 5.7 (Berkeley) 7/24/91
33.\"
34.Dd July 24, 1991
35.Dt MAKE 1
36.Os
37.Sh NAME
38.Nm make
39.Nd maintain program dependencies
40.Sh SYNOPSIS
41.Nm make
42.Op Fl eiknqrstv
43.Op Fl D Ar variable
44.Op Fl d Ar flags
45.Op Fl f Ar makefile
46.Op Fl I Ar directory
47.Bk -words
48.Op Fl j Ar max_jobs
49.Ek
50.Op Ar variable=value
51.Op Ar target ...
52.Sh DESCRIPTION
53.Nm Make
54is a program designed to simplify the maintenance of other programs.
55Its input is a list of specifications as to the files upon which programs
56and other files depend.
57If the file
58.Ql Pa makefile
59exists, it is read for this list of specifications.
60If it does not exist, the file
61.Ql Pa Makefile
62is read.
63If the file
64.Ql Pa .depend
65exists, it is read (see
66.Xr mkdep 1) .
67.Pp
68This manual page is intended as a reference document only.
69For a more thorough description of
70.Nm make
71and makefiles, please refer to
72.%T "Make \- A Tutorial" .
73.Pp
74The options are as follows:
75.Bl -tag -width Ds
76.It Fl D Ar variable
77Define Ar variable
78to be 1, in the global context.
79.It Fl d Ar flags
80Turn on debugging, and specify which portions of
81.Nm make
82are to print debugging information.
83.Ar Flags
84is one or more of the following:
85.Bl -tag -width Ds
86.It Ar A
87Print all possible debugging information;
88equivalent to specifying all of the debugging flags.
89.It Ar a
90Print debugging information about archive searching and caching.
91.It Ar c
92Print debugging information about conditional evaluation.
93.It Ar d
94Print debugging information about directory searching and caching.
95.It Ar "g1"
96Print the input graph before making anything.
97.It Ar "g2"
98Print the input graph after making everything, or before exiting
99on error.
100.It Ar j
101Print debugging information about running multiple shells.
102.It Ar m
103Print debugging information about making targets, including modification
104dates.
105.It Ar s
106Print debugging information about suffix-transformation rules.
107.It Ar t
108Print debugging information about target list maintenance.
109.It Ar v
110Print debugging information about variable assignment.
111.El
112.It Fl e
113Specify that environmental variables override macro assignments within
114makefiles.
115.It Fl f Ar makefile
116Specify a makefile to read instead of the default
117.Ql Pa makefile
118and
119.Ql Pa Makefile .
120If
121.Ar makefile
122is
123.Ql Fl ,
124standard input is read.
125Multiple makefile's may be specified, and are read in the order specified.
126.It Fl I Ar directory
127Specify a directory in which to search for makefiles and included makefiles.
128The system makefile directory is automatically included as part of this
129list.
130.It Fl i
131Ignore non-zero exit of shell commands in the makefile.
132Equivalent to specifying
133.Ql Fl
134before each command line in the makefile.
135.It Fl j Ar max_jobs
136Specify the maximum number of jobs that
137.Nm make
138may have running at any one time.
139.It Fl k
140Continue processing after errors are encountered, but only on those targets
141that do not depend on the target whose creation caused the error.
142.It Fl n
143Display the commands that would have been executed, but do not actually
144execute them.
145.It Fl q
146Do not execute any commands, but exit 0 if the specified targets are
147up-to-date and 1, otherwise.
148.It Fl r
149Do not use the built-in rules specified in the system makefile.
150.It Fl s
151Do not echo any commands as they are executed.
152Equivalent to specifying
153.Ql Ic @
154before each command line in the makefile.
155.It Fl t
156Rather than re-building a target as specified in the makefile, create it
157or update its modification time to make it appear up-to-date.
158.It Ar variable=value
159Set the value of the variable
160.Ar variable
161to
162.Ar value .
163.El
164.Pp
165There are six different types of lines in a makefile: file dependency
166specifications, shell commands, variable assignments, include statements,
167conditional directives, and comments.
168.Pp
169In general, lines may be continued from one line to the next by ending
170them with a backslash
171.Pq Ql \e .
172The trailing newline character and initial whitespace on the following
173line are compressed into a single space.
174.Sh FILE DEPENDENCY SPECIFICATIONS
175Dependency lines consist of one or more targets, an operator, and zero
176or more sources.
177This creates a relationship where the targets ``depend'' on the sources
178and are usually created from them.
179The exact relationship between the target and the source is determined
180by the operator that separates them.
181The three operators are as follows:
182.Bl -tag -width flag
183.It Ic \&:
184A target is considered out-of-date if its modification time is less than
185those of any of its sources.
186Sources for a target accumulate over dependency lines when this operator
187is used.
188The target is removed if
189.Nm make
190is interrupted.
191.It Ic \&!
192Targets are always re-created, but not until all sources have been
193examined and re-created as necessary.
194Sources for a target accumulate over dependency lines when this operator
195is used.
196The target is removed if
197.Nm make
198is interrupted.
199.It Ic \&::
200If no sources are specified, the target is always re-created.
201Otherwise, a target is considered out-of-date if any of its sources has
202been modified more recently than the target.
203Sources for a target do not accumulate over dependency lines when this
204operator is used.
205The target will not be removed if
206.Nm make
207is interrupted.
208.El
209.Pp
210Targets and sources may contain the shell wildcard values
211.Ql ? ,
212.Ql * ,
213.Ql []
214and
215.Ql {} .
216The values
217.Ql ? ,
218.Ql *
219and
220.Ql []
221may only be used as part of the final
222component of the target or source, and must be used to describe existing
223files.
224The value
225.Ql {}
226need not necessarily be used to describe existing files.
227Expansion is in directory order, not alphabetically as done in the shell.
228.Sh SHELL COMMANDS
229Each target may have associated with it a series of shell commands, normally
230used to create the target.
231Each of the commands in this script
232.Em must
233be preceded by a tab.
234While any target may appear on a dependency line, only one of these
235dependencies may be followed by a creation script, unless the
236.Ql Ic ::
237operator is used.
238.Pp
239If the first or first two characters of the command line are
240.Ql Ic @
241and/or
242.Ql Ic \- ,
243the command is treated specially.
244A
245.Ql Ic @
246causes the command not to be echoed before it is executed.
247A
248.Ql Ic \-
249causes any non-zero exit status of the command line to be ignored.
250.Sh VARIABLE ASSIGNMENTS
251Variables in make are much like variables in the shell, and, by tradition,
252consist of all upper-case letters.
253The five operators that can be used to assign values to variables are as
254follows:
255.Bl -tag -width Ds
256.It Ic \&=
257Assign the value to the variable.
258Any previous value is overridden.
259.It Ic \&+=
260Append the value to the current value of the variable.
261.It Ic \&?=
262Assign the value to the variable if it is not already defined.
263.It Ic \&:=
264Assign with expansion, i.e. expand the value before assigning it
265to the variable.
266Normally, expansion is not done until the variable is referenced.
267.It Ic \&!=
268Expand the value and pass it to the shell for execution and assign
269the result to the variable.
270Any newlines in the result are replaced with spaces.
271.El
272.Pp
273Any white-space before the assigned
274.Ar value
275is removed; if the value is being appended, a single space is inserted
276between the previous contents of the variable and the appended value.
277.Pp
278Variables are expanded by surrounding the variable name with either
279curly braces
280.Pq Ql {}
281or parenthesis
282.Pq Ql ()
283and preceding it with
284a dollar sign
285.Pq Ql \&$ .
286If the variable name contains only a single letter, the surrounding
287braces or parenthesis are not required.
288This shorter form is not recommended.
289.Pp
290Variable substitution occurs at two distinct times, depending on where
291the variable is being used.
292Variables in dependency lines are expanded as the line is read.
293Variables in shell commands are expanded when the shell command is
294executed.
295.Pp
296The four different classes of variables (in order of increasing precedence)
297are:
298.Bl -tag -width Ds
299.It Environment variables
300Variables defined as part of
301.Nm make Ns 's
302environment.
303.It Global variables
304Variables defined in the makefile or in included makefiles.
305.It Command line variables
306Variables defined as part of the command line.
307.It Local variables
308Variables that are defined specific to a certain target.
309The seven local variables are as follows:
310.Bl -tag -width ".ARCHIVE"
311.It Va .ALLSRC
312The list of all sources for this target; also known as
313.Ql Va \&> .
314.It Va .ARCHIVE
315The name of the archive file.
316.It Va .IMPSRC
317The name/path of the source from which the target is to be transformed
318(the ``implied'' source); also known as
319.Ql Va \&< .
320.It Va .MEMBER
321The name of the archive member.
322.It Va .OODATE
323The list of sources for this target that were deemed out-of-date; also
324known as
325.Ql Va \&? .
326.It Va .PREFIX
327The file prefix of the file, containing only the file portion, no suffix
328or preceding directory components; also known as
329.Ql Va * .
330.It Va .TARGET
331The name of the target; also known as
332.Ql Va @ .
333.El
334.Pp
335The shorter forms
336.Ql Va @ ,
337.Ql Va ? ,
338.Ql Va \&>
339and
340.Ql Va *
341are permitted for backward
342compatibility with historical makefiles and are not recommended.
343The six variables
344.Ql Va "@F" ,
345.Ql Va "@D" ,
346.Ql Va "<F" ,
347.Ql Va "<D" ,
348.Ql Va "*F"
349and
350.Ql Va "*D"
351are
352permitted for compatibility with
353.At V
354makefiles and are not recommended.
355.Pp
356Four of the local variables may be used in sources on dependency lines
357because they expand to the proper value for each target on the line.
358These variables are
359.Ql Va .TARGET ,
360.Ql Va .PREFIX ,
361.Ql Va .ARCHIVE ,
362and
363.Ql Va .MEMBER .
364.Pp
365In addition,
366.Nm make
367sets or knows about the following variables:
368.Bl -tag -width MAKEFLAGS
369.It Va \&$
370A single dollar sign
371.Ql \&$ ,
372i.e.
373.Ql \&$$
374expands to a single dollar
375sign.
376.It Va .MAKE
377The name that
378.Nm make
379was executed with
380.Pq Va argv Op 0
381.It Va .CURDIR
382A path to the directory where
383.Nm make
384was executed.
385.It Ev MAKEFLAGS
386The environment variable
387.Ql Ev MAKEFLAGS
388may contain anything that
389may be specified on
390.Nm make Ns 's
391command line.
392Anything specified on
393.Nm make Ns 's
394command line is appended to the
395.Ql Ev MAKEFLAGS
396variable which is then
397entered into the environment for all programs which
398.Nm make
399executes.
400.El
401.Pp
402Variable expansion may be modified to select or modify each word of the
403variable (where a ``word'' is white-space delimited sequence of characters).
404The general format of a variable expansion is as follows:
405.Pp
406.Dl {variable[:modifier[:...]]}
407.Pp
408Each modifier begins with a colon and one of the following
409special characters.
410The colon may be escaped with a backslash
411.Pq Ql \e .
412.Bl -tag -width Cm E\&
413.It Cm E
414Replaces each word in the variable with its suffix.
415.It Cm H
416Replaces each word in the variable with everything but the last component.
417.It Cm M Ns Ar pattern
418Select only those words that match the rest of the modifier.
419The standard shell wildcard characters
420.Pf ( Ql * ,
421.Ql ? ,
422and
423.Ql Op )
424may
425be used.
426The wildcard characters may be escaped with a backslash
427.Pq Ql \e .
428.It Cm N Ns Ar pattern
429This is identical to
430.Ql Cm M ,
431but selects all words which do not match
432the rest of the modifier.
433.It Cm R
434Replaces each word in the variable with everything but its suffix.
435.Sm off
436.It Cm S No \&/ Ar old_pattern Xo
437.No \&/ Ar new_pattern
438.No \&/ Op Cm g
439.Xc
440.Sm on
441Modify the first occurrence of
442.Ar old_pattern
443in each word to be replaced with
444.Ar new_pattern .
445If a
446.Ql g
447is appended to the last slash of the pattern, all occurrences
448in each word are replaced.
449If
450.Ar old_pattern
451begins with a carat
452.Pq Ql ^ ,
453.Ar old_pattern
454is anchored at the beginning of each word.
455If
456.Ar old_pattern
457ends with a dollar sign
458.Pq Ql \&$ ,
459it is anchored at the end of each word.
460Inside
461.Ar new_string ,
462an ampersand
463.Pq Ql &
464is replaced by
465.Ar old_pattern .
466Any character may be used as a delimiter for the parts of the modifier
467string.
468The anchoring, ampersand and delimiter characters may be escaped with a
469backslash
470.Pq Ql \e .
471.Pp
472Variable expansion occurs in the normal fashion inside both
473.Ar old_string
474and
475.Ar new_string
476with the single exception that a backslash is used to prevent the expansion
477of a dollar sign
478.Pq Ql \&$
479not a preceding dollar sign as is usual.
480.It Cm T
481Replaces each word in the variable with its last component.
482.It Ar old_string=new_string
483This is the
484.At V
485style variable substitution.
486It must be the last modifier specified.
487.Ar Old_string
488is anchored at the end of each word, so only suffixes or entire
489words may be replaced.
490.El
491.Sh INCLUDE STATEMENTS AND CONDITIONALS
492Makefile inclusion and conditional structures reminiscent of the C
493programming language are provided in
494.Nm make .
495All such structures are identified by a line beginning with a single
496dot
497.Pq Ql \&.
498character.
499Files are included with either
500.Ql .include <file>
501or
502.Ql .include \*qfile\*q .
503Variables between the angle brackets or double quotes are expanded
504to form the file name.
505If angle brackets are used, the included makefile is expected to be in
506the system makefile directory.
507If double quotes are used, the including makefile's directory and any
508directories specified using the
509.Fl I
510option are searched before the system
511makefile directory.
512.Pp
513Conditional expressions are also preceded by a single dot as the first
514chraracter of a line.
515The possible conditionals are as follows:
516.Bl -tag -width Ds
517.It Ic .undef Ar variable
518Un-define the specified global variable.
519Only global variables may be un-defined.
520.It Xo
521.Ic \&.if
522.Oo \&! Oc Ns Ar expression
523.Op Ar operator expression ...
524.Xc
525Test the value of an expression.
526.It Xo
527.Ic .ifdef
528.Oo \&! Oc Ns Ar variable
529.Op Ar operator variable ...
530.Xc
531Test the value of an variable.
532.It Xo
533.Ic .ifndef
534.Oo \&! Oc Ns Ar variable
535.Op Ar operator variable ...
536.Xc
537Test the value of an variable.
538.It Xo
539.Ic .ifmake
540.Oo \&! Oc Ns Ar target
541.Op Ar operator target ...
542.Xc
543Test the the target being built.
544.It Xo
545.Ic .ifnmake
546.Oo \&! Oc Ar target
547.Op Ar operator target ...
548.Xc
549Test the target being built.
550.It Ic .else
551Reverse the sense of the last conditional.
552.It Xo
553.Ic .elif
554.Oo \&! Oc Ar expression
555.Op Ar operator expression ...
556.Xc
557A combination of
558.Ql Ic .else
559followed by
560.Ql Ic .if .
561.It Xo
562.Ic .elifdef
563.Oo \&! Oc Ns Ar variable
564.Op Ar operator variable ...
565.Xc
566A combination of
567.Ql Ic .else
568followed by
569.Ql Ic .ifdef .
570.It Xo
571.Ic .elifndef
572.Oo \&! Oc Ns Ar variable
573.Op Ar operator variable ...
574.Xc
575A combination of
576.Ql Ic .else
577followed by
578.Ql Ic .ifndef .
579.It Xo
580.Ic .elifmake
581.Oo \&! Oc Ns Ar target
582.Op Ar operator target ...
583.Xc
584A combination of
585.Ql Ic .else
586followed by
587.Ql Ic .ifmake .
588.It Xo
589.Ic .elifnmake
590.Oo \&! Oc Ns Ar target
591.Op Ar operator target ...
592.Xc
593A combination of
594.Ql Ic .else
595followed by
596.Ql Ic .ifnmake .
597.It Ic .endif
598End the body of the conditional.
599.El
600.Pp
601The
602.Ar operator
603may be any one of the following:
604.Bl -tag -width "Cm XX"
605.It Cm \&|\&|
606logical OR
607.It Cm \&&&
608Logical
609.Tn AND ;
610of higher precedence than
611.Dq .
612.El
613.Pp
614As in C,
615.Nm make
616will only evaluate a conditional as far as is necessary to determine
617its value.
618Parenthesis may be used to change the order of evaluation.
619The boolean operator
620.Ql Ic \&!
621may be used to logically negate an entire
622conditional.
623It is of higher precendence than
624.Ql Ic \&&& .
625.Pp
626The value of
627.Ar expression
628may be any of the following:
629.Bl -tag -width Ic defined
630.It Ic defined
631Takes a variable name as an argument and evaluates to true if the variable
632has been defined.
633.It Ic make
634Takes a target name as an argument and evaluates to true if the target
635was specified as part of
636.Nm make Ns 's
637command line or was declared the default target (either implicitly or
638explicitly, see
639.Va .MAIN )
640before the line containing the conditional.
641.It Ic empty
642Takes a variable, with possible modifiers, and evalutes to true if
643the expansion of the variable would result in an empty string.
644.It Ic exists
645Takes a file name as an argument and evaluates to true if the file exists.
646The file is searched for on the system search path (see
647.Va .PATH ) .
648.It Ic target
649Takes a target name as an argument and evaluates to true if the target
650has been defined.
651.El
652.Pp
653.Ar Expression
654may also be an arithmetic or string comparison, with the left-hand side
655being a variable expansion.
656The standard C relational operators are all supported, and the usual
657number/base conversion is performed.
658Note, octal numbers are not supported.
659If the righthand value of a
660.Ql Ic ==
661or
662.Ql Ic "!="
663operator begins with a
664quotation mark
665.Pq Ql \*q
666a string comparison is done between the expanded
667variable and the text between the quotation marks.
668If no relational operator is given, it is assumed that the expanded
669variable is being compared against 0.
670.Pp
671When
672.Nm make
673is evaluating one of these conditional expression, and it encounters
674a word it doesn't recognize, either the ``make'' or ``defined''
675expression is applied to it, depending on the form of the conditional.
676If the form is
677.Ql Ic .ifdef
678or
679.Ql Ic .ifndef ,
680the ``defined'' expression
681is applied.
682Similarly, if the form is
683.Ql Ic .ifmake
684or
685.Ql Ic .ifnmake , the ``make''
686expression is applied.
687.Pp
688If the conditional evaluates to true the parsing of the makefile continues
689as before.
690If it evaluates to false, the following lines are skipped.
691In both cases this continues until a
692.Ql Ic .else
693or
694.Ql Ic .endif
695is found.
696.Sh COMMENTS
697Comments begin with a hash
698.Pq Ql \&#
699character, anywhere but in a shell
700command line, and continue to the end of the line.
701.Sh SPECIAL SOURCES
702.Bl -tag -width Ic .IGNORE
703.It Ic .IGNORE
704Ignore any errors from the commands associated with this target, exactly
705as if they all were preceded by a dash
706.Pq Ql \- .
707.It Ic .MAKE
708Execute the commands associated with this target even if the
709.Fl n
710or
711.Fl t
712options were specified.
713Normally used to mark recursive
714.Nm make Ns 's .
715.It Ic .NOTMAIN
716Normally
717.Nm make
718selects the first target it encounters as the default target to be built
719if no target was specified.
720This source prevents this target from being selected.
721.It Ic .OPTIONAL
722If a target is marked with this attribute and
723.Nm make
724can't figure out how to create it, it will ignore this fact and assume
725the file isn't needed or already exists.
726.It Ic .PRECIOUS
727When
728.Nm make
729is interrupted, it removes any partially made targets.
730This source prevents the target from being removed.
731.It Ic .SILENT
732Do not echo any of the commands associated with this target, exactly
733as if they all were preceded by an at sign
734.Pq Ql @ .
735.It Ic .USE
736Turn the target into
737.Nm make Ns 's .
738version of a macro.
739When the target is used as a source for another target, the other target
740acquires the commands, sources, and attributes (except for
741.Ic .USE )
742of the
743source.
744If the target already has commands, the
745.Ic .USE
746target's commands are appended
747to them.
748.El
749.Sh "SPECIAL TARGETS"
750Special targets may not be included with other targets, i.e. they must be
751the only target specified.
752.Bl -tag -width Ic .BEGIN
753.It Ic .BEGIN
754Any command lines attached to this target are executed before anything
755else is done.
756.It Ic .DEFAULT
757This is sort of a
758.Ic .USE
759rule for any target (that was used only as a
760source) that
761.Nm make
762can't figure out any other way to create.
763Only the shell script is used.
764The
765.Ic .IMPSRC
766variable of a target that inherits
767.Ic .DEFAULT Ns 's
768commands is set
769to the target's own name.
770.It Ic .END
771Any command lines attached to this target are executed after everything
772else is done.
773.It Ic .IGNORE
774Mark each of the sources with the
775.Ic .IGNORE
776attribute.
777If no sources are specified, this is the equivalent of specifying the
778.Fl i
779option.
780.It Ic .INTERRUPT
781If
782.Nm make
783is interrupted, the commands for this target will be executed.
784.It Ic .MAIN
785If no target is specified when
786.Nm make
787is invoked, this target will be built.
788.It Ic .MAKEFLAGS
789This target provides a way to specify flags for
790.Nm make
791when the makefile is used.
792The flags are as if typed to the shell, though the
793.Fl f
794option will have
795no effect.
796.It Ic .PATH
797The sources are directories which are to be searched for files not
798found in the current directory.
799If no sources are specified, any previously specified directories are
800deleted.
801.It Ic .PRECIOUS
802Apply the
803.Ic .PRECIOUS
804attribute to any specified sources.
805If no sources are specified, the
806.Ic .PRECIOUS
807attribute is applied to every
808target in the file.
809.It Ic .SILENT
810Apply the
811.Ic .SILENT
812attribute to any specified sources.
813If no sources are specified, the
814.Ic .SILENT
815attribute is applied to every
816command in the file.
817.It Ic .SUFFIXES
818Each source specifies a suffix to
819.Nm make .
820If no sources are specified, any previous specifies suffices are deleted.
821.Sh ENVIRONMENT
822.Nm Make
823utilizes the following environment variables, if they exist:
824.Ev MAKE ,
825.Ev MAKEFLAGS
826and
827.Ev MAKEOBJDIR .
828.Sh FILES
829.Bl -tag -width /usr/share/mk -compact
830.It .depend
831list of dependencies
832.It Makefile
833list of dependencies
834.It makefile
835list of dependencies
836.It sys.mk
837system makefile
838.It /usr/share/mk
839system makefile directory
840.El
841.Sh SEE ALSO
842.Xr mkdep 1
843.Sh HISTORY
844A
845.Nm Make
846command appeared in
847.At v7 .