]> git.saurik.com Git - apple/xnu.git/blob - bsd/sys/Makefile
5e10aaed1359eea63a234b99c4ee9b92690d5802
[apple/xnu.git] / bsd / sys / Makefile
1 export MakeInc_cmd=${SRCROOT}/makedefs/MakeInc.cmd
2 export MakeInc_def=${SRCROOT}/makedefs/MakeInc.def
3 export MakeInc_rule=${SRCROOT}/makedefs/MakeInc.rule
4 export MakeInc_dir=${SRCROOT}/makedefs/MakeInc.dir
5
6
7 include $(MakeInc_cmd)
8 include $(MakeInc_def)
9
10 INSTINC_SUBDIRS = \
11
12 INSTINC_SUBDIRS_PPC = \
13
14 INSTINC_SUBDIRS_I386 = \
15
16 EXPINC_SUBDIRS = \
17
18 EXPINC_SUBDIRS_PPC = \
19
20 EXPINC_SUBDIRS_I386 = \
21
22 # In both the framework PrivateHeader area and /usr/include/sys
23 DATAFILES = \
24 appleapiopts.h acct.h aio.h attr.h \
25 buf.h cdefs.h conf.h \
26 dir.h dirent.h disk.h dkstat.h \
27 errno.h ev.h event.h fcntl.h file.h filedesc.h filio.h gmon.h \
28 ioccom.h ioctl.h \
29 ioctl_compat.h ipc.h kernel.h kernel_types.h kern_event.h loadable_fs.h lock.h lockf.h \
30 kauth.h kdebug.h md5.h kern_control.h malloc.h \
31 mbuf.h mman.h mount.h msg.h msgbuf.h mtio.h netport.h param.h paths.h pipe.h poll.h \
32 proc.h ptrace.h queue.h quota.h random.h reboot.h resource.h resourcevar.h \
33 select.h sem.h semaphore.h shm.h signal.h signalvar.h socket.h socketvar.h sockio.h stat.h \
34 syscall.h sysctl.h syslimits.h syslog.h sys_domain.h termios.h time.h \
35 timeb.h times.h tprintf.h trace.h tty.h ttychars.h ttycom.h \
36 ttydefaults.h ttydev.h types.h ubc.h ucontext.h ucred.h uio.h un.h unistd.h unpcb.h \
37 user.h utfconv.h utsname.h vadvise.h vcmd.h version.h \
38 vm.h vmmeter.h vmparam.h vnioctl.h vnode.h vnode_if.h vstat.h wait.h xattr.h \
39 _types.h _endian.h domain.h protosw.h
40
41 # Only in the framework PrivateHeader area
42 PRIVATE_DATAFILES = \
43 disklabel.h \
44 ipcs.h \
45 sem_internal.h \
46 shm_internal.h \
47 ux_exception.h \
48 ktrace.h \
49 proc_info.h \
50 vnioctl.h
51
52 # KERNELFILES will appear only in the kernel framework
53 KERNELFILES = \
54 appleapiopts.h attr.h \
55 buf.h cdefs.h conf.h \
56 dir.h dirent.h disk.h dkstat.h \
57 errno.h ev.h event.h fcntl.h file.h filedesc.h filio.h \
58 ioccom.h ioctl.h \
59 ioctl_compat.h kernel.h kernel_types.h kern_event.h lock.h lockf.h \
60 kauth.h kdebug.h md5.h kern_control.h malloc.h namei.h \
61 mman.h mbuf.h mount.h mtio.h netport.h param.h paths.h \
62 proc.h queue.h quota.h random.h resource.h resourcevar.h \
63 select.h signal.h socket.h socketvar.h sockio.h stat.h \
64 sysctl.h syslimits.h syslog.h systm.h sys_domain.h time.h \
65 types.h ubc.h ucontext.h ucred.h uio.h un.h unistd.h unpcb.h \
66 utfconv.h version.h \
67 vm.h vmparam.h vnode.h vnode_if.h xattr.h \
68 _types.h _endian.h protosw.h domain.h \
69 kpi_mbuf.h kpi_socket.h kpi_socketfilter.h \
70 ttycom.h termios.h
71
72
73 # Only in the private kernel framework
74 PRIVATE_KERNELFILES = \
75 disktab.h \
76 file_internal.h \
77 mach_swapon.h \
78 msgbuf.h \
79 eventvar.h \
80 mount_internal.h \
81 proc_internal.h \
82 ptrace_internal.h \
83 vnode_internal.h \
84 signalvar.h \
85 tty.h ttychars.h \
86 ttydefaults.h ttydev.h \
87 user.h \
88 ubc_internal.h \
89 uio_internal.h \
90 vfs_context.h
91
92
93 INSTALL_MI_LIST = ${DATAFILES}
94
95 INSTALL_MI_DIR = sys
96
97 EXPORT_MI_LIST = ${KERNELFILES} ${PRIVATE_KERNELFILES} syscall.h ktrace.h linker_set.h bsdtask_info.h
98
99 EXPORT_MI_DIR = sys
100
101 # /System/Library/Frameworks/System.framework/PrivateHeaders
102 INSTALL_MI_LCL_LIST = ${DATAFILES} ${PRIVATE_DATAFILES}
103
104 # /System/Library/Frameworks/Kernel.framework/PrivateHeaders
105
106 INSTALL_KF_MI_LCL_LIST = ${KERNELFILES} ${PRIVATE_KERNELFILES}
107
108 # /System/Library/Frameworks/Kernel.framework/Headers
109
110 INSTALL_KF_MI_LIST = ${KERNELFILES}
111
112 include $(MakeInc_rule)
113 include $(MakeInc_dir)
114
115