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]
22 # Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
23 # Copyright 2013, Joyent, Inc. All rights reserved.
24 # Copyright 2013 Garrett D'Amore <garrett@damore.org>
25 # Copyright 2013 Saso Kiselkov. All rights reserved.
26 # Copyright 2015 Nexenta Systems, Inc. All rights reserved.
29 include $(SRC
)/uts
/Makefile.uts
34 # Note that the following headers are present in the kernel but
35 # neither installed or shipped as part of the product:
36 # cpuid_drv.h: Private interface for cpuid consumers
37 # unix_bb_info.h: Private interface to kcov
41 agp
/agpamd64gart_io.h \
56 scsi
/targets
/ssddef.h \
290 iscsi_authclientglue.h \
301 kiconv_cck_common.h \
302 kiconv_cp950hkscs_utf8.h \
305 kiconv_euckr_utf8.h \
306 kiconv_euctw_utf8.h \
307 kiconv_gb18030_utf8.h \
308 kiconv_gb2312_utf8.h \
309 kiconv_hkscs_utf8.h \
311 kiconv_ja_jis_to_unicode.h \
312 kiconv_ja_unicode_to_jis.h \
319 kiconv_utf8_cp950hkscs.h \
320 kiconv_utf8_euckr.h \
321 kiconv_utf8_euctw.h \
322 kiconv_utf8_gb18030.h \
323 kiconv_utf8_gb2312.h \
324 kiconv_utf8_hkscs.h \
357 lwp_upimutex_impl.h \
923 scsi_reset_notify.h \
1073 # "cmdk" headers used on sparc
1078 # "cmdk" headers used on i386
1099 # "pc" header files used on i386
1113 nxge_common_impl.h \
1133 include Makefile.syshdrs
1135 dcam
/%.
check: dcam
/%.h
1139 $($(MACH
)_HDRS
:%.h
=%.
check) \
1140 $(AUDIOHDRS
:%.h
=audio
/%.
check) \
1141 $(AVHDRS
:%.h
=av
/%.
check) \
1142 $(BSCHDRS
:%.h
=%.
check) \
1143 $(CHKHDRS
:%.h
=%.
check) \
1144 $(CPUDRVHDRS
:%.h
=%.
check) \
1145 $(CRYPTOHDRS
:%.h
=crypto
/%.
check) \
1146 $(DCAMHDRS
:%.h
=dcam
/%.
check) \
1147 $(FC4HDRS
:%.h
=fc4
/%.
check) \
1148 $(FCHDRS
:%.h
=fibre-channel
/%.
check) \
1149 $(FCIMPLHDRS
:%.h
=fibre-channel
/impl
/%.
check) \
1150 $(FCULPHDRS
:%.h
=fibre-channel
/ulp
/%.
check) \
1151 $(IBHDRS
:%.h
=ib
/%.
check) \
1152 $(IBDHDRS
:%.h
=ib
/clients
/ibd
/%.
check) \
1153 $(IBTLHDRS
:%.h
=ib
/ibtl
/%.
check) \
1154 $(IBTLIMPLHDRS
:%.h
=ib
/ibtl
/impl
/%.
check) \
1155 $(IBNEXHDRS
:%.h
=ib
/ibnex
/%.
check) \
1156 $(IBMGTHDRS
:%.h
=ib
/mgt
/%.
check) \
1157 $(IBMFHDRS
:%.h
=ib
/mgt
/ibmf
/%.
check) \
1158 $(OFHDRS
:%.h
=ib
/clients
/of
/%.
check) \
1159 $(RDMAHDRS
:%.h
=ib
/clients
/of
/rdma
/%.
check) \
1160 $(SOL_UVERBSHDRS
:%.h
=ib
/clients
/of
/sol_uverbs
/%.
check) \
1161 $(SOL_UCMAHDRS
:%.h
=ib
/clients
/of
/sol_ucma
/%.
check) \
1162 $(SOL_OFSHDRS
:%.h
=ib
/clients
/of
/sol_ofs
/%.
check) \
1163 $(TAVORHDRS
:%.h
=ib
/adapters
/tavor
/%.
check) \
1164 $(HERMONHDRS
:%.h
=ib
/adapters
/hermon
/%.
check) \
1165 $(MLNXHDRS
:%.h
=ib
/adapters
/%.
check) \
1166 $(IDMHDRS
:%.h
=idm
/%.
check) \
1167 $(ISCSIHDRS
:%.h
=iscsi
/%.
check) \
1168 $(ISCSITHDRS
:%.h
=iscsit
/%.
check) \
1169 $(ISOHDRS
:%.h
=iso
/%.
check) \
1170 $(FMHDRS
:%.h
=fm
/%.
check) \
1171 $(FMFSHDRS
:%.h
=fm
/fs
/%.
check) \
1172 $(FMIOHDRS
:%.h
=fm
/io
/%.
check) \
1173 $(FSHDRS
:%.h
=fs
/%.
check) \
1174 $(LVMHDRS
:%.h
=lvm
/%.
check) \
1175 $(SCSIHDRS
:%.h
=scsi
/%.
check) \
1176 $(SCSIADHDRS
:%.h
=scsi
/adapters
/%.
check) \
1177 $(SCSICONFHDRS
:%.h
=scsi
/conf
/%.
check) \
1178 $(SCSIIMPLHDRS
:%.h
=scsi
/impl
/%.
check) \
1179 $(SCSIISCSIHDRS
:%.h
=scsi
/adapters
/%.
check) \
1180 $(SCSIGENHDRS
:%.h
=scsi
/generic
/%.
check) \
1181 $(SCSITARGETSHDRS
:%.h
=scsi
/targets
/%.
check) \
1182 $(SCSIVHCIHDRS
:%.h
=scsi
/adapters
/%.
check) \
1183 $(SATAGENHDRS
:%.h
=sata
/%.
check) \
1184 $(SDCARDHDRS
:%.h
=sdcard
/%.
check) \
1185 $(SYSEVENTHDRS
:%.h
=sysevent
/%.
check) \
1186 $(CONTRACTHDRS
:%.h
=contract
/%.
check) \
1187 $(USBAUDHDRS
:%.h
=usb
/clients
/audio
/%.
check) \
1188 $(USBHUBDHDRS
:%.h
=usb
/hubd
/%.
check) \
1189 $(USBHIDHDRS
:%.h
=usb
/clients
/hid
/%.
check) \
1190 $(USBMSHDRS
:%.h
=usb
/clients
/mass_storage
/%.
check) \
1191 $(USBPRNHDRS
:%.h
=usb
/clients
/printer
/%.
check) \
1192 $(USBCDCHDRS
:%.h
=usb
/clients
/usbcdc
/%.
check) \
1193 $(USBVIDHDRS
:%.h
=usb
/clients
/video
/usbvc
/%.
check) \
1194 $(USBWCMHDRS
:%.h
=usb
/clients
/usbinput
/usbwcm
/%.
check) \
1195 $(UGENHDRS
:%.h
=usb
/clients
/ugen
/%.
check) \
1196 $(USBHDRS
:%.h
=usb
/%.
check) \
1197 $(I1394HDRS
:%.h
=1394/%.
check) \
1198 $(RSMHDRS
:%.h
=rsm
/%.
check) \
1199 $(TSOLHDRS
:%.h
=tsol
/%.
check) \
1200 $(NXGEHDRS
:%.h
=nxge
/%.
check)
1227 $(ROOTIBTLIMPLHDRS
) \
1233 $(ROOTSOL_OFSHDRS
) \
1234 $(ROOTSOL_UMADHDRS
) \
1235 $(ROOTSOL_UVERBSHDRS
) \
1236 $(ROOTSOL_UCMAHDRS
) \
1243 $(ROOTSCSICONFHDRS
) \
1244 $(ROOTSCSIISCSIHDRS
) \
1245 $(ROOTSCSIGENHDRS
) \
1246 $(ROOTSCSIIMPLHDRS
) \
1247 $(ROOTSCSIVHCIHDRS
) \
1249 $(ROOTSYSEVENTHDRS
) \
1250 $(ROOTCONTRACTHDRS
) \
1255 $(ROOTUSBHUBDHDRS
) \
1265 $(ROOTHOTPLUGHDRS
) \
1266 $(ROOTHOTPLUGPCIHDRS
) \
1296 $(ROOTIBTLIMPLHDRS
) \
1302 $(ROOTSOL_OFSHDRS
) \
1303 $(ROOTSOL_UMADHDRS
) \
1304 $(ROOTSOL_UVERBSHDRS
) \
1305 $(ROOTSOL_UCMAHDRS
) \
1312 $(ROOTSCSIISCSIHDRS
) \
1313 $(ROOTSCSICONFHDRS
) \
1314 $(ROOTSCSIGENHDRS
) \
1315 $(ROOTSCSIIMPLHDRS
) \
1316 $(ROOTSCSIVHCIHDRS
) \
1318 $(ROOTSYSEVENTHDRS
) \
1319 $(ROOTCONTRACTHDRS
) \
1324 $(ROOTUSBHUBDHDRS
) \
1334 $(ROOTHOTPLUGHDRS
) \
1335 $(ROOTHOTPLUGPCIHDRS
) \
1342 priv_const.h
: $(PRIVS_AWK
) $(PRIVS_DEF
)
1343 $(NAWK
) -f
$(PRIVS_AWK
) < $(PRIVS_DEF
) -v privhfile
=$@
1345 priv_names.h
: $(PRIVS_AWK
) $(PRIVS_DEF
)
1346 $(NAWK
) -f
$(PRIVS_AWK
) < $(PRIVS_DEF
) -v pubhfile
=$@
1348 usb
/usbdevs.h
: $(USBDEVS_AWK
) $(USBDEVS_DATA
)
1349 $(NAWK
) -f
$(USBDEVS_AWK
) $(USBDEVS_DATA
) -H
> $@
1352 cd
$(SRC
)/uts
/common
/sys
/lvm
; pwd
; $(MAKE
) all_h
1358 cd
$(SRC
)/uts
/common
/sys
/lvm
; pwd
; $(MAKE
) clobber