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