2012-09-17 11:09:12 +02:00
|
|
|
# $NetBSD: Makefile.inc,v 1.12 2011/07/09 04:12:01 matt Exp $
|
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
2011-02-14 20:36:03 +01:00
|
|
|
|
|
|
|
SRCS+= __sigaction14_sigtramp.c __sigtramp2.S
|
|
|
|
|
|
|
|
CPPFLAGS+= -I.
|
|
|
|
CPPFLAGS.assym.h+=-D__LIBC12_SOURCE__
|
|
|
|
|
|
|
|
.if ${MKSOFTFLOAT} != "no"
|
|
|
|
.include <softfloat/Makefile.inc>
|
2012-09-17 11:09:12 +02:00
|
|
|
CPPFLAGS+= -DSOFTFLOAT
|
|
|
|
|
|
|
|
SRCS+= fixunsgen_ieee754.c fixunssfsi_ieee754.c fixunsdfsi_ieee754.c
|
|
|
|
SRCS+= fixunsgen64_ieee754.c #fixunssfdi.c fixunsdfdi.c
|
|
|
|
.if (${MACHINE_ARCH} == "mips64eb" || ${MACHINE_ARCH} == "mips64el") \
|
|
|
|
&& (!defined(CPUFLAGS) || empty(CPUFLAGS:M-mabi=32))
|
|
|
|
SRCS+= fixunstfsi_ieee754.c fixunstfdi_ieee754.c
|
|
|
|
.endif
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if (${MACHINE_ARCH} == "mips64eb" || ${MACHINE_ARCH} == "mips64el") \
|
|
|
|
&& (!defined(CPUFLAGS) || empty(CPUFLAGS:M-mabi=32))
|
|
|
|
SRCS+= floatunditf_ieee754.c
|
2011-02-14 20:36:03 +01:00
|
|
|
.endif
|