mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-27 11:55:06 +00:00
16 lines
486 B
Makefile
16 lines
486 B
Makefile
# $FreeBSD$
|
|
|
|
.if ${MACHINE_ARCH} == "amd64" || \
|
|
${MACHINE_ARCH} == "i386" || \
|
|
${MACHINE_ARCH} == "ia64" || \
|
|
(${MACHINE_ARCH} == "arm" && !defined(TARGET_BIG_ENDIAN)) || \
|
|
(${MACHINE_ARCH} == "mips" && !defined(TARGET_BIG_ENDIAN))
|
|
TARGET_ENDIANNESS= 1234
|
|
.elif ${MACHINE_ARCH} == "powerpc" || \
|
|
${MACHINE_ARCH} == "powerpc64" || \
|
|
${MACHINE_ARCH} == "sparc64" || \
|
|
${MACHINE_ARCH} == "arm" || \
|
|
${MACHINE_ARCH} == "mips"
|
|
TARGET_ENDIANNESS= 4321
|
|
.endif
|