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