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