Home | History | Annotate | Line # | Download | only in libposix
Makefile revision 1.8
      1  1.8    itojun #	$NetBSD: Makefile,v 1.8 2001/01/08 08:30:00 itojun Exp $
      2  1.2       cjs 
      3  1.1    kleink LIB=	posix
      4  1.6  sommerfe 
      5  1.6  sommerfe .include <bsd.own.mk>
      6  1.1    kleink 
      7  1.4     lukem CPPFLAGS+=-D_REENTRANT -I${.CURDIR}/../libc/include
      8  1.8    itojun .if exists(${.CURDIR}/../libc/arch/${MACHINE_ARCH})
      9  1.8    itojun ARCHDIR=	${.CURDIR}/../libc/arch/${MACHINE_ARCH}
     10  1.8    itojun .elif exists(${.CURDIR}/../libc/arch/${MACHINE_CPU})
     11  1.8    itojun ARCHDIR=	${.CURDIR}/../libc/arch/${MACHINE_CPU}
     12  1.5  drochner .else
     13  1.8    itojun .BEGIN:
     14  1.8    itojun 	@echo no ARCHDIR for ${MACHINE_ARCH} nor ${MACHINE_CPU}
     15  1.8    itojun 	@false
     16  1.5  drochner .endif
     17  1.8    itojun 
     18  1.5  drochner AINC=	-I${ARCHDIR}
     19  1.3       cjs .if defined(DESTDIR)
     20  1.3       cjs AINC+=	-nostdinc -idirafter ${DESTDIR}/usr/include
     21  1.1    kleink .endif
     22  1.1    kleink 
     23  1.1    kleink .include "${.CURDIR}/sys/Makefile.inc"
     24  1.1    kleink 
     25  1.1    kleink .include <bsd.lib.mk>
     26