1# $FreeBSD$ 2 3.if exists(${.CURDIR}/${MACHINE_ARCH}) 4SUBDIR+= ${MACHINE_ARCH} 5.else 6SUBDIR+= ${MACHINE_CPUARCH} 7.endif 8 9.if ${MACHINE_ARCH} == "aarch64" || ${MACHINE_ARCH} == "amd64" || \ 10 ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "powerpc64" 11HAS_TESTS= 12SUBDIR.${MK_TESTS}+= tests 13.endif 14 15.include <bsd.subdir.mk> 16