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