Home | History | Annotate | Line # | Download | only in sparc64
Makefile.inc revision 1.17
      1 #	$NetBSD: Makefile.inc,v 1.17 2011/07/10 04:52:23 matt 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 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 .if ${HAVE_GCC} == 45
     24 COPTS.softfloat-wrapper.c+=	-Wno-enum-compare
     25 .endif
     26 
     27 .endif
     28