xref: /illumos-gate/usr/src/uts/common/sys/Makefile (revision 7c478bd95313f5f23a4c958a745db2134aa03244)
1*7c478bd9Sstevel@tonic-gate#
2*7c478bd9Sstevel@tonic-gate# CDDL HEADER START
3*7c478bd9Sstevel@tonic-gate#
4*7c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the
5*7c478bd9Sstevel@tonic-gate# Common Development and Distribution License, Version 1.0 only
6*7c478bd9Sstevel@tonic-gate# (the "License").  You may not use this file except in compliance
7*7c478bd9Sstevel@tonic-gate# with the License.
8*7c478bd9Sstevel@tonic-gate#
9*7c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10*7c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
11*7c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions
12*7c478bd9Sstevel@tonic-gate# and limitations under the License.
13*7c478bd9Sstevel@tonic-gate#
14*7c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
15*7c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16*7c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
17*7c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
18*7c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
19*7c478bd9Sstevel@tonic-gate#
20*7c478bd9Sstevel@tonic-gate# CDDL HEADER END
21*7c478bd9Sstevel@tonic-gate#
22*7c478bd9Sstevel@tonic-gate#
23*7c478bd9Sstevel@tonic-gate# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
24*7c478bd9Sstevel@tonic-gate# Use is subject to license terms.
25*7c478bd9Sstevel@tonic-gate#
26*7c478bd9Sstevel@tonic-gate# ident	"%Z%%M%	%I%	%E% SMI"
27*7c478bd9Sstevel@tonic-gate#
28*7c478bd9Sstevel@tonic-gate
29*7c478bd9Sstevel@tonic-gateinclude $(SRC)/uts/Makefile.uts
30*7c478bd9Sstevel@tonic-gate
31*7c478bd9Sstevel@tonic-gateGROUP=bin
32*7c478bd9Sstevel@tonic-gateFILEMODE=644
33*7c478bd9Sstevel@tonic-gate
34*7c478bd9Sstevel@tonic-gate#
35*7c478bd9Sstevel@tonic-gate#	Note that the following headers are present in the kernel but
36*7c478bd9Sstevel@tonic-gate#	neither installed or shipped as part of the product:
37*7c478bd9Sstevel@tonic-gate#		cpuid_drv.h:		Private interface for cpuid consumers
38*7c478bd9Sstevel@tonic-gate#		unix_bb_info.h:		Private interface to kcov
39*7c478bd9Sstevel@tonic-gate#
40*7c478bd9Sstevel@tonic-gate
41*7c478bd9Sstevel@tonic-gatei386_HDRS=			\
42*7c478bd9Sstevel@tonic-gate	agp/agpamd64gart_io.h	\
43*7c478bd9Sstevel@tonic-gate	agp/agpdefs.h		\
44*7c478bd9Sstevel@tonic-gate	agp/agpgart_impl.h	\
45*7c478bd9Sstevel@tonic-gate	agp/agpmaster_io.h	\
46*7c478bd9Sstevel@tonic-gate	agp/agptarget_io.h	\
47*7c478bd9Sstevel@tonic-gate	agpgart.h		\
48*7c478bd9Sstevel@tonic-gate	asy.h			\
49*7c478bd9Sstevel@tonic-gate	audio/audio810.h	\
50*7c478bd9Sstevel@tonic-gate	audio/audiovia823x.h	\
51*7c478bd9Sstevel@tonic-gate	fd_debug.h		\
52*7c478bd9Sstevel@tonic-gate	fdc.h			\
53*7c478bd9Sstevel@tonic-gate	fdmedia.h		\
54*7c478bd9Sstevel@tonic-gate	mse.h			\
55*7c478bd9Sstevel@tonic-gate	vuidmice.h
56*7c478bd9Sstevel@tonic-gate
57*7c478bd9Sstevel@tonic-gateAVHDRS=				\
58*7c478bd9Sstevel@tonic-gate	av/iec61883.h
59*7c478bd9Sstevel@tonic-gate
60*7c478bd9Sstevel@tonic-gatesparc_HDRS= 			\
61*7c478bd9Sstevel@tonic-gate	audio/audiots.h		\
62*7c478bd9Sstevel@tonic-gate	audio/am_src2.h		\
63*7c478bd9Sstevel@tonic-gate	scsi/targets/ssddef.h	\
64*7c478bd9Sstevel@tonic-gate	$(MDESCHDRS)		\
65*7c478bd9Sstevel@tonic-gate	$(AVHDRS)
66*7c478bd9Sstevel@tonic-gate
67*7c478bd9Sstevel@tonic-gate# Generated headers
68*7c478bd9Sstevel@tonic-gateGENHDRS=			\
69*7c478bd9Sstevel@tonic-gate	priv_const.h		\
70*7c478bd9Sstevel@tonic-gate	priv_names.h
71*7c478bd9Sstevel@tonic-gate
72*7c478bd9Sstevel@tonic-gateCHKHDRS=			\
73*7c478bd9Sstevel@tonic-gate	acct.h			\
74*7c478bd9Sstevel@tonic-gate	acctctl.h		\
75*7c478bd9Sstevel@tonic-gate	acl.h			\
76*7c478bd9Sstevel@tonic-gate	aggr.h			\
77*7c478bd9Sstevel@tonic-gate	aggr_impl.h		\
78*7c478bd9Sstevel@tonic-gate	aio.h			\
79*7c478bd9Sstevel@tonic-gate	aio_impl.h		\
80*7c478bd9Sstevel@tonic-gate	aio_req.h		\
81*7c478bd9Sstevel@tonic-gate	aiocb.h			\
82*7c478bd9Sstevel@tonic-gate	ascii.h			\
83*7c478bd9Sstevel@tonic-gate	atomic.h		\
84*7c478bd9Sstevel@tonic-gate	audio.h			\
85*7c478bd9Sstevel@tonic-gate	audiodebug.h		\
86*7c478bd9Sstevel@tonic-gate	audioio.h		\
87*7c478bd9Sstevel@tonic-gate	audiovar.h		\
88*7c478bd9Sstevel@tonic-gate	autoconf.h		\
89*7c478bd9Sstevel@tonic-gate	auxv.h			\
90*7c478bd9Sstevel@tonic-gate	auxv_386.h		\
91*7c478bd9Sstevel@tonic-gate	auxv_SPARC.h		\
92*7c478bd9Sstevel@tonic-gate	avl.h			\
93*7c478bd9Sstevel@tonic-gate	avl_impl.h		\
94*7c478bd9Sstevel@tonic-gate	battery.h		\
95*7c478bd9Sstevel@tonic-gate	bitmap.h		\
96*7c478bd9Sstevel@tonic-gate	bl.h			\
97*7c478bd9Sstevel@tonic-gate	bofi.h			\
98*7c478bd9Sstevel@tonic-gate	bofi_impl.h		\
99*7c478bd9Sstevel@tonic-gate	bpp_io.h		\
100*7c478bd9Sstevel@tonic-gate	bootstat.h		\
101*7c478bd9Sstevel@tonic-gate	buf.h			\
102*7c478bd9Sstevel@tonic-gate	bufmod.h		\
103*7c478bd9Sstevel@tonic-gate	bustypes.h		\
104*7c478bd9Sstevel@tonic-gate	byteorder.h		\
105*7c478bd9Sstevel@tonic-gate	callb.h			\
106*7c478bd9Sstevel@tonic-gate	callo.h			\
107*7c478bd9Sstevel@tonic-gate	ccompile.h		\
108*7c478bd9Sstevel@tonic-gate	cdio.h			\
109*7c478bd9Sstevel@tonic-gate	chip.h			\
110*7c478bd9Sstevel@tonic-gate	cladm.h			\
111*7c478bd9Sstevel@tonic-gate	class.h			\
112*7c478bd9Sstevel@tonic-gate	clconf.h		\
113*7c478bd9Sstevel@tonic-gate	cmn_err.h		\
114*7c478bd9Sstevel@tonic-gate	compress.h		\
115*7c478bd9Sstevel@tonic-gate	condvar.h		\
116*7c478bd9Sstevel@tonic-gate	condvar_impl.h		\
117*7c478bd9Sstevel@tonic-gate	conf.h			\
118*7c478bd9Sstevel@tonic-gate	consdev.h		\
119*7c478bd9Sstevel@tonic-gate	console.h		\
120*7c478bd9Sstevel@tonic-gate	contract.h		\
121*7c478bd9Sstevel@tonic-gate	contract_impl.h		\
122*7c478bd9Sstevel@tonic-gate	copyops.h		\
123*7c478bd9Sstevel@tonic-gate	core.h			\
124*7c478bd9Sstevel@tonic-gate	corectl.h		\
125*7c478bd9Sstevel@tonic-gate	cpc_impl.h		\
126*7c478bd9Sstevel@tonic-gate	cpc_pcbe.h		\
127*7c478bd9Sstevel@tonic-gate	cpr.h			\
128*7c478bd9Sstevel@tonic-gate	cpupart.h		\
129*7c478bd9Sstevel@tonic-gate	cpuvar.h		\
130*7c478bd9Sstevel@tonic-gate	crc32.h			\
131*7c478bd9Sstevel@tonic-gate	cred.h			\
132*7c478bd9Sstevel@tonic-gate	cred_impl.h		\
133*7c478bd9Sstevel@tonic-gate	crtctl.h		\
134*7c478bd9Sstevel@tonic-gate	cryptmod.h		\
135*7c478bd9Sstevel@tonic-gate	csiioctl.h		\
136*7c478bd9Sstevel@tonic-gate	ctf.h			\
137*7c478bd9Sstevel@tonic-gate	ctfs.h			\
138*7c478bd9Sstevel@tonic-gate	ctfs_impl.h		\
139*7c478bd9Sstevel@tonic-gate	ctf_api.h		\
140*7c478bd9Sstevel@tonic-gate	ctype.h			\
141*7c478bd9Sstevel@tonic-gate	cyclic.h		\
142*7c478bd9Sstevel@tonic-gate	cyclic_impl.h		\
143*7c478bd9Sstevel@tonic-gate	dacf.h			\
144*7c478bd9Sstevel@tonic-gate	dacf_impl.h		\
145*7c478bd9Sstevel@tonic-gate	dc_ki.h			\
146*7c478bd9Sstevel@tonic-gate	ddi.h			\
147*7c478bd9Sstevel@tonic-gate	ddifm.h			\
148*7c478bd9Sstevel@tonic-gate	ddifm_impl.h		\
149*7c478bd9Sstevel@tonic-gate	ddi_intr.h		\
150*7c478bd9Sstevel@tonic-gate	ddi_intr_impl.h		\
151*7c478bd9Sstevel@tonic-gate	ddi_impldefs.h		\
152*7c478bd9Sstevel@tonic-gate	ddi_implfuncs.h		\
153*7c478bd9Sstevel@tonic-gate	ddidevmap.h		\
154*7c478bd9Sstevel@tonic-gate	ddidmareq.h		\
155*7c478bd9Sstevel@tonic-gate	ddimapreq.h		\
156*7c478bd9Sstevel@tonic-gate	ddipropdefs.h		\
157*7c478bd9Sstevel@tonic-gate	dditypes.h		\
158*7c478bd9Sstevel@tonic-gate	debug.h			\
159*7c478bd9Sstevel@tonic-gate	des.h			\
160*7c478bd9Sstevel@tonic-gate	devctl.h		\
161*7c478bd9Sstevel@tonic-gate	devctl_impl.h		\
162*7c478bd9Sstevel@tonic-gate	devinfo_impl.h		\
163*7c478bd9Sstevel@tonic-gate	devops.h		\
164*7c478bd9Sstevel@tonic-gate	devpolicy.h		\
165*7c478bd9Sstevel@tonic-gate	devpoll.h		\
166*7c478bd9Sstevel@tonic-gate	dirent.h		\
167*7c478bd9Sstevel@tonic-gate	disp.h			\
168*7c478bd9Sstevel@tonic-gate	dkbad.h			\
169*7c478bd9Sstevel@tonic-gate	dkio.h			\
170*7c478bd9Sstevel@tonic-gate	dklabel.h		\
171*7c478bd9Sstevel@tonic-gate	dl.h			\
172*7c478bd9Sstevel@tonic-gate	dlpi.h			\
173*7c478bd9Sstevel@tonic-gate	dld.h			\
174*7c478bd9Sstevel@tonic-gate	dld_impl.h		\
175*7c478bd9Sstevel@tonic-gate	dls.h			\
176*7c478bd9Sstevel@tonic-gate	dls_impl.h		\
177*7c478bd9Sstevel@tonic-gate	dma_i8237A.h            \
178*7c478bd9Sstevel@tonic-gate	dnlc.h			\
179*7c478bd9Sstevel@tonic-gate	door.h			\
180*7c478bd9Sstevel@tonic-gate	door_data.h		\
181*7c478bd9Sstevel@tonic-gate	door_impl.h		\
182*7c478bd9Sstevel@tonic-gate	dtrace.h		\
183*7c478bd9Sstevel@tonic-gate	dtrace_impl.h		\
184*7c478bd9Sstevel@tonic-gate	dumpadm.h		\
185*7c478bd9Sstevel@tonic-gate	dumphdr.h		\
186*7c478bd9Sstevel@tonic-gate	ecppsys.h		\
187*7c478bd9Sstevel@tonic-gate	ecppio.h                \
188*7c478bd9Sstevel@tonic-gate	ecppreg.h               \
189*7c478bd9Sstevel@tonic-gate	ecppvar.h               \
190*7c478bd9Sstevel@tonic-gate	efi_partition.h		\
191*7c478bd9Sstevel@tonic-gate	elf.h			\
192*7c478bd9Sstevel@tonic-gate	elf_386.h		\
193*7c478bd9Sstevel@tonic-gate	elf_M32.h		\
194*7c478bd9Sstevel@tonic-gate	elf_SPARC.h		\
195*7c478bd9Sstevel@tonic-gate	elf_ia64.h		\
196*7c478bd9Sstevel@tonic-gate	elf_notes.h		\
197*7c478bd9Sstevel@tonic-gate	elf_amd64.h		\
198*7c478bd9Sstevel@tonic-gate	elftypes.h		\
199*7c478bd9Sstevel@tonic-gate	epm.h			\
200*7c478bd9Sstevel@tonic-gate	errno.h			\
201*7c478bd9Sstevel@tonic-gate	errorq.h		\
202*7c478bd9Sstevel@tonic-gate	errorq_impl.h		\
203*7c478bd9Sstevel@tonic-gate	esunddi.h		\
204*7c478bd9Sstevel@tonic-gate	ethernet.h		\
205*7c478bd9Sstevel@tonic-gate	euc.h			\
206*7c478bd9Sstevel@tonic-gate	eucioctl.h		\
207*7c478bd9Sstevel@tonic-gate	exacct.h		\
208*7c478bd9Sstevel@tonic-gate	exacct_catalog.h	\
209*7c478bd9Sstevel@tonic-gate	exacct_impl.h		\
210*7c478bd9Sstevel@tonic-gate	exec.h			\
211*7c478bd9Sstevel@tonic-gate	exechdr.h		\
212*7c478bd9Sstevel@tonic-gate	fault.h			\
213*7c478bd9Sstevel@tonic-gate	fasttrap.h		\
214*7c478bd9Sstevel@tonic-gate	fasttrap_impl.h		\
215*7c478bd9Sstevel@tonic-gate	fbio.h			\
216*7c478bd9Sstevel@tonic-gate	fbuf.h			\
217*7c478bd9Sstevel@tonic-gate	fcntl.h			\
218*7c478bd9Sstevel@tonic-gate	fdbuffer.h		\
219*7c478bd9Sstevel@tonic-gate	fdio.h			\
220*7c478bd9Sstevel@tonic-gate	feature_tests.h		\
221*7c478bd9Sstevel@tonic-gate	fem.h			\
222*7c478bd9Sstevel@tonic-gate	file.h			\
223*7c478bd9Sstevel@tonic-gate	filio.h			\
224*7c478bd9Sstevel@tonic-gate	flock.h			\
225*7c478bd9Sstevel@tonic-gate	flock_impl.h		\
226*7c478bd9Sstevel@tonic-gate	fss.h			\
227*7c478bd9Sstevel@tonic-gate	fsspriocntl.h		\
228*7c478bd9Sstevel@tonic-gate	fsid.h			\
229*7c478bd9Sstevel@tonic-gate	fssnap.h                \
230*7c478bd9Sstevel@tonic-gate	fssnap_if.h             \
231*7c478bd9Sstevel@tonic-gate	fstyp.h			\
232*7c478bd9Sstevel@tonic-gate	ftrace.h		\
233*7c478bd9Sstevel@tonic-gate	fx.h			\
234*7c478bd9Sstevel@tonic-gate	fxpriocntl.h		\
235*7c478bd9Sstevel@tonic-gate	gfs.h			\
236*7c478bd9Sstevel@tonic-gate	ght.h			\
237*7c478bd9Sstevel@tonic-gate	gld.h			\
238*7c478bd9Sstevel@tonic-gate	gldpriv.h		\
239*7c478bd9Sstevel@tonic-gate	hdio.h			\
240*7c478bd9Sstevel@tonic-gate	hwconf.h		\
241*7c478bd9Sstevel@tonic-gate	ia.h			\
242*7c478bd9Sstevel@tonic-gate	iapriocntl.h		\
243*7c478bd9Sstevel@tonic-gate	id32.h			\
244*7c478bd9Sstevel@tonic-gate	ieeefp.h		\
245*7c478bd9Sstevel@tonic-gate	id_space.h		\
246*7c478bd9Sstevel@tonic-gate	instance.h		\
247*7c478bd9Sstevel@tonic-gate	int_const.h		\
248*7c478bd9Sstevel@tonic-gate	int_fmtio.h		\
249*7c478bd9Sstevel@tonic-gate	int_limits.h		\
250*7c478bd9Sstevel@tonic-gate	int_types.h		\
251*7c478bd9Sstevel@tonic-gate	inttypes.h		\
252*7c478bd9Sstevel@tonic-gate	ioccom.h		\
253*7c478bd9Sstevel@tonic-gate	ioctl.h			\
254*7c478bd9Sstevel@tonic-gate	ioreq.h			\
255*7c478bd9Sstevel@tonic-gate	ipc.h			\
256*7c478bd9Sstevel@tonic-gate	ipc_impl.h		\
257*7c478bd9Sstevel@tonic-gate	isa_defs.h		\
258*7c478bd9Sstevel@tonic-gate	jioctl.h		\
259*7c478bd9Sstevel@tonic-gate	kbd.h			\
260*7c478bd9Sstevel@tonic-gate	kbdreg.h		\
261*7c478bd9Sstevel@tonic-gate	kbio.h			\
262*7c478bd9Sstevel@tonic-gate	kcpc.h			\
263*7c478bd9Sstevel@tonic-gate	kdi.h			\
264*7c478bd9Sstevel@tonic-gate	kdi_impl.h		\
265*7c478bd9Sstevel@tonic-gate	klwp.h			\
266*7c478bd9Sstevel@tonic-gate	kmdb.h			\
267*7c478bd9Sstevel@tonic-gate	kmem.h			\
268*7c478bd9Sstevel@tonic-gate	kmem_impl.h		\
269*7c478bd9Sstevel@tonic-gate	kobj.h			\
270*7c478bd9Sstevel@tonic-gate	kobj_impl.h		\
271*7c478bd9Sstevel@tonic-gate	kstat.h			\
272*7c478bd9Sstevel@tonic-gate	kstr.h			\
273*7c478bd9Sstevel@tonic-gate	ksyms.h			\
274*7c478bd9Sstevel@tonic-gate	ksynch.h		\
275*7c478bd9Sstevel@tonic-gate	ldterm.h		\
276*7c478bd9Sstevel@tonic-gate	lgrp.h			\
277*7c478bd9Sstevel@tonic-gate	lgrp_user.h		\
278*7c478bd9Sstevel@tonic-gate	link.h			\
279*7c478bd9Sstevel@tonic-gate	list.h			\
280*7c478bd9Sstevel@tonic-gate	list_impl.h		\
281*7c478bd9Sstevel@tonic-gate	llc1.h			\
282*7c478bd9Sstevel@tonic-gate	llc2.h			\
283*7c478bd9Sstevel@tonic-gate	loadavg.h		\
284*7c478bd9Sstevel@tonic-gate	lock.h			\
285*7c478bd9Sstevel@tonic-gate	lockfs.h		\
286*7c478bd9Sstevel@tonic-gate	lockstat.h		\
287*7c478bd9Sstevel@tonic-gate	lofi.h			\
288*7c478bd9Sstevel@tonic-gate	log.h			\
289*7c478bd9Sstevel@tonic-gate	logindmux.h		\
290*7c478bd9Sstevel@tonic-gate	logindmux_impl.h	\
291*7c478bd9Sstevel@tonic-gate	lwp.h			\
292*7c478bd9Sstevel@tonic-gate	lwp_timer_impl.h	\
293*7c478bd9Sstevel@tonic-gate	lwp_upimutex_impl.h	\
294*7c478bd9Sstevel@tonic-gate	mac.h			\
295*7c478bd9Sstevel@tonic-gate	mac_impl.h		\
296*7c478bd9Sstevel@tonic-gate	map.h			\
297*7c478bd9Sstevel@tonic-gate	md5.h			\
298*7c478bd9Sstevel@tonic-gate	md5_consts.h		\
299*7c478bd9Sstevel@tonic-gate	mdi_impldefs.h		\
300*7c478bd9Sstevel@tonic-gate	mem.h			\
301*7c478bd9Sstevel@tonic-gate	mem_config.h		\
302*7c478bd9Sstevel@tonic-gate	memlist.h		\
303*7c478bd9Sstevel@tonic-gate	mkdev.h			\
304*7c478bd9Sstevel@tonic-gate	mhd.h			\
305*7c478bd9Sstevel@tonic-gate	miiregs.h		\
306*7c478bd9Sstevel@tonic-gate	mixer.h			\
307*7c478bd9Sstevel@tonic-gate	mman.h			\
308*7c478bd9Sstevel@tonic-gate	mntent.h		\
309*7c478bd9Sstevel@tonic-gate	mntio.h			\
310*7c478bd9Sstevel@tonic-gate	mnttab.h		\
311*7c478bd9Sstevel@tonic-gate	modctl.h		\
312*7c478bd9Sstevel@tonic-gate	mode.h			\
313*7c478bd9Sstevel@tonic-gate	model.h			\
314*7c478bd9Sstevel@tonic-gate	modhash.h		\
315*7c478bd9Sstevel@tonic-gate	modhash_impl.h		\
316*7c478bd9Sstevel@tonic-gate	mount.h			\
317*7c478bd9Sstevel@tonic-gate	msacct.h		\
318*7c478bd9Sstevel@tonic-gate	msg.h			\
319*7c478bd9Sstevel@tonic-gate	msg_impl.h		\
320*7c478bd9Sstevel@tonic-gate	msio.h			\
321*7c478bd9Sstevel@tonic-gate	msreg.h			\
322*7c478bd9Sstevel@tonic-gate	mtio.h			\
323*7c478bd9Sstevel@tonic-gate	multidata.h		\
324*7c478bd9Sstevel@tonic-gate	multidata_impl.h	\
325*7c478bd9Sstevel@tonic-gate	mutex.h			\
326*7c478bd9Sstevel@tonic-gate	nbmlock.h		\
327*7c478bd9Sstevel@tonic-gate	ndifm.h		\
328*7c478bd9Sstevel@tonic-gate	ndi_impldefs.h		\
329*7c478bd9Sstevel@tonic-gate	netconfig.h		\
330*7c478bd9Sstevel@tonic-gate	nexusdefs.h		\
331*7c478bd9Sstevel@tonic-gate	nexusintr.h		\
332*7c478bd9Sstevel@tonic-gate	note.h			\
333*7c478bd9Sstevel@tonic-gate	nvpair.h                \
334*7c478bd9Sstevel@tonic-gate	nvpair_impl.h           \
335*7c478bd9Sstevel@tonic-gate	objfs.h			\
336*7c478bd9Sstevel@tonic-gate	objfs_impl.h		\
337*7c478bd9Sstevel@tonic-gate	ontrap.h                \
338*7c478bd9Sstevel@tonic-gate	open.h			\
339*7c478bd9Sstevel@tonic-gate	openpromio.h		\
340*7c478bd9Sstevel@tonic-gate	panic.h			\
341*7c478bd9Sstevel@tonic-gate	param.h			\
342*7c478bd9Sstevel@tonic-gate	pathconf.h		\
343*7c478bd9Sstevel@tonic-gate	pathname.h		\
344*7c478bd9Sstevel@tonic-gate	pattr.h			\
345*7c478bd9Sstevel@tonic-gate	serializer.h		\
346*7c478bd9Sstevel@tonic-gate	pbio.h			\
347*7c478bd9Sstevel@tonic-gate	pccard.h		\
348*7c478bd9Sstevel@tonic-gate	pci.h			\
349*7c478bd9Sstevel@tonic-gate	pci_impl.h		\
350*7c478bd9Sstevel@tonic-gate	pcmcia.h		\
351*7c478bd9Sstevel@tonic-gate	pctypes.h		\
352*7c478bd9Sstevel@tonic-gate	pem.h			\
353*7c478bd9Sstevel@tonic-gate	pfmod.h			\
354*7c478bd9Sstevel@tonic-gate	phx.h			\
355*7c478bd9Sstevel@tonic-gate	pm.h			\
356*7c478bd9Sstevel@tonic-gate	policy.h		\
357*7c478bd9Sstevel@tonic-gate	poll.h			\
358*7c478bd9Sstevel@tonic-gate	poll_impl.h		\
359*7c478bd9Sstevel@tonic-gate	pool.h			\
360*7c478bd9Sstevel@tonic-gate	pool_impl.h		\
361*7c478bd9Sstevel@tonic-gate	pool_pset.h		\
362*7c478bd9Sstevel@tonic-gate	port.h			\
363*7c478bd9Sstevel@tonic-gate	port_impl.h		\
364*7c478bd9Sstevel@tonic-gate	port_kernel.h		\
365*7c478bd9Sstevel@tonic-gate	ppmio.h                 \
366*7c478bd9Sstevel@tonic-gate	priocntl.h		\
367*7c478bd9Sstevel@tonic-gate	priv.h			\
368*7c478bd9Sstevel@tonic-gate	priv_impl.h		\
369*7c478bd9Sstevel@tonic-gate	prnio.h			\
370*7c478bd9Sstevel@tonic-gate	proc.h			\
371*7c478bd9Sstevel@tonic-gate	processor.h		\
372*7c478bd9Sstevel@tonic-gate	procfs.h		\
373*7c478bd9Sstevel@tonic-gate	procset.h		\
374*7c478bd9Sstevel@tonic-gate	project.h		\
375*7c478bd9Sstevel@tonic-gate	protosw.h		\
376*7c478bd9Sstevel@tonic-gate	prsystm.h		\
377*7c478bd9Sstevel@tonic-gate	pset.h			\
378*7c478bd9Sstevel@tonic-gate	pshot.h			\
379*7c478bd9Sstevel@tonic-gate	ptem.h			\
380*7c478bd9Sstevel@tonic-gate	ptms.h			\
381*7c478bd9Sstevel@tonic-gate	ptyvar.h		\
382*7c478bd9Sstevel@tonic-gate	raidioctl.h		\
383*7c478bd9Sstevel@tonic-gate	ramdisk.h		\
384*7c478bd9Sstevel@tonic-gate	random.h		\
385*7c478bd9Sstevel@tonic-gate	rctl.h			\
386*7c478bd9Sstevel@tonic-gate	rctl_impl.h		\
387*7c478bd9Sstevel@tonic-gate	reboot.h		\
388*7c478bd9Sstevel@tonic-gate	refstr.h		\
389*7c478bd9Sstevel@tonic-gate	refstr_impl.h		\
390*7c478bd9Sstevel@tonic-gate	resource.h		\
391*7c478bd9Sstevel@tonic-gate	rlioctl.h		\
392*7c478bd9Sstevel@tonic-gate	rt.h			\
393*7c478bd9Sstevel@tonic-gate	rtpriocntl.h		\
394*7c478bd9Sstevel@tonic-gate	rwlock.h		\
395*7c478bd9Sstevel@tonic-gate	rwlock_impl.h		\
396*7c478bd9Sstevel@tonic-gate	rwstlock.h		\
397*7c478bd9Sstevel@tonic-gate	sad.h			\
398*7c478bd9Sstevel@tonic-gate	schedctl.h		\
399*7c478bd9Sstevel@tonic-gate	sdt.h			\
400*7c478bd9Sstevel@tonic-gate	select.h		\
401*7c478bd9Sstevel@tonic-gate	sem.h			\
402*7c478bd9Sstevel@tonic-gate	sem_impl.h		\
403*7c478bd9Sstevel@tonic-gate	sema_impl.h		\
404*7c478bd9Sstevel@tonic-gate	semaphore.h		\
405*7c478bd9Sstevel@tonic-gate	sendfile.h		\
406*7c478bd9Sstevel@tonic-gate	ser_sync.h		\
407*7c478bd9Sstevel@tonic-gate	session.h		\
408*7c478bd9Sstevel@tonic-gate	sha1.h			\
409*7c478bd9Sstevel@tonic-gate	sha1_consts.h		\
410*7c478bd9Sstevel@tonic-gate	sha2.h			\
411*7c478bd9Sstevel@tonic-gate	sha2_consts.h		\
412*7c478bd9Sstevel@tonic-gate	share.h			\
413*7c478bd9Sstevel@tonic-gate	shm.h			\
414*7c478bd9Sstevel@tonic-gate	shm_impl.h		\
415*7c478bd9Sstevel@tonic-gate	siginfo.h		\
416*7c478bd9Sstevel@tonic-gate	signal.h		\
417*7c478bd9Sstevel@tonic-gate	sleepq.h		\
418*7c478bd9Sstevel@tonic-gate	sobject.h		\
419*7c478bd9Sstevel@tonic-gate	socket.h		\
420*7c478bd9Sstevel@tonic-gate	socket_impl.h		\
421*7c478bd9Sstevel@tonic-gate	socketvar.h		\
422*7c478bd9Sstevel@tonic-gate	sockio.h		\
423*7c478bd9Sstevel@tonic-gate	squeue.h		\
424*7c478bd9Sstevel@tonic-gate	squeue_impl.h		\
425*7c478bd9Sstevel@tonic-gate	sservice.h		\
426*7c478bd9Sstevel@tonic-gate	stat.h			\
427*7c478bd9Sstevel@tonic-gate	statfs.h		\
428*7c478bd9Sstevel@tonic-gate	statvfs.h		\
429*7c478bd9Sstevel@tonic-gate	stdint.h		\
430*7c478bd9Sstevel@tonic-gate	stermio.h		\
431*7c478bd9Sstevel@tonic-gate	stream.h		\
432*7c478bd9Sstevel@tonic-gate	strft.h			\
433*7c478bd9Sstevel@tonic-gate	strlog.h		\
434*7c478bd9Sstevel@tonic-gate	strmdep.h		\
435*7c478bd9Sstevel@tonic-gate	stropts.h		\
436*7c478bd9Sstevel@tonic-gate	strredir.h		\
437*7c478bd9Sstevel@tonic-gate	strstat.h		\
438*7c478bd9Sstevel@tonic-gate	strsubr.h		\
439*7c478bd9Sstevel@tonic-gate	strsun.h		\
440*7c478bd9Sstevel@tonic-gate	strtty.h		\
441*7c478bd9Sstevel@tonic-gate	sunddi.h		\
442*7c478bd9Sstevel@tonic-gate	sunldi.h		\
443*7c478bd9Sstevel@tonic-gate	sunldi_impl.h		\
444*7c478bd9Sstevel@tonic-gate	sunmdi.h		\
445*7c478bd9Sstevel@tonic-gate	sunndi.h		\
446*7c478bd9Sstevel@tonic-gate	sunos_dhcp_class.h	\
447*7c478bd9Sstevel@tonic-gate	sunpm.h			\
448*7c478bd9Sstevel@tonic-gate	suntpi.h		\
449*7c478bd9Sstevel@tonic-gate	suntty.h		\
450*7c478bd9Sstevel@tonic-gate	swap.h			\
451*7c478bd9Sstevel@tonic-gate	synch.h			\
452*7c478bd9Sstevel@tonic-gate	syscall.h		\
453*7c478bd9Sstevel@tonic-gate	sysconf.h		\
454*7c478bd9Sstevel@tonic-gate	sysconfig.h		\
455*7c478bd9Sstevel@tonic-gate	sysevent.h	\
456*7c478bd9Sstevel@tonic-gate	sysevent_impl.h         \
457*7c478bd9Sstevel@tonic-gate	sysinfo.h		\
458*7c478bd9Sstevel@tonic-gate	syslog.h		\
459*7c478bd9Sstevel@tonic-gate	sysmacros.h		\
460*7c478bd9Sstevel@tonic-gate	sysmsg_impl.h		\
461*7c478bd9Sstevel@tonic-gate	systeminfo.h		\
462*7c478bd9Sstevel@tonic-gate	systm.h			\
463*7c478bd9Sstevel@tonic-gate	task.h			\
464*7c478bd9Sstevel@tonic-gate	taskq.h			\
465*7c478bd9Sstevel@tonic-gate	taskq_impl.h		\
466*7c478bd9Sstevel@tonic-gate	t_kuser.h		\
467*7c478bd9Sstevel@tonic-gate	t_lock.h		\
468*7c478bd9Sstevel@tonic-gate	telioctl.h		\
469*7c478bd9Sstevel@tonic-gate	termio.h		\
470*7c478bd9Sstevel@tonic-gate	termios.h		\
471*7c478bd9Sstevel@tonic-gate	termiox.h		\
472*7c478bd9Sstevel@tonic-gate	thread.h		\
473*7c478bd9Sstevel@tonic-gate	ticlts.h		\
474*7c478bd9Sstevel@tonic-gate	ticots.h		\
475*7c478bd9Sstevel@tonic-gate	ticotsord.h		\
476*7c478bd9Sstevel@tonic-gate	tihdr.h			\
477*7c478bd9Sstevel@tonic-gate	time.h			\
478*7c478bd9Sstevel@tonic-gate	time_impl.h		\
479*7c478bd9Sstevel@tonic-gate	time_std_impl.h		\
480*7c478bd9Sstevel@tonic-gate	timeb.h			\
481*7c478bd9Sstevel@tonic-gate	timer.h			\
482*7c478bd9Sstevel@tonic-gate	times.h			\
483*7c478bd9Sstevel@tonic-gate	timex.h			\
484*7c478bd9Sstevel@tonic-gate	timod.h			\
485*7c478bd9Sstevel@tonic-gate	tirdwr.h		\
486*7c478bd9Sstevel@tonic-gate	tiuser.h		\
487*7c478bd9Sstevel@tonic-gate	tl.h			\
488*7c478bd9Sstevel@tonic-gate	tnf.h			\
489*7c478bd9Sstevel@tonic-gate	tnf_com.h		\
490*7c478bd9Sstevel@tonic-gate	tnf_probe.h		\
491*7c478bd9Sstevel@tonic-gate	tnf_writer.h		\
492*7c478bd9Sstevel@tonic-gate	todio.h			\
493*7c478bd9Sstevel@tonic-gate	tpicommon.h		\
494*7c478bd9Sstevel@tonic-gate	ts.h			\
495*7c478bd9Sstevel@tonic-gate	tspriocntl.h		\
496*7c478bd9Sstevel@tonic-gate	ttcompat.h		\
497*7c478bd9Sstevel@tonic-gate	ttold.h			\
498*7c478bd9Sstevel@tonic-gate	tty.h			\
499*7c478bd9Sstevel@tonic-gate	ttychars.h		\
500*7c478bd9Sstevel@tonic-gate	ttydev.h		\
501*7c478bd9Sstevel@tonic-gate	tuneable.h		\
502*7c478bd9Sstevel@tonic-gate	turnstile.h		\
503*7c478bd9Sstevel@tonic-gate	types.h			\
504*7c478bd9Sstevel@tonic-gate	types32.h		\
505*7c478bd9Sstevel@tonic-gate	uadmin.h		\
506*7c478bd9Sstevel@tonic-gate	ucred.h			\
507*7c478bd9Sstevel@tonic-gate	uio.h			\
508*7c478bd9Sstevel@tonic-gate	ulimit.h		\
509*7c478bd9Sstevel@tonic-gate	un.h			\
510*7c478bd9Sstevel@tonic-gate	unistd.h		\
511*7c478bd9Sstevel@tonic-gate	user.h			\
512*7c478bd9Sstevel@tonic-gate	ustat.h			\
513*7c478bd9Sstevel@tonic-gate	utime.h			\
514*7c478bd9Sstevel@tonic-gate	utsname.h		\
515*7c478bd9Sstevel@tonic-gate	utssys.h		\
516*7c478bd9Sstevel@tonic-gate	uuid.h			\
517*7c478bd9Sstevel@tonic-gate	va_impl.h		\
518*7c478bd9Sstevel@tonic-gate	va_list.h		\
519*7c478bd9Sstevel@tonic-gate	var.h			\
520*7c478bd9Sstevel@tonic-gate	varargs.h		\
521*7c478bd9Sstevel@tonic-gate	vfs.h			\
522*7c478bd9Sstevel@tonic-gate	vfstab.h		\
523*7c478bd9Sstevel@tonic-gate	vgareg.h		\
524*7c478bd9Sstevel@tonic-gate	visual_io.h		\
525*7c478bd9Sstevel@tonic-gate	vm.h			\
526*7c478bd9Sstevel@tonic-gate	vmem.h			\
527*7c478bd9Sstevel@tonic-gate	vmem_impl.h		\
528*7c478bd9Sstevel@tonic-gate	vmmeter.h		\
529*7c478bd9Sstevel@tonic-gate	vmsystm.h		\
530*7c478bd9Sstevel@tonic-gate	vnode.h			\
531*7c478bd9Sstevel@tonic-gate	vol.h			\
532*7c478bd9Sstevel@tonic-gate	vtoc.h			\
533*7c478bd9Sstevel@tonic-gate	vtrace.h		\
534*7c478bd9Sstevel@tonic-gate	vuid_event.h		\
535*7c478bd9Sstevel@tonic-gate	vuid_wheel.h		\
536*7c478bd9Sstevel@tonic-gate	vuid_queue.h		\
537*7c478bd9Sstevel@tonic-gate	vuid_state.h		\
538*7c478bd9Sstevel@tonic-gate	vuid_store.h		\
539*7c478bd9Sstevel@tonic-gate	wait.h			\
540*7c478bd9Sstevel@tonic-gate	wanboot_impl.h		\
541*7c478bd9Sstevel@tonic-gate	watchpoint.h		\
542*7c478bd9Sstevel@tonic-gate	winlockio.h		\
543*7c478bd9Sstevel@tonic-gate	zcons.h			\
544*7c478bd9Sstevel@tonic-gate	zone.h			\
545*7c478bd9Sstevel@tonic-gate	xti_inet.h		\
546*7c478bd9Sstevel@tonic-gate	xti_osi.h		\
547*7c478bd9Sstevel@tonic-gate	xti_xtiopt.h		\
548*7c478bd9Sstevel@tonic-gate	zmod.h
549*7c478bd9Sstevel@tonic-gate
550*7c478bd9Sstevel@tonic-gateHDRS=				\
551*7c478bd9Sstevel@tonic-gate	$(GENHDRS)		\
552*7c478bd9Sstevel@tonic-gate	$(CHKHDRS)
553*7c478bd9Sstevel@tonic-gate
554*7c478bd9Sstevel@tonic-gateAUDIOHDRS=			\
555*7c478bd9Sstevel@tonic-gate	ac97.h			\
556*7c478bd9Sstevel@tonic-gate	am_src1.h		\
557*7c478bd9Sstevel@tonic-gate	audio_apm.h		\
558*7c478bd9Sstevel@tonic-gate	audio_mixer.h		\
559*7c478bd9Sstevel@tonic-gate	audio_src.h		\
560*7c478bd9Sstevel@tonic-gate	audio_support.h		\
561*7c478bd9Sstevel@tonic-gate	audio_trace.h		\
562*7c478bd9Sstevel@tonic-gate	audioens.h		\
563*7c478bd9Sstevel@tonic-gate	g711.h
564*7c478bd9Sstevel@tonic-gate
565*7c478bd9Sstevel@tonic-gateBSCHDRS=			\
566*7c478bd9Sstevel@tonic-gate	bscbus.h		\
567*7c478bd9Sstevel@tonic-gate	bscv_impl.h		\
568*7c478bd9Sstevel@tonic-gate	lom_ebuscodes.h		\
569*7c478bd9Sstevel@tonic-gate	lom_io.h		\
570*7c478bd9Sstevel@tonic-gate	lom_priv.h		\
571*7c478bd9Sstevel@tonic-gate	lombus.h
572*7c478bd9Sstevel@tonic-gate
573*7c478bd9Sstevel@tonic-gateMDESCHDRS=			\
574*7c478bd9Sstevel@tonic-gate	mdesc.h			\
575*7c478bd9Sstevel@tonic-gate	mdesc_impl.h
576*7c478bd9Sstevel@tonic-gate
577*7c478bd9Sstevel@tonic-gateCRYPTOHDRS=			\
578*7c478bd9Sstevel@tonic-gate	elfsign.h		\
579*7c478bd9Sstevel@tonic-gate	ioctl.h			\
580*7c478bd9Sstevel@tonic-gate	ioctladmin.h		\
581*7c478bd9Sstevel@tonic-gate	common.h		\
582*7c478bd9Sstevel@tonic-gate	impl.h			\
583*7c478bd9Sstevel@tonic-gate	spi.h			\
584*7c478bd9Sstevel@tonic-gate	api.h			\
585*7c478bd9Sstevel@tonic-gate	ops_impl.h		\
586*7c478bd9Sstevel@tonic-gate	sched_impl.h
587*7c478bd9Sstevel@tonic-gate
588*7c478bd9Sstevel@tonic-gateIBHDRS=			\
589*7c478bd9Sstevel@tonic-gate	ib_types.h	\
590*7c478bd9Sstevel@tonic-gate	ib_pkt_hdrs.h
591*7c478bd9Sstevel@tonic-gate
592*7c478bd9Sstevel@tonic-gateIBTLHDRS=		\
593*7c478bd9Sstevel@tonic-gate	ibtl_types.h	\
594*7c478bd9Sstevel@tonic-gate	ibtl_status.h	\
595*7c478bd9Sstevel@tonic-gate	ibti.h		\
596*7c478bd9Sstevel@tonic-gate	ibti_cm.h	\
597*7c478bd9Sstevel@tonic-gate	ibci.h		\
598*7c478bd9Sstevel@tonic-gate	ibti_common.h	\
599*7c478bd9Sstevel@tonic-gate	ibvti.h		\
600*7c478bd9Sstevel@tonic-gate	ibtl_ci_types.h
601*7c478bd9Sstevel@tonic-gate
602*7c478bd9Sstevel@tonic-gateIBTLIMPLHDRS=		\
603*7c478bd9Sstevel@tonic-gate	ibtl_util.h
604*7c478bd9Sstevel@tonic-gate
605*7c478bd9Sstevel@tonic-gateIBNEXHDRS=		\
606*7c478bd9Sstevel@tonic-gate	ibnex_devctl.h
607*7c478bd9Sstevel@tonic-gate
608*7c478bd9Sstevel@tonic-gateIBMFHDRS=		\
609*7c478bd9Sstevel@tonic-gate	ibmf.h		\
610*7c478bd9Sstevel@tonic-gate	ibmf_msg.h	\
611*7c478bd9Sstevel@tonic-gate	ibmf_saa.h	\
612*7c478bd9Sstevel@tonic-gate	ibmf_utils.h
613*7c478bd9Sstevel@tonic-gate
614*7c478bd9Sstevel@tonic-gateIBMGTHDRS=		\
615*7c478bd9Sstevel@tonic-gate	ib_dm_attr.h	\
616*7c478bd9Sstevel@tonic-gate	ib_mad.h	\
617*7c478bd9Sstevel@tonic-gate	sm_attr.h	\
618*7c478bd9Sstevel@tonic-gate	sa_recs.h
619*7c478bd9Sstevel@tonic-gate
620*7c478bd9Sstevel@tonic-gateIBDHDRS=		\
621*7c478bd9Sstevel@tonic-gate	ibd.h
622*7c478bd9Sstevel@tonic-gate
623*7c478bd9Sstevel@tonic-gateTAVORHDRS=		\
624*7c478bd9Sstevel@tonic-gate	tavor_ioctl.h
625*7c478bd9Sstevel@tonic-gate
626*7c478bd9Sstevel@tonic-gateISOHDRS=			\
627*7c478bd9Sstevel@tonic-gate	signal_iso.h
628*7c478bd9Sstevel@tonic-gate
629*7c478bd9Sstevel@tonic-gateDERIVED_LVMHDRS=	\
630*7c478bd9Sstevel@tonic-gate	md_mdiox.h		\
631*7c478bd9Sstevel@tonic-gate	md_basic.h		\
632*7c478bd9Sstevel@tonic-gate	mdmed.h			\
633*7c478bd9Sstevel@tonic-gate	md_mhdx.h		\
634*7c478bd9Sstevel@tonic-gate	mdmn_commd.h
635*7c478bd9Sstevel@tonic-gate
636*7c478bd9Sstevel@tonic-gateLVMHDRS=			\
637*7c478bd9Sstevel@tonic-gate	md_convert.h		\
638*7c478bd9Sstevel@tonic-gate	md_crc.h		\
639*7c478bd9Sstevel@tonic-gate	md_hotspares.h		\
640*7c478bd9Sstevel@tonic-gate	md_mddb.h		\
641*7c478bd9Sstevel@tonic-gate	md_mirror.h		\
642*7c478bd9Sstevel@tonic-gate	md_mirror_shared.h	\
643*7c478bd9Sstevel@tonic-gate	md_names.h		\
644*7c478bd9Sstevel@tonic-gate	md_notify.h		\
645*7c478bd9Sstevel@tonic-gate	md_raid.h		\
646*7c478bd9Sstevel@tonic-gate	md_rename.h		\
647*7c478bd9Sstevel@tonic-gate	md_sp.h			\
648*7c478bd9Sstevel@tonic-gate	md_stripe.h		\
649*7c478bd9Sstevel@tonic-gate	md_trans.h		\
650*7c478bd9Sstevel@tonic-gate	mdio.h			\
651*7c478bd9Sstevel@tonic-gate	mdvar.h
652*7c478bd9Sstevel@tonic-gate
653*7c478bd9Sstevel@tonic-gateALL_LVMHDRS=			\
654*7c478bd9Sstevel@tonic-gate	$(LVMHDRS)		\
655*7c478bd9Sstevel@tonic-gate	$(DERIVED_LVMHDRS)
656*7c478bd9Sstevel@tonic-gate
657*7c478bd9Sstevel@tonic-gateFMHDRS=				\
658*7c478bd9Sstevel@tonic-gate	protocol.h		\
659*7c478bd9Sstevel@tonic-gate	util.h
660*7c478bd9Sstevel@tonic-gate
661*7c478bd9Sstevel@tonic-gatesparc_FMCPUHDRS=		\
662*7c478bd9Sstevel@tonic-gate	UltraSPARC-II.h		\
663*7c478bd9Sstevel@tonic-gate	UltraSPARC-III.h
664*7c478bd9Sstevel@tonic-gateFMCPUHDRS=$($(MACH)_FMCPUHDRS)
665*7c478bd9Sstevel@tonic-gate
666*7c478bd9Sstevel@tonic-gateFMIOHDRS=			\
667*7c478bd9Sstevel@tonic-gate	ddi.h			\
668*7c478bd9Sstevel@tonic-gate	pci.h			\
669*7c478bd9Sstevel@tonic-gate	sun4upci.h
670*7c478bd9Sstevel@tonic-gate
671*7c478bd9Sstevel@tonic-gateFSHDRS=				\
672*7c478bd9Sstevel@tonic-gate	autofs.h		\
673*7c478bd9Sstevel@tonic-gate	cachefs_dir.h		\
674*7c478bd9Sstevel@tonic-gate	cachefs_dlog.h		\
675*7c478bd9Sstevel@tonic-gate	cachefs_filegrp.h	\
676*7c478bd9Sstevel@tonic-gate	cachefs_fs.h		\
677*7c478bd9Sstevel@tonic-gate	cachefs_fscache.h	\
678*7c478bd9Sstevel@tonic-gate	cachefs_ioctl.h		\
679*7c478bd9Sstevel@tonic-gate	cachefs_log.h		\
680*7c478bd9Sstevel@tonic-gate	dv_node.h		\
681*7c478bd9Sstevel@tonic-gate	fifonode.h		\
682*7c478bd9Sstevel@tonic-gate	hsfs_isospec.h		\
683*7c478bd9Sstevel@tonic-gate	hsfs_node.h		\
684*7c478bd9Sstevel@tonic-gate	hsfs_rrip.h		\
685*7c478bd9Sstevel@tonic-gate	hsfs_spec.h		\
686*7c478bd9Sstevel@tonic-gate	hsfs_susp.h		\
687*7c478bd9Sstevel@tonic-gate	lofs_info.h		\
688*7c478bd9Sstevel@tonic-gate	lofs_node.h		\
689*7c478bd9Sstevel@tonic-gate	mntdata.h		\
690*7c478bd9Sstevel@tonic-gate	namenode.h		\
691*7c478bd9Sstevel@tonic-gate	pc_dir.h		\
692*7c478bd9Sstevel@tonic-gate	pc_fs.h			\
693*7c478bd9Sstevel@tonic-gate	pc_label.h		\
694*7c478bd9Sstevel@tonic-gate	pc_node.h		\
695*7c478bd9Sstevel@tonic-gate	pxfs_ki.h		\
696*7c478bd9Sstevel@tonic-gate	snode.h			\
697*7c478bd9Sstevel@tonic-gate	swapnode.h		\
698*7c478bd9Sstevel@tonic-gate	tmp.h			\
699*7c478bd9Sstevel@tonic-gate	tmpnode.h		\
700*7c478bd9Sstevel@tonic-gate	udf_inode.h		\
701*7c478bd9Sstevel@tonic-gate	udf_volume.h		\
702*7c478bd9Sstevel@tonic-gate	ufs_acl.h		\
703*7c478bd9Sstevel@tonic-gate	ufs_bio.h		\
704*7c478bd9Sstevel@tonic-gate	ufs_filio.h		\
705*7c478bd9Sstevel@tonic-gate	ufs_fs.h		\
706*7c478bd9Sstevel@tonic-gate	ufs_fsdir.h		\
707*7c478bd9Sstevel@tonic-gate	ufs_inode.h		\
708*7c478bd9Sstevel@tonic-gate	ufs_lockfs.h		\
709*7c478bd9Sstevel@tonic-gate	ufs_log.h		\
710*7c478bd9Sstevel@tonic-gate	ufs_mount.h		\
711*7c478bd9Sstevel@tonic-gate	ufs_panic.h		\
712*7c478bd9Sstevel@tonic-gate	ufs_prot.h		\
713*7c478bd9Sstevel@tonic-gate	ufs_quota.h		\
714*7c478bd9Sstevel@tonic-gate	ufs_snap.h              \
715*7c478bd9Sstevel@tonic-gate	ufs_trans.h
716*7c478bd9Sstevel@tonic-gate
717*7c478bd9Sstevel@tonic-gatePCMCIAHDRS=		\
718*7c478bd9Sstevel@tonic-gate	pcata.h		\
719*7c478bd9Sstevel@tonic-gate	pcelx.h		\
720*7c478bd9Sstevel@tonic-gate	pcgld.h		\
721*7c478bd9Sstevel@tonic-gate	pcramio.h	\
722*7c478bd9Sstevel@tonic-gate	pcramvar.h	\
723*7c478bd9Sstevel@tonic-gate	pcser_conf.h	\
724*7c478bd9Sstevel@tonic-gate	pcser_io.h	\
725*7c478bd9Sstevel@tonic-gate	pcser_reg.h	\
726*7c478bd9Sstevel@tonic-gate	pcser_manuspec.h \
727*7c478bd9Sstevel@tonic-gate	pcser_var.h
728*7c478bd9Sstevel@tonic-gate
729*7c478bd9Sstevel@tonic-gateSCSIHDRS=		\
730*7c478bd9Sstevel@tonic-gate	scsi.h		\
731*7c478bd9Sstevel@tonic-gate	scsi_address.h	\
732*7c478bd9Sstevel@tonic-gate	scsi_ctl.h	\
733*7c478bd9Sstevel@tonic-gate	scsi_params.h	\
734*7c478bd9Sstevel@tonic-gate	scsi_pkt.h	\
735*7c478bd9Sstevel@tonic-gate	scsi_resource.h	\
736*7c478bd9Sstevel@tonic-gate	scsi_types.h	\
737*7c478bd9Sstevel@tonic-gate	scsi_watch.h
738*7c478bd9Sstevel@tonic-gate
739*7c478bd9Sstevel@tonic-gateSCSICONFHDRS=		\
740*7c478bd9Sstevel@tonic-gate	autoconf.h	\
741*7c478bd9Sstevel@tonic-gate	device.h
742*7c478bd9Sstevel@tonic-gate
743*7c478bd9Sstevel@tonic-gateSCSIGENHDRS=		\
744*7c478bd9Sstevel@tonic-gate	commands.h	\
745*7c478bd9Sstevel@tonic-gate	dad_mode.h	\
746*7c478bd9Sstevel@tonic-gate	inquiry.h	\
747*7c478bd9Sstevel@tonic-gate	message.h	\
748*7c478bd9Sstevel@tonic-gate	mode.h		\
749*7c478bd9Sstevel@tonic-gate	sense.h		\
750*7c478bd9Sstevel@tonic-gate	status.h
751*7c478bd9Sstevel@tonic-gate
752*7c478bd9Sstevel@tonic-gateSCSIIMPLHDRS=		\
753*7c478bd9Sstevel@tonic-gate	commands.h	\
754*7c478bd9Sstevel@tonic-gate	inquiry.h	\
755*7c478bd9Sstevel@tonic-gate	mode.h		\
756*7c478bd9Sstevel@tonic-gate	pkt_wrapper.h	\
757*7c478bd9Sstevel@tonic-gate	sense.h		\
758*7c478bd9Sstevel@tonic-gate	services.h	\
759*7c478bd9Sstevel@tonic-gate	status.h	\
760*7c478bd9Sstevel@tonic-gate	transport.h	\
761*7c478bd9Sstevel@tonic-gate	scsi_reset_notify.h \
762*7c478bd9Sstevel@tonic-gate	types.h		\
763*7c478bd9Sstevel@tonic-gate	uscsi.h
764*7c478bd9Sstevel@tonic-gate
765*7c478bd9Sstevel@tonic-gateSCSITARGETSHDRS=	\
766*7c478bd9Sstevel@tonic-gate	ses.h		\
767*7c478bd9Sstevel@tonic-gate	sesio.h		\
768*7c478bd9Sstevel@tonic-gate	stdef.h		\
769*7c478bd9Sstevel@tonic-gate	sddef.h		\
770*7c478bd9Sstevel@tonic-gate	sgendef.h
771*7c478bd9Sstevel@tonic-gate
772*7c478bd9Sstevel@tonic-gateSCSICADHDRS=		\
773*7c478bd9Sstevel@tonic-gate	glmreg.h	\
774*7c478bd9Sstevel@tonic-gate	glmvar.h	\
775*7c478bd9Sstevel@tonic-gate	mptreg.h	\
776*7c478bd9Sstevel@tonic-gate	mptvar.h
777*7c478bd9Sstevel@tonic-gate
778*7c478bd9Sstevel@tonic-gateSCSIVHCIHDRS=		\
779*7c478bd9Sstevel@tonic-gate	scsi_vhci.h
780*7c478bd9Sstevel@tonic-gate
781*7c478bd9Sstevel@tonic-gateFCHDRS=			\
782*7c478bd9Sstevel@tonic-gate	fc_transport.h	\
783*7c478bd9Sstevel@tonic-gate	linkapp.h	\
784*7c478bd9Sstevel@tonic-gate	fc.h		\
785*7c478bd9Sstevel@tonic-gate	fcp.h		\
786*7c478bd9Sstevel@tonic-gate	fcal_transport.h \
787*7c478bd9Sstevel@tonic-gate	fcal.h		\
788*7c478bd9Sstevel@tonic-gate	fcal_linkapp.h	\
789*7c478bd9Sstevel@tonic-gate	fcio.h
790*7c478bd9Sstevel@tonic-gate
791*7c478bd9Sstevel@tonic-gateSYSEVENTHDRS=		\
792*7c478bd9Sstevel@tonic-gate	ap_driver.h     \
793*7c478bd9Sstevel@tonic-gate	dev.h		\
794*7c478bd9Sstevel@tonic-gate	domain.h        \
795*7c478bd9Sstevel@tonic-gate	dr.h            \
796*7c478bd9Sstevel@tonic-gate	env.h           \
797*7c478bd9Sstevel@tonic-gate	eventdefs.h	\
798*7c478bd9Sstevel@tonic-gate	ipmp.h		\
799*7c478bd9Sstevel@tonic-gate	svm.h
800*7c478bd9Sstevel@tonic-gate
801*7c478bd9Sstevel@tonic-gateCONTRACTHDRS=		\
802*7c478bd9Sstevel@tonic-gate	process.h	\
803*7c478bd9Sstevel@tonic-gate	process_impl.h
804*7c478bd9Sstevel@tonic-gate
805*7c478bd9Sstevel@tonic-gateUSBHDRS=	\
806*7c478bd9Sstevel@tonic-gate	usba.h	\
807*7c478bd9Sstevel@tonic-gate	usbai.h
808*7c478bd9Sstevel@tonic-gate
809*7c478bd9Sstevel@tonic-gateUSBAUDHDRS=           \
810*7c478bd9Sstevel@tonic-gate	usb_audio.h
811*7c478bd9Sstevel@tonic-gate
812*7c478bd9Sstevel@tonic-gateUSBHUBDHDRS=		\
813*7c478bd9Sstevel@tonic-gate	hub.h		\
814*7c478bd9Sstevel@tonic-gate	hubd_impl.h
815*7c478bd9Sstevel@tonic-gate
816*7c478bd9Sstevel@tonic-gateUSBHIDHDRS=		\
817*7c478bd9Sstevel@tonic-gate	hid.h
818*7c478bd9Sstevel@tonic-gate
819*7c478bd9Sstevel@tonic-gateUSBMSHDRS=		\
820*7c478bd9Sstevel@tonic-gate	usb_bulkonly.h	\
821*7c478bd9Sstevel@tonic-gate	usb_cbi.h
822*7c478bd9Sstevel@tonic-gate
823*7c478bd9Sstevel@tonic-gateUSBPRNHDRS=           \
824*7c478bd9Sstevel@tonic-gate	usb_printer.h
825*7c478bd9Sstevel@tonic-gate
826*7c478bd9Sstevel@tonic-gateUGENHDRS=           \
827*7c478bd9Sstevel@tonic-gate	usb_ugen.h
828*7c478bd9Sstevel@tonic-gate
829*7c478bd9Sstevel@tonic-gateHOTPLUGHDRS=	\
830*7c478bd9Sstevel@tonic-gate	hpcsvc.h	\
831*7c478bd9Sstevel@tonic-gate	hpctrl.h
832*7c478bd9Sstevel@tonic-gate
833*7c478bd9Sstevel@tonic-gateHOTPLUGPCIHDRS=	\
834*7c478bd9Sstevel@tonic-gate	pcicfg.h	\
835*7c478bd9Sstevel@tonic-gate	pcihp.h
836*7c478bd9Sstevel@tonic-gate
837*7c478bd9Sstevel@tonic-gateRSMHDRS= \
838*7c478bd9Sstevel@tonic-gate	rsm.h	\
839*7c478bd9Sstevel@tonic-gate	rsm_common.h	\
840*7c478bd9Sstevel@tonic-gate	rsmapi_common.h \
841*7c478bd9Sstevel@tonic-gate	rsmpi.h	\
842*7c478bd9Sstevel@tonic-gate	rsmpi_driver.h	\
843*7c478bd9Sstevel@tonic-gate	rsmka_path_int.h
844*7c478bd9Sstevel@tonic-gate
845*7c478bd9Sstevel@tonic-gateI1394HDRS=		\
846*7c478bd9Sstevel@tonic-gate	cmd1394.h	\
847*7c478bd9Sstevel@tonic-gate	id1394.h	\
848*7c478bd9Sstevel@tonic-gate	ieee1212.h	\
849*7c478bd9Sstevel@tonic-gate	ieee1394.h	\
850*7c478bd9Sstevel@tonic-gate	ixl1394.h	\
851*7c478bd9Sstevel@tonic-gate	s1394_impl.h	\
852*7c478bd9Sstevel@tonic-gate	t1394.h
853*7c478bd9Sstevel@tonic-gate
854*7c478bd9Sstevel@tonic-gate# "cmdk" headers used on sparc
855*7c478bd9Sstevel@tonic-gateSDKTPHDRS=		\
856*7c478bd9Sstevel@tonic-gate	dadkio.h	\
857*7c478bd9Sstevel@tonic-gate	fdisk.h
858*7c478bd9Sstevel@tonic-gate
859*7c478bd9Sstevel@tonic-gate# "cmdk" headers used on i386
860*7c478bd9Sstevel@tonic-gateDKTPHDRS=		\
861*7c478bd9Sstevel@tonic-gate	altsctr.h	\
862*7c478bd9Sstevel@tonic-gate	bbh.h		\
863*7c478bd9Sstevel@tonic-gate	cm.h		\
864*7c478bd9Sstevel@tonic-gate	cmdev.h		\
865*7c478bd9Sstevel@tonic-gate	cmdk.h		\
866*7c478bd9Sstevel@tonic-gate	cmpkt.h		\
867*7c478bd9Sstevel@tonic-gate	controller.h	\
868*7c478bd9Sstevel@tonic-gate	dadev.h		\
869*7c478bd9Sstevel@tonic-gate	dadk.h		\
870*7c478bd9Sstevel@tonic-gate	dadkio.h	\
871*7c478bd9Sstevel@tonic-gate	dklb.h		\
872*7c478bd9Sstevel@tonic-gate	fctypes.h	\
873*7c478bd9Sstevel@tonic-gate	fdisk.h		\
874*7c478bd9Sstevel@tonic-gate	flowctrl.h	\
875*7c478bd9Sstevel@tonic-gate	gda.h		\
876*7c478bd9Sstevel@tonic-gate	hba.h		\
877*7c478bd9Sstevel@tonic-gate	objmgr.h	\
878*7c478bd9Sstevel@tonic-gate	quetypes.h	\
879*7c478bd9Sstevel@tonic-gate	queue.h		\
880*7c478bd9Sstevel@tonic-gate	snlb.h		\
881*7c478bd9Sstevel@tonic-gate	tgcom.h		\
882*7c478bd9Sstevel@tonic-gate	tgdk.h
883*7c478bd9Sstevel@tonic-gate
884*7c478bd9Sstevel@tonic-gate# "pc" header files used on i386
885*7c478bd9Sstevel@tonic-gatePCHDRS=			\
886*7c478bd9Sstevel@tonic-gate	avintr.h	\
887*7c478bd9Sstevel@tonic-gate	dma_engine.h	\
888*7c478bd9Sstevel@tonic-gate	i8272A.h	\
889*7c478bd9Sstevel@tonic-gate	pcic_reg.h	\
890*7c478bd9Sstevel@tonic-gate	pcic_var.h	\
891*7c478bd9Sstevel@tonic-gate	pic.h		\
892*7c478bd9Sstevel@tonic-gate	pit.h		\
893*7c478bd9Sstevel@tonic-gate	rtc.h
894*7c478bd9Sstevel@tonic-gate
895*7c478bd9Sstevel@tonic-gate# I2O header files (currently used only on i386)
896*7c478bd9Sstevel@tonic-gateI2OHDRS=		\
897*7c478bd9Sstevel@tonic-gate	i2oadptr.h	\
898*7c478bd9Sstevel@tonic-gate	i2obscsi.h	\
899*7c478bd9Sstevel@tonic-gate	i2oexec.h	\
900*7c478bd9Sstevel@tonic-gate	i2omsg.h	\
901*7c478bd9Sstevel@tonic-gate	i2omstr.h	\
902*7c478bd9Sstevel@tonic-gate	i2outil.h
903*7c478bd9Sstevel@tonic-gate
904*7c478bd9Sstevel@tonic-gate# SVVS headers and other excluded headers
905*7c478bd9Sstevel@tonic-gateXHDRS=		\
906*7c478bd9Sstevel@tonic-gate	lo.h	\
907*7c478bd9Sstevel@tonic-gate	tidg.h	\
908*7c478bd9Sstevel@tonic-gate	tivc.h	\
909*7c478bd9Sstevel@tonic-gate	tmux.h
910*7c478bd9Sstevel@tonic-gate
911*7c478bd9Sstevel@tonic-gate# check files really don't exist
912*7c478bd9Sstevel@tonic-gate
913*7c478bd9Sstevel@tonic-gateaudio/%.check:	audio/%.h
914*7c478bd9Sstevel@tonic-gate	$(DOT_H_CHECK)
915*7c478bd9Sstevel@tonic-gate
916*7c478bd9Sstevel@tonic-gateav/%.check:	av/%.h
917*7c478bd9Sstevel@tonic-gate	$(DOT_H_CHECK)
918*7c478bd9Sstevel@tonic-gate
919*7c478bd9Sstevel@tonic-gatefm/%.check:     fm/%.h
920*7c478bd9Sstevel@tonic-gate	$(DOT_H_CHECK)
921*7c478bd9Sstevel@tonic-gate
922*7c478bd9Sstevel@tonic-gatefm/cpu/%.check:     fm/cpu/%.h
923*7c478bd9Sstevel@tonic-gate	$(DOT_H_CHECK)
924*7c478bd9Sstevel@tonic-gate
925*7c478bd9Sstevel@tonic-gatefm/io/%.check:     fm/io/%.h
926*7c478bd9Sstevel@tonic-gate	$(DOT_H_CHECK)
927*7c478bd9Sstevel@tonic-gate
928*7c478bd9Sstevel@tonic-gatefs/%.check:	fs/%.h
929*7c478bd9Sstevel@tonic-gate	$(DOT_H_CHECK)
930*7c478bd9Sstevel@tonic-gate
931*7c478bd9Sstevel@tonic-gateib/%.check:		ib/%.h
932*7c478bd9Sstevel@tonic-gate	$(DOT_H_CHECK)
933*7c478bd9Sstevel@tonic-gate
934*7c478bd9Sstevel@tonic-gateib/clients/ibd/%.check:	ib/clients/ibd/%.h
935*7c478bd9Sstevel@tonic-gate	$(DOT_H_CHECK)
936*7c478bd9Sstevel@tonic-gate
937*7c478bd9Sstevel@tonic-gateib/ibtl/%.check:	ib/ibtl/%.h
938*7c478bd9Sstevel@tonic-gate	$(DOT_H_CHECK)
939*7c478bd9Sstevel@tonic-gate
940*7c478bd9Sstevel@tonic-gateib/ibtl/impl/%.check:	ib/ibtl/impl/%.h
941*7c478bd9Sstevel@tonic-gate	$(DOT_H_CHECK)
942*7c478bd9Sstevel@tonic-gate
943*7c478bd9Sstevel@tonic-gateib/ibnex/%.check:	ib/ibnex/%.h
944*7c478bd9Sstevel@tonic-gate	$(DOT_H_CHECK)
945*7c478bd9Sstevel@tonic-gate
946*7c478bd9Sstevel@tonic-gateib/mgt/%.check:	ib/mgt/%.h
947*7c478bd9Sstevel@tonic-gate	$(DOT_H_CHECK)
948*7c478bd9Sstevel@tonic-gate
949*7c478bd9Sstevel@tonic-gateib/mgt/ibmf/%.check:	ib/mgt/ibmf/%.h
950*7c478bd9Sstevel@tonic-gate	$(DOT_H_CHECK)
951*7c478bd9Sstevel@tonic-gate
952*7c478bd9Sstevel@tonic-gateib/adapters/tavor/%.check:	ib/adapters/tavor/%.h
953*7c478bd9Sstevel@tonic-gate	$(DOT_H_CHECK)
954*7c478bd9Sstevel@tonic-gate
955*7c478bd9Sstevel@tonic-gatelvm/%.check:	lvm/%.h
956*7c478bd9Sstevel@tonic-gate	$(DOT_H_CHECK)
957*7c478bd9Sstevel@tonic-gate
958*7c478bd9Sstevel@tonic-gatepcmcia/%.check:	pcmcia/%.h
959*7c478bd9Sstevel@tonic-gate	$(DOT_H_CHECK)
960*7c478bd9Sstevel@tonic-gate
961*7c478bd9Sstevel@tonic-gatescsi/%.check:		scsi/%.h
962*7c478bd9Sstevel@tonic-gate	$(DOT_H_CHECK)
963*7c478bd9Sstevel@tonic-gate
964*7c478bd9Sstevel@tonic-gatescsi/conf/%.check:	scsi/conf/%.h
965*7c478bd9Sstevel@tonic-gate	$(DOT_H_CHECK)
966*7c478bd9Sstevel@tonic-gate
967*7c478bd9Sstevel@tonic-gatescsi/generic/%.check:	scsi/generic/%.h
968*7c478bd9Sstevel@tonic-gate	$(DOT_H_CHECK)
969*7c478bd9Sstevel@tonic-gate
970*7c478bd9Sstevel@tonic-gatescsi/impl/%.check:	scsi/impl/%.h
971*7c478bd9Sstevel@tonic-gate	$(DOT_H_CHECK)
972*7c478bd9Sstevel@tonic-gate
973*7c478bd9Sstevel@tonic-gatescsi/targets/%.check:	scsi/targets/%.h
974*7c478bd9Sstevel@tonic-gate	$(DOT_H_CHECK)
975*7c478bd9Sstevel@tonic-gate
976*7c478bd9Sstevel@tonic-gatescsi/adapters/%.check:	scsi/adapters/%.h
977*7c478bd9Sstevel@tonic-gate	$(DOT_H_CHECK)
978*7c478bd9Sstevel@tonic-gate
979*7c478bd9Sstevel@tonic-gatesysevent/%.check:     sysevent/%.h
980*7c478bd9Sstevel@tonic-gate	$(DOT_H_CHECK)
981*7c478bd9Sstevel@tonic-gate
982*7c478bd9Sstevel@tonic-gatecontract/%.check:     contract/%.h
983*7c478bd9Sstevel@tonic-gate	$(DOT_H_CHECK)
984*7c478bd9Sstevel@tonic-gate
985*7c478bd9Sstevel@tonic-gateusb/%.check:		usb/%.h
986*7c478bd9Sstevel@tonic-gate	$(DOT_H_CHECK)
987*7c478bd9Sstevel@tonic-gate
988*7c478bd9Sstevel@tonic-gateusb/clients/audio/%.check:  usb/clients/audio/%.h
989*7c478bd9Sstevel@tonic-gate	$(DOT_H_CHECK)
990*7c478bd9Sstevel@tonic-gate
991*7c478bd9Sstevel@tonic-gateusb/hubd/%.check:	usb/hubd/%.h
992*7c478bd9Sstevel@tonic-gate	$(DOT_H_CHECK)
993*7c478bd9Sstevel@tonic-gate
994*7c478bd9Sstevel@tonic-gateusb/clients/hid/%.check:	usb/clients/hid/%.h
995*7c478bd9Sstevel@tonic-gate	$(DOT_H_CHECK)
996*7c478bd9Sstevel@tonic-gate
997*7c478bd9Sstevel@tonic-gateusb/clients/mass_storage/%.check:	usb/clients/mass_storage/%.h
998*7c478bd9Sstevel@tonic-gate	$(DOT_H_CHECK)
999*7c478bd9Sstevel@tonic-gate
1000*7c478bd9Sstevel@tonic-gateusb/clients/hid/%.check:	usb/clients/hid/%.h
1001*7c478bd9Sstevel@tonic-gate	$(DOT_H_CHECK)
1002*7c478bd9Sstevel@tonic-gate
1003*7c478bd9Sstevel@tonic-gateusb/clients/printer/%.check:  usb/clients/printer/%.h
1004*7c478bd9Sstevel@tonic-gate	$(DOT_H_CHECK)
1005*7c478bd9Sstevel@tonic-gate
1006*7c478bd9Sstevel@tonic-gate1394/%.check:         1394/%.h
1007*7c478bd9Sstevel@tonic-gate	$(DOT_H_CHECK)
1008*7c478bd9Sstevel@tonic-gate
1009*7c478bd9Sstevel@tonic-gatersm/%.check:	rsm/%.h
1010*7c478bd9Sstevel@tonic-gate	$(DOT_H_CHECK)
1011*7c478bd9Sstevel@tonic-gate
1012*7c478bd9Sstevel@tonic-gateCHECKHDRS=						\
1013*7c478bd9Sstevel@tonic-gate	$($(MACH)_HDRS:%.h=%.check)			\
1014*7c478bd9Sstevel@tonic-gate	$(AUDIOHDRS:%.h=audio/%.check)			\
1015*7c478bd9Sstevel@tonic-gate	$(BSCHDRS:%.h=%.check)				\
1016*7c478bd9Sstevel@tonic-gate	$(CHKHDRS:%.h=%.check)				\
1017*7c478bd9Sstevel@tonic-gate	$(CRYPTOHDRS:%.h=crypto/%.check)		\
1018*7c478bd9Sstevel@tonic-gate	$(IBHDRS:%.h=ib/%.check)			\
1019*7c478bd9Sstevel@tonic-gate	$(IBDHDRS:%.h=ib/clients/ibd/%.check)		\
1020*7c478bd9Sstevel@tonic-gate	$(IBTLHDRS:%.h=ib/ibtl/%.check)			\
1021*7c478bd9Sstevel@tonic-gate	$(IBTLIMPLHDRS:%.h=ib/ibtl/impl/%.check)	\
1022*7c478bd9Sstevel@tonic-gate	$(IBNEXHDRS:%.h=ib/ibnex/%.check)	\
1023*7c478bd9Sstevel@tonic-gate	$(IBMGTHDRS:%.h=ib/mgt/%.check)			\
1024*7c478bd9Sstevel@tonic-gate	$(IBMFHDRS:%.h=ib/mgt/ibmf/%.check)		\
1025*7c478bd9Sstevel@tonic-gate	$(TAVORHDRS:%.h=ib/adapters/tavor/%.check)	\
1026*7c478bd9Sstevel@tonic-gate	$(ISOHDRS:%.h=iso/%.check)			\
1027*7c478bd9Sstevel@tonic-gate	$(FMHDRS:%.h=fm/%.check)			\
1028*7c478bd9Sstevel@tonic-gate	$(FMCPUHDRS:%.h=fm/cpu/%.check)			\
1029*7c478bd9Sstevel@tonic-gate	$(FMIOHDRS:%.h=fm/io/%.check)			\
1030*7c478bd9Sstevel@tonic-gate	$(FSHDRS:%.h=fs/%.check)			\
1031*7c478bd9Sstevel@tonic-gate	$(LVMHDRS:%.h=lvm/%.check)			\
1032*7c478bd9Sstevel@tonic-gate	$(XHDRS:%.h=%.check)				\
1033*7c478bd9Sstevel@tonic-gate	$(PCMCIAHDRS:%.h=pcmcia/%.check)		\
1034*7c478bd9Sstevel@tonic-gate	$(SCSIHDRS:%.h=scsi/%.check)			\
1035*7c478bd9Sstevel@tonic-gate	$(SCSICONHDRS:%.h=scsi/conf/%.check)		\
1036*7c478bd9Sstevel@tonic-gate	$(SCSIIMPLHDRS:%.h=scsi/impl/%.check)		\
1037*7c478bd9Sstevel@tonic-gate	$(SCSITARGETSHDRS:%.h=scsi/targets/%.check)	\
1038*7c478bd9Sstevel@tonic-gate	$(SCSIVHCIHDRS:%.h=scsi/adapters/%.check)	\
1039*7c478bd9Sstevel@tonic-gate	$(FCHDRS:%.h=fc4/%.check)			\
1040*7c478bd9Sstevel@tonic-gate	$(SYSEVENTHDRS:%.h=sysevent/%.check)            \
1041*7c478bd9Sstevel@tonic-gate	$(CONTRACTHDRS:%.h=contract/%.check)            \
1042*7c478bd9Sstevel@tonic-gate	$(USBAUDHDRS:%.h=usb/clients/audio/%.check)   \
1043*7c478bd9Sstevel@tonic-gate	$(USBHUBDHDRS:%.h=usb/hubd/%.check)		\
1044*7c478bd9Sstevel@tonic-gate	$(USBHIDHDRS:%.h=usb/clients/hid/%.check)	\
1045*7c478bd9Sstevel@tonic-gate	$(USBMSHDRS:%.h=usb/clients/mass_storage/%.check)	\
1046*7c478bd9Sstevel@tonic-gate	$(USBPRNHDRS:%.h=usb/clients/printer/%.check)   \
1047*7c478bd9Sstevel@tonic-gate	$(UGENHDRS:%.h=usb/clients/ugen/%.check)   \
1048*7c478bd9Sstevel@tonic-gate	$(USBHDRS:%.h=usb/%.check)                      \
1049*7c478bd9Sstevel@tonic-gate	$(I1394HDRS:%.h=1394/%.check)			\
1050*7c478bd9Sstevel@tonic-gate	$(RSMHDRS:%.h=rsm/%.check)
1051*7c478bd9Sstevel@tonic-gate
1052*7c478bd9Sstevel@tonic-gate
1053*7c478bd9Sstevel@tonic-gateROOTDIR=	$(ROOT)/usr/include/sys
1054*7c478bd9Sstevel@tonic-gate
1055*7c478bd9Sstevel@tonic-gateROOTDKTPDIR=	$(ROOTDIR)/dktp
1056*7c478bd9Sstevel@tonic-gate
1057*7c478bd9Sstevel@tonic-gatesparc_ROOTDIRS=	$(ROOTDKTPDIR) $(ROOTDIR)/scsi/adapters \
1058*7c478bd9Sstevel@tonic-gate		$(ROOTDIR)/scsi/targets \
1059*7c478bd9Sstevel@tonic-gate		$(ROOTDIR)/av
1060*7c478bd9Sstevel@tonic-gate
1061*7c478bd9Sstevel@tonic-gatei386_ROOTDIRS=	$(ROOTDKTPDIR) $(ROOTDIR)/scsi/adapters $(ROOTDIR)/scsi/targets \
1062*7c478bd9Sstevel@tonic-gate		$(ROOTDIR)/i2o $(ROOTDIR)/agp
1063*7c478bd9Sstevel@tonic-gate
1064*7c478bd9Sstevel@tonic-gateROOTDIRS=			\
1065*7c478bd9Sstevel@tonic-gate	$(ROOTDIR)		\
1066*7c478bd9Sstevel@tonic-gate	$(ROOTDIR)/audio	\
1067*7c478bd9Sstevel@tonic-gate	$(ROOTDIR)/hotplug	\
1068*7c478bd9Sstevel@tonic-gate	$(ROOTDIR)/hotplug/pci	\
1069*7c478bd9Sstevel@tonic-gate	$(ROOTDIR)/crypto	\
1070*7c478bd9Sstevel@tonic-gate	$(ROOTDIR)/iso		\
1071*7c478bd9Sstevel@tonic-gate	$(ROOTDIR)/fm		\
1072*7c478bd9Sstevel@tonic-gate	$(ROOTDIR)/fm/cpu	\
1073*7c478bd9Sstevel@tonic-gate	$(ROOTDIR)/fm/io	\
1074*7c478bd9Sstevel@tonic-gate	$(ROOTDIR)/fs		\
1075*7c478bd9Sstevel@tonic-gate	$(ROOTDIR)/ib		\
1076*7c478bd9Sstevel@tonic-gate	$(ROOTDIR)/ib/adapters/tavor	\
1077*7c478bd9Sstevel@tonic-gate	$(ROOTDIR)/ib/ibtl	\
1078*7c478bd9Sstevel@tonic-gate	$(ROOTDIR)/ib/ibtl/impl	\
1079*7c478bd9Sstevel@tonic-gate	$(ROOTDIR)/ib/mgt	\
1080*7c478bd9Sstevel@tonic-gate	$(ROOTDIR)/ib/mgt/ibmf	\
1081*7c478bd9Sstevel@tonic-gate	$(ROOTDIR)/ib/ibnex	\
1082*7c478bd9Sstevel@tonic-gate	$(ROOTDIR)/ib/clients/ibd \
1083*7c478bd9Sstevel@tonic-gate	$(ROOTDIR)/lvm		\
1084*7c478bd9Sstevel@tonic-gate	$(ROOTDIR)/pcmcia	\
1085*7c478bd9Sstevel@tonic-gate	$(ROOTDIR)/scsi		\
1086*7c478bd9Sstevel@tonic-gate	$(ROOTDIR)/scsi/conf	\
1087*7c478bd9Sstevel@tonic-gate	$(ROOTDIR)/scsi/generic	\
1088*7c478bd9Sstevel@tonic-gate	$(ROOTDIR)/scsi/impl	\
1089*7c478bd9Sstevel@tonic-gate	$(ROOTDIR)/fc4		\
1090*7c478bd9Sstevel@tonic-gate	$(ROOTDIR)/sysevent     \
1091*7c478bd9Sstevel@tonic-gate	$(ROOTDIR)/contract     \
1092*7c478bd9Sstevel@tonic-gate	$(ROOTDIR)/usb		\
1093*7c478bd9Sstevel@tonic-gate	$(ROOTDIR)/usb/hubd	\
1094*7c478bd9Sstevel@tonic-gate	$(ROOTDIR)/usb/clients	\
1095*7c478bd9Sstevel@tonic-gate	$(ROOTDIR)/usb/clients/audio  \
1096*7c478bd9Sstevel@tonic-gate	$(ROOTDIR)/usb/clients/hid \
1097*7c478bd9Sstevel@tonic-gate	$(ROOTDIR)/usb/clients/mass_storage	\
1098*7c478bd9Sstevel@tonic-gate	$(ROOTDIR)/usb/clients/printer  \
1099*7c478bd9Sstevel@tonic-gate	$(ROOTDIR)/usb/clients/ugen  \
1100*7c478bd9Sstevel@tonic-gate	$(ROOTDIR)/1394         \
1101*7c478bd9Sstevel@tonic-gate	$(ROOTDIR)/rsm		\
1102*7c478bd9Sstevel@tonic-gate	$($(MACH)_ROOTDIRS)
1103*7c478bd9Sstevel@tonic-gate
1104*7c478bd9Sstevel@tonic-gate
1105*7c478bd9Sstevel@tonic-gateROOTHDRS=				\
1106*7c478bd9Sstevel@tonic-gate	$($(MACH)_HDRS:%=$(ROOTDIR)/%)	\
1107*7c478bd9Sstevel@tonic-gate	$(HDRS:%=$(ROOTDIR)/%)
1108*7c478bd9Sstevel@tonic-gate
1109*7c478bd9Sstevel@tonic-gateROOTAUDHDRS= $(AUDIOHDRS:%=$(ROOTDIR)/audio/%)
1110*7c478bd9Sstevel@tonic-gate
1111*7c478bd9Sstevel@tonic-gateROOTAVHDRS= $(AVHDRS:%=$(ROOTDIR)/av/%)
1112*7c478bd9Sstevel@tonic-gate
1113*7c478bd9Sstevel@tonic-gateROOTCRYPTOHDRS= $(CRYPTOHDRS:%=$(ROOTDIR)/crypto/%)
1114*7c478bd9Sstevel@tonic-gate
1115*7c478bd9Sstevel@tonic-gateROOTIBHDRS= $(IBHDRS:%=$(ROOTDIR)/ib/%)
1116*7c478bd9Sstevel@tonic-gateROOTIBDHDRS= $(IBDHDRS:%=$(ROOTDIR)/ib/clients/ibd/%)
1117*7c478bd9Sstevel@tonic-gateROOTIBTLHDRS= $(IBTLHDRS:%=$(ROOTDIR)/ib/ibtl/%)
1118*7c478bd9Sstevel@tonic-gateROOTIBTLIMPLHDRS= $(IBTLIMPLHDRS:%=$(ROOTDIR)/ib/ibtl/impl/%)
1119*7c478bd9Sstevel@tonic-gateROOTIBNEXHDRS= $(IBNEXHDRS:%=$(ROOTDIR)/ib/ibnex/%)
1120*7c478bd9Sstevel@tonic-gateROOTIBMGTHDRS= $(IBMGTHDRS:%=$(ROOTDIR)/ib/mgt/%)
1121*7c478bd9Sstevel@tonic-gateROOTIBMFHDRS= $(IBMFHDRS:%=$(ROOTDIR)/ib/mgt/ibmf/%)
1122*7c478bd9Sstevel@tonic-gateROOTTAVORHDRS= $(TAVORHDRS:%=$(ROOTDIR)/ib/adapters/tavor/%)
1123*7c478bd9Sstevel@tonic-gate
1124*7c478bd9Sstevel@tonic-gateROOTISOHDRS= $(ISOHDRS:%=$(ROOTDIR)/iso/%)
1125*7c478bd9Sstevel@tonic-gate
1126*7c478bd9Sstevel@tonic-gateROOTFMHDRS= $(FMHDRS:%=$(ROOTDIR)/fm/%)
1127*7c478bd9Sstevel@tonic-gateROOTFMCPUHDRS= $(FMCPUHDRS:%=$(ROOTDIR)/fm/cpu/%)
1128*7c478bd9Sstevel@tonic-gateROOTFMIOHDRS= $(FMIOHDRS:%=$(ROOTDIR)/fm/io/%)
1129*7c478bd9Sstevel@tonic-gate
1130*7c478bd9Sstevel@tonic-gateROOTFSHDRS= $(FSHDRS:%=$(ROOTDIR)/fs/%)
1131*7c478bd9Sstevel@tonic-gate
1132*7c478bd9Sstevel@tonic-gateROOTLVMHDRS= $(ALL_LVMHDRS:%=$(ROOTDIR)/lvm/%)
1133*7c478bd9Sstevel@tonic-gate
1134*7c478bd9Sstevel@tonic-gateROOTPCMCIAHDRS= $(PCMCIAHDRS:%=$(ROOTDIR)/pcmcia/%)
1135*7c478bd9Sstevel@tonic-gate
1136*7c478bd9Sstevel@tonic-gateROOTSCSIHDRS= $(SCSIHDRS:%=$(ROOTDIR)/scsi/%)
1137*7c478bd9Sstevel@tonic-gateROOTSCSICONFHDRS= $(SCSICONFHDRS:%=$(ROOTDIR)/scsi/conf/%)
1138*7c478bd9Sstevel@tonic-gateROOTSCSIGENHDRS= $(SCSIGENHDRS:%=$(ROOTDIR)/scsi/generic/%)
1139*7c478bd9Sstevel@tonic-gateROOTSCSIIMPLHDRS= $(SCSIIMPLHDRS:%=$(ROOTDIR)/scsi/impl/%)
1140*7c478bd9Sstevel@tonic-gateROOTSCSITARGETSHDRS= $(SCSITARGETSHDRS:%=$(ROOTDIR)/scsi/targets/%)
1141*7c478bd9Sstevel@tonic-gateROOTSCSICADHDRS= $(SCSICADHDRS:%=$(ROOTDIR)/scsi/adapters/%)
1142*7c478bd9Sstevel@tonic-gateROOTSCSIVHCIHDRS= $(SCSIVHCIHDRS:%=$(ROOTDIR)/scsi/adapters/%)
1143*7c478bd9Sstevel@tonic-gate
1144*7c478bd9Sstevel@tonic-gateROOTFCHDRS= $(FCHDRS:%=$(ROOTDIR)/fc4/%)
1145*7c478bd9Sstevel@tonic-gate
1146*7c478bd9Sstevel@tonic-gateROOTSYSEVENTHDRS= $(SYSEVENTHDRS:%=$(ROOTDIR)/sysevent/%)
1147*7c478bd9Sstevel@tonic-gateROOTCONTRACTHDRS= $(CONTRACTHDRS:%=$(ROOTDIR)/contract/%)
1148*7c478bd9Sstevel@tonic-gate
1149*7c478bd9Sstevel@tonic-gateROOTXHDRS= $(XHDRS:%=$(ROOTDIR)/%)
1150*7c478bd9Sstevel@tonic-gate
1151*7c478bd9Sstevel@tonic-gateROOTUSBHDRS= $(USBHDRS:%=$(ROOTDIR)/usb/%)
1152*7c478bd9Sstevel@tonic-gateROOTUSBAUDHDRS= $(USBAUDHDRS:%=$(ROOTDIR)/usb/clients/audio/%)
1153*7c478bd9Sstevel@tonic-gateROOTUSBHUBDHDRS= $(USBHUBDHDRS:%=$(ROOTDIR)/usb/hubd/%)
1154*7c478bd9Sstevel@tonic-gateROOTUSBHIDHDRS = $(USBHIDHDRS:%=$(ROOTDIR)/usb/clients/hid/%)
1155*7c478bd9Sstevel@tonic-gateROOTUSBMSHDRS= $(USBMSHDRS:%=$(ROOTDIR)/usb/clients/mass_storage/%)
1156*7c478bd9Sstevel@tonic-gateROOTUSBPRNHDRS= $(USBPRNHDRS:%=$(ROOTDIR)/usb/clients/printer/%)
1157*7c478bd9Sstevel@tonic-gateROOTUGENHDRS= $(UGENHDRS:%=$(ROOTDIR)/usb/clients/ugen/%)
1158*7c478bd9Sstevel@tonic-gate
1159*7c478bd9Sstevel@tonic-gateROOT1394HDRS= $(I1394HDRS:%=$(ROOTDIR)/1394/%)
1160*7c478bd9Sstevel@tonic-gate
1161*7c478bd9Sstevel@tonic-gateROOTRSMHDRS= $(RSMHDRS:%=$(ROOTDIR)/rsm/%)
1162*7c478bd9Sstevel@tonic-gate
1163*7c478bd9Sstevel@tonic-gateROOTSDKTPHDRS= $(SDKTPHDRS:%=$(ROOTDIR)/dktp/%)
1164*7c478bd9Sstevel@tonic-gateROOTDKTPHDRS= $(DKTPHDRS:%=$(ROOTDIR)/dktp/%)
1165*7c478bd9Sstevel@tonic-gateROOTPCHDRS= $(PCHDRS:%=$(ROOTDIR)/%)
1166*7c478bd9Sstevel@tonic-gateROOTI2OHDRS= $(I2OHDRS:%=$(ROOTDIR)/i2o/%)
1167*7c478bd9Sstevel@tonic-gateROOTHOTPLUGHDRS= $(HOTPLUGHDRS:%=$(ROOTDIR)/hotplug/%)
1168*7c478bd9Sstevel@tonic-gateROOTHOTPLUGPCIHDRS= $(HOTPLUGPCIHDRS:%=$(ROOTDIR)/hotplug/pci/%)
1169*7c478bd9Sstevel@tonic-gate
1170*7c478bd9Sstevel@tonic-gate
1171*7c478bd9Sstevel@tonic-gatesparc_ROOTHDRS=	$(ROOTSDKTPHDRS) $(ROOTSCSICADHDRS) $(ROOTSCSITARGETSHDRS) \
1172*7c478bd9Sstevel@tonic-gate		$(ROOTFCHDRS) $(ROOTUSBHDRS) $(ROOTUSBHUBDHDRS) $(ROOTPCMCIAHDRS) \
1173*7c478bd9Sstevel@tonic-gate		$(ROOTUSBAUDHDRS) \
1174*7c478bd9Sstevel@tonic-gate		$(ROOTUSBHIDHDRS) $(ROOTUSBMSHDRS) $(ROOTUSBPRNHDRS) \
1175*7c478bd9Sstevel@tonic-gate		$(ROOTUGENHDRS)
1176*7c478bd9Sstevel@tonic-gate
1177*7c478bd9Sstevel@tonic-gatei386_ROOTHDRS=	$(ROOTDKTPHDRS) $(ROOTPCHDRS) $(ROOTSCSITARGETSHDRS)	\
1178*7c478bd9Sstevel@tonic-gate		$(ROOTSCSIVHCIHDRS) $(ROOTFCHDRS)	\
1179*7c478bd9Sstevel@tonic-gate		$(ROOTI2OHDRS) $(ROOTPCMCIAHDRS) $(ROOTHOTPLUGHDRS) \
1180*7c478bd9Sstevel@tonic-gate		$(ROOTHOTPLUGPCIHDRS)
1181*7c478bd9Sstevel@tonic-gate
1182*7c478bd9Sstevel@tonic-gate# install rules
1183*7c478bd9Sstevel@tonic-gate$(ROOTDIR)/%: %
1184*7c478bd9Sstevel@tonic-gate	$(INS.file)
1185*7c478bd9Sstevel@tonic-gate
1186*7c478bd9Sstevel@tonic-gate$(ROOTDIR)/crypto/%: crypto/%
1187*7c478bd9Sstevel@tonic-gate	$(INS.file)
1188*7c478bd9Sstevel@tonic-gate
1189*7c478bd9Sstevel@tonic-gate$(ROOTDIR)/fm/%:                fm/%
1190*7c478bd9Sstevel@tonic-gate	$(INS.file)
1191*7c478bd9Sstevel@tonic-gate
1192*7c478bd9Sstevel@tonic-gate$(ROOTDIR)/fm/cpu/%:                fm/cpu/%
1193*7c478bd9Sstevel@tonic-gate	$(INS.file)
1194*7c478bd9Sstevel@tonic-gate
1195*7c478bd9Sstevel@tonic-gate$(ROOTDIR)/fm/io/%:                fm/io/%
1196*7c478bd9Sstevel@tonic-gate	$(INS.file)
1197*7c478bd9Sstevel@tonic-gate
1198*7c478bd9Sstevel@tonic-gate$(ROOTDIR)/fs/%: fs/%
1199*7c478bd9Sstevel@tonic-gate	$(INS.file)
1200*7c478bd9Sstevel@tonic-gate
1201*7c478bd9Sstevel@tonic-gate$(ROOTDIR)/ib/%:		ib/%
1202*7c478bd9Sstevel@tonic-gate	$(INS.file)
1203*7c478bd9Sstevel@tonic-gate
1204*7c478bd9Sstevel@tonic-gate$(ROOTDIR)/ib/clients/ibd/%:	ib/clients/ibd/%
1205*7c478bd9Sstevel@tonic-gate	$(INS.file)
1206*7c478bd9Sstevel@tonic-gate
1207*7c478bd9Sstevel@tonic-gate$(ROOTDIR)/ib/ibtl/%:		ib/ibtl/%
1208*7c478bd9Sstevel@tonic-gate	$(INS.file)
1209*7c478bd9Sstevel@tonic-gate
1210*7c478bd9Sstevel@tonic-gate$(ROOTDIR)/ib/ibtl/impl/%:	ib/ibtl/impl/%
1211*7c478bd9Sstevel@tonic-gate	$(INS.file)
1212*7c478bd9Sstevel@tonic-gate
1213*7c478bd9Sstevel@tonic-gate$(ROOTDIR)/ib/ibnex/%:		ib/ibnex/%
1214*7c478bd9Sstevel@tonic-gate	$(INS.file)
1215*7c478bd9Sstevel@tonic-gate
1216*7c478bd9Sstevel@tonic-gate$(ROOTDIR)/ib/mgt/%:		ib/mgt/%
1217*7c478bd9Sstevel@tonic-gate	$(INS.file)
1218*7c478bd9Sstevel@tonic-gate
1219*7c478bd9Sstevel@tonic-gate$(ROOTDIR)/ib/mgt/ibmf/%:	ib/mgt/ibmf/%
1220*7c478bd9Sstevel@tonic-gate	$(INS.file)
1221*7c478bd9Sstevel@tonic-gate
1222*7c478bd9Sstevel@tonic-gate$(ROOTDIR)/ib/adapters/tavor/%:	ib/adapters/tavor/%
1223*7c478bd9Sstevel@tonic-gate	$(INS.file)
1224*7c478bd9Sstevel@tonic-gate
1225*7c478bd9Sstevel@tonic-gate$(ROOTDIR)/lvm/%: lvm/%
1226*7c478bd9Sstevel@tonic-gate	$(INS.file)
1227*7c478bd9Sstevel@tonic-gate
1228*7c478bd9Sstevel@tonic-gate$(ROOTDIR)/pcmcia/%:		pcmcia/%
1229*7c478bd9Sstevel@tonic-gate	$(INS.file)
1230*7c478bd9Sstevel@tonic-gate
1231*7c478bd9Sstevel@tonic-gate$(ROOTDIR)/scsi/%:		scsi/%
1232*7c478bd9Sstevel@tonic-gate	$(INS.file)
1233*7c478bd9Sstevel@tonic-gate
1234*7c478bd9Sstevel@tonic-gate$(ROOTDIR)/scsi/conf/%:		scsi/conf/%
1235*7c478bd9Sstevel@tonic-gate	$(INS.file)
1236*7c478bd9Sstevel@tonic-gate
1237*7c478bd9Sstevel@tonic-gate$(ROOTDIR)/scsi/generic/%:	scsi/generic/%
1238*7c478bd9Sstevel@tonic-gate	$(INS.file)
1239*7c478bd9Sstevel@tonic-gate
1240*7c478bd9Sstevel@tonic-gate$(ROOTDIR)/scsi/impl/%:		scsi/impl/%
1241*7c478bd9Sstevel@tonic-gate	$(INS.file)
1242*7c478bd9Sstevel@tonic-gate
1243*7c478bd9Sstevel@tonic-gate$(ROOTDIR)/scsi/targets/%:	scsi/targets/%
1244*7c478bd9Sstevel@tonic-gate	$(INS.file)
1245*7c478bd9Sstevel@tonic-gate
1246*7c478bd9Sstevel@tonic-gate$(ROOTDIR)/fc4/%:		fc4/%
1247*7c478bd9Sstevel@tonic-gate	$(INS.file)
1248*7c478bd9Sstevel@tonic-gate
1249*7c478bd9Sstevel@tonic-gate$(ROOTDIR)/sysevent/%:		sysevent/%
1250*7c478bd9Sstevel@tonic-gate	$(INS.file)
1251*7c478bd9Sstevel@tonic-gate
1252*7c478bd9Sstevel@tonic-gate$(ROOTDIR)/contract/%:		contract/%
1253*7c478bd9Sstevel@tonic-gate	$(INS.file)
1254*7c478bd9Sstevel@tonic-gate
1255*7c478bd9Sstevel@tonic-gate$(ROOTDIR)/usb/%:		usb/%
1256*7c478bd9Sstevel@tonic-gate	$(INS.file)
1257*7c478bd9Sstevel@tonic-gate
1258*7c478bd9Sstevel@tonic-gate$(ROOTDIR)/usb/hubd/%:		usb/hubd/%
1259*7c478bd9Sstevel@tonic-gate	$(INS.file)
1260*7c478bd9Sstevel@tonic-gate
1261*7c478bd9Sstevel@tonic-gate$(ROOTDIR)/usb/clients/hid/%:	usb/clients/hid/%
1262*7c478bd9Sstevel@tonic-gate	$(INS.file)
1263*7c478bd9Sstevel@tonic-gate
1264*7c478bd9Sstevel@tonic-gate$(ROOTDIR)/usb/clients/mass_storage/%:	usb/clients/mass_storage/%
1265*7c478bd9Sstevel@tonic-gate	$(INS.file)
1266*7c478bd9Sstevel@tonic-gate
1267*7c478bd9Sstevel@tonic-gate$(ROOTDIR)/dktp/%: dktp/%
1268*7c478bd9Sstevel@tonic-gate	$(INS.file)
1269*7c478bd9Sstevel@tonic-gate
1270*7c478bd9Sstevel@tonic-gate$(ROOTDIR)/1394/%:                    1394/%
1271*7c478bd9Sstevel@tonic-gate	$(INS.file)
1272*7c478bd9Sstevel@tonic-gate
1273*7c478bd9Sstevel@tonic-gate$(ROOTDIR)/rsm/%:	rsm/%
1274*7c478bd9Sstevel@tonic-gate	$(INS.file)
1275*7c478bd9Sstevel@tonic-gate
1276*7c478bd9Sstevel@tonic-gate.KEEP_STATE:
1277*7c478bd9Sstevel@tonic-gate
1278*7c478bd9Sstevel@tonic-gate.PARALLEL:			\
1279*7c478bd9Sstevel@tonic-gate	$(CHECKHDRS)		\
1280*7c478bd9Sstevel@tonic-gate	$(ROOTHDRS)		\
1281*7c478bd9Sstevel@tonic-gate	$(ROOTAUDHDRS)		\
1282*7c478bd9Sstevel@tonic-gate	$(ROOTCRYPTOHDRS)	\
1283*7c478bd9Sstevel@tonic-gate	$(ROOTISOHDRS)		\
1284*7c478bd9Sstevel@tonic-gate	$(ROOTFMHDRS)		\
1285*7c478bd9Sstevel@tonic-gate	$(ROOTFMCPUHDRS)	\
1286*7c478bd9Sstevel@tonic-gate	$(ROOTFMIOHDRS)	\
1287*7c478bd9Sstevel@tonic-gate	$(ROOTFSHDRS)		\
1288*7c478bd9Sstevel@tonic-gate	$(ROOTIBDHDRS)		\
1289*7c478bd9Sstevel@tonic-gate	$(ROOTIBHDRS)		\
1290*7c478bd9Sstevel@tonic-gate	$(ROOTIBTLHDRS)		\
1291*7c478bd9Sstevel@tonic-gate	$(ROOTIBTLIMPLHDRS)	\
1292*7c478bd9Sstevel@tonic-gate	$(ROOTIBNEXHDRS)	\
1293*7c478bd9Sstevel@tonic-gate	$(ROOTIBMGTHDRS)	\
1294*7c478bd9Sstevel@tonic-gate	$(ROOTIBMFHDRS)		\
1295*7c478bd9Sstevel@tonic-gate	$(ROOTTAVORHDRS)	\
1296*7c478bd9Sstevel@tonic-gate	$(ROOTLVMHDRS)		\
1297*7c478bd9Sstevel@tonic-gate	$(ROOTPCMCIAHDRS)	\
1298*7c478bd9Sstevel@tonic-gate	$(ROOTSCSIHDRS)		\
1299*7c478bd9Sstevel@tonic-gate	$(ROOTSCSICONFHDRS)	\
1300*7c478bd9Sstevel@tonic-gate	$(ROOTSCSIGENHDRS)	\
1301*7c478bd9Sstevel@tonic-gate	$(ROOTSCSIIMPLHDRS)	\
1302*7c478bd9Sstevel@tonic-gate	$(ROOTSCSIVHCIHDRS)	\
1303*7c478bd9Sstevel@tonic-gate	$(ROOTFCHDRS)		\
1304*7c478bd9Sstevel@tonic-gate	$(ROOTSYSEVENTHDRS)     \
1305*7c478bd9Sstevel@tonic-gate	$(ROOTCONTRACTHDRS)     \
1306*7c478bd9Sstevel@tonic-gate	$(ROOTUSBHDRS)		\
1307*7c478bd9Sstevel@tonic-gate	$(ROOTUSBAUDHDRS)	\
1308*7c478bd9Sstevel@tonic-gate	$(ROOTUSBHUBDHDRS)	\
1309*7c478bd9Sstevel@tonic-gate	$(ROOTUSBHIDHDRS)	\
1310*7c478bd9Sstevel@tonic-gate	$(ROOTUSBMSHDRS)	\
1311*7c478bd9Sstevel@tonic-gate	$(ROOTUSBPRNHDRS)       \
1312*7c478bd9Sstevel@tonic-gate	$(ROOTUGENHDRS)		\
1313*7c478bd9Sstevel@tonic-gate	$(ROOT1394HDRS)         \
1314*7c478bd9Sstevel@tonic-gate	$(ROOTHOTPLUGHDRS)	\
1315*7c478bd9Sstevel@tonic-gate	$(ROOTHOTPLUGPCIHDRS)	\
1316*7c478bd9Sstevel@tonic-gate	$(ROOTRSMHDRS)		\
1317*7c478bd9Sstevel@tonic-gate	$($(MACH)_ROOTHDRS)
1318*7c478bd9Sstevel@tonic-gate
1319*7c478bd9Sstevel@tonic-gate
1320*7c478bd9Sstevel@tonic-gateinstall_h:			\
1321*7c478bd9Sstevel@tonic-gate	$(ROOTDIRS)		\
1322*7c478bd9Sstevel@tonic-gate	LVMDERIVED_H		\
1323*7c478bd9Sstevel@tonic-gate	.WAIT			\
1324*7c478bd9Sstevel@tonic-gate	$(ROOTHDRS)		\
1325*7c478bd9Sstevel@tonic-gate	$(ROOTAUDHDRS)		\
1326*7c478bd9Sstevel@tonic-gate	$(ROOTCRYPTOHDRS)	\
1327*7c478bd9Sstevel@tonic-gate	$(ROOTISOHDRS)		\
1328*7c478bd9Sstevel@tonic-gate	$(ROOTFMHDRS)		\
1329*7c478bd9Sstevel@tonic-gate	$(ROOTFMCPUHDRS)	\
1330*7c478bd9Sstevel@tonic-gate	$(ROOTFMIOHDRS)	\
1331*7c478bd9Sstevel@tonic-gate	$(ROOTFSHDRS)		\
1332*7c478bd9Sstevel@tonic-gate	$(ROOTIBDHDRS)		\
1333*7c478bd9Sstevel@tonic-gate	$(ROOTIBHDRS)		\
1334*7c478bd9Sstevel@tonic-gate	$(ROOTIBTLHDRS)		\
1335*7c478bd9Sstevel@tonic-gate	$(ROOTIBTLIMPLHDRS)	\
1336*7c478bd9Sstevel@tonic-gate	$(ROOTIBNEXHDRS)	\
1337*7c478bd9Sstevel@tonic-gate	$(ROOTIBMGTHDRS)	\
1338*7c478bd9Sstevel@tonic-gate	$(ROOTIBMFHDRS)		\
1339*7c478bd9Sstevel@tonic-gate	$(ROOTTAVORHDRS)	\
1340*7c478bd9Sstevel@tonic-gate	$(ROOTLVMHDRS)		\
1341*7c478bd9Sstevel@tonic-gate	$(ROOTPCMCIAHDRS)	\
1342*7c478bd9Sstevel@tonic-gate	$(ROOTSCSIHDRS)		\
1343*7c478bd9Sstevel@tonic-gate	$(ROOTSCSICONFHDRS)	\
1344*7c478bd9Sstevel@tonic-gate	$(ROOTSCSIGENHDRS)	\
1345*7c478bd9Sstevel@tonic-gate	$(ROOTSCSIIMPLHDRS)	\
1346*7c478bd9Sstevel@tonic-gate	$(ROOTSCSIVHCIHDRS)	\
1347*7c478bd9Sstevel@tonic-gate	$(ROOTFCHDRS)		\
1348*7c478bd9Sstevel@tonic-gate	$(ROOTSYSEVENTHDRS)     \
1349*7c478bd9Sstevel@tonic-gate	$(ROOTCONTRACTHDRS)     \
1350*7c478bd9Sstevel@tonic-gate	$(ROOTUSBHDRS)		\
1351*7c478bd9Sstevel@tonic-gate	$(ROOTUSBAUDHDRS)	\
1352*7c478bd9Sstevel@tonic-gate	$(ROOTUSBHUBDHDRS)	\
1353*7c478bd9Sstevel@tonic-gate	$(ROOTUSBHIDHDRS)	\
1354*7c478bd9Sstevel@tonic-gate	$(ROOTUSBMSHDRS)	\
1355*7c478bd9Sstevel@tonic-gate	$(ROOTUSBPRNHDRS)       \
1356*7c478bd9Sstevel@tonic-gate	$(ROOTUGENHDRS)		\
1357*7c478bd9Sstevel@tonic-gate	$(ROOT1394HDRS)         \
1358*7c478bd9Sstevel@tonic-gate	$(ROOTHOTPLUGHDRS)	\
1359*7c478bd9Sstevel@tonic-gate	$(ROOTHOTPLUGPCIHDRS)	\
1360*7c478bd9Sstevel@tonic-gate	$(ROOTRSMHDRS)		\
1361*7c478bd9Sstevel@tonic-gate	$($(MACH)_ROOTHDRS)	\
1362*7c478bd9Sstevel@tonic-gate	svvs_h
1363*7c478bd9Sstevel@tonic-gate
1364*7c478bd9Sstevel@tonic-gatesvvs_h: FRC
1365*7c478bd9Sstevel@tonic-gate	@if [ -f lo.h  ]; then \
1366*7c478bd9Sstevel@tonic-gate		$(MAKE) install_X_h; \
1367*7c478bd9Sstevel@tonic-gate	else \
1368*7c478bd9Sstevel@tonic-gate		true; \
1369*7c478bd9Sstevel@tonic-gate	fi
1370*7c478bd9Sstevel@tonic-gate
1371*7c478bd9Sstevel@tonic-gateall_h: $(GENHDRS)
1372*7c478bd9Sstevel@tonic-gate
1373*7c478bd9Sstevel@tonic-gatepriv_const.h: $(PRIVS_AWK) $(PRIVS_DEF)
1374*7c478bd9Sstevel@tonic-gate	$(NAWK) -f $(PRIVS_AWK) < $(PRIVS_DEF) -v privhfile=$@
1375*7c478bd9Sstevel@tonic-gate
1376*7c478bd9Sstevel@tonic-gatepriv_names.h: $(PRIVS_AWK) $(PRIVS_DEF)
1377*7c478bd9Sstevel@tonic-gate	$(NAWK) -f $(PRIVS_AWK) < $(PRIVS_DEF) -v pubhfile=$@
1378*7c478bd9Sstevel@tonic-gate
1379*7c478bd9Sstevel@tonic-gateinstall_X_h: $(ROOTXHDRS)
1380*7c478bd9Sstevel@tonic-gate
1381*7c478bd9Sstevel@tonic-gate$(ROOTDIRS):
1382*7c478bd9Sstevel@tonic-gate	$(INS.dir)
1383*7c478bd9Sstevel@tonic-gate
1384*7c478bd9Sstevel@tonic-gateLVMDERIVED_H:
1385*7c478bd9Sstevel@tonic-gate	cd $(SRC)/uts/common/sys/lvm; pwd; $(MAKE)
1386*7c478bd9Sstevel@tonic-gate
1387*7c478bd9Sstevel@tonic-gatecheck:	$(CHECKHDRS)
1388*7c478bd9Sstevel@tonic-gate
1389*7c478bd9Sstevel@tonic-gateFRC:
1390*7c478bd9Sstevel@tonic-gate
1391*7c478bd9Sstevel@tonic-gate# EXPORT DELETE START
1392*7c478bd9Sstevel@tonic-gateEXPORT_SRC:
1393*7c478bd9Sstevel@tonic-gate	$(RM) wanboot_impl.h+ Makefile+
1394*7c478bd9Sstevel@tonic-gate	sed -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
1395*7c478bd9Sstevel@tonic-gate		< wanboot_impl.h > wanboot_impl.h+
1396*7c478bd9Sstevel@tonic-gate	$(MV) wanboot_impl.h+ wanboot_impl.h
1397*7c478bd9Sstevel@tonic-gate	sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
1398*7c478bd9Sstevel@tonic-gate		< Makefile > Makefile+
1399*7c478bd9Sstevel@tonic-gate	$(RM) Makefile
1400*7c478bd9Sstevel@tonic-gate	$(MV) Makefile+ Makefile
1401*7c478bd9Sstevel@tonic-gate	$(CHMOD) 444 Makefile wanboot_impl.h
1402*7c478bd9Sstevel@tonic-gate# EXPORT DELETE END
1403