xref: /netbsd/lib/libc/quad/Makefile.inc (revision bf9ec67e)
1#	$NetBSD: Makefile.inc,v 1.10 2001/05/18 15:23:44 fredette Exp $
2#	@(#)Makefile.inc	8.1 (Berkeley) 6/4/93
3
4# Quad support
5SRCS+=	cmpdi2.c divdi3.c fixdfdi.c fixsfdi.c fixunsdfdi.c \
6	fixunssfdi.c floatdidf.c floatdisf.c floatunsdidf.c \
7	moddi3.c muldi3.c negdi2.c qdivrem.c \
8	ucmpdi2.c udivdi3.c umoddi3.c
9
10.if   (${MACHINE_ARCH} == "m68k")
11SRCS+=	ashldi3.S ashrdi3.S lshrdi3.S
12.elif (${MACHINE_ARCH} == "m68000")
13SRCS+=	ashldi3.S lshrdi3.S
14.else
15SRCS+=	ashldi3.c ashrdi3.c lshrdi3.c
16.endif
17
18# XXX as far as I can tell, these are never used and can be removed
19SRCS+=	adddi3.c anddi3.c iordi3.c notdi2.c subdi3.c xordi3.c
20
21.PATH: ${ARCHDIR}/quad ${.CURDIR}/quad
22