1 # $NetBSD: Makefile.inc,v 1.20 2015/04/15 19:13:46 mrg Exp $
3 SRCS+= __sigaction14_sigtramp.c __sigtramp2.S
5 # Some assembler files use v9a extensions.
8 .PATH: ${ARCHDIR}/softfloat
10 CPPFLAGS+= -DSOFTFLOATSPARC64_FOR_GCC -DEXCEPTIONS_WITH_SOFTFLOAT
11 CPPFLAGS+= -DSOFTFLOAT_NEED_FIXUNS
12 .if ${MKSOFTFLOAT} != "no"
13 .include <softfloat/Makefile.inc>
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
18 SRCS.softfloat= softfloat-wrapper.c
19 SRCS+= ${SRCS.softfloat}
20 CPPFLAGS+= -I${ARCHDIR}/softfloat -I${.CURDIR}/softfloat \
21 -I${.CURDIR}/softfloat/bits64