4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
23 # Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
24 # Copyright 2014, Joyent, Inc. All rights reserved.
25 # Copyright 2013 Garrett D'Amore <garrett@damore.org>
26 # Copyright 2013 Saso Kiselkov. All rights reserved.
27 # Copyright 2015 Igor Kozhukhov <ikozhukhov@gmail.com>
28 # Copyright 2017 Nexenta Systems, Inc.
29 # Copyright 2016 Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
32 include $(SRC
)/uts
/Makefile.uts
37 # Note that the following headers are present in the kernel but
38 # neither installed or shipped as part of the product:
39 # cpuid_drv.h: Private interface for cpuid consumers
40 # unix_bb_info.h: Private interface to kcov
41 # nvme.h Private interface to nvme
45 agp
/agpamd64gart_io.h \
63 scsi
/targets
/ssddef.h \
299 iscsi_authclientglue.h \
310 kiconv_cck_common.h \
311 kiconv_cp950hkscs_utf8.h \
314 kiconv_euckr_utf8.h \
315 kiconv_euctw_utf8.h \
316 kiconv_gb18030_utf8.h \
317 kiconv_gb2312_utf8.h \
318 kiconv_hkscs_utf8.h \
320 kiconv_ja_jis_to_unicode.h \
321 kiconv_ja_unicode_to_jis.h \
328 kiconv_utf8_cp950hkscs.h \
329 kiconv_utf8_euckr.h \
330 kiconv_utf8_euctw.h \
331 kiconv_utf8_gb18030.h \
332 kiconv_utf8_gb2312.h \
333 kiconv_utf8_hkscs.h \
367 lwp_upimutex_impl.h \
912 scsi_reset_notify.h \
1061 # "cmdk" headers used on sparc
1066 # "cmdk" headers used on i386
1087 # "pc" header files used on i386
1101 nxge_common_impl.h \
1121 include Makefile.syshdrs
1123 dcam
/%.
check: dcam
/%.h
1127 $($(MACH
)_HDRS
:%.h
=%.
check) \
1128 $(AUDIOHDRS
:%.h
=audio
/%.
check) \
1129 $(AVHDRS
:%.h
=av
/%.
check) \
1130 $(BSCHDRS
:%.h
=%.
check) \
1131 $(CHKHDRS
:%.h
=%.
check) \
1132 $(CPUDRVHDRS
:%.h
=%.
check) \
1133 $(CRYPTOHDRS
:%.h
=crypto
/%.
check) \
1134 $(DCAMHDRS
:%.h
=dcam
/%.
check) \
1135 $(FC4HDRS
:%.h
=fc4
/%.
check) \
1136 $(FCHDRS
:%.h
=fibre-channel
/%.
check) \
1137 $(FCIMPLHDRS
:%.h
=fibre-channel
/impl
/%.
check) \
1138 $(FCULPHDRS
:%.h
=fibre-channel
/ulp
/%.
check) \
1139 $(IBHDRS
:%.h
=ib
/%.
check) \
1140 $(IBDHDRS
:%.h
=ib
/clients
/ibd
/%.
check) \
1141 $(IBTLHDRS
:%.h
=ib
/ibtl
/%.
check) \
1142 $(IBTLIMPLHDRS
:%.h
=ib
/ibtl
/impl
/%.
check) \
1143 $(IBNEXHDRS
:%.h
=ib
/ibnex
/%.
check) \
1144 $(IBMGTHDRS
:%.h
=ib
/mgt
/%.
check) \
1145 $(IBMFHDRS
:%.h
=ib
/mgt
/ibmf
/%.
check) \
1146 $(OFHDRS
:%.h
=ib
/clients
/of
/%.
check) \
1147 $(RDMAHDRS
:%.h
=ib
/clients
/of
/rdma
/%.
check) \
1148 $(SOL_UVERBSHDRS
:%.h
=ib
/clients
/of
/sol_uverbs
/%.
check) \
1149 $(SOL_UCMAHDRS
:%.h
=ib
/clients
/of
/sol_ucma
/%.
check) \
1150 $(SOL_OFSHDRS
:%.h
=ib
/clients
/of
/sol_ofs
/%.
check) \
1151 $(TAVORHDRS
:%.h
=ib
/adapters
/tavor
/%.
check) \
1152 $(HERMONHDRS
:%.h
=ib
/adapters
/hermon
/%.
check) \
1153 $(MLNXHDRS
:%.h
=ib
/adapters
/%.
check) \
1154 $(IDMHDRS
:%.h
=idm
/%.
check) \
1155 $(ISCSIHDRS
:%.h
=iscsi
/%.
check) \
1156 $(ISCSITHDRS
:%.h
=iscsit
/%.
check) \
1157 $(ISOHDRS
:%.h
=iso
/%.
check) \
1158 $(FMHDRS
:%.h
=fm
/%.
check) \
1159 $(FMFSHDRS
:%.h
=fm
/fs
/%.
check) \
1160 $(FMIOHDRS
:%.h
=fm
/io
/%.
check) \
1161 $(FSHDRS
:%.h
=fs
/%.
check) \
1162 $(SCSIHDRS
:%.h
=scsi
/%.
check) \
1163 $(SCSIADHDRS
:%.h
=scsi
/adapters
/%.
check) \
1164 $(SCSICONFHDRS
:%.h
=scsi
/conf
/%.
check) \
1165 $(SCSIIMPLHDRS
:%.h
=scsi
/impl
/%.
check) \
1166 $(SCSIISCSIHDRS
:%.h
=scsi
/adapters
/%.
check) \
1167 $(SCSIGENHDRS
:%.h
=scsi
/generic
/%.
check) \
1168 $(SCSITARGETSHDRS
:%.h
=scsi
/targets
/%.
check) \
1169 $(SCSIVHCIHDRS
:%.h
=scsi
/adapters
/%.
check) \
1170 $(SATAGENHDRS
:%.h
=sata
/%.
check) \
1171 $(SDCARDHDRS
:%.h
=sdcard
/%.
check) \
1172 $(SYSEVENTHDRS
:%.h
=sysevent
/%.
check) \
1173 $(CONTRACTHDRS
:%.h
=contract
/%.
check) \
1174 $(USBAUDHDRS
:%.h
=usb
/clients
/audio
/%.
check) \
1175 $(USBHUBDHDRS
:%.h
=usb
/hubd
/%.
check) \
1176 $(USBHIDHDRS
:%.h
=usb
/clients
/hid
/%.
check) \
1177 $(USBMSHDRS
:%.h
=usb
/clients
/mass_storage
/%.
check) \
1178 $(USBPRNHDRS
:%.h
=usb
/clients
/printer
/%.
check) \
1179 $(USBCDCHDRS
:%.h
=usb
/clients
/usbcdc
/%.
check) \
1180 $(USBVIDHDRS
:%.h
=usb
/clients
/video
/usbvc
/%.
check) \
1181 $(USBWCMHDRS
:%.h
=usb
/clients
/usbinput
/usbwcm
/%.
check) \
1182 $(UGENHDRS
:%.h
=usb
/clients
/ugen
/%.
check) \
1183 $(USBHDRS
:%.h
=usb
/%.
check) \
1184 $(I1394HDRS
:%.h
=1394/%.
check) \
1185 $(RSMHDRS
:%.h
=rsm
/%.
check) \
1186 $(TSOLHDRS
:%.h
=tsol
/%.
check) \
1187 $(NXGEHDRS
:%.h
=nxge
/%.
check)
1214 $(ROOTIBTLIMPLHDRS
) \
1220 $(ROOTSOL_OFSHDRS
) \
1221 $(ROOTSOL_UMADHDRS
) \
1222 $(ROOTSOL_UVERBSHDRS
) \
1223 $(ROOTSOL_UCMAHDRS
) \
1229 $(ROOTSCSICONFHDRS
) \
1230 $(ROOTSCSIISCSIHDRS
) \
1231 $(ROOTSCSIGENHDRS
) \
1232 $(ROOTSCSIIMPLHDRS
) \
1233 $(ROOTSCSIVHCIHDRS
) \
1235 $(ROOTSYSEVENTHDRS
) \
1236 $(ROOTCONTRACTHDRS
) \
1241 $(ROOTUSBHUBDHDRS
) \
1251 $(ROOTHOTPLUGHDRS
) \
1252 $(ROOTHOTPLUGPCIHDRS
) \
1281 $(ROOTIBTLIMPLHDRS
) \
1287 $(ROOTSOL_OFSHDRS
) \
1288 $(ROOTSOL_UMADHDRS
) \
1289 $(ROOTSOL_UVERBSHDRS
) \
1290 $(ROOTSOL_UCMAHDRS
) \
1296 $(ROOTSCSIISCSIHDRS
) \
1297 $(ROOTSCSICONFHDRS
) \
1298 $(ROOTSCSIGENHDRS
) \
1299 $(ROOTSCSIIMPLHDRS
) \
1300 $(ROOTSCSIVHCIHDRS
) \
1302 $(ROOTSYSEVENTHDRS
) \
1303 $(ROOTCONTRACTHDRS
) \
1308 $(ROOTUSBHUBDHDRS
) \
1318 $(ROOTHOTPLUGHDRS
) \
1319 $(ROOTHOTPLUGPCIHDRS
) \
1326 priv_const.h
: $(PRIVS_AWK
) $(PRIVS_DEF
)
1327 $(AWK
) -f
$(PRIVS_AWK
) < $(PRIVS_DEF
) -v privhfile
=$@
1329 priv_names.h
: $(PRIVS_AWK
) $(PRIVS_DEF
)
1330 $(AWK
) -f
$(PRIVS_AWK
) < $(PRIVS_DEF
) -v pubhfile
=$@
1332 usb
/usbdevs.h
: $(USBDEVS_AWK
) $(USBDEVS_DATA
)
1333 $(AWK
) -f
$(USBDEVS_AWK
) $(USBDEVS_DATA
) -H
> $@