1AWKSRC= ${.CURDIR}/../../../contrib/awk 2.PATH: ${AWKSRC} 3 4PROG= maketab 5SRCS= maketab.c ytab.h 6 7CFLAGS+= -I. -I${AWKSRC} -DHAS_ISBLANK 8 9y.tab.h: awkgram.c awkgram.y 10 11ytab.h: y.tab.h 12 ${LN} -sf ${.ALLSRC} ${.TARGET} 13 14WARNS= 2 15 16CLEANFILES+= ytab.h y.tab.h awkgram.c 17 18build-tools: maketab.nx 19 20# this setup is used in place, it is not installed anywhere 21install: 22 23.include <bsd.hostprog.mk> 24