42b2082ac7
sources. This will be used to fix `make -jN' races in many Makefiles in /usr/src, and to simplify these and other Makefiles. To get the fixes and simplifications, application Makefiles should put the raw lex and yacc source names (foo.l and bar.y) in SRCS and not put the names of any generated files in SRCS or CLEANFILES. A few Makefiles already do this, although it didn't actually work before (mkdep couldn't create complete dependencies because there is no intermediate .c file for the .y.o and .l.o implicit rules). Complications: if bar.y is in SRCS and -d is in YFLAGS, then bar.h will be generated whether or not it is used, even if this clobbers a real source file. This is so that bar.c can be generated using the -j-safe and debugger-friendly -o option to YACC. There are smaller warts for handling y.tab.h. y.tab.c and lex.yy.c are not supported. |
||
---|---|---|
.. | ||
colldef | ||
dict | ||
doc | ||
examples | ||
info | ||
man | ||
me | ||
misc | ||
mk | ||
mklocale | ||
skel | ||
syscons | ||
tabset | ||
termcap | ||
timedef | ||
zoneinfo | ||
Makefile | ||
Makefile.inc |