kernel - Localize [in]activevnodes globals, improve allocvnode
[dragonfly.git] / usr.bin / awk / Makefile
blob1dae848103578986b655f57746ebb4f1b217acc0
1 # $FreeBSD: src/usr.bin/awk/Makefile,v 1.9.2.1 2002/06/21 20:12:08 obrien Exp $
2 # $DragonFly: src/usr.bin/awk/Makefile,v 1.12 2007/08/27 16:50:51 pavalos Exp $
4 AWKSRC= ${.CURDIR}/../../contrib/awk
5 .PATH: ${AWKSRC}
7 PROG= awk
8 SRCS= awkgram.y b.c lex.c lib.c main.c parse.c proctab.c run.c tran.c ytab.h
9 WARNS?= 2
11 CFLAGS+= -I. -I${AWKSRC} -DHAS_ISBLANK
13 DPADD= ${LIBM}
14 LDADD= -lm
16 CLEANFILES= maketab proctab.c ytab.h maketab.nx
18 ytab.h: awkgram.h
19 ${LN} -sf ${.ALLSRC} ${.TARGET}
21 proctab.c: maketab.nx
22 ./maketab.nx > proctab.c
24 build-tools: maketab.nx
26 maketab.nx: ytab.h ${AWKSRC}/maketab.c
28 .include <bsd.prog.mk>