1 1.2 riastrad # $NetBSD: Makefile,v 1.2 2023/09/04 18:16:53 riastradh Exp $ 2 1.1 matt # 3 1.1 matt 4 1.1 matt USE_SHLIBDIR= yes 5 1.1 matt 6 1.1 matt .include <bsd.own.mk> 7 1.1 matt 8 1.1 matt LIBC_MACHINE_CPU?= ${MACHINE_CPU} 9 1.1 matt 10 1.1 matt .if exists(arch/${LIBC_MACHINE_CPU}) 11 1.1 matt .include "arch/${LIBC_MACHINE_CPU}/Makefile.inc" 12 1.1 matt .PATH: ${.CURDIR}/arch/${LIBC_MACHINE_CPU} 13 1.1 matt .elif exists(arch/${MACHINE_ARCH}) 14 1.1 matt .include "arch/${MACHINE_ARCH}/Makefile.inc" 15 1.1 matt .PATH: ${.CURDIR}/arch/${MACHINE_ARCH} 16 1.2 riastrad .elif exists(arch/${MACHINE}) 17 1.1 matt .include "arch/${MACHINE}/Makefile.inc" 18 1.1 matt .PATH: ${.CURDIR}/arch/${MACHINE} 19 1.1 matt .endif 20 1.1 matt 21 1.1 matt .if !empty(SRCS) 22 1.1 matt 23 1.1 matt LIB?= c_fp 24 1.1 matt 25 1.1 matt .include <bsd.lib.mk> 26 1.1 matt .endif 27