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
8 SRCS
= awkgram.y b.c
lex.c lib.c main.c parse.c proctab.c run.c tran.c ytab.h
11 CFLAGS
+= -I.
-I
${AWKSRC} -DHAS_ISBLANK
16 CLEANFILES
= maketab proctab.c ytab.h maketab.nx
19 ${LN} -sf
${.ALLSRC
} ${.TARGET
}
22 .
/maketab.nx
> proctab.c
24 build-tools
: maketab.nx
26 maketab.nx
: ytab.h
${AWKSRC}/maketab.c
28 .
include <bsd.prog.mk
>