Makefile.inc revision 1.14
1#	$NetBSD: Makefile.inc,v 1.14 2012/08/06 08:17:58 matt Exp $
2#	@(#)Makefile.inc	8.1 (Berkeley) 6/4/93
3
4# Quad support
5SRCS.quad=	cmpdi2.c divdi3.c fixdfdi.c fixsfdi.c fixunsdfdi.c \
6	fixunssfdi.c floatdidf.c floatdisf.c floatundisf.c floatundidf.c \
7	moddi3.c muldi3.c negdi2.c qdivrem.c \
8	ucmpdi2.c udivdi3.c umoddi3.c 
9
10.if   (${MACHINE_ARCH} == "m68k")
11SRCS.quad+=	ashldi3.S ashrdi3.S lshrdi3.S
12.elif (${MACHINE_ARCH} == "m68000")
13SRCS.quad+=	ashldi3.S lshrdi3.S
14.elif (${MACHINE_ARCH} == "earm" || ${MACHINE_ARCH} == "earmeb")
15SRCS.quad+=	ashrdi3.c lshldi3.c lshrdi3.c
16.else
17SRCS.quad+=	ashldi3.c ashrdi3.c lshrdi3.c
18.endif
19
20# XXX as far as I can tell, these are never used and can be removed
21SRCS.quad+=	adddi3.c anddi3.c iordi3.c notdi2.c subdi3.c xordi3.c
22
23SRCS+=	${SRCS.quad}
24
25.PATH: ${ARCHDIR}/quad ${.CURDIR}/quad
26