2001-10-19 08:12:41 +04:00
|
|
|
# $NetBSD: Makefile,v 1.3 2001/10/19 04:12:41 martin Exp $
|
2001-01-23 19:25:22 +03:00
|
|
|
|
|
|
|
DIST= ${.CURDIR}/../../dist
|
|
|
|
.PATH: ${DIST}/nawk
|
|
|
|
|
|
|
|
PROG= awk
|
|
|
|
SRCS= awkgram.y b.c lex.c lib.c main.c parse.c proctab.c run.c tran.c
|
|
|
|
CPPFLAGS+= -I${DIST}/nawk -I.
|
|
|
|
LDADD+= -lm
|
|
|
|
DPADD+= ${LIBM}
|
2001-01-24 01:24:20 +03:00
|
|
|
YHEADER= yes
|
2001-01-23 19:25:22 +03:00
|
|
|
|
2001-10-19 08:12:41 +04:00
|
|
|
# XXX work around toolchain/fpu emul lossage
|
|
|
|
.if ${MACHINE_ARCH} == "sparc64"
|
|
|
|
CPPFLAGS+= -msoft-quad-float
|
|
|
|
.endif
|
|
|
|
|
2001-01-23 19:25:22 +03:00
|
|
|
.include <bsd.prog.mk>
|