18 lines
346 B
Makefile
18 lines
346 B
Makefile
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
.if exists(${.CURDIR}/${MACHINE_ARCH})
|
|
SUBDIR+= ${MACHINE_ARCH}
|
|
.else
|
|
SUBDIR+= ${MACHINE_CPUARCH}
|
|
.endif
|
|
|
|
.if ${MACHINE_ARCH} == "aarch64" || ${MACHINE_ARCH} == "amd64" || \
|
|
${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "powerpc64"
|
|
HAS_TESTS=
|
|
SUBDIR.${MK_TESTS}+= tests
|
|
.endif
|
|
|
|
.include <bsd.subdir.mk>
|