Home | History | Annotate | Line # | Download | only in sparc64
Makefile.inc revision 1.17
      1  1.17      matt #	$NetBSD: Makefile.inc,v 1.17 2011/07/10 04:52:23 matt 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.3       jmc .endif
     28