blob: ffe38f173df5396084a64f8f11f79c2fce2463ba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# $NetBSD: Makefile,v 1.1 2022/05/30 15:06:55 rin Exp $
#
# libc routines with strictly aligned memory access
USE_SHLIBDIR= yes
.include <bsd.own.mk>
LIBC_MACHINE_CPU?= ${MACHINE_CPU}
.if exists(arch/${LIBC_MACHINE_CPU})
.include "arch/${LIBC_MACHINE_CPU}/Makefile.inc"
.PATH: ${.CURDIR}/arch/${LIBC_MACHINE_CPU}
.elif exists(arch/${MACHINE_ARCH})
.include "arch/${MACHINE_ARCH}/Makefile.inc"
.PATH: ${.CURDIR}/arch/${MACHINE_ARCH}
.elif exists(arch/${MACHINE}
.include "arch/${MACHINE}/Makefile.inc"
.PATH: ${.CURDIR}/arch/${MACHINE}
.endif
.if !empty(SRCS)
LIB?= c_aligned
.include <bsd.lib.mk>
.endif
|