Home | History | Annotate | Line # | Download | only in sparc64
Makefile.inc revision 1.16
      1 #	$NetBSD: Makefile.inc,v 1.16 2011/06/22 05:23:53 mrg Exp $
      2 
      3 SRCS+=	__sigaction14_sigtramp.c __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 .if ${MKSOFTFLOAT} != "no"
     12 .include <softfloat/Makefile.inc>
     13 .else
     14 #
     15 # Can't directly use softfloat.c due to .PATH issues with the other source
     16 # in softfloat. Just provide a wrapper which pulls it in via a #include
     17 SRCS.softfloat= softfloat-wrapper.c
     18 SRCS+= ${SRCS.softfloat}
     19 CPPFLAGS+=      -I${ARCHDIR}/softfloat -I${.CURDIR}/softfloat \
     20 		-I${.CURDIR}/softfloat/bits64
     21 
     22 .if ${HAVE_GCC} == 45
     23 COPTS.softfloat-wrapper.c+=	-Wno-enum-compare
     24 .endif
     25 
     26 .endif
     27