xref: /netbsd-src/lib/libc_fp/Makefile (revision cef8759bd76c1b621f8eab8faa6f208faabc2e15)
1#	$NetBSD: Makefile,v 1.1 2016/07/14 01:59:18 matt 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