minix/lib/libc/compat/Makefile.inc
Lionel Sambuc 9a2e578a5c Remove sys/stdlib.h
This file was copied over to allow for the compilation of some
of the arch/i386 code, due to a bug in lib/libc/compat/Makefile.inc.

This patch fixes the situation, and removes the now useless header, as
well as remove a patch in lib/libc/stdlib/putenv.c

Change-Id: Ic5e4c4bb967f58f6e874c091788e1dd5ecaebe5e
2014-03-02 12:28:31 +01:00

24 lines
758 B
Makefile

# $NetBSD: Makefile.inc,v 1.7 2012/01/22 18:36:16 christos Exp $
CPPFLAGS+= -I${NETBSDSRCDIR}/sys
COMPATARCHDIR=${COMPATDIR}/arch/${ARCHSUBDIR}
.PATH: ${COMPATARCHDIR}/gen ${COMPATARCHDIR}/sys
.if !defined(__MINIX)
.include "${COMPATDIR}/db/Makefile.inc"
.include "${COMPATDIR}/locale/Makefile.inc"
.endif #!defined(__MINIX)
.include "${COMPATDIR}/gen/Makefile.inc"
.if !defined(__MINIX)
.include "${COMPATDIR}/net/Makefile.inc"
.include "${COMPATDIR}/rpc/Makefile.inc"
.include "${COMPATDIR}/stdio/Makefile.inc"
.endif #!defined(__MINIX)
.include "${COMPATDIR}/stdlib/Makefile.inc"
.if !defined(__MINIX)
.include "${COMPATDIR}/sys/Makefile.inc"
.include "${COMPATDIR}/time/Makefile.inc"
.include "${COMPATARCHDIR}/Makefile.inc"
.endif #!defined(__MINIX)