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