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