xref: /titanic_44/usr/src/uts/common/sys/Makefile (revision b52e6db712bfb5196fe24c8bf5e6b82e3fd7f993)
1#
2# CDDL HEADER START
3#
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.
7#
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.
12#
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]
18#
19# CDDL HEADER END
20#
21#
22# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
23# Use is subject to license terms.
24#
25# ident	"%Z%%M%	%I%	%E% SMI"
26#
27
28include $(SRC)/uts/Makefile.uts
29
30GROUP=bin
31FILEMODE=644
32
33#
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
38#
39
40i386_HDRS=			\
41	agp/agpamd64gart_io.h	\
42	agp/agpdefs.h		\
43	agp/agpgart_impl.h	\
44	agp/agpmaster_io.h	\
45	agp/agptarget_io.h	\
46	agpgart.h		\
47	asy.h			\
48	audio/audio810.h	\
49	audio/audiohd.h	\
50	audio/audioixp.h	\
51	bmc_intf.h		\
52	fd_debug.h		\
53	fdc.h			\
54	fdmedia.h		\
55	mouse.h			\
56	mse.h			\
57	vuidmice.h
58
59AVHDRS=				\
60	av/iec61883.h
61
62sparc_HDRS= 			\
63	audio/audiots.h		\
64	audio/am_src2.h		\
65	mouse.h			\
66	scsi/targets/ssddef.h	\
67	$(MDESCHDRS)		\
68	$(AVHDRS)
69
70# Generated headers
71GENHDRS=			\
72	priv_const.h		\
73	priv_names.h
74
75CHKHDRS=			\
76	acct.h			\
77	acctctl.h		\
78	acl.h			\
79	aggr.h			\
80	aggr_impl.h		\
81	aio.h			\
82	aio_impl.h		\
83	aio_req.h		\
84	aiocb.h			\
85	ascii.h			\
86	asynch.h		\
87	atomic.h		\
88	audio.h			\
89	audiodebug.h		\
90	audioio.h		\
91	audiovar.h		\
92	autoconf.h		\
93	auxv.h			\
94	auxv_386.h		\
95	auxv_SPARC.h		\
96	avl.h			\
97	avl_impl.h		\
98	battery.h		\
99	bitmap.h		\
100	bl.h			\
101	bofi.h			\
102	bofi_impl.h		\
103	bpp_io.h		\
104	bootstat.h		\
105	buf.h			\
106	bufmod.h		\
107	bustypes.h		\
108	byteorder.h		\
109	callb.h			\
110	callo.h			\
111	ccompile.h		\
112	cdio.h			\
113	chip.h			\
114	cladm.h			\
115	class.h			\
116	clconf.h		\
117	cmlb.h			\
118	cmn_err.h		\
119	compress.h		\
120	condvar.h		\
121	condvar_impl.h		\
122	conf.h			\
123	consdev.h		\
124	console.h		\
125	contract.h		\
126	contract_impl.h		\
127	copyops.h		\
128	core.h			\
129	corectl.h		\
130	cpc_impl.h		\
131	cpc_pcbe.h		\
132	cpr.h			\
133	cpupart.h		\
134	cpuvar.h		\
135	crc32.h			\
136	cred.h			\
137	cred_impl.h		\
138	crtctl.h		\
139	cryptmod.h		\
140	csiioctl.h		\
141	ctf.h			\
142	ctfs.h			\
143	ctfs_impl.h		\
144	ctf_api.h		\
145	ctype.h			\
146	cyclic.h		\
147	cyclic_impl.h		\
148	dacf.h			\
149	dacf_impl.h		\
150	dc_ki.h			\
151	ddi.h			\
152	ddifm.h			\
153	ddifm_impl.h		\
154	ddi_intr.h		\
155	ddi_intr_impl.h		\
156	ddi_impldefs.h		\
157	ddi_implfuncs.h		\
158	ddi_obsolete.h		\
159	ddidevmap.h		\
160	ddidmareq.h		\
161	ddimapreq.h		\
162	ddipropdefs.h		\
163	dditypes.h		\
164	debug.h			\
165	des.h			\
166	devctl.h		\
167	devctl_impl.h		\
168	devinfo_impl.h		\
169	devops.h		\
170	devpolicy.h		\
171	devpoll.h		\
172	dirent.h		\
173	disp.h			\
174	dkbad.h			\
175	dkio.h			\
176	dklabel.h		\
177	dl.h			\
178	dlpi.h			\
179	dld.h			\
180	dld_impl.h		\
181	dls.h			\
182	dls_impl.h		\
183	dma_i8237A.h            \
184	dnlc.h			\
185	door.h			\
186	door_data.h		\
187	door_impl.h		\
188	dtrace.h		\
189	dtrace_impl.h		\
190	dumpadm.h		\
191	dumphdr.h		\
192	ecppsys.h		\
193	ecppio.h                \
194	ecppreg.h               \
195	ecppvar.h               \
196	efi_partition.h		\
197	elf.h			\
198	elf_386.h		\
199	elf_SPARC.h		\
200	elf_notes.h		\
201	elf_amd64.h		\
202	elftypes.h		\
203	emul64.h		\
204	emul64cmd.h		\
205	emul64var.h		\
206	epm.h			\
207	errno.h			\
208	errorq.h		\
209	errorq_impl.h		\
210	esunddi.h		\
211	ethernet.h		\
212	euc.h			\
213	eucioctl.h		\
214	exacct.h		\
215	exacct_catalog.h	\
216	exacct_impl.h		\
217	exec.h			\
218	exechdr.h		\
219	fault.h			\
220	fasttrap.h		\
221	fasttrap_impl.h		\
222	fbio.h			\
223	fbuf.h			\
224	fcntl.h			\
225	fdbuffer.h		\
226	fdio.h			\
227	feature_tests.h		\
228	fem.h			\
229	file.h			\
230	filio.h			\
231	flock.h			\
232	flock_impl.h		\
233	fss.h			\
234	fsspriocntl.h		\
235	fsid.h			\
236	fssnap.h                \
237	fssnap_if.h             \
238	fstyp.h			\
239	ftrace.h		\
240	fx.h			\
241	fxpriocntl.h		\
242	gfs.h			\
243	gld.h			\
244	gldpriv.h		\
245	hdio.h			\
246	hwconf.h		\
247	ia.h			\
248	iapriocntl.h		\
249	id32.h			\
250	ieeefp.h		\
251	id_space.h		\
252	instance.h		\
253	int_const.h		\
254	int_fmtio.h		\
255	int_limits.h		\
256	int_types.h		\
257	inttypes.h		\
258	ioccom.h		\
259	ioctl.h			\
260	ipc.h			\
261	ipc_impl.h		\
262	ipc_rctl.h		\
263	isa_defs.h		\
264	iscsi_authclient.h	\
265	iscsi_authclientglue.h	\
266	iscsi_protocol.h	\
267	jioctl.h		\
268	kbd.h			\
269	kbdreg.h		\
270	kbio.h			\
271	kcpc.h			\
272	kdi.h			\
273	kdi_impl.h		\
274	klwp.h			\
275	kmdb.h			\
276	kmem.h			\
277	kmem_impl.h		\
278	kobj.h			\
279	kobj_impl.h		\
280	kstat.h			\
281	kstr.h			\
282	ksyms.h			\
283	ksynch.h		\
284	ldterm.h		\
285	lgrp.h			\
286	lgrp_user.h		\
287	link.h			\
288	list.h			\
289	list_impl.h		\
290	llc1.h			\
291	loadavg.h		\
292	lock.h			\
293	lockfs.h		\
294	lockstat.h		\
295	lofi.h			\
296	log.h			\
297	logindmux.h		\
298	logindmux_impl.h	\
299	lwp.h			\
300	lwp_timer_impl.h	\
301	lwp_upimutex_impl.h	\
302	mac.h			\
303	mac_impl.h		\
304	map.h			\
305	md5.h			\
306	md5_consts.h		\
307	mdi_impldefs.h		\
308	mem.h			\
309	mem_config.h		\
310	memlist.h		\
311	mkdev.h			\
312	mhd.h			\
313	miiregs.h		\
314	mixer.h			\
315	mman.h			\
316	mntent.h		\
317	mntio.h			\
318	mnttab.h		\
319	modctl.h		\
320	mode.h			\
321	model.h			\
322	modhash.h		\
323	modhash_impl.h		\
324	mount.h			\
325	mouse.h			\
326	msacct.h		\
327	msg.h			\
328	msg_impl.h		\
329	msio.h			\
330	msreg.h			\
331	mtio.h			\
332	multidata.h		\
333	multidata_impl.h	\
334	mutex.h			\
335	nbmlock.h		\
336	ndifm.h		\
337	ndi_impldefs.h		\
338	netconfig.h		\
339	nexusdefs.h		\
340	note.h			\
341	nvpair.h                \
342	nvpair_impl.h           \
343	objfs.h			\
344	objfs_impl.h		\
345	ontrap.h                \
346	open.h			\
347	openpromio.h		\
348	panic.h			\
349	param.h			\
350	pathconf.h		\
351	pathname.h		\
352	pattr.h			\
353	serializer.h		\
354	pbio.h			\
355	pccard.h		\
356	pci.h			\
357	pcie.h			\
358	pci_impl.h		\
359	pcmcia.h		\
360	pctypes.h		\
361	pem.h			\
362	pfmod.h			\
363	pm.h			\
364	policy.h		\
365	poll.h			\
366	poll_impl.h		\
367	pool.h			\
368	pool_impl.h		\
369	pool_pset.h		\
370	port.h			\
371	port_impl.h		\
372	port_kernel.h		\
373	ppmio.h                 \
374	priocntl.h		\
375	priv.h			\
376	priv_impl.h		\
377	prnio.h			\
378	proc.h			\
379	processor.h		\
380	procfs.h		\
381	procset.h		\
382	project.h		\
383	protosw.h		\
384	prsystm.h		\
385	pset.h			\
386	pshot.h			\
387	ptem.h			\
388	ptms.h			\
389	ptyvar.h		\
390	raidioctl.h		\
391	ramdisk.h		\
392	random.h		\
393	rctl.h			\
394	rctl_impl.h		\
395	reboot.h		\
396	refstr.h		\
397	refstr_impl.h		\
398	resource.h		\
399	rlioctl.h		\
400	rt.h			\
401	rtpriocntl.h		\
402	rwlock.h		\
403	rwlock_impl.h		\
404	rwstlock.h		\
405	sad.h			\
406	schedctl.h		\
407	sdt.h			\
408	select.h		\
409	sem.h			\
410	sem_impl.h		\
411	sema_impl.h		\
412	semaphore.h		\
413	sendfile.h		\
414	ser_sync.h		\
415	session.h		\
416	sha1.h			\
417	sha1_consts.h		\
418	sha2.h			\
419	sha2_consts.h		\
420	share.h			\
421	shm.h			\
422	shm_impl.h		\
423	siginfo.h		\
424	signal.h		\
425	sleepq.h		\
426	smbios.h		\
427	smbios_impl.h		\
428	sobject.h		\
429	socket.h		\
430	socket_impl.h		\
431	socketvar.h		\
432	sockio.h		\
433	squeue.h		\
434	squeue_impl.h		\
435	sservice.h		\
436	stat.h			\
437	statfs.h		\
438	statvfs.h		\
439	stdint.h		\
440	stermio.h		\
441	stream.h		\
442	strft.h			\
443	strlog.h		\
444	strmdep.h		\
445	stropts.h		\
446	strredir.h		\
447	strstat.h		\
448	strsubr.h		\
449	strsun.h		\
450	strtty.h		\
451	sunddi.h		\
452	sunldi.h		\
453	sunldi_impl.h		\
454	sunmdi.h		\
455	sunndi.h		\
456	sunos_dhcp_class.h	\
457	sunpm.h			\
458	suntpi.h		\
459	suntty.h		\
460	swap.h			\
461	synch.h			\
462	syscall.h		\
463	sysconf.h		\
464	sysconfig.h		\
465	sysevent.h	\
466	sysevent_impl.h         \
467	sysinfo.h		\
468	syslog.h		\
469	sysmacros.h		\
470	sysmsg_impl.h		\
471	systeminfo.h		\
472	systm.h			\
473	task.h			\
474	taskq.h			\
475	taskq_impl.h		\
476	t_kuser.h		\
477	t_lock.h		\
478	telioctl.h		\
479	termio.h		\
480	termios.h		\
481	termiox.h		\
482	thread.h		\
483	ticlts.h		\
484	ticots.h		\
485	ticotsord.h		\
486	tihdr.h			\
487	time.h			\
488	time_impl.h		\
489	time_std_impl.h		\
490	timeb.h			\
491	timer.h			\
492	times.h			\
493	timex.h			\
494	timod.h			\
495	tirdwr.h		\
496	tiuser.h		\
497	tl.h			\
498	tnf.h			\
499	tnf_com.h		\
500	tnf_probe.h		\
501	tnf_writer.h		\
502	todio.h			\
503	tpicommon.h		\
504	ts.h			\
505	tspriocntl.h		\
506	ttcompat.h		\
507	ttold.h			\
508	tty.h			\
509	ttychars.h		\
510	ttydev.h		\
511	tuneable.h		\
512	turnstile.h		\
513	types.h			\
514	types32.h		\
515	uadmin.h		\
516	ucred.h			\
517	uio.h			\
518	ulimit.h		\
519	un.h			\
520	unistd.h		\
521	user.h			\
522	ustat.h			\
523	utime.h			\
524	utsname.h		\
525	utssys.h		\
526	uuid.h			\
527	va_impl.h		\
528	va_list.h		\
529	var.h			\
530	varargs.h		\
531	vfs.h			\
532	vfstab.h		\
533	vgareg.h		\
534	visual_io.h		\
535	vm.h			\
536	vmem.h			\
537	vmem_impl.h		\
538	vmmeter.h		\
539	vmsystm.h		\
540	vnode.h			\
541	vol.h			\
542	vtoc.h			\
543	vtrace.h		\
544	vuid_event.h		\
545	vuid_wheel.h		\
546	vuid_queue.h		\
547	vuid_state.h		\
548	vuid_store.h		\
549	wait.h			\
550	wanboot_impl.h		\
551	watchpoint.h		\
552	winlockio.h		\
553	zcons.h			\
554	zone.h			\
555	xti_inet.h		\
556	xti_osi.h		\
557	xti_xtiopt.h		\
558	zmod.h
559
560HDRS=				\
561	$(GENHDRS)		\
562	$(CHKHDRS)
563
564AUDIOHDRS=			\
565	ac97.h			\
566	am_src1.h		\
567	audio_apm.h		\
568	audio_mixer.h		\
569	audio_src.h		\
570	audio_support.h		\
571	audio_trace.h		\
572	g711.h
573
574BSCHDRS=			\
575	lom_ebuscodes.h		\
576	lom_io.h		\
577	lom_priv.h		\
578	lombus.h
579
580MDESCHDRS=			\
581	mdesc.h			\
582	mdesc_impl.h
583
584CRYPTOHDRS=			\
585	elfsign.h		\
586	ioctl.h			\
587	ioctladmin.h		\
588	common.h		\
589	impl.h			\
590	spi.h			\
591	api.h			\
592	ops_impl.h		\
593	sched_impl.h
594
595DCAMHDRS=			\
596	dcam1394_io.h
597
598IBHDRS=			\
599	ib_types.h	\
600	ib_pkt_hdrs.h
601
602IBTLHDRS=		\
603	ibtl_types.h	\
604	ibtl_status.h	\
605	ibti.h		\
606	ibti_cm.h	\
607	ibci.h		\
608	ibti_common.h	\
609	ibvti.h		\
610	ibtl_ci_types.h
611
612IBTLIMPLHDRS=		\
613	ibtl_util.h
614
615IBNEXHDRS=		\
616	ibnex_devctl.h
617
618IBMFHDRS=		\
619	ibmf.h		\
620	ibmf_msg.h	\
621	ibmf_saa.h	\
622	ibmf_utils.h
623
624IBMGTHDRS=		\
625	ib_dm_attr.h	\
626	ib_mad.h	\
627	sm_attr.h	\
628	sa_recs.h
629
630IBDHDRS=		\
631	ibd.h
632
633ISOHDRS=			\
634	signal_iso.h
635
636DERIVED_LVMHDRS=	\
637	md_mdiox.h		\
638	md_basic.h		\
639	mdmed.h			\
640	md_mhdx.h		\
641	mdmn_commd.h
642
643LVMHDRS=			\
644	md_convert.h		\
645	md_crc.h		\
646	md_hotspares.h		\
647	md_mddb.h		\
648	md_mirror.h		\
649	md_mirror_shared.h	\
650	md_names.h		\
651	md_notify.h		\
652	md_raid.h		\
653	md_rename.h		\
654	md_sp.h			\
655	md_stripe.h		\
656	md_trans.h		\
657	mdio.h			\
658	mdvar.h
659
660ALL_LVMHDRS=			\
661	$(LVMHDRS)		\
662	$(DERIVED_LVMHDRS)
663
664FMHDRS=				\
665	protocol.h		\
666	util.h
667
668FMFSHDRS=			\
669	zfs.h
670
671FMIOHDRS=			\
672	ddi.h			\
673	pci.h			\
674	sun4upci.h		\
675	opl_mc_fm.h
676
677FSHDRS=				\
678	autofs.h		\
679	cachefs_dir.h		\
680	cachefs_dlog.h		\
681	cachefs_filegrp.h	\
682	cachefs_fs.h		\
683	cachefs_fscache.h	\
684	cachefs_ioctl.h		\
685	cachefs_log.h		\
686	dv_node.h		\
687	sdev_impl.h		\
688	sdev_node.h		\
689	fifonode.h		\
690	hsfs_isospec.h		\
691	hsfs_node.h		\
692	hsfs_rrip.h		\
693	hsfs_spec.h		\
694	hsfs_susp.h		\
695	lofs_info.h		\
696	lofs_node.h		\
697	mntdata.h		\
698	namenode.h		\
699	pc_dir.h		\
700	pc_fs.h			\
701	pc_label.h		\
702	pc_node.h		\
703	pxfs_ki.h		\
704	snode.h			\
705	swapnode.h		\
706	tmp.h			\
707	tmpnode.h		\
708	udf_inode.h		\
709	udf_volume.h		\
710	ufs_acl.h		\
711	ufs_bio.h		\
712	ufs_filio.h		\
713	ufs_fs.h		\
714	ufs_fsdir.h		\
715	ufs_inode.h		\
716	ufs_lockfs.h		\
717	ufs_log.h		\
718	ufs_mount.h		\
719	ufs_panic.h		\
720	ufs_prot.h		\
721	ufs_quota.h		\
722	ufs_snap.h              \
723	ufs_trans.h		\
724	zfs.h
725
726PCMCIAHDRS=		\
727	pcata.h		\
728	pcgld.h		\
729	pcramio.h	\
730	pcramvar.h	\
731	pcser_conf.h	\
732	pcser_io.h	\
733	pcser_reg.h	\
734	pcser_manuspec.h \
735	pcser_var.h
736
737SCSIHDRS=		\
738	scsi.h		\
739	scsi_address.h	\
740	scsi_ctl.h	\
741	scsi_params.h	\
742	scsi_pkt.h	\
743	scsi_resource.h	\
744	scsi_types.h	\
745	scsi_watch.h
746
747SCSICONFHDRS=		\
748	autoconf.h	\
749	device.h
750
751SCSIGENHDRS=		\
752	commands.h	\
753	dad_mode.h	\
754	inquiry.h	\
755	message.h	\
756	mode.h		\
757	sense.h		\
758	status.h
759
760SCSIIMPLHDRS=		\
761	commands.h	\
762	inquiry.h	\
763	mode.h		\
764	sense.h		\
765	services.h	\
766	status.h	\
767	transport.h	\
768	scsi_reset_notify.h \
769	types.h		\
770	uscsi.h
771
772SCSITARGETSHDRS=	\
773	ses.h		\
774	sesio.h		\
775	sgendef.h	\
776	stdef.h		\
777	sddef.h
778
779SCSICADHDRS=
780
781SCSIVHCIHDRS=		\
782	scsi_vhci.h	\
783	mpapi_impl.h	\
784	mpapi_scsi_vhci.h
785
786FCHDRS=			\
787	fc_transport.h	\
788	linkapp.h	\
789	fc.h		\
790	fcp.h		\
791	fcal_transport.h \
792	fcal.h		\
793	fcal_linkapp.h	\
794	fcio.h
795
796SATAGENHDRS=		\
797	sata_hba.h	\
798	sata_defs.h	\
799	sata_cfgadm.h
800
801SYSEVENTHDRS=		\
802	ap_driver.h     \
803	dev.h		\
804	domain.h        \
805	dr.h            \
806	env.h           \
807	eventdefs.h	\
808	ipmp.h		\
809	svm.h
810
811CONTRACTHDRS=		\
812	process.h	\
813	process_impl.h
814
815USBHDRS=	\
816	usba.h	\
817	usbai.h
818
819USBAUDHDRS=           \
820	usb_audio.h
821
822USBHUBDHDRS=		\
823	hub.h		\
824	hubd_impl.h
825
826USBHIDHDRS=		\
827	hid.h
828
829USBMSHDRS=		\
830	usb_bulkonly.h	\
831	usb_cbi.h
832
833USBPRNHDRS=           \
834	usb_printer.h
835
836UGENHDRS=           \
837	usb_ugen.h
838
839HOTPLUGHDRS=	\
840	hpcsvc.h	\
841	hpctrl.h
842
843HOTPLUGPCIHDRS=	\
844	pcicfg.h	\
845	pcihp.h
846
847RSMHDRS= \
848	rsm.h	\
849	rsm_common.h	\
850	rsmapi_common.h \
851	rsmpi.h	\
852	rsmpi_driver.h	\
853	rsmka_path_int.h
854
855TSOLHDRS=		\
856	label.h		\
857	label_macro.h	\
858	priv.h		\
859	tndb.h		\
860	tsyscall.h
861
862I1394HDRS=		\
863	cmd1394.h	\
864	id1394.h	\
865	ieee1212.h	\
866	ieee1394.h	\
867	ixl1394.h	\
868	s1394_impl.h	\
869	t1394.h
870
871# "cmdk" headers used on sparc
872SDKTPHDRS=		\
873	dadkio.h	\
874	fdisk.h
875
876# "cmdk" headers used on i386
877DKTPHDRS=		\
878	altsctr.h	\
879	bbh.h		\
880	cm.h		\
881	cmdev.h		\
882	cmdk.h		\
883	cmpkt.h		\
884	controller.h	\
885	dadev.h		\
886	dadk.h		\
887	dadkio.h	\
888	fctypes.h	\
889	fdisk.h		\
890	flowctrl.h	\
891	gda.h		\
892	quetypes.h	\
893	queue.h		\
894	tgcom.h		\
895	tgdk.h
896
897# "pc" header files used on i386
898PCHDRS=			\
899	avintr.h	\
900	dma_engine.h	\
901	i8272A.h	\
902	pcic_reg.h	\
903	pcic_var.h	\
904	pic.h		\
905	pit.h		\
906	rtc.h
907
908# I2O header files (currently used only on i386)
909I2OHDRS=		\
910	i2oadptr.h	\
911	i2obscsi.h	\
912	i2oexec.h	\
913	i2omsg.h	\
914	i2omstr.h	\
915	i2outil.h
916
917include Makefile.syshdrs
918
919dcam/%.check:	dcam/%.h
920	$(DOT_H_CHECK)
921
922CHECKHDRS=						\
923	$($(MACH)_HDRS:%.h=%.check)			\
924	$(AUDIOHDRS:%.h=audio/%.check)			\
925	$(BSCHDRS:%.h=%.check)				\
926	$(CHKHDRS:%.h=%.check)				\
927	$(CRYPTOHDRS:%.h=crypto/%.check)		\
928	$(DCAMHDRS:%.h=dcam/%.check)			\
929	$(IBHDRS:%.h=ib/%.check)			\
930	$(IBDHDRS:%.h=ib/clients/ibd/%.check)		\
931	$(IBTLHDRS:%.h=ib/ibtl/%.check)			\
932	$(IBTLIMPLHDRS:%.h=ib/ibtl/impl/%.check)	\
933	$(IBNEXHDRS:%.h=ib/ibnex/%.check)	\
934	$(IBMGTHDRS:%.h=ib/mgt/%.check)			\
935	$(IBMFHDRS:%.h=ib/mgt/ibmf/%.check)		\
936	$(TAVORHDRS:%.h=ib/adapters/tavor/%.check)	\
937	$(ISOHDRS:%.h=iso/%.check)			\
938	$(FMHDRS:%.h=fm/%.check)			\
939	$(FMFSHDRS:%.h=fm/fs/%.check)			\
940	$(FMIOHDRS:%.h=fm/io/%.check)			\
941	$(FSHDRS:%.h=fs/%.check)			\
942	$(LVMHDRS:%.h=lvm/%.check)			\
943	$(PCMCIAHDRS:%.h=pcmcia/%.check)		\
944	$(SCSIHDRS:%.h=scsi/%.check)			\
945	$(SCSICONHDRS:%.h=scsi/conf/%.check)		\
946	$(SCSIIMPLHDRS:%.h=scsi/impl/%.check)		\
947	$(SCSITARGETSHDRS:%.h=scsi/targets/%.check)	\
948	$(SCSIVHCIHDRS:%.h=scsi/adapters/%.check)	\
949	$(FCHDRS:%.h=fc4/%.check)			\
950	$(SATAGENHDRS:%.h=sata/%.check)			\
951	$(SYSEVENTHDRS:%.h=sysevent/%.check)            \
952	$(CONTRACTHDRS:%.h=contract/%.check)            \
953	$(USBAUDHDRS:%.h=usb/clients/audio/%.check)   \
954	$(USBHUBDHDRS:%.h=usb/hubd/%.check)		\
955	$(USBHIDHDRS:%.h=usb/clients/hid/%.check)	\
956	$(USBMSHDRS:%.h=usb/clients/mass_storage/%.check)	\
957	$(USBPRNHDRS:%.h=usb/clients/printer/%.check)   \
958	$(UGENHDRS:%.h=usb/clients/ugen/%.check)   \
959	$(USBHDRS:%.h=usb/%.check)                      \
960	$(I1394HDRS:%.h=1394/%.check)			\
961	$(RSMHDRS:%.h=rsm/%.check)			\
962	$(TSOLHDRS:%.h=tsol/%.check)
963
964
965.KEEP_STATE:
966
967.PARALLEL:			\
968	$(CHECKHDRS)		\
969	$(ROOTHDRS)		\
970	$(ROOTAUDHDRS)		\
971	$(ROOTCRYPTOHDRS)	\
972	$(ROOTDCAMHDRS)		\
973	$(ROOTISOHDRS)		\
974	$(ROOTFMHDRS)		\
975	$(ROOTFMIOHDRS)		\
976	$(ROOTFMFSHDRS)		\
977	$(ROOTFSHDRS)		\
978	$(ROOTIBDHDRS)		\
979	$(ROOTIBHDRS)		\
980	$(ROOTIBTLHDRS)		\
981	$(ROOTIBTLIMPLHDRS)	\
982	$(ROOTIBNEXHDRS)	\
983	$(ROOTIBMGTHDRS)	\
984	$(ROOTIBMFHDRS)		\
985	$(ROOTTAVORHDRS)	\
986	$(ROOTLVMHDRS)		\
987	$(ROOTPCMCIAHDRS)	\
988	$(ROOTSCSIHDRS)		\
989	$(ROOTSCSICONFHDRS)	\
990	$(ROOTSCSIGENHDRS)	\
991	$(ROOTSCSIIMPLHDRS)	\
992	$(ROOTSCSIVHCIHDRS)	\
993	$(ROOTFCHDRS)		\
994	$(ROOTSYSEVENTHDRS)     \
995	$(ROOTCONTRACTHDRS)     \
996	$(ROOTUSBHDRS)		\
997	$(ROOTUSBAUDHDRS)	\
998	$(ROOTUSBHUBDHDRS)	\
999	$(ROOTUSBHIDHDRS)	\
1000	$(ROOTUSBMSHDRS)	\
1001	$(ROOTUSBPRNHDRS)       \
1002	$(ROOTUGENHDRS)		\
1003	$(ROOT1394HDRS)         \
1004	$(ROOTHOTPLUGHDRS)	\
1005	$(ROOTHOTPLUGPCIHDRS)	\
1006	$(ROOTRSMHDRS)		\
1007	$(ROOTTSOLHDRS)		\
1008	$($(MACH)_ROOTHDRS)
1009
1010
1011install_h:			\
1012	$(ROOTDIRS)		\
1013	LVMDERIVED_H		\
1014	.WAIT			\
1015	$(ROOTHDRS)		\
1016	$(ROOTAUDHDRS)		\
1017	$(ROOTCRYPTOHDRS)	\
1018	$(ROOTDCAMHDRS)		\
1019	$(ROOTISOHDRS)		\
1020	$(ROOTFMHDRS)		\
1021	$(ROOTFMFSHDRS)		\
1022	$(ROOTFMIOHDRS)		\
1023	$(ROOTFSHDRS)		\
1024	$(ROOTIBDHDRS)		\
1025	$(ROOTIBHDRS)		\
1026	$(ROOTIBTLHDRS)		\
1027	$(ROOTIBTLIMPLHDRS)	\
1028	$(ROOTIBNEXHDRS)	\
1029	$(ROOTIBMGTHDRS)	\
1030	$(ROOTIBMFHDRS)		\
1031	$(ROOTTAVORHDRS)	\
1032	$(ROOTLVMHDRS)		\
1033	$(ROOTPCMCIAHDRS)	\
1034	$(ROOTSCSIHDRS)		\
1035	$(ROOTSCSICONFHDRS)	\
1036	$(ROOTSCSIGENHDRS)	\
1037	$(ROOTSCSIIMPLHDRS)	\
1038	$(ROOTSCSIVHCIHDRS)	\
1039	$(ROOTFCHDRS)		\
1040	$(ROOTSYSEVENTHDRS)     \
1041	$(ROOTCONTRACTHDRS)     \
1042	$(ROOTUSBHDRS)		\
1043	$(ROOTUSBAUDHDRS)	\
1044	$(ROOTUSBHUBDHDRS)	\
1045	$(ROOTUSBHIDHDRS)	\
1046	$(ROOTUSBMSHDRS)	\
1047	$(ROOTUSBPRNHDRS)       \
1048	$(ROOTUGENHDRS)		\
1049	$(ROOT1394HDRS)         \
1050	$(ROOTHOTPLUGHDRS)	\
1051	$(ROOTHOTPLUGPCIHDRS)	\
1052	$(ROOTRSMHDRS)		\
1053	$(ROOTTSOLHDRS)		\
1054	$($(MACH)_ROOTHDRS)
1055
1056all_h: $(GENHDRS)
1057
1058priv_const.h: $(PRIVS_AWK) $(PRIVS_DEF)
1059	$(NAWK) -f $(PRIVS_AWK) < $(PRIVS_DEF) -v privhfile=$@
1060
1061priv_names.h: $(PRIVS_AWK) $(PRIVS_DEF)
1062	$(NAWK) -f $(PRIVS_AWK) < $(PRIVS_DEF) -v pubhfile=$@
1063
1064LVMDERIVED_H:
1065	cd $(SRC)/uts/common/sys/lvm; pwd; $(MAKE)
1066
1067check:	$(CHECKHDRS)
1068
1069FRC:
1070
1071# EXPORT DELETE START
1072EXPORT_SRC:
1073	$(RM) wanboot_impl.h+ Makefile+
1074	sed -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
1075		< wanboot_impl.h > wanboot_impl.h+
1076	$(MV) wanboot_impl.h+ wanboot_impl.h
1077	sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
1078		< Makefile > Makefile+
1079	$(RM) Makefile
1080	$(MV) Makefile+ Makefile
1081	$(CHMOD) 444 Makefile wanboot_impl.h
1082# EXPORT DELETE END
1083