]>
Commit | Line | Data |
---|---|---|
1c79356b A |
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 | ||
2d21ac55 A |
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/ | |
1c79356b | 26 | DATAFILES = \ |
55e303ae | 27 | appleapiopts.h acct.h aio.h attr.h \ |
91447636 | 28 | buf.h cdefs.h conf.h \ |
2d21ac55 A |
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 \ | |
91447636 A |
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 \ | |
2d21ac55 | 33 | kauth.h kdebug.h kern_control.h kern_memorystatus.h lctx.h malloc.h \ |
91447636 | 34 | mbuf.h mman.h mount.h msg.h msgbuf.h mtio.h netport.h param.h paths.h pipe.h poll.h \ |
2d21ac55 A |
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 \ | |
9bccf70c | 37 | select.h sem.h semaphore.h shm.h signal.h signalvar.h socket.h socketvar.h sockio.h stat.h \ |
91447636 | 38 | syscall.h sysctl.h syslimits.h syslog.h sys_domain.h termios.h time.h \ |
1c79356b | 39 | timeb.h times.h tprintf.h trace.h tty.h ttychars.h ttycom.h \ |
9bccf70c | 40 | ttydefaults.h ttydev.h types.h ubc.h ucontext.h ucred.h uio.h un.h unistd.h unpcb.h \ |
2d21ac55 | 41 | user.h utfconv.h utsname.h vadvise.h vcmd.h \ |
91447636 | 42 | vm.h vmmeter.h vmparam.h vnioctl.h vnode.h vnode_if.h vstat.h wait.h xattr.h \ |
2d21ac55 A |
43 | _select.h _structs.h _types.h _endian.h domain.h protosw.h \ |
44 | spawn.h | |
91447636 | 45 | |
2d21ac55 A |
46 | # Installs header file for Apple internal use in user level - |
47 | # $(DSTROOT)/System/Library/Frameworks/System.framework/PrivateHeaders | |
91447636 | 48 | PRIVATE_DATAFILES = \ |
2d21ac55 | 49 | codesign.h \ |
91447636 | 50 | disklabel.h \ |
2d21ac55 | 51 | fslog.h \ |
91447636 | 52 | ipcs.h \ |
91447636 | 53 | shm_internal.h \ |
2d21ac55 | 54 | spawn_internal.h \ |
91447636 | 55 | ux_exception.h \ |
0c530ab8 | 56 | proc_info.h \ |
91447636 A |
57 | vnioctl.h |
58 | ||
2d21ac55 A |
59 | # Installs header file for kernel extensions - |
60 | # $(DSTROOT)/System/Library/Frameworks/Kernel.framework/Headers | |
61 | # $(DSTROOT)/System/Library/Frameworks/Kernel.framework/PrivateHeaders | |
91447636 A |
62 | KERNELFILES = \ |
63 | appleapiopts.h attr.h \ | |
64 | buf.h cdefs.h conf.h \ | |
2d21ac55 | 65 | dir.h dirent.h disk.h disklabel.h dkstat.h \ |
91447636 | 66 | errno.h ev.h event.h fcntl.h file.h filedesc.h filio.h \ |
2d21ac55 A |
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 \ | |
91447636 A |
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 \ | |
2d21ac55 | 72 | sbuf.h posix_sem.h posix_shm.h sem.h shm.h \ |
91447636 A |
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 \ | |
2d21ac55 A |
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 \ | |
91447636 | 78 | kpi_mbuf.h kpi_socket.h kpi_socketfilter.h \ |
2d21ac55 A |
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. | |
91447636 A |
84 | |
85 | ||
2d21ac55 A |
86 | # Installs header file for Apple internal use for kernel extensions - |
87 | # $(DSTROOT)/System/Library/Frameworks/Kernel.framework/PrivateHeaders | |
91447636 A |
88 | PRIVATE_KERNELFILES = \ |
89 | disktab.h \ | |
2d21ac55 | 90 | fbt.h \ |
91447636 | 91 | file_internal.h \ |
2d21ac55 | 92 | fslog.h \ |
91447636 A |
93 | mach_swapon.h \ |
94 | msgbuf.h \ | |
95 | eventvar.h \ | |
96 | mount_internal.h \ | |
97 | proc_internal.h \ | |
91447636 | 98 | vnode_internal.h \ |
2d21ac55 A |
99 | sem_internal.h \ |
100 | shm_internal.h \ | |
91447636 A |
101 | signalvar.h \ |
102 | tty.h ttychars.h \ | |
103 | ttydefaults.h ttydev.h \ | |
104 | user.h \ | |
105 | ubc_internal.h \ | |
106 | uio_internal.h \ | |
2d21ac55 A |
107 | vfs_context.h \ |
108 | vmmeter.h \ | |
109 | spawn_internal.h | |
91447636 | 110 | |
1c79356b | 111 | |
2d21ac55 | 112 | # /System/Library/Frameworks/System.framework/Headers and /usr/include |
1c79356b A |
113 | INSTALL_MI_LIST = ${DATAFILES} |
114 | ||
115 | INSTALL_MI_DIR = sys | |
116 | ||
2d21ac55 | 117 | EXPORT_MI_LIST = ${KERNELFILES} ${PRIVATE_KERNELFILES} syscall.h linker_set.h bsdtask_info.h |
1c79356b A |
118 | |
119 | EXPORT_MI_DIR = sys | |
120 | ||
91447636 A |
121 | # /System/Library/Frameworks/System.framework/PrivateHeaders |
122 | INSTALL_MI_LCL_LIST = ${DATAFILES} ${PRIVATE_DATAFILES} | |
123 | ||
124 | # /System/Library/Frameworks/Kernel.framework/PrivateHeaders | |
91447636 A |
125 | INSTALL_KF_MI_LCL_LIST = ${KERNELFILES} ${PRIVATE_KERNELFILES} |
126 | ||
127 | # /System/Library/Frameworks/Kernel.framework/Headers | |
91447636 | 128 | INSTALL_KF_MI_LIST = ${KERNELFILES} |
1c79356b A |
129 | |
130 | include $(MakeInc_rule) | |
131 | include $(MakeInc_dir) | |
132 | ||
133 |