xref: /freebsd/share/mk/bsd.arch.inc.mk (revision 732a02b4e77866604a120a275c082bb6221bd2ff)
1#
2# Include the arch-specific Makefile.inc.$ARCH.  We go from most specific
3# to least specific, stopping after we get a hit.
4#
5.if exists(${.CURDIR}/Makefile.${MACHINE})
6.include "Makefile.${MACHINE}"
7.elif exists(${.CURDIR}/Makefile.${MACHINE_ARCH})
8.include "Makefile.${MACHINE_ARCH}"
9.elif exists(${.CURDIR}/Makefile.${MACHINE_CPUARCH})
10.include "Makefile.${MACHINE_CPUARCH}"
11.endif
12