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