summaryrefslogtreecommitdiff
path: root/man/10/srclist
blob: 199711b0c43fcc4a24602869c63cf57f9c5657e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
.TH SRCLIST 10.1
.SH NAME
srclist \- list source files used to build an executable
.SH SYNOPSIS
.B srclist
[
.B -ce
] [
.BI -r " rootdir"
\&...
]
.I executable
.SH DESCRIPTION
.I Srclist
prints on standard output, one per line, the names of source files used to build
the given
.IR executable ,
which should be
in
.IR a.out (10.6)
format.
.PP
By default, all source file names are listed.
The
.B -c
option restricts the output to names ending
.RB ` .c '.
The
.B -e
option restricts the output to file names that currently exist.
Each
.B -r
option adds a new root directory
.I rootdir
to an internal list.
Only the names of source files that appear below one of the root directories
will be printed.
.SH SOURCE
.B /utils/srclist
.SH SEE ALSO
.IR inm (10.1)