xref: /xnu-8796.121.2/bsd/sys/_types/Makefile (revision c54f35ca767986246321eb901baf8f5ff7923f6a)
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
6include $(MakeInc_cmd)
7include $(MakeInc_def)
8
9INSTINC_SUBDIRS =
10
11EXPINC_SUBDIRS =
12
13# Installs header file for user level -
14#	  $(DSTROOT)/System/Library/Frameworks/System.framework/Headers
15#	  $(DSTROOT)/System/Library/Frameworks/System.framework/PrivateHeaders
16#	  $(DSTROOT)/usr/include/
17# These are covered by ../darwin_posix_sys_types.modulemap.
18DATAFILES = \
19	_blkcnt_t.h \
20	_blksize_t.h \
21	_caddr_t.h \
22	_clock_t.h \
23	_ct_rune_t.h \
24	_dev_t.h \
25	_errno_t.h \
26	_fd_clr.h \
27	_fd_copy.h \
28	_fd_def.h \
29	_fd_isset.h \
30	_fd_set.h \
31	_fd_setsize.h \
32	_fd_zero.h \
33	_filesec_t.h \
34	_fsblkcnt_t.h \
35	_fsfilcnt_t.h \
36	_fsid_t.h \
37	_fsobj_id_t.h \
38	_gid_t.h \
39	_graftdmg_un.h \
40	_guid_t.h \
41	_id_t.h \
42	_in_addr_t.h \
43	_in_port_t.h \
44	_ino64_t.h \
45	_ino_t.h \
46	_int16_t.h \
47	_int32_t.h \
48	_int64_t.h \
49	_int8_t.h \
50	_intptr_t.h \
51	_iovec_t.h \
52	_key_t.h \
53	_mach_port_t.h \
54	_mbstate_t.h \
55	_mode_t.h \
56	_nlink_t.h \
57	_null.h \
58	_o_dsync.h \
59	_o_sync.h \
60	_off_t.h \
61	_offsetof.h \
62	_os_inline.h \
63	_pid_t.h \
64	_posix_vdisable.h \
65	_ptrdiff_t.h \
66	_rsize_t.h \
67	_rune_t.h \
68	_s_ifmt.h \
69	_sa_family_t.h \
70	_seek_set.h \
71	_sigaltstack.h \
72	_sigset_t.h \
73	_size_t.h \
74	_socklen_t.h \
75	_ssize_t.h \
76	_suseconds_t.h \
77	_time_t.h \
78	_timespec.h \
79	_timeval.h \
80	_timeval32.h \
81	_timeval64.h \
82	_ucontext.h \
83	_ucontext64.h \
84	_uid_t.h \
85	_u_char.h \
86	_u_int.h \
87	_u_int16_t.h \
88	_u_int32_t.h \
89	_u_int64_t.h \
90	_u_int8_t.h \
91	_u_short.h \
92	_uintptr_t.h \
93	_useconds_t.h \
94	_uuid_t.h \
95	_va_list.h \
96	_wchar_t.h \
97	_wint_t.h \
98	_user32_timex.h \
99	_user64_timex.h \
100	_user32_ntptimeval.h \
101	_user64_ntptimeval.h \
102
103# Installs header file for DriverKit drivers -
104#	  $(DSTROOT)/System/DriverKit/System/usr/include/
105DRIVERKIT_DATAFILES = \
106	_ct_rune_t.h \
107	_errno_t.h \
108	_int16_t.h \
109	_int32_t.h \
110	_int64_t.h \
111	_int8_t.h \
112	_intptr_t.h \
113	_time_t.h \
114	_mbstate_t.h \
115	_null.h \
116	_offsetof.h \
117	_os_inline.h \
118	_ptrdiff_t.h \
119	_rsize_t.h \
120	_rune_t.h \
121	_size_t.h \
122	_ssize_t.h \
123	_u_int16_t.h \
124	_u_int32_t.h \
125	_u_int64_t.h \
126	_u_int8_t.h \
127	_u_int.h \
128	_u_char.h \
129	_u_short.h \
130	_uintptr_t.h \
131	_uuid_t.h \
132	_va_list.h \
133	_wchar_t.h \
134	_wint_t.h \
135	_in_addr_t.h\
136	_in_port_t.h\
137	_sa_family_t.h
138
139# Installs header file for Apple internal use in user level -
140#	  $(DSTROOT)/System/Library/Frameworks/System.framework/PrivateHeaders
141PRIVATE_DATAFILES = \
142
143# Installs header file for kernel extensions -
144#	  $(DSTROOT)/System/Library/Frameworks/Kernel.framework/Headers
145#	  $(DSTROOT)/System/Library/Frameworks/Kernel.framework/PrivateHeaders
146KERNELFILES = ${DATAFILES} \
147	_user_timespec.h \
148	_user64_timespec.h \
149	_user32_timespec.h \
150	_user_timeval.h \
151	_user64_timeval.h \
152	_user32_timeval.h \
153	_user64_itimerval.h \
154	_user32_itimerval.h \
155
156# Installs header file for Apple internal use for kernel extensions -
157#	  $(DSTROOT)/System/Library/Frameworks/Kernel.framework/PrivateHeaders
158PRIVATE_KERNELFILES = \
159
160# /System/Library/Frameworks/System.framework/Headers and /usr/include
161INSTALL_MI_LIST	= ${DATAFILES}
162
163INSTALL_DRIVERKIT_MI_LIST = ${DRIVERKIT_DATAFILES}
164
165INSTALL_MI_GEN_LIST =
166
167INSTALL_MI_DIR = sys/_types
168
169EXPORT_MI_LIST	= ${KERNELFILES} ${PRIVATE_KERNELFILES}
170
171EXPORT_MI_GEN_LIST =
172
173EXPORT_MI_DIR = sys/_types
174
175# /System/Library/Frameworks/System.framework/PrivateHeaders
176INSTALL_SF_MI_LCL_LIST = ${DATAFILES} ${PRIVATE_DATAFILES}
177
178# /System/Library/Frameworks/Kernel.framework/PrivateHeaders
179INSTALL_KF_MI_LCL_LIST =  ${KERNELFILES} ${PRIVATE_KERNELFILES}
180
181INSTALL_KF_MI_LCL_GEN_LIST =
182
183# /System/Library/Frameworks/Kernel.framework/Headers
184INSTALL_KF_MI_LIST = ${KERNELFILES}
185
186INSTALL_KF_MI_GEN_LIST =
187
188include $(MakeInc_rule)
189include $(MakeInc_dir)
190