netbsd32.mk revision 1.1
1#	$NetBSD: netbsd32.mk,v 1.1 2019/02/04 21:57:47 mrg Exp $
2
3# makefile fragment that tells you if you should support netbsd32 or not.
4# include this and check ${COMPAT_USE_NETBSD32} != "no".
5
6.if ${MACHINE_ARCH} == "x86_64" \
7    || ${MACHINE_CPU} == "arm" \
8    || ${MACHINE_ARCH} == "sparc64" \
9    || (!empty(MACHINE_ARCH:Mmips64*) && !defined(BSD_MK_COMPAT_FILE))
10COMPAT_USE_NETBSD32?=yes
11.else
12COMPAT_USE_NETBSD32?=no
13.endif
14