Remove building with NOCRYPTO option
[minix3.git] / lib / libc / libcincludes.mk
blob32b0b31253f6b8e224d306571850f5f746dc7642
1 # $NetBSD: libcincludes.mk,v 1.2 2014/08/10 23:39:08 matt Exp $
3 # Makefile fragment shared across several parts that want to look
4 # inside libc's include tree.
6 LIBC_MACHINE_ARCH?= ${MACHINE_ARCH}
7 LIBC_MACHINE_CPU?= ${MACHINE_CPU}
9 .if defined(LIBC_MACHINE_ARCH) && \
10 exists(${NETBSDSRCDIR}/lib/libc/arch/${LIBC_MACHINE_ARCH}/SYS.h)
11 ARCHSUBDIR= ${LIBC_MACHINE_ARCH}
12 .elif exists(${NETBSDSRCDIR}/lib/libc/arch/${LIBC_MACHINE_CPU}/SYS.h)
13 ARCHSUBDIR= ${LIBC_MACHINE_CPU}
14 .else
15 .BEGIN:
16 @echo no ARCHDIR for ${LIBC_MACHINE_ARCH} nor ${LIBC_MACHINE_CPU}
17 @false
18 .endif
20 ARCHDIR= ${NETBSDSRCDIR}/lib/libc/arch/${ARCHSUBDIR}