freebsd-skq/share/mk/bsd.arch.inc.mk
imp 9dd810b3d0 Include Makefile.$MACHINE, if it exists, otherwise
Include Makefile.$MACHINE_ARCH, if it exists, otherwise
Include Makefile.$MACHINE_CPUARCH, if it exists, otherwise
do nothing
2010-02-17 23:47:08 +00:00

12 lines
387 B
Makefile

#
# Include the arch-specific Makefile.inc.$ARCH. We go from most specific
# to least specific, stopping after we get a hit.
#
.if exists(${.CURDIR}/Makefile.${MACHINE})
.include "Makefile.${MACHINE}"
.elif exists(${.CURDIR}/Makefile.${MACHINE_ARCH})
.include "Makefile.${MACHINE_ARCH}"
.elif exists(${.CURDIR}/Makefile.${MACHINE_CPUARCH})
.include "Makefile.${MACHINE_CPUARCH}"
.endif