NetBSD/usr.bin/awk/Makefile
martin 746fed9089 Add -msoft-quad-float on sparc64 to work around toolchain/kernel fpu
emulation lossage.
This makes awk create proper vi.h and emacs.h files in src/lib/libedit
again.
2001-10-19 04:12:41 +00:00

19 lines
399 B
Makefile

# $NetBSD: Makefile,v 1.3 2001/10/19 04:12:41 martin Exp $
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}
YHEADER= yes
# XXX work around toolchain/fpu emul lossage
.if ${MACHINE_ARCH} == "sparc64"
CPPFLAGS+= -msoft-quad-float
.endif
.include <bsd.prog.mk>