Home | History | Annotate | Line # | Download | only in sparc64
      1 #	$NetBSD: Makefile.inc,v 1.21 2021/10/31 22:24:36 thorpej Exp $
      2 
      3 SRCS+=	__sigtramp2.S
      4 
      5 # Some assembler files use v9a extensions.
      6 AFLAGS+= -Wa,-Av9a
      7 
      8 .PATH: ${ARCHDIR}/softfloat
      9 SRCS+= qp.c
     10 CPPFLAGS+=	-DSOFTFLOATSPARC64_FOR_GCC -DEXCEPTIONS_WITH_SOFTFLOAT
     11 CPPFLAGS+=	-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
     18 SRCS.softfloat= softfloat-wrapper.c
     19 SRCS+= ${SRCS.softfloat}
     20 CPPFLAGS+=      -I${ARCHDIR}/softfloat -I${.CURDIR}/softfloat \
     21 		-I${.CURDIR}/softfloat/bits64
     22 
     23 .endif
     24