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
32 # Note that the following headers are present in the kernel but
33 # neither installed or shipped as part of the product:
34 # cpuid_drv.h: Private interface for cpuid consumers
35 # unix_bb_info.h: Private interface to kcov
39 agp
/agpamd64gart_io.h \
64 scsi
/targets
/ssddef.h \
289 iscsi_authclientglue.h \
300 kiconv_cck_common.h \
301 kiconv_cp950hkscs_utf8.h \
304 kiconv_euckr_utf8.h \
305 kiconv_euctw_utf8.h \
306 kiconv_gb18030_utf8.h \
307 kiconv_gb2312_utf8.h \
308 kiconv_hkscs_utf8.h \
310 kiconv_ja_jis_to_unicode.h \
311 kiconv_ja_unicode_to_jis.h \
318 kiconv_utf8_cp950hkscs.h \
319 kiconv_utf8_euckr.h \
320 kiconv_utf8_euctw.h \
321 kiconv_utf8_gb18030.h \
322 kiconv_utf8_gb2312.h \
323 kiconv_utf8_hkscs.h \
356 lwp_upimutex_impl.h \
890 scsi_reset_notify.h \
1031 # "cmdk" headers used on sparc
1036 # "cmdk" headers used on i386
1057 # "pc" header files used on i386
1071 nxge_common_impl.h \
1091 include Makefile.syshdrs
1093 dcam
/%.
check: dcam
/%.h
1097 $($(MACH
)_HDRS
:%.h
=%.
check) \
1098 $(AUDIOHDRS
:%.h
=audio
/%.
check) \
1099 $(BSCHDRS
:%.h
=%.
check) \
1100 $(CHKHDRS
:%.h
=%.
check) \
1101 $(CPUDRVHDRS
:%.h
=%.
check) \
1102 $(CRYPTOHDRS
:%.h
=crypto
/%.
check) \
1103 $(DCAMHDRS
:%.h
=dcam
/%.
check) \
1104 $(FC4HDRS
:%.h
=fc4
/%.
check) \
1105 $(FCHDRS
:%.h
=fibre-channel
/%.
check) \
1106 $(FCIMPLHDRS
:%.h
=fibre-channel
/impl
/%.
check) \
1107 $(FCULPHDRS
:%.h
=fibre-channel
/ulp
/%.
check) \
1108 $(IBHDRS
:%.h
=ib
/%.
check) \
1109 $(IBDHDRS
:%.h
=ib
/clients
/ibd
/%.
check) \
1110 $(IBTLHDRS
:%.h
=ib
/ibtl
/%.
check) \
1111 $(IBTLIMPLHDRS
:%.h
=ib
/ibtl
/impl
/%.
check) \
1112 $(IBNEXHDRS
:%.h
=ib
/ibnex
/%.
check) \
1113 $(IBMGTHDRS
:%.h
=ib
/mgt
/%.
check) \
1114 $(IBMFHDRS
:%.h
=ib
/mgt
/ibmf
/%.
check) \
1115 $(TAVORHDRS
:%.h
=ib
/adapters
/tavor
/%.
check) \
1116 $(HERMONHDRS
:%.h
=ib
/adapters
/hermon
/%.
check) \
1117 $(IDMHDRS
:%.h
=idm
/%.
check) \
1118 $(ISCSIHDRS
:%.h
=iscsi
/%.
check) \
1119 $(ISCSITHDRS
:%.h
=iscsit
/%.
check) \
1120 $(ISOHDRS
:%.h
=iso
/%.
check) \
1121 $(FMHDRS
:%.h
=fm
/%.
check) \
1122 $(FMFSHDRS
:%.h
=fm
/fs
/%.
check) \
1123 $(FMIOHDRS
:%.h
=fm
/io
/%.
check) \
1124 $(FSHDRS
:%.h
=fs
/%.
check) \
1125 $(LVMHDRS
:%.h
=lvm
/%.
check) \
1126 $(PCMCIAHDRS
:%.h
=pcmcia
/%.
check) \
1127 $(SCSIHDRS
:%.h
=scsi
/%.
check) \
1128 $(SCSIADHDRS
:%.h
=scsi
/adapters
/%.
check) \
1129 $(SCSICONFHDRS
:%.h
=scsi
/conf
/%.
check) \
1130 $(SCSIIMPLHDRS
:%.h
=scsi
/impl
/%.
check) \
1131 $(SCSIISCSIHDRS
:%.h
=scsi
/adapters
/%.
check) \
1132 $(SCSITARGETSHDRS
:%.h
=scsi
/targets
/%.
check) \
1133 $(SCSIVHCIHDRS
:%.h
=scsi
/adapters
/%.
check) \
1134 $(SATAGENHDRS
:%.h
=sata
/%.
check) \
1135 $(SDCARDHDRS
:%.h
=sdcard
/%.
check) \
1136 $(SYSEVENTHDRS
:%.h
=sysevent
/%.
check) \
1137 $(CONTRACTHDRS
:%.h
=contract
/%.
check) \
1138 $(USBAUDHDRS
:%.h
=usb
/clients
/audio
/%.
check) \
1139 $(USBHUBDHDRS
:%.h
=usb
/hubd
/%.
check) \
1140 $(USBHIDHDRS
:%.h
=usb
/clients
/hid
/%.
check) \
1141 $(USBMSHDRS
:%.h
=usb
/clients
/mass_storage
/%.
check) \
1142 $(USBPRNHDRS
:%.h
=usb
/clients
/printer
/%.
check) \
1143 $(USBCDCHDRS
:%.h
=usb
/clients
/usbcdc
/%.
check) \
1144 $(USBVIDHDRS
:%.h
=usb
/clients
/video
/usbvc
/%.
check) \
1145 $(UGENHDRS
:%.h
=usb
/clients
/ugen
/%.
check) \
1146 $(USBHDRS
:%.h
=usb
/%.
check) \
1147 $(I1394HDRS
:%.h
=1394/%.
check) \
1148 $(RSMHDRS
:%.h
=rsm
/%.
check) \
1149 $(TSOLHDRS
:%.h
=tsol
/%.
check) \
1150 $(NXGEHDRS
:%.h
=nxge
/%.
check)
1176 $(ROOTIBTLIMPLHDRS
) \
1185 $(ROOTSCSICONFHDRS
) \
1186 $(ROOTSCSIISCSIHDRS
) \
1187 $(ROOTSCSIGENHDRS
) \
1188 $(ROOTSCSIIMPLHDRS
) \
1189 $(ROOTSCSIVHCIHDRS
) \
1191 $(ROOTSYSEVENTHDRS
) \
1192 $(ROOTCONTRACTHDRS
) \
1195 $(ROOTUSBHUBDHDRS
) \
1203 $(ROOTHOTPLUGHDRS
) \
1204 $(ROOTHOTPLUGPCIHDRS
) \
1233 $(ROOTIBTLIMPLHDRS
) \
1242 $(ROOTSCSIISCSIHDRS
) \
1243 $(ROOTSCSICONFHDRS
) \
1244 $(ROOTSCSIGENHDRS
) \
1245 $(ROOTSCSIIMPLHDRS
) \
1246 $(ROOTSCSIVHCIHDRS
) \
1248 $(ROOTSYSEVENTHDRS
) \
1249 $(ROOTCONTRACTHDRS
) \
1252 $(ROOTUSBHUBDHDRS
) \
1260 $(ROOTHOTPLUGHDRS
) \
1261 $(ROOTHOTPLUGPCIHDRS
) \
1268 priv_const.h
: $(PRIVS_AWK
) $(PRIVS_DEF
)
1269 $(NAWK
) -f
$(PRIVS_AWK
) < $(PRIVS_DEF
) -v privhfile
=$@
1271 priv_names.h
: $(PRIVS_AWK
) $(PRIVS_DEF
)
1272 $(NAWK
) -f
$(PRIVS_AWK
) < $(PRIVS_DEF
) -v pubhfile
=$@
1275 cd
$(SRC
)/uts
/common
/sys
/lvm
; pwd
; $(MAKE
)
1281 # EXPORT DELETE START
1283 $(RM
) wanboot_impl.h
+ Makefile
+
1284 sed
-e
"/EXPORT DELETE START/,/EXPORT DELETE END/d" \
1285 < wanboot_impl.h
> wanboot_impl.h
+
1286 $(MV
) wanboot_impl.h
+ wanboot_impl.h
1287 sed
-e
"/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
1288 < Makefile
> Makefile
+
1290 $(MV
) Makefile
+ Makefile
1291 $(CHMOD
) 444 Makefile wanboot_impl.h