release.sh: restore -jJAILDIR option
[minix.git] / share / mk / bsd.endian.mk
blob5908616f4bc3abc375c3eed51c061a2dfb981120
1 # $NetBSD: bsd.endian.mk,v 1.16 2012/08/05 04:11:35 matt Exp $
3 .if !defined(_BSD_ENDIAN_MK_)
4 _BSD_ENDIAN_MK_=1
6 .include <bsd.init.mk>
8 .if ${MACHINE_ARCH} == "alpha" || \
9 ${MACHINE_ARCH} == "arm" || \
10 ${MACHINE_ARCH} == "earm" || \
11 ${MACHINE_ARCH} == "i386" || \
12 ${MACHINE_ARCH} == "ia64" || \
13 ${MACHINE_ARCH} == "vax" || \
14 ${MACHINE_ARCH} == "x86_64" || \
15 ${MACHINE_ARCH:C/^.*el$/el/} == "el"
16 TARGET_ENDIANNESS= 1234
17 .elif ${MACHINE_ARCH} == "hppa" || \
18 ${MACHINE_ARCH} == "m68000" || \
19 ${MACHINE_ARCH} == "m68k" || \
20 ${MACHINE_ARCH} == "powerpc" || \
21 ${MACHINE_ARCH} == "powerpc64" || \
22 ${MACHINE_ARCH} == "sparc" || \
23 ${MACHINE_ARCH} == "sparc64" || \
24 ${MACHINE_ARCH:C/^.*eb$/eb/} == "eb"
25 TARGET_ENDIANNESS= 4321
26 .endif
28 .endif # !defined(_BSD_ENDIAN_MK_)