2003-08-03 21:19:45 +04:00
|
|
|
# $NetBSD: Makefile,v 1.6 2003/08/03 17:19:45 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
|
|
|
|
2003-08-03 21:19:45 +04:00
|
|
|
# gawk INFO file
|
|
|
|
GDIST= ${NETBSDSRCDIR}/gnu/dist/gawk
|
|
|
|
.PATH: ${GDIST}/doc
|
|
|
|
|
|
|
|
TEXINFO= awk.info
|
|
|
|
|
|
|
|
CLEANFILES+= ${PROG}.texi
|
|
|
|
|
|
|
|
${PROG}.texi: gawk.texi
|
|
|
|
@-rm -f $@
|
|
|
|
sed -e 's/gawk.info/${PROG}.info/g' <$> >$@
|
|
|
|
|
|
|
|
.include <bsd.info.mk>
|
2001-01-23 19:25:22 +03:00
|
|
|
.include <bsd.prog.mk>
|