2010-06-25 20:29:09 +02:00
|
|
|
.include <bsd.own.mk>
|
2010-03-17 17:16:52 +01:00
|
|
|
|
2010-05-12 18:28:54 +02:00
|
|
|
PROG= awk
|
|
|
|
SRCS= awkgram.y b.c lex.c lib.c main.c parse.c proctab.c run.c tran.c
|
|
|
|
YHEADER= yes
|
2010-05-13 21:29:42 +02:00
|
|
|
QUIET_YACC= yes
|
|
|
|
|
2010-06-28 01:46:23 +02:00
|
|
|
CPPFLAGS+= -I. -I${.CURDIR}
|
|
|
|
|
2010-05-13 21:29:42 +02:00
|
|
|
build-tools: maketab
|
|
|
|
|
|
|
|
proctab.c: maketab
|
|
|
|
./maketab > proctab.c
|
|
|
|
|
|
|
|
maketab: awkgram.h maketab.c
|
|
|
|
|
|
|
|
CLEANFILES= maketab proctab.c
|
2010-03-17 17:16:52 +01:00
|
|
|
|
2010-06-25 20:29:09 +02:00
|
|
|
.include <bsd.prog.mk>
|