Makefile revision 25e8c5aa2b496d9026e958ac731a610167574f59
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews# CDDL HEADER START
eae67738cba5ca069e9d1d4e7b836a2f7b00a374Mark Andrews# The contents of this file are subject to the terms of the
eae67738cba5ca069e9d1d4e7b836a2f7b00a374Mark Andrews# Common Development and Distribution License (the "License").
2a40fdc2d34adb8a5c72a748449699666032d461Mark Andrews# You may not use this file except in compliance with the License.
a3b428812703d22a605a9f882e71ed65f0ffdc65Mark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# See the License for the specific language governing permissions
ac4e70ff8955669341f435bc0a734a17c01af124Mark Andrews# and limitations under the License.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# When distributing Covered Code, include this CDDL HEADER in each
d56e188030368b835122d759ebbf8d9613c166f4Mark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
c718d15a9a95054ee3c71540c02335426071fc6dMark Andrews# If applicable, add the following below this CDDL HEADER, with the
a9789e288ee11ae4315e27235c33bae5405bd7c4Mark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# CDDL HEADER END
c718d15a9a95054ee3c71540c02335426071fc6dMark Andrews# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
c718d15a9a95054ee3c71540c02335426071fc6dMark Andrews# Use is subject to license terms.
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews# ident "%Z%%M% %I% %E% SMI"
a3b428812703d22a605a9f882e71ed65f0ffdc65Mark Andrews# Note that the following headers are present in the kernel but
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# neither installed or shipped as part of the product:
c718d15a9a95054ee3c71540c02335426071fc6dMark Andrews# cpuid_drv.h: Private interface for cpuid consumers
c6d4f781529d2f28693546b25b2967d44ec89e60Mark Andrews# unix_bb_info.h: Private interface to kcov
a9789e288ee11ae4315e27235c33bae5405bd7c4Mark Andrews# Generated headers
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrews# "cmdk" headers used on sparc
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews# "cmdk" headers used on i386
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews# "pc" header files used on i386
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews $(USBMSHDRS:%.h=usb/clients/mass_storage/%.check) \
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews $(USBPRNHDRS:%.h=usb/clients/printer/%.check) \
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews $(USBVIDHDRS:%.h=usb/clients/video/usbvc/%.check) \
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews $(I1394HDRS:%.h=1394/%.check) \
a7038d1a0513c8e804937ebc95fc9cb3a46c04f5Mark Andrews $(NAWK) -f $(PRIVS_AWK) < $(PRIVS_DEF) -v privhfile=$@
a7038d1a0513c8e804937ebc95fc9cb3a46c04f5Mark Andrews $(NAWK) -f $(PRIVS_AWK) < $(PRIVS_DEF) -v pubhfile=$@
959fb01017fa83578e7c8776ed3baba3076a2409Mark Andrews# EXPORT DELETE START
959fb01017fa83578e7c8776ed3baba3076a2409Mark Andrews sed -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
959fb01017fa83578e7c8776ed3baba3076a2409Mark Andrews sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
959fb01017fa83578e7c8776ed3baba3076a2409Mark Andrews# EXPORT DELETE END