change flag -s to -i
This commit is contained in:
parent
4d7ba75469
commit
280d7a79be
4 changed files with 6 additions and 6 deletions
|
@ -43,16 +43,16 @@ and at each return to call the routine
|
||||||
.BE procexit .
|
.BE procexit .
|
||||||
These routines are supplied with one parameter, a pointer to a
|
These routines are supplied with one parameter, a pointer to a
|
||||||
string containing the name of the procedure.
|
string containing the name of the procedure.
|
||||||
.IP -\fBA\fR[\fIfile\fR]
|
.IP \fB\-A\fR[\fIfile\fR]
|
||||||
.br
|
.br
|
||||||
if \fIfile\fR is not given, generate a list
|
if \fIfile\fR is not given, generate a list
|
||||||
of makefile dependencies and write them to the standard output.
|
of makefile dependencies and write them to the standard output.
|
||||||
If \fIfile\fP is given,
|
If \fIfile\fP is given,
|
||||||
generate the list of makefile dependencies on file \fIfile\fP.
|
generate the list of makefile dependencies on file \fIfile\fP.
|
||||||
.IP -\fBs\fR
|
.IP \fB\-i\fR
|
||||||
when generating makefile dependencies, do not include files from
|
when generating makefile dependencies, do not include files from
|
||||||
/usr/include.
|
/usr/include.
|
||||||
.IP -\fBm\fR
|
.IP \fB\-m\fR
|
||||||
when generating makefile dependencies, generate them in the following format:
|
when generating makefile dependencies, generate them in the following format:
|
||||||
.RS
|
.RS
|
||||||
.IP "file.o: file1.h"
|
.IP "file.o: file1.h"
|
||||||
|
|
|
@ -192,7 +192,7 @@ char *s;
|
||||||
dependency(s, source)
|
dependency(s, source)
|
||||||
char *s, *source;
|
char *s, *source;
|
||||||
{
|
{
|
||||||
if (options['s'] && !strncmp(s, "/usr/include/", 13)) {
|
if (options['i'] && !strncmp(s, "/usr/include/", 13)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (options['m'] && source) {
|
if (options['m'] && source) {
|
||||||
|
|
|
@ -4,6 +4,7 @@ C while running preprocessor, copy comment
|
||||||
d perform a small dataflow analysis
|
d perform a small dataflow analysis
|
||||||
D see identifier following as a macro
|
D see identifier following as a macro
|
||||||
E run preprocessor only
|
E run preprocessor only
|
||||||
|
i suppress /usr/include include files in dependency list
|
||||||
I expand include table with directory name following
|
I expand include table with directory name following
|
||||||
m generate file.o: file1.h format dependency lines
|
m generate file.o: file1.h format dependency lines
|
||||||
M set identifier length
|
M set identifier length
|
||||||
|
@ -12,7 +13,6 @@ L don't generate linenumbers and filename indications
|
||||||
p trace
|
p trace
|
||||||
P in running the preprocessor do not output '# line' lines
|
P in running the preprocessor do not output '# line' lines
|
||||||
R restricted C
|
R restricted C
|
||||||
s suppress /usr/include include files in dependency list
|
|
||||||
T take path following as directory for storing temporary file(s)
|
T take path following as directory for storing temporary file(s)
|
||||||
U undefine predefined name
|
U undefine predefined name
|
||||||
V set objectsize and alignment requirements
|
V set objectsize and alignment requirements
|
||||||
|
|
|
@ -96,7 +96,7 @@ next_option: /* to allow combined one-char options */
|
||||||
dep_file = text;
|
dep_file = text;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 's':
|
case 'i':
|
||||||
case 'm':
|
case 'm':
|
||||||
options[opt] = 1;
|
options[opt] = 1;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue