Annotation of src/lib/csu/Makefile, Revision 1.35
1.35 ! matt 1: # $NetBSD: Makefile,v 1.34 2014/04/22 13:20:58 joerg Exp $
1.6 cgd 2:
1.13 christos 3: .include <bsd.own.mk>
4:
1.33 matt 5: CSU_MACHINE_ARCH?= ${MACHINE_ARCH}
1.35 ! matt 6: CSU_MACHINE_CPU?= ${MACHINE_CPU}
1.33 matt 7:
8: .if !empty(CSU_MACHINE_ARCH:Mearm*)
9: ARCHDIR:= ${.CURDIR}/arch/earm
10: .elif exists(${.CURDIR}/arch/${CSU_MACHINE_ARCH}/Makefile.inc)
11: ARCHDIR:= ${.CURDIR}/arch/${CSU_MACHINE_ARCH}
1.35 ! matt 12: .elif exists(${.CURDIR}/arch/${CSU_MACHINE_CPU}/Makefile.inc)
! 13: ARCHDIR:= ${.CURDIR}/arch/${CSU_MACHINE_CPU}
1.30 joerg 14: .else
1.35 ! matt 15: .error Architecture (${CSU_MACHINE_ARCH} or ${CSU_MACHINE_CPU}) unsupported
1.30 joerg 16: .endif
1.28 skrll 17:
1.31 joerg 18:
1.27 joerg 19: .PATH: ${ARCHDIR}
1.34 joerg 20: .include "${ARCHDIR}/Makefile.inc"
21: .include "${.CURDIR}/common/Makefile.inc"
CVSweb <webmaster@jp.NetBSD.org>