Makefile.inc revision 1.1 1 # $NetBSD: Makefile.inc,v 1.1 2014/08/10 05:47:36 matt Exp $
2
3 SRCS+= __sigaction14_sigtramp.c __sigtramp2.S
4 #SRCS+= qdivrem.c
5
6 CPPFLAGS += -I.
7
8 .PATH: ${ARCHDIR}/softfloat
9 SRCS+= qp.c
10 CPPFLAGS+= -DSOFTFLOATAARCH64_FOR_GCC -DEXCEPTIONS_WITH_SOFTFLOAT
11 CPPFLAGS+= -DSOFTFLOAT_NEED_FIXUNS
12 #
13 # Can't directly use softfloat.c due to .PATH issues with the other source
14 # in softfloat. Just provide a wrapper which pulls it in via a #include
15 SRCS.softfloat= softfloat-wrapper.c
16 SRCS+= ${SRCS.softfloat}
17 CPPFLAGS+= -I${ARCHDIR}/softfloat -I${.CURDIR}/softfloat \
18 -I${.CURDIR}/softfloat/bits64
19
20 #.if ${HAVE_GCC} == 45
21 #COPTS.softfloat-wrapper.c+= -Wno-enum-compare
22 #.endif
23