Remove building with NOCRYPTO option
[minix.git] / lib / csu / Makefile
blob8659714a554cb8d2727443174d6c21f750faf9dc
1 # $NetBSD: Makefile,v 1.35 2014/08/10 23:25:49 matt Exp $
3 .include <bsd.own.mk>
5 .if defined(__MINIX)
6 USE_BITCODE:= no
7 .endif # defined(__MINIX)
9 CSU_MACHINE_ARCH?= ${MACHINE_ARCH}
10 CSU_MACHINE_CPU?= ${MACHINE_CPU}
12 .if !empty(CSU_MACHINE_ARCH:Mearm*)
13 ARCHDIR:= ${.CURDIR}/arch/earm
14 .elif exists(${.CURDIR}/arch/${CSU_MACHINE_ARCH}/Makefile.inc)
15 ARCHDIR:= ${.CURDIR}/arch/${CSU_MACHINE_ARCH}
16 .elif exists(${.CURDIR}/arch/${CSU_MACHINE_CPU}/Makefile.inc)
17 ARCHDIR:= ${.CURDIR}/arch/${CSU_MACHINE_CPU}
18 .else
19 .error Architecture (${CSU_MACHINE_ARCH} or ${CSU_MACHINE_CPU}) unsupported
20 .endif
23 .PATH: ${ARCHDIR}
24 .include "${ARCHDIR}/Makefile.inc"
25 .include "${.CURDIR}/common/Makefile.inc"