diff options
Diffstat (limited to 'usr.sbin/config')
-rw-r--r-- | usr.sbin/config/Makefile.depend | 36 | ||||
-rw-r--r-- | usr.sbin/config/mkmakefile.c | 4 |
2 files changed, 38 insertions, 2 deletions
diff --git a/usr.sbin/config/Makefile.depend b/usr.sbin/config/Makefile.depend new file mode 100644 index 0000000..d414840 --- /dev/null +++ b/usr.sbin/config/Makefile.depend @@ -0,0 +1,36 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DEP_MACHINE := ${.PARSEFILE:E} + +DIRDEPS = \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libsbuf \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +config.o: config.c +config.po: config.c +kernconf.o: kernconf.c +kernconf.po: kernconf.c +lang.o: lang.c +lang.o: y.tab.h +lang.po: lang.c +lang.po: y.tab.h +main.o: y.tab.h +main.po: y.tab.h +mkheaders.o: y.tab.h +mkheaders.po: y.tab.h +mkmakefile.o: y.tab.h +mkmakefile.po: y.tab.h +mkoptions.o: y.tab.h +mkoptions.po: y.tab.h +.endif diff --git a/usr.sbin/config/mkmakefile.c b/usr.sbin/config/mkmakefile.c index 8a7f55a..324ad3b 100644 --- a/usr.sbin/config/mkmakefile.c +++ b/usr.sbin/config/mkmakefile.c @@ -431,7 +431,7 @@ nextparam: next_quoted_word(fp, wd); if (wd == 0) { fprintf(stderr, - "%s: %s missing compile command string.\n", + "%s: %s missing dependency string.\n", fname, this); exit(1); } @@ -762,7 +762,7 @@ do_rules(FILE *f) break; } snprintf(cmd, sizeof(cmd), - "${%s_%c%s}\n", ftype, + "${%s_%c%s}", ftype, toupper(och), ftp->f_flags & NOWERROR ? "_NOWERROR" : ""); compilewith = cmd; |