vm: fix a null dereference on out-of-memory
[minix.git] / include / Makefile
blobc34bb2d69f9133629047612931bc17085b81f683
1 # $NetBSD: Makefile,v 1.133 2010/07/31 21:47:53 joerg Exp $
2 # @(#)Makefile 8.2 (Berkeley) 1/4/94
4 # Doing a make includes builds /usr/include
6 NOOBJ= # defined
8 # Missing: mp.h
10 .if defined(__MINIX)
11 # Avoid installing: kvm.h lwp.h sa.h (latter not installed anyway)
12 INCS= a.out.h aio.h ar.h assert.h atomic.h \
13 bitstring.h bm.h cdbr.h cdbw.h complex.h cpio.h ctype.h \
14 db.h dirent.h disktab.h dlfcn.h err.h errno.h fenv.h fmtmsg.h fnmatch.h \
15 fstab.h fts.h ftw.h getopt.h glob.h grp.h ifaddrs.h iconv.h \
16 inttypes.h iso646.h langinfo.h libgen.h \
17 limits.h link.h link_aout.h link_elf.h locale.h \
18 login_cap.h malloc.h math.h md2.h \
19 memory.h mntopts.h monetary.h mpool.h mqueue.h \
20 ndbm.h netconfig.h netdb.h netgroup.h nlist.h nl_types.h nsswitch.h \
21 paths.h pwd.h randomid.h ranlib.h re_comp.h regex.h regexp.h \
22 resolv.h res_update.h rmt.h sched.h search.h semaphore.h setjmp.h \
23 sgtty.h signal.h stab.h stdbool.h stddef.h stdio.h stdlib.h string.h \
24 strings.h stringlist.h struct.h sysexits.h tar.h time.h \
25 ttyent.h tzfile.h ucontext.h ulimit.h unistd.h util.h utime.h utmp.h \
26 utmpx.h uuid.h varargs.h vis.h wchar.h wctype.h wordexp.h
28 .else
29 INCS= a.out.h aio.h ar.h assert.h atomic.h \
30 bitstring.h bm.h cdbr.h cdbw.h complex.h cpio.h ctype.h \
31 db.h dirent.h disktab.h dlfcn.h err.h errno.h fenv.h fmtmsg.h fnmatch.h \
32 fstab.h fts.h ftw.h getopt.h glob.h grp.h ifaddrs.h iconv.h \
33 inttypes.h iso646.h kvm.h langinfo.h libgen.h \
34 limits.h link.h link_aout.h link_elf.h locale.h \
35 login_cap.h lwp.h malloc.h math.h md2.h \
36 memory.h mntopts.h monetary.h mpool.h mqueue.h \
37 ndbm.h netconfig.h netdb.h netgroup.h nlist.h nl_types.h nsswitch.h \
38 paths.h pwd.h randomid.h ranlib.h re_comp.h regex.h regexp.h \
39 resolv.h res_update.h rmt.h sched.h search.h semaphore.h setjmp.h \
40 sgtty.h signal.h stab.h stdbool.h stddef.h stdio.h stdlib.h string.h \
41 strings.h stringlist.h struct.h sysexits.h tar.h time.h \
42 ttyent.h tzfile.h ucontext.h ulimit.h unistd.h util.h utime.h utmp.h \
43 utmpx.h uuid.h varargs.h vis.h wchar.h wctype.h wordexp.h
44 .endif
45 INCS+= arpa/ftp.h arpa/inet.h arpa/nameser.h arpa/nameser_compat.h \
46 arpa/telnet.h arpa/tftp.h
47 INCS+= protocols/dumprestore.h protocols/routed.h protocols/rwhod.h \
48 protocols/talkd.h protocols/timed.h
50 INCS+= hesiod.h
52 INCS+= rpcsvc/yp_prot.h rpcsvc/ypclnt.h
54 INCS+= ssp/ssp.h ssp/stdio.h ssp/string.h ssp/strings.h ssp/unistd.h
56 .if (${MACHINE_ARCH} != "vax")
57 INCS+= ieeefp.h
58 .endif
60 .include <bsd.own.mk>
63 INCSDIR= /usr/include
65 .if defined(__MINIX)
66 # RPC is not compiled in the libc. This include also needs
67 # rpcgen, which can be compiled if needed.
68 .else
69 SUBDIR= rpc
70 .endif
71 .if defined(__MINIX)
72 SUBDIR+= prop
73 .else
74 SUBDIR+= ../common/include/prop
75 .endif
77 .if defined(__MINIX)
78 .include "Makefile.minix.inc"
79 SUBDIR+= arch/${MACHINE_ARCH}
80 SUBDIR+= arch sys minix
81 SUBDIR+= net netinet netinet6
82 .endif
84 .include <bsd.prog.mk>
85 .include <bsd.subdir.mk>