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 2009 Sun Microsystems, Inc. All rights reserved.
23 # Use is subject to license terms.
26 include $(SRC
)/uts
/Makefile.uts
31 # Note that the following headers are present in the kernel but
32 # neither installed or shipped as part of the product:
33 # cpuid_drv.h: Private interface for cpuid consumers
34 # unix_bb_info.h: Private interface to kcov
38 agp
/agpamd64gart_io.h \
53 scsi
/targets
/ssddef.h \
281 iscsi_authclientglue.h \
292 kiconv_cck_common.h \
293 kiconv_cp950hkscs_utf8.h \
296 kiconv_euckr_utf8.h \
297 kiconv_euctw_utf8.h \
298 kiconv_gb18030_utf8.h \
299 kiconv_gb2312_utf8.h \
300 kiconv_hkscs_utf8.h \
302 kiconv_ja_jis_to_unicode.h \
303 kiconv_ja_unicode_to_jis.h \
310 kiconv_utf8_cp950hkscs.h \
311 kiconv_utf8_euckr.h \
312 kiconv_utf8_euctw.h \
313 kiconv_utf8_gb18030.h \
314 kiconv_utf8_gb2312.h \
315 kiconv_utf8_hkscs.h \
348 lwp_upimutex_impl.h \
887 scsi_reset_notify.h \
1045 # "cmdk" headers used on sparc
1050 # "cmdk" headers used on i386
1071 # "pc" header files used on i386
1085 nxge_common_impl.h \
1105 include Makefile.syshdrs
1107 dcam
/%.
check: dcam
/%.h
1111 $($(MACH
)_HDRS
:%.h
=%.
check) \
1112 $(AUDIOHDRS
:%.h
=audio
/%.
check) \
1113 $(AVHDRS
:%.h
=av
/%.
check) \
1114 $(BSCHDRS
:%.h
=%.
check) \
1115 $(CHKHDRS
:%.h
=%.
check) \
1116 $(CPUDRVHDRS
:%.h
=%.
check) \
1117 $(CRYPTOHDRS
:%.h
=crypto
/%.
check) \
1118 $(DCAMHDRS
:%.h
=dcam
/%.
check) \
1119 $(FC4HDRS
:%.h
=fc4
/%.
check) \
1120 $(FCHDRS
:%.h
=fibre-channel
/%.
check) \
1121 $(FCIMPLHDRS
:%.h
=fibre-channel
/impl
/%.
check) \
1122 $(FCULPHDRS
:%.h
=fibre-channel
/ulp
/%.
check) \
1123 $(IBHDRS
:%.h
=ib
/%.
check) \
1124 $(IBDHDRS
:%.h
=ib
/clients
/ibd
/%.
check) \
1125 $(IBTLHDRS
:%.h
=ib
/ibtl
/%.
check) \
1126 $(IBTLIMPLHDRS
:%.h
=ib
/ibtl
/impl
/%.
check) \
1127 $(IBNEXHDRS
:%.h
=ib
/ibnex
/%.
check) \
1128 $(IBMGTHDRS
:%.h
=ib
/mgt
/%.
check) \
1129 $(IBMFHDRS
:%.h
=ib
/mgt
/ibmf
/%.
check) \
1130 $(TAVORHDRS
:%.h
=ib
/adapters
/tavor
/%.
check) \
1131 $(HERMONHDRS
:%.h
=ib
/adapters
/hermon
/%.
check) \
1132 $(IDMHDRS
:%.h
=idm
/%.
check) \
1133 $(ISCSIHDRS
:%.h
=iscsi
/%.
check) \
1134 $(ISCSITHDRS
:%.h
=iscsit
/%.
check) \
1135 $(ISOHDRS
:%.h
=iso
/%.
check) \
1136 $(FMHDRS
:%.h
=fm
/%.
check) \
1137 $(FMFSHDRS
:%.h
=fm
/fs
/%.
check) \
1138 $(FMIOHDRS
:%.h
=fm
/io
/%.
check) \
1139 $(FSHDRS
:%.h
=fs
/%.
check) \
1140 $(LVMHDRS
:%.h
=lvm
/%.
check) \
1141 $(PCMCIAHDRS
:%.h
=pcmcia
/%.
check) \
1142 $(SCSIHDRS
:%.h
=scsi
/%.
check) \
1143 $(SCSIADHDRS
:%.h
=scsi
/adapters
/%.
check) \
1144 $(SCSICONFHDRS
:%.h
=scsi
/conf
/%.
check) \
1145 $(SCSIIMPLHDRS
:%.h
=scsi
/impl
/%.
check) \
1146 $(SCSIISCSIHDRS
:%.h
=scsi
/adapters
/%.
check) \
1147 $(SCSITARGETSHDRS
:%.h
=scsi
/targets
/%.
check) \
1148 $(SCSIVHCIHDRS
:%.h
=scsi
/adapters
/%.
check) \
1149 $(SATAGENHDRS
:%.h
=sata
/%.
check) \
1150 $(SDCARDHDRS
:%.h
=sdcard
/%.
check) \
1151 $(SYSEVENTHDRS
:%.h
=sysevent
/%.
check) \
1152 $(CONTRACTHDRS
:%.h
=contract
/%.
check) \
1153 $(USBAUDHDRS
:%.h
=usb
/clients
/audio
/%.
check) \
1154 $(USBHUBDHDRS
:%.h
=usb
/hubd
/%.
check) \
1155 $(USBHIDHDRS
:%.h
=usb
/clients
/hid
/%.
check) \
1156 $(USBHWARCHDRS
:%.h
=usb
/clients
/hwarc
/%.
check) \
1157 $(USBMSHDRS
:%.h
=usb
/clients
/mass_storage
/%.
check) \
1158 $(USBPRNHDRS
:%.h
=usb
/clients
/printer
/%.
check) \
1159 $(USBCDCHDRS
:%.h
=usb
/clients
/usbcdc
/%.
check) \
1160 $(USBVIDHDRS
:%.h
=usb
/clients
/video
/usbvc
/%.
check) \
1161 $(UGENHDRS
:%.h
=usb
/clients
/ugen
/%.
check) \
1162 $(USBHDRS
:%.h
=usb
/%.
check) \
1163 $(UWBHDRS
:%.h
=uwb
/%.
check) \
1164 $(UWBAHDRS
:%.h
=uwb
/uwba
/%.
check) \
1165 $(I1394HDRS
:%.h
=1394/%.
check) \
1166 $(RSMHDRS
:%.h
=rsm
/%.
check) \
1167 $(TSOLHDRS
:%.h
=tsol
/%.
check) \
1168 $(NXGEHDRS
:%.h
=nxge
/%.
check)
1195 $(ROOTIBTLIMPLHDRS
) \
1205 $(ROOTSCSICONFHDRS
) \
1206 $(ROOTSCSIISCSIHDRS
) \
1207 $(ROOTSCSIGENHDRS
) \
1208 $(ROOTSCSIIMPLHDRS
) \
1209 $(ROOTSCSIVHCIHDRS
) \
1211 $(ROOTSYSEVENTHDRS
) \
1212 $(ROOTCONTRACTHDRS
) \
1217 $(ROOTUSBHUBDHDRS
) \
1226 $(ROOTHOTPLUGHDRS
) \
1227 $(ROOTHOTPLUGPCIHDRS
) \
1257 $(ROOTIBTLIMPLHDRS
) \
1267 $(ROOTSCSIISCSIHDRS
) \
1268 $(ROOTSCSICONFHDRS
) \
1269 $(ROOTSCSIGENHDRS
) \
1270 $(ROOTSCSIIMPLHDRS
) \
1271 $(ROOTSCSIVHCIHDRS
) \
1273 $(ROOTSYSEVENTHDRS
) \
1274 $(ROOTCONTRACTHDRS
) \
1279 $(ROOTUSBHUBDHDRS
) \
1288 $(ROOTHOTPLUGHDRS
) \
1289 $(ROOTHOTPLUGPCIHDRS
) \
1296 priv_const.h
: $(PRIVS_AWK
) $(PRIVS_DEF
)
1297 $(NAWK
) -f
$(PRIVS_AWK
) < $(PRIVS_DEF
) -v privhfile
=$@
1299 priv_names.h
: $(PRIVS_AWK
) $(PRIVS_DEF
)
1300 $(NAWK
) -f
$(PRIVS_AWK
) < $(PRIVS_DEF
) -v pubhfile
=$@
1302 usb
/usbdevs.h
: $(USBDEVS_AWK
) $(USBDEVS_DATA
)
1303 $(NAWK
) -f
$(USBDEVS_AWK
) $(USBDEVS_DATA
) -H
> $@
1306 cd
$(SRC
)/uts
/common
/sys
/lvm
; pwd
; $(MAKE
)
1317 # EXPORT DELETE START
1319 $(RM
) wanboot_impl.h
+ Makefile
+
1320 sed
-e
"/EXPORT DELETE START/,/EXPORT DELETE END/d" \
1321 < wanboot_impl.h
> wanboot_impl.h
+
1322 $(MV
) wanboot_impl.h
+ wanboot_impl.h
1323 sed
-e
"/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
1324 < Makefile
> Makefile
+
1326 $(MV
) Makefile
+ Makefile
1327 $(CHMOD
) 444 Makefile wanboot_impl.h