1# $NetBSD: Makefile.inc,v 1.20 2015/04/15 19:13:46 mrg Exp $ 2 3SRCS+= __sigaction14_sigtramp.c __sigtramp2.S 4 5# Some assembler files use v9a extensions. 6AFLAGS+= -Wa,-Av9a 7 8.PATH: ${ARCHDIR}/softfloat 9SRCS+= qp.c 10CPPFLAGS+= -DSOFTFLOATSPARC64_FOR_GCC -DEXCEPTIONS_WITH_SOFTFLOAT 11CPPFLAGS+= -DSOFTFLOAT_NEED_FIXUNS 12.if ${MKSOFTFLOAT} != "no" 13.include <softfloat/Makefile.inc> 14.else 15# 16# Can't directly use softfloat.c due to .PATH issues with the other source 17# in softfloat. Just provide a wrapper which pulls it in via a #include 18SRCS.softfloat= softfloat-wrapper.c 19SRCS+= ${SRCS.softfloat} 20CPPFLAGS+= -I${ARCHDIR}/softfloat -I${.CURDIR}/softfloat \ 21 -I${.CURDIR}/softfloat/bits64 22 23.endif 24