2004-04-18 08:26:15 +04:00
|
|
|
# $NetBSD: Makefile,v 1.12 2004/04/18 04:31:51 lukem Exp $
|
1997-05-19 00:14:21 +04:00
|
|
|
|
|
|
|
LIB= posix
|
|
|
|
|
1999-08-21 07:28:54 +04:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2002-09-15 01:18:20 +04:00
|
|
|
# This library replaces routines in libc; no sense in warning about it.
|
|
|
|
LLIBS=
|
|
|
|
|
2002-08-19 13:41:27 +04:00
|
|
|
CPPFLAGS+=-D_REENTRANT -I${NETBSDSRCDIR}/lib/libc/include
|
|
|
|
.if exists(${NETBSDSRCDIR}/lib/libc/arch/${MACHINE_ARCH})
|
|
|
|
ARCHDIR= ${NETBSDSRCDIR}/lib/libc/arch/${MACHINE_ARCH}
|
|
|
|
.elif exists(${NETBSDSRCDIR}/lib/libc/arch/${MACHINE_CPU})
|
|
|
|
ARCHDIR= ${NETBSDSRCDIR}/lib/libc/arch/${MACHINE_CPU}
|
2001-01-08 11:29:59 +03:00
|
|
|
.else
|
|
|
|
.BEGIN:
|
|
|
|
@echo no ARCHDIR for ${MACHINE_ARCH} nor ${MACHINE_CPU}
|
|
|
|
@false
|
1999-02-24 18:10:16 +03:00
|
|
|
.endif
|
2001-01-08 11:29:59 +03:00
|
|
|
|
2004-04-18 08:26:15 +04:00
|
|
|
AFLAGS+=-I${ARCHDIR}
|
1997-05-19 00:14:21 +04:00
|
|
|
|
|
|
|
.include "${.CURDIR}/sys/Makefile.inc"
|
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|