cancel previous change, and add a comment about it.

$INCS variable is introduced by cgd to export kernel headers which
are needed from userland. In other words, $INC should only have
headers for kernel <-> userland programming interface.
Headers for kernel internal implementation should not be exported
to userland.
This commit is contained in:
soda 2000-03-31 11:44:05 +00:00
parent c2acbd102b
commit 18dbe75d6e
1 changed files with 10 additions and 9 deletions

View File

@ -1,15 +1,16 @@
# $NetBSD: Makefile,v 1.13 2000/03/30 21:33:19 soren Exp $
# $NetBSD: Makefile,v 1.14 2000/03/31 11:44:05 soda Exp $
KDIR= /sys/arch/arc/include
INCSDIR= /usr/include/arc
INCS= ansi.h aout_machdep.h asm.h autoconf.h bsd-aout.h bswap.h bus.h \
cdefs.h cpu.h cpuregs.h db_machdep.h disklabel.h display.h \
ecoff_machdep.h elf_machdep.h endian.h endian_machdep.h float.h \
ieee.h ieeefp.h intr.h isa_machdep.h isapnp_machdep.h joystick.h \
kbdreg.h kcore.h kdbparam.h limits.h math.h mips_opcode.h mouse.h \
param.h pcb.h pccons.h pio.h pmap.h proc.h profile.h psl.h pte.h \
ptrace.h reg.h regdef.h regnum.h reloc.h setjmp.h signal.h stdarg.h \
trap.h types.h varargs.h vmparam.h
# Header files which are needed from userland.
INCS= ansi.h aout_machdep.h asm.h autoconf.h bswap.h bsd-aout.h \
cdefs.h cpu.h cpuregs.h disklabel.h display.h ecoff_machdep.h \
elf_machdep.h endian.h endian_machdep.h float.h ieee.h ieeefp.h \
kcore.h kdbparam.h limits.h math.h mips_opcode.h \
mouse.h param.h pcb.h pccons.h pmap.h proc.h profile.h psl.h \
pte.h ptrace.h reg.h regdef.h regnum.h reloc.h setjmp.h signal.h \
stdarg.h trap.h types.h varargs.h vmparam.h
.include <bsd.kinc.mk>