2005-02-22 23:29:54 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2006-08-22 08:03:01 +00:00
|
|
|
.if ${MACHINE_ARCH} == "amd64" || \
|
2005-02-22 23:29:54 +00:00
|
|
|
${MACHINE_ARCH} == "i386" || \
|
2005-02-25 00:24:03 +00:00
|
|
|
${MACHINE_ARCH} == "ia64" || \
|
2008-04-28 14:54:17 +00:00
|
|
|
(${MACHINE_ARCH} == "arm" && !defined(TARGET_BIG_ENDIAN)) || \
|
|
|
|
(${MACHINE_ARCH} == "mips" && !defined(TARGET_BIG_ENDIAN))
|
2005-02-22 23:29:54 +00:00
|
|
|
TARGET_ENDIANNESS= 1234
|
|
|
|
.elif ${MACHINE_ARCH} == "powerpc" || \
|
2005-02-25 00:24:03 +00:00
|
|
|
${MACHINE_ARCH} == "sparc64" || \
|
2008-04-28 14:54:17 +00:00
|
|
|
${MACHINE_ARCH} == "arm" || \
|
|
|
|
${MACHINE_ARCH} == "mips"
|
2005-02-22 23:29:54 +00:00
|
|
|
TARGET_ENDIANNESS= 4321
|
|
|
|
.endif
|