Merge branch 'vendor/AWK'
authorPeter Avalos <pavalos@dragonflybsd.org>
Fri, 17 Jun 2011 23:14:54 +0000 (13:14 -1000)
committerPeter Avalos <pavalos@dragonflybsd.org>
Fri, 17 Jun 2011 23:14:54 +0000 (13:14 -1000)
1  2 
contrib/awk/README.DELETED
contrib/awk/README.DRAGONFLY
usr.bin/awk/Makefile

index 3b0aa1f,0000000..3b0aa1f
mode 100644,000000..100644
--- /dev/null
index 8d86e50,0000000..8d86e50
mode 100644,000000..100644
--- /dev/null
index 9413e2d,0000000..777b409
mode 100644,000000..100644
--- /dev/null
@@@ -1,32 -1,0 +1,32 @@@
- AWKSRC=       ${.CURDIR}/../../contrib/awk20100523
 +# $FreeBSD: src/usr.bin/awk/Makefile,v 1.9.2.1 2002/06/21 20:12:08 obrien Exp $
 +# $DragonFly: src/usr.bin/awk/Makefile,v 1.12 2007/08/27 16:50:51 pavalos Exp $
 +
++AWKSRC=       ${.CURDIR}/../../contrib/awk
 +.PATH: ${AWKSRC}
 +
 +PATCHES!=     echo ${.CURDIR}/patches/*.patch
 +CONTRIBDIR=   ${AWKSRC}
 +
 +PROG= awk
 +SRCS= awkgram.y b.c lex.c lib.c main.c parse.c proctab.c run.c tran.c ytab.h
 +SRCS+=        ${PATCHES}
 +WARNS?=       2
 +
 +CFLAGS+= -I. -I${AWKSRC} -DHAS_ISBLANK
 +
 +DPADD=        ${LIBM}
 +LDADD=        -lm
 +
 +CLEANFILES= maketab proctab.c ytab.h maketab.nx
 +
 +ytab.h: awkgram.h
 +      ${LN} -sf ${.ALLSRC} ${.TARGET}
 +
 +proctab.c: maketab.nx
 +      ./maketab.nx > proctab.c
 +
 +build-tools: maketab.nx
 +
 +maketab.nx: ytab.h ${AWKSRC}/maketab.c
 +
 +.include <bsd.prog.mk>