mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-22 11:17:19 +00:00
2c0959ae6b
their implementations aren't in the same files. Introduce LIBC_ARCH and use that in preference to MACHINE_CPUARCH. Tested by amd64 and powerpc64 builds (thanks nathanw@)
22 lines
577 B
Makefile
22 lines
577 B
Makefile
# from @(#)Makefile.inc 8.1 (Berkeley) 6/4/93
|
|
# $FreeBSD$
|
|
|
|
# Quad support, if needed
|
|
.PATH: ${.CURDIR}/${LIBC_ARCH}/quad ${.CURDIR}/quad
|
|
|
|
.if ${LIBC_ARCH} == "i386"
|
|
|
|
SRCS+= cmpdi2.c divdi3.c moddi3.c qdivrem.c ucmpdi2.c udivdi3.c umoddi3.c
|
|
|
|
.else
|
|
|
|
SRCS+= adddi3.c anddi3.c ashldi3.c ashrdi3.c cmpdi2.c divdi3.c fixdfdi.c \
|
|
fixsfdi.c fixunsdfdi.c fixunssfdi.c floatdidf.c floatdisf.c \
|
|
floatunsdidf.c iordi3.c lshldi3.c lshrdi3.c moddi3.c muldi3.c \
|
|
negdi2.c notdi2.c qdivrem.c subdi3.c ucmpdi2.c udivdi3.c umoddi3.c \
|
|
xordi3.c
|
|
|
|
.endif
|
|
|
|
SYM_MAPS+=${.CURDIR}/quad/Symbol.map
|