NetBSD/lib/libposix/Makefile

26 lines
630 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.12 2004/04/18 04:31:51 lukem Exp $
1997-05-19 00:14:21 +04:00
LIB= posix
.include <bsd.own.mk>
# This library replaces routines in libc; no sense in warning about it.
LLIBS=
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}
.else
.BEGIN:
@echo no ARCHDIR for ${MACHINE_ARCH} nor ${MACHINE_CPU}
@false
.endif
AFLAGS+=-I${ARCHDIR}
1997-05-19 00:14:21 +04:00
.include "${.CURDIR}/sys/Makefile.inc"
.include <bsd.lib.mk>