2001-11-13 21:55:00 +03:00
|
|
|
# $NetBSD: Makefile,v 1.9 2001/11/13 18:55:00 tv Exp $
|
1997-05-19 00:14:21 +04:00
|
|
|
|
|
|
|
LIB= posix
|
|
|
|
|
1999-08-21 07:28:54 +04:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
1997-10-23 06:53:50 +04:00
|
|
|
CPPFLAGS+=-D_REENTRANT -I${.CURDIR}/../libc/include
|
2001-01-08 11:29:59 +03:00
|
|
|
.if exists(${.CURDIR}/../libc/arch/${MACHINE_ARCH})
|
1999-02-24 18:10:16 +03:00
|
|
|
ARCHDIR= ${.CURDIR}/../libc/arch/${MACHINE_ARCH}
|
2001-01-08 11:29:59 +03:00
|
|
|
.elif exists(${.CURDIR}/../libc/arch/${MACHINE_CPU})
|
|
|
|
ARCHDIR= ${.CURDIR}/../libc/arch/${MACHINE_CPU}
|
|
|
|
.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
|
|
|
|
1999-02-24 18:10:16 +03:00
|
|
|
AINC= -I${ARCHDIR}
|
1997-05-19 00:14:21 +04:00
|
|
|
|
|
|
|
.include "${.CURDIR}/sys/Makefile.inc"
|
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|