mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 09:10:28 +00:00
awk: use awkgram.tab.h consistently
yacc makes awkgram.h. However, one true awk includes awkgram.tab.h, so
we link to for the builds. Make sure that we consistently link to it.
Also, restore the awkgram.tab.h dependency to maketab. It should not
have been deleted, despite apparently making meta build on stable/12
work. The important missing arc was proctab.c's dependence on
awkgram.tab.h.
MFC After: 1 day (build breakage)
Fixes: c50c8502cb
Sponsored by: Netflix
This commit is contained in:
parent
22e20d852f
commit
a226a9cf8e
|
@ -22,12 +22,12 @@ CLEANFILES= maketab proctab.c awkgram.tab.h
|
|||
awkgram.tab.h: awkgram.h
|
||||
ln -sf ${.ALLSRC:M*.h} ${.TARGET}
|
||||
|
||||
proctab.c: maketab awkgram.h
|
||||
${BTOOLSPATH:U.}/maketab awkgram.h > proctab.c
|
||||
proctab.c: maketab awkgram.tab.h
|
||||
${BTOOLSPATH:U.}/maketab awkgram.tab.h > proctab.c
|
||||
|
||||
DEPENDOBJS+= maketab
|
||||
build-tools: maketab
|
||||
maketab: ${BUILD_TOOLS_META}
|
||||
maketab: awkgram.tab.h ${BUILD_TOOLS_META}
|
||||
|
||||
# awk needs some work before we can connect these tests to the build
|
||||
#HAS_TESTS=
|
||||
|
|
Loading…
Reference in a new issue