1# $NetBSD: Makefile.inc,v 1.17 2013/08/24 00:51:48 matt Exp $ 2# @(#)Makefile.inc 8.1 (Berkeley) 6/4/93 3 4# Quad support 5SRCS.quad= cmpdi2.c ucmpdi2.c 6SRCS.quad+= divdi3.c moddi3.c 7.if empty(LIBC_MACHINE_ARCH:Mearm*) 8SRCS.quad+= fixdfdi.c fixsfdi.c 9SRCS.quad+= fixunsdfdi.c fixunssfdi.c 10SRCS.quad+= floatdidf.c floatdisf.c 11SRCS.quad+= floatundidf.c floatundisf.c 12.endif 13SRCS.quad+= muldi3.c 14SRCS.quad+= negdi2.c 15SRCS.quad+= qdivrem.c 16SRCS.quad+= udivdi3.c umoddi3.c 17 18.if (${MACHINE_ARCH} == "m68k") 19SRCS.quad+= ashldi3.S ashrdi3.S lshrdi3.S 20.elif (${MACHINE_ARCH} == "m68000") 21SRCS.quad+= ashldi3.S lshrdi3.S 22.elif !empty(LIBC_MACHINE_ARCH:Mearm*) 23SRCS.quad+= ashldi3.c ashrdi3.c lshrdi3.c lshldi3.c 24SRCS.quad+= floatdidf_ieee754.c floatdisf_ieee754.c 25SRCS.quad+= floatundidf_ieee754.c floatundisf_ieee754.c 26SRCS.quad+= fixdfdi_ieee754.c fixsfdi_ieee754.c 27SRCS.quad+= fixunsdfdi_ieee754.c fixunssfdi_ieee754.c 28.else 29SRCS.quad+= ashldi3.c ashrdi3.c lshrdi3.c 30.endif 31 32# XXX as far as I can tell, these are never used and can be removed 33SRCS.quad+= adddi3.c anddi3.c iordi3.c notdi2.c subdi3.c xordi3.c 34 35SRCS+= ${SRCS.quad} 36 37.PATH: ${ARCHDIR}/quad ${.CURDIR}/quad 38