Home | History | Annotate | Line # | Download | only in sparc64
Makefile.inc revision 1.18
      1  1.18    martin #	$NetBSD: Makefile.inc,v 1.18 2012/03/20 21:37:19 martin Exp $
      2   1.6   thorpej 
      3  1.10  christos SRCS+=	__sigaction14_sigtramp.c __sigtramp2.S
      4   1.2        tv 
      5   1.2        tv # Some assembler files use v9a extensions.
      6   1.2        tv AFLAGS+= -Wa,-Av9a
      7   1.1       eeh 
      8   1.3       jmc .PATH: ${ARCHDIR}/softfloat
      9   1.3       jmc SRCS+= qp.c
     10  1.14    martin CPPFLAGS+=	-DSOFTFLOATSPARC64_FOR_GCC -DEXCEPTIONS_WITH_SOFTFLOAT
     11  1.17      matt CPPFLAGS+=	-DSOFTFLOAT_NEED_FIXUNS
     12   1.3       jmc .if ${MKSOFTFLOAT} != "no"
     13   1.3       jmc .include <softfloat/Makefile.inc>
     14   1.3       jmc .else
     15   1.3       jmc #
     16   1.3       jmc # Can't directly use softfloat.c due to .PATH issues with the other source
     17   1.3       jmc # in softfloat. Just provide a wrapper which pulls it in via a #include
     18  1.13  uebayasi SRCS.softfloat= softfloat-wrapper.c
     19  1.13  uebayasi SRCS+= ${SRCS.softfloat}
     20   1.5     bjh21 CPPFLAGS+=      -I${ARCHDIR}/softfloat -I${.CURDIR}/softfloat \
     21   1.5     bjh21 		-I${.CURDIR}/softfloat/bits64
     22  1.16       mrg 
     23  1.16       mrg .if ${HAVE_GCC} == 45
     24  1.16       mrg COPTS.softfloat-wrapper.c+=	-Wno-enum-compare
     25  1.16       mrg .endif
     26  1.16       mrg 
     27  1.18    martin LINTFLAGS.softfloat-wrapper.c+=	-X117,132,218,259,298
     28  1.18    martin 
     29   1.3       jmc .endif
     30