2006-05-11 05:19:55 +04:00
|
|
|
# $NetBSD: Makefile,v 1.9 2006/05/11 01:19:55 mrg 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
|
2006-05-11 05:19:55 +04:00
|
|
|
.if ${HAVE_GCC} == 4
|
|
|
|
COPTS= -Wno-pointer-sign
|
|
|
|
.endif
|
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
|
2004-03-27 14:34:11 +03:00
|
|
|
.PATH: ${NETBSDSRCDIR}/gnu/dist/gawk
|
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>
|