Makefile.inc revision 1.15
11.15Srillig# $NetBSD: Makefile.inc,v 1.15 2021/08/07 17:38:41 rillig Exp $ 21.9Sthorpej 31.9Sthorpej.include <bsd.own.mk> 41.4Sjmc 51.7Sthorpej.PATH: ${.CURDIR}/../common 61.7Sthorpej 71.12Smrg# Special cases first, then check for a MACHINE_ARCH specific 81.12Smrg# subdir before looking for MACHINE_CPU. 91.13Smatt.if exists(${.CURDIR}/../arch/${MACHINE_ARCH}) 101.12SmrgARCHSUBDIR= ${MACHINE_ARCH} 111.13Smatt.elif exists(${.CURDIR}/../arch/${MACHINE_ARCH:C/e[lb]$//}) 121.13SmattARCHSUBDIR= ${MACHINE_ARCH:C/e[lb]$//} 131.8Sthorpej.else 141.8SthorpejARCHSUBDIR= ${MACHINE_CPU} 151.8Sthorpej.endif 161.8Sthorpej 171.8SthorpejCPPFLAGS+= -I${.CURDIR}/../arch/${ARCHSUBDIR} 181.7SthorpejCPPFLAGS+= -I${.CURDIR}/../common 191.1Slukem 201.15SrilligCLEANFILES+= *.gcno *.gcda *.gcov 211.15Srillig 221.2Sveego.if exists(${.CURDIR}/../../Makefile.inc) 231.1Slukem.include "${.CURDIR}/../../Makefile.inc" 241.1Slukem.endif 25