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