8876613dc5
if not already defined. This allows building libc from outside of lib/libc using a reach-over makefile. A typical use-case is to build a standard ILP32 version and a COMPAT32 version in a single iteration by building the COMPAT32 version using a reach-over makefile. Obtained from: Juniper Networks, Inc.
26 lines
743 B
Makefile
26 lines
743 B
Makefile
# from @(#)Makefile.inc 8.1 (Berkeley) 6/4/93
|
|
# $FreeBSD$
|
|
|
|
# Quad support, if needed
|
|
.PATH: ${LIBC_SRCTOP}/${LIBC_ARCH}/quad ${LIBC_SRCTOP}/quad
|
|
|
|
.if ${LIBC_ARCH} == "i386"
|
|
|
|
SRCS+= cmpdi2.c divdi3.c moddi3.c qdivrem.c ucmpdi2.c udivdi3.c umoddi3.c
|
|
|
|
.elif ${LIBC_ARCH} == "arm" && ${MK_ARM_EABI} != "no"
|
|
|
|
SRCS+= adddi3.c anddi3.c floatunsdidf.c iordi3.c lshldi3.c notdi2.c \
|
|
qdivrem.c subdi3.c xordi3.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+=${LIBC_SRCTOP}/quad/Symbol.map
|