]> git.saurik.com Git - apple/xnu.git/blob - bsd/sys/Makefile
xnu-1228.0.2.tar.gz
[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 # Installs header file for user level -
23 # $(DSTROOT)/System/Library/Frameworks/System.framework/Headers
24 # $(DSTROOT)/System/Library/Frameworks/System.framework/PrivateHeaders
25 # $(DSTROOT)/usr/include/
26 DATAFILES = \
27 appleapiopts.h acct.h aio.h attr.h \
28 buf.h cdefs.h conf.h \
29 dir.h dirent.h disk.h dkstat.h dtrace.h dtrace_glue.h dtrace_impl.h \
30 errno.h ev.h event.h fasttrap.h fasttrap_isa.h fcntl.h file.h filedesc.h filio.h gmon.h \
31 ioccom.h ioctl.h \
32 ioctl_compat.h ipc.h kernel.h kernel_types.h kern_event.h loadable_fs.h lock.h lockf.h \
33 kauth.h kdebug.h kern_control.h kern_memorystatus.h lctx.h malloc.h \
34 mbuf.h mman.h mount.h msg.h msgbuf.h mtio.h netport.h param.h paths.h pipe.h poll.h \
35 proc.h proc_info.h ptrace.h queue.h quota.h random.h reboot.h resource.h resourcevar.h \
36 sbuf.h posix_sem.h posix_shm.h sdt.h \
37 select.h sem.h semaphore.h shm.h signal.h signalvar.h socket.h socketvar.h sockio.h stat.h \
38 syscall.h sysctl.h syslimits.h syslog.h sys_domain.h termios.h time.h \
39 timeb.h times.h tprintf.h trace.h tty.h ttychars.h ttycom.h \
40 ttydefaults.h ttydev.h types.h ubc.h ucontext.h ucred.h uio.h un.h unistd.h unpcb.h \
41 user.h utfconv.h utsname.h vadvise.h vcmd.h \
42 vm.h vmmeter.h vmparam.h vnioctl.h vnode.h vnode_if.h vstat.h wait.h xattr.h \
43 _select.h _structs.h _types.h _endian.h domain.h protosw.h \
44 spawn.h
45
46 # Installs header file for Apple internal use in user level -
47 # $(DSTROOT)/System/Library/Frameworks/System.framework/PrivateHeaders
48 PRIVATE_DATAFILES = \
49 codesign.h \
50 disklabel.h \
51 fslog.h \
52 ipcs.h \
53 shm_internal.h \
54 spawn_internal.h \
55 ux_exception.h \
56 proc_info.h \
57 vnioctl.h
58
59 # Installs header file for kernel extensions -
60 # $(DSTROOT)/System/Library/Frameworks/Kernel.framework/Headers
61 # $(DSTROOT)/System/Library/Frameworks/Kernel.framework/PrivateHeaders
62 KERNELFILES = \
63 appleapiopts.h attr.h \
64 buf.h cdefs.h conf.h \
65 dir.h dirent.h disk.h disklabel.h dkstat.h \
66 errno.h ev.h event.h fcntl.h file.h filedesc.h filio.h \
67 ioccom.h ioctl.h ipc.h \
68 ioctl_compat.h kernel.h kernel_types.h kern_event.h lctx.h lock.h lockf.h \
69 kauth.h kdebug.h md5.h kern_control.h kern_memorystatus.h imgact.h malloc.h namei.h \
70 mman.h mbuf.h mount.h mtio.h netport.h param.h paths.h \
71 proc.h queue.h quota.h random.h resource.h resourcevar.h \
72 sbuf.h posix_sem.h posix_shm.h sem.h shm.h \
73 select.h signal.h socket.h socketvar.h sockio.h stat.h \
74 sysctl.h syslimits.h syslog.h systm.h sys_domain.h time.h \
75 types.h ubc.h ucontext.h ucred.h uio.h un.h unistd.h unpcb.h \
76 utfconv.h vm.h vmparam.h vnode.h vnode_if.h xattr.h \
77 _select.h _structs.h _types.h _endian.h protosw.h domain.h \
78 kpi_mbuf.h kpi_socket.h kpi_socketfilter.h \
79 ttycom.h termios.h msg.h \
80 pipe.h sysproto.h semaphore.h wait.h \
81 spawn.h
82 # The last line was added to export needed headers for the MAC calls
83 # whose source is outside of the xnu/bsd tree.
84
85
86 # Installs header file for Apple internal use for kernel extensions -
87 # $(DSTROOT)/System/Library/Frameworks/Kernel.framework/PrivateHeaders
88 PRIVATE_KERNELFILES = \
89 disktab.h \
90 fbt.h \
91 file_internal.h \
92 fslog.h \
93 mach_swapon.h \
94 msgbuf.h \
95 eventvar.h \
96 mount_internal.h \
97 proc_internal.h \
98 vnode_internal.h \
99 sem_internal.h \
100 shm_internal.h \
101 signalvar.h \
102 tty.h ttychars.h \
103 ttydefaults.h ttydev.h \
104 user.h \
105 ubc_internal.h \
106 uio_internal.h \
107 vfs_context.h \
108 vmmeter.h \
109 spawn_internal.h
110
111
112 # /System/Library/Frameworks/System.framework/Headers and /usr/include
113 INSTALL_MI_LIST = ${DATAFILES}
114
115 INSTALL_MI_DIR = sys
116
117 EXPORT_MI_LIST = ${KERNELFILES} ${PRIVATE_KERNELFILES} syscall.h linker_set.h bsdtask_info.h
118
119 EXPORT_MI_DIR = sys
120
121 # /System/Library/Frameworks/System.framework/PrivateHeaders
122 INSTALL_MI_LCL_LIST = ${DATAFILES} ${PRIVATE_DATAFILES}
123
124 # /System/Library/Frameworks/Kernel.framework/PrivateHeaders
125 INSTALL_KF_MI_LCL_LIST = ${KERNELFILES} ${PRIVATE_KERNELFILES}
126
127 # /System/Library/Frameworks/Kernel.framework/Headers
128 INSTALL_KF_MI_LIST = ${KERNELFILES}
129
130 include $(MakeInc_rule)
131 include $(MakeInc_dir)
132
133