2013-08-24 04:51:48 +04:00
|
|
|
# $NetBSD: Makefile.inc,v 1.17 2013/08/24 00:51:48 matt Exp $
|
1995-02-27 20:29:31 +03:00
|
|
|
# @(#)Makefile.inc 8.1 (Berkeley) 6/4/93
|
1993-09-16 10:05:46 +04:00
|
|
|
|
|
|
|
# Quad support
|
2013-02-03 05:48:53 +04:00
|
|
|
SRCS.quad= cmpdi2.c ucmpdi2.c
|
|
|
|
SRCS.quad+= divdi3.c moddi3.c
|
2013-08-24 04:51:48 +04:00
|
|
|
.if empty(LIBC_MACHINE_ARCH:Mearm*)
|
2013-02-03 05:48:53 +04:00
|
|
|
SRCS.quad+= fixdfdi.c fixsfdi.c
|
|
|
|
SRCS.quad+= fixunsdfdi.c fixunssfdi.c
|
|
|
|
SRCS.quad+= floatdidf.c floatdisf.c
|
2013-08-24 04:51:48 +04:00
|
|
|
SRCS.quad+= floatundidf.c floatundisf.c
|
|
|
|
.endif
|
2013-02-03 05:48:53 +04:00
|
|
|
SRCS.quad+= muldi3.c
|
|
|
|
SRCS.quad+= negdi2.c
|
|
|
|
SRCS.quad+= qdivrem.c
|
|
|
|
SRCS.quad+= udivdi3.c umoddi3.c
|
1996-06-01 05:14:00 +04:00
|
|
|
|
|
|
|
.if (${MACHINE_ARCH} == "m68k")
|
2009-12-06 08:34:42 +03:00
|
|
|
SRCS.quad+= ashldi3.S ashrdi3.S lshrdi3.S
|
2001-05-18 19:23:44 +04:00
|
|
|
.elif (${MACHINE_ARCH} == "m68000")
|
2009-12-06 08:34:42 +03:00
|
|
|
SRCS.quad+= ashldi3.S lshrdi3.S
|
2013-08-24 04:51:48 +04:00
|
|
|
.elif !empty(LIBC_MACHINE_ARCH:Mearm*)
|
2013-04-30 05:43:01 +04:00
|
|
|
SRCS.quad+= ashldi3.c ashrdi3.c lshrdi3.c lshldi3.c
|
2013-08-24 04:51:48 +04:00
|
|
|
SRCS.quad+= floatdidf_ieee754.c floatdisf_ieee754.c
|
|
|
|
SRCS.quad+= floatundidf_ieee754.c floatundisf_ieee754.c
|
|
|
|
SRCS.quad+= fixdfdi_ieee754.c fixsfdi_ieee754.c
|
|
|
|
SRCS.quad+= fixunsdfdi_ieee754.c fixunssfdi_ieee754.c
|
1996-06-01 05:14:00 +04:00
|
|
|
.else
|
2009-12-06 08:34:42 +03:00
|
|
|
SRCS.quad+= ashldi3.c ashrdi3.c lshrdi3.c
|
1996-06-01 06:06:23 +04:00
|
|
|
.endif
|
1996-06-01 05:14:00 +04:00
|
|
|
|
1996-06-02 01:39:21 +04:00
|
|
|
# XXX as far as I can tell, these are never used and can be removed
|
2009-12-06 08:34:42 +03:00
|
|
|
SRCS.quad+= adddi3.c anddi3.c iordi3.c notdi2.c subdi3.c xordi3.c
|
|
|
|
|
|
|
|
SRCS+= ${SRCS.quad}
|
1993-09-16 10:05:46 +04:00
|
|
|
|
1999-02-24 18:05:20 +03:00
|
|
|
.PATH: ${ARCHDIR}/quad ${.CURDIR}/quad
|