2004-03-26 19:55:15 +03:00
|
|
|
# $NetBSD: Makefile,v 1.7 2004/03/26 16:55:15 jdolecek Exp $
|
2001-01-23 19:25:22 +03:00
|
|
|
|
2002-09-18 18:00:33 +04:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
DIST= ${NETBSDSRCDIR}/dist
|
2001-01-23 19:25:22 +03:00
|
|
|
.PATH: ${DIST}/nawk
|
|
|
|
|
|
|
|
PROG= awk
|
|
|
|
SRCS= awkgram.y b.c lex.c lib.c main.c parse.c proctab.c run.c tran.c
|
2003-08-03 21:19:45 +04:00
|
|
|
CPPFLAGS+= -I${DIST}/nawk -I. -DHAS_ISBLANK
|
2001-01-23 19:25:22 +03:00
|
|
|
LDADD+= -lm
|
|
|
|
DPADD+= ${LIBM}
|
2001-01-24 01:24:20 +03:00
|
|
|
YHEADER= yes
|
2001-01-23 19:25:22 +03:00
|
|
|
|
2004-03-26 19:55:15 +03:00
|
|
|
# info file originally from GNU awk 3.1.3, adjusted for nawk slightly
|
2003-08-03 21:19:45 +04:00
|
|
|
TEXINFO= awk.info
|
|
|
|
|
|
|
|
.include <bsd.info.mk>
|
2001-01-23 19:25:22 +03:00
|
|
|
.include <bsd.prog.mk>
|