xref: /titanic_51/usr/src/uts/common/sys/Makefile (revision 0ce6acb835f8cec2ed5d14a190db6e2f98ed6d69)
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	jioctl.h		\
263	kbd.h			\
264	kbdreg.h		\
265	kbio.h			\
266	kcpc.h			\
267	kdi.h			\
268	kdi_impl.h		\
269	klwp.h			\
270	kmdb.h			\
271	kmem.h			\
272	kmem_impl.h		\
273	kobj.h			\
274	kobj_impl.h		\
275	kstat.h			\
276	kstr.h			\
277	ksyms.h			\
278	ksynch.h		\
279	ldterm.h		\
280	lgrp.h			\
281	lgrp_user.h		\
282	link.h			\
283	list.h			\
284	list_impl.h		\
285	llc1.h			\
286	loadavg.h		\
287	lock.h			\
288	lockfs.h		\
289	lockstat.h		\
290	lofi.h			\
291	log.h			\
292	logindmux.h		\
293	logindmux_impl.h	\
294	lwp.h			\
295	lwp_timer_impl.h	\
296	lwp_upimutex_impl.h	\
297	mac.h			\
298	mac_impl.h		\
299	map.h			\
300	md5.h			\
301	md5_consts.h		\
302	mdi_impldefs.h		\
303	mem.h			\
304	mem_config.h		\
305	memlist.h		\
306	mkdev.h			\
307	mhd.h			\
308	miiregs.h		\
309	mixer.h			\
310	mman.h			\
311	mntent.h		\
312	mntio.h			\
313	mnttab.h		\
314	modctl.h		\
315	mode.h			\
316	model.h			\
317	modhash.h		\
318	modhash_impl.h		\
319	mount.h			\
320	mouse.h			\
321	msacct.h		\
322	msg.h			\
323	msg_impl.h		\
324	msio.h			\
325	msreg.h			\
326	mtio.h			\
327	multidata.h		\
328	multidata_impl.h	\
329	mutex.h			\
330	nbmlock.h		\
331	ndifm.h		\
332	ndi_impldefs.h		\
333	netconfig.h		\
334	nexusdefs.h		\
335	note.h			\
336	nvpair.h                \
337	nvpair_impl.h           \
338	objfs.h			\
339	objfs_impl.h		\
340	ontrap.h                \
341	open.h			\
342	openpromio.h		\
343	panic.h			\
344	param.h			\
345	pathconf.h		\
346	pathname.h		\
347	pattr.h			\
348	serializer.h		\
349	pbio.h			\
350	pccard.h		\
351	pci.h			\
352	pcie.h			\
353	pci_impl.h		\
354	pcmcia.h		\
355	pctypes.h		\
356	pem.h			\
357	pfmod.h			\
358	pm.h			\
359	policy.h		\
360	poll.h			\
361	poll_impl.h		\
362	pool.h			\
363	pool_impl.h		\
364	pool_pset.h		\
365	port.h			\
366	port_impl.h		\
367	port_kernel.h		\
368	ppmio.h                 \
369	priocntl.h		\
370	priv.h			\
371	priv_impl.h		\
372	prnio.h			\
373	proc.h			\
374	processor.h		\
375	procfs.h		\
376	procset.h		\
377	project.h		\
378	protosw.h		\
379	prsystm.h		\
380	pset.h			\
381	pshot.h			\
382	ptem.h			\
383	ptms.h			\
384	ptyvar.h		\
385	raidioctl.h		\
386	ramdisk.h		\
387	random.h		\
388	rctl.h			\
389	rctl_impl.h		\
390	reboot.h		\
391	refstr.h		\
392	refstr_impl.h		\
393	resource.h		\
394	rlioctl.h		\
395	rt.h			\
396	rtpriocntl.h		\
397	rwlock.h		\
398	rwlock_impl.h		\
399	rwstlock.h		\
400	sad.h			\
401	schedctl.h		\
402	sdt.h			\
403	select.h		\
404	sem.h			\
405	sem_impl.h		\
406	sema_impl.h		\
407	semaphore.h		\
408	sendfile.h		\
409	ser_sync.h		\
410	session.h		\
411	sha1.h			\
412	sha1_consts.h		\
413	sha2.h			\
414	sha2_consts.h		\
415	share.h			\
416	shm.h			\
417	shm_impl.h		\
418	siginfo.h		\
419	signal.h		\
420	sleepq.h		\
421	smbios.h		\
422	smbios_impl.h		\
423	sobject.h		\
424	socket.h		\
425	socket_impl.h		\
426	socketvar.h		\
427	sockio.h		\
428	squeue.h		\
429	squeue_impl.h		\
430	sservice.h		\
431	stat.h			\
432	statfs.h		\
433	statvfs.h		\
434	stdint.h		\
435	stermio.h		\
436	stream.h		\
437	strft.h			\
438	strlog.h		\
439	strmdep.h		\
440	stropts.h		\
441	strredir.h		\
442	strstat.h		\
443	strsubr.h		\
444	strsun.h		\
445	strtty.h		\
446	sunddi.h		\
447	sunldi.h		\
448	sunldi_impl.h		\
449	sunmdi.h		\
450	sunndi.h		\
451	sunos_dhcp_class.h	\
452	sunpm.h			\
453	suntpi.h		\
454	suntty.h		\
455	swap.h			\
456	synch.h			\
457	syscall.h		\
458	sysconf.h		\
459	sysconfig.h		\
460	sysevent.h	\
461	sysevent_impl.h         \
462	sysinfo.h		\
463	syslog.h		\
464	sysmacros.h		\
465	sysmsg_impl.h		\
466	systeminfo.h		\
467	systm.h			\
468	task.h			\
469	taskq.h			\
470	taskq_impl.h		\
471	t_kuser.h		\
472	t_lock.h		\
473	telioctl.h		\
474	termio.h		\
475	termios.h		\
476	termiox.h		\
477	thread.h		\
478	ticlts.h		\
479	ticots.h		\
480	ticotsord.h		\
481	tihdr.h			\
482	time.h			\
483	time_impl.h		\
484	time_std_impl.h		\
485	timeb.h			\
486	timer.h			\
487	times.h			\
488	timex.h			\
489	timod.h			\
490	tirdwr.h		\
491	tiuser.h		\
492	tl.h			\
493	tnf.h			\
494	tnf_com.h		\
495	tnf_probe.h		\
496	tnf_writer.h		\
497	todio.h			\
498	tpicommon.h		\
499	ts.h			\
500	tspriocntl.h		\
501	ttcompat.h		\
502	ttold.h			\
503	tty.h			\
504	ttychars.h		\
505	ttydev.h		\
506	tuneable.h		\
507	turnstile.h		\
508	types.h			\
509	types32.h		\
510	uadmin.h		\
511	ucred.h			\
512	uio.h			\
513	ulimit.h		\
514	un.h			\
515	unistd.h		\
516	user.h			\
517	ustat.h			\
518	utime.h			\
519	utsname.h		\
520	utssys.h		\
521	uuid.h			\
522	va_impl.h		\
523	va_list.h		\
524	var.h			\
525	varargs.h		\
526	vfs.h			\
527	vfstab.h		\
528	vgareg.h		\
529	visual_io.h		\
530	vm.h			\
531	vmem.h			\
532	vmem_impl.h		\
533	vmmeter.h		\
534	vmsystm.h		\
535	vnode.h			\
536	vol.h			\
537	vtoc.h			\
538	vtrace.h		\
539	vuid_event.h		\
540	vuid_wheel.h		\
541	vuid_queue.h		\
542	vuid_state.h		\
543	vuid_store.h		\
544	wait.h			\
545	wanboot_impl.h		\
546	watchpoint.h		\
547	winlockio.h		\
548	zcons.h			\
549	zone.h			\
550	xti_inet.h		\
551	xti_osi.h		\
552	xti_xtiopt.h		\
553	zmod.h
554
555HDRS=				\
556	$(GENHDRS)		\
557	$(CHKHDRS)
558
559AUDIOHDRS=			\
560	ac97.h			\
561	am_src1.h		\
562	audio_apm.h		\
563	audio_mixer.h		\
564	audio_src.h		\
565	audio_support.h		\
566	audio_trace.h		\
567	g711.h
568
569BSCHDRS=			\
570	lom_ebuscodes.h		\
571	lom_io.h		\
572	lom_priv.h		\
573	lombus.h
574
575MDESCHDRS=			\
576	mdesc.h			\
577	mdesc_impl.h
578
579CRYPTOHDRS=			\
580	elfsign.h		\
581	ioctl.h			\
582	ioctladmin.h		\
583	common.h		\
584	impl.h			\
585	spi.h			\
586	api.h			\
587	ops_impl.h		\
588	sched_impl.h
589
590DCAMHDRS=			\
591	dcam1394_io.h
592
593IBHDRS=			\
594	ib_types.h	\
595	ib_pkt_hdrs.h
596
597IBTLHDRS=		\
598	ibtl_types.h	\
599	ibtl_status.h	\
600	ibti.h		\
601	ibti_cm.h	\
602	ibci.h		\
603	ibti_common.h	\
604	ibvti.h		\
605	ibtl_ci_types.h
606
607IBTLIMPLHDRS=		\
608	ibtl_util.h
609
610IBNEXHDRS=		\
611	ibnex_devctl.h
612
613IBMFHDRS=		\
614	ibmf.h		\
615	ibmf_msg.h	\
616	ibmf_saa.h	\
617	ibmf_utils.h
618
619IBMGTHDRS=		\
620	ib_dm_attr.h	\
621	ib_mad.h	\
622	sm_attr.h	\
623	sa_recs.h
624
625IBDHDRS=		\
626	ibd.h
627
628ISOHDRS=			\
629	signal_iso.h
630
631DERIVED_LVMHDRS=	\
632	md_mdiox.h		\
633	md_basic.h		\
634	mdmed.h			\
635	md_mhdx.h		\
636	mdmn_commd.h
637
638LVMHDRS=			\
639	md_convert.h		\
640	md_crc.h		\
641	md_hotspares.h		\
642	md_mddb.h		\
643	md_mirror.h		\
644	md_mirror_shared.h	\
645	md_names.h		\
646	md_notify.h		\
647	md_raid.h		\
648	md_rename.h		\
649	md_sp.h			\
650	md_stripe.h		\
651	md_trans.h		\
652	mdio.h			\
653	mdvar.h
654
655ALL_LVMHDRS=			\
656	$(LVMHDRS)		\
657	$(DERIVED_LVMHDRS)
658
659FMHDRS=				\
660	protocol.h		\
661	util.h
662
663FMFSHDRS=			\
664	zfs.h
665
666FMIOHDRS=			\
667	ddi.h			\
668	pci.h			\
669	sun4upci.h		\
670	opl_mc_fm.h
671
672FSHDRS=				\
673	autofs.h		\
674	cachefs_dir.h		\
675	cachefs_dlog.h		\
676	cachefs_filegrp.h	\
677	cachefs_fs.h		\
678	cachefs_fscache.h	\
679	cachefs_ioctl.h		\
680	cachefs_log.h		\
681	dv_node.h		\
682	fifonode.h		\
683	hsfs_isospec.h		\
684	hsfs_node.h		\
685	hsfs_rrip.h		\
686	hsfs_spec.h		\
687	hsfs_susp.h		\
688	lofs_info.h		\
689	lofs_node.h		\
690	mntdata.h		\
691	namenode.h		\
692	pc_dir.h		\
693	pc_fs.h			\
694	pc_label.h		\
695	pc_node.h		\
696	pxfs_ki.h		\
697	snode.h			\
698	swapnode.h		\
699	tmp.h			\
700	tmpnode.h		\
701	udf_inode.h		\
702	udf_volume.h		\
703	ufs_acl.h		\
704	ufs_bio.h		\
705	ufs_filio.h		\
706	ufs_fs.h		\
707	ufs_fsdir.h		\
708	ufs_inode.h		\
709	ufs_lockfs.h		\
710	ufs_log.h		\
711	ufs_mount.h		\
712	ufs_panic.h		\
713	ufs_prot.h		\
714	ufs_quota.h		\
715	ufs_snap.h              \
716	ufs_trans.h		\
717	zfs.h
718
719PCMCIAHDRS=		\
720	pcata.h		\
721	pcgld.h		\
722	pcramio.h	\
723	pcramvar.h	\
724	pcser_conf.h	\
725	pcser_io.h	\
726	pcser_reg.h	\
727	pcser_manuspec.h \
728	pcser_var.h
729
730SCSIHDRS=		\
731	scsi.h		\
732	scsi_address.h	\
733	scsi_ctl.h	\
734	scsi_params.h	\
735	scsi_pkt.h	\
736	scsi_resource.h	\
737	scsi_types.h	\
738	scsi_watch.h
739
740SCSICONFHDRS=		\
741	autoconf.h	\
742	device.h
743
744SCSIGENHDRS=		\
745	commands.h	\
746	dad_mode.h	\
747	inquiry.h	\
748	message.h	\
749	mode.h		\
750	sense.h		\
751	status.h
752
753SCSIIMPLHDRS=		\
754	commands.h	\
755	inquiry.h	\
756	mode.h		\
757	sense.h		\
758	services.h	\
759	status.h	\
760	transport.h	\
761	scsi_reset_notify.h \
762	types.h		\
763	uscsi.h
764
765SCSITARGETSHDRS=	\
766	ses.h		\
767	sesio.h		\
768	stdef.h		\
769	sddef.h
770
771SCSICADHDRS=
772
773SCSIVHCIHDRS=		\
774	scsi_vhci.h	\
775	mpapi_impl.h	\
776	mpapi_scsi_vhci.h
777
778FCHDRS=			\
779	fc_transport.h	\
780	linkapp.h	\
781	fc.h		\
782	fcp.h		\
783	fcal_transport.h \
784	fcal.h		\
785	fcal_linkapp.h	\
786	fcio.h
787
788SATAGENHDRS=		\
789	sata_hba.h	\
790	sata_defs.h	\
791	sata_cfgadm.h
792
793SYSEVENTHDRS=		\
794	ap_driver.h     \
795	dev.h		\
796	domain.h        \
797	dr.h            \
798	env.h           \
799	eventdefs.h	\
800	ipmp.h		\
801	svm.h
802
803CONTRACTHDRS=		\
804	process.h	\
805	process_impl.h
806
807USBHDRS=	\
808	usba.h	\
809	usbai.h
810
811USBAUDHDRS=           \
812	usb_audio.h
813
814USBHUBDHDRS=		\
815	hub.h		\
816	hubd_impl.h
817
818USBHIDHDRS=		\
819	hid.h
820
821USBMSHDRS=		\
822	usb_bulkonly.h	\
823	usb_cbi.h
824
825USBPRNHDRS=           \
826	usb_printer.h
827
828UGENHDRS=           \
829	usb_ugen.h
830
831HOTPLUGHDRS=	\
832	hpcsvc.h	\
833	hpctrl.h
834
835HOTPLUGPCIHDRS=	\
836	pcicfg.h	\
837	pcihp.h
838
839RSMHDRS= \
840	rsm.h	\
841	rsm_common.h	\
842	rsmapi_common.h \
843	rsmpi.h	\
844	rsmpi_driver.h	\
845	rsmka_path_int.h
846
847TSOLHDRS=		\
848	label.h		\
849	label_macro.h	\
850	priv.h		\
851	tndb.h		\
852	tsyscall.h
853
854I1394HDRS=		\
855	cmd1394.h	\
856	id1394.h	\
857	ieee1212.h	\
858	ieee1394.h	\
859	ixl1394.h	\
860	s1394_impl.h	\
861	t1394.h
862
863# "cmdk" headers used on sparc
864SDKTPHDRS=		\
865	dadkio.h	\
866	fdisk.h
867
868# "cmdk" headers used on i386
869DKTPHDRS=		\
870	altsctr.h	\
871	bbh.h		\
872	cm.h		\
873	cmdev.h		\
874	cmdk.h		\
875	cmpkt.h		\
876	controller.h	\
877	dadev.h		\
878	dadk.h		\
879	dadkio.h	\
880	fctypes.h	\
881	fdisk.h		\
882	flowctrl.h	\
883	gda.h		\
884	quetypes.h	\
885	queue.h		\
886	tgcom.h		\
887	tgdk.h
888
889# "pc" header files used on i386
890PCHDRS=			\
891	avintr.h	\
892	dma_engine.h	\
893	i8272A.h	\
894	pcic_reg.h	\
895	pcic_var.h	\
896	pic.h		\
897	pit.h		\
898	rtc.h
899
900# I2O header files (currently used only on i386)
901I2OHDRS=		\
902	i2oadptr.h	\
903	i2obscsi.h	\
904	i2oexec.h	\
905	i2omsg.h	\
906	i2omstr.h	\
907	i2outil.h
908
909include Makefile.syshdrs
910
911dcam/%.check:	dcam/%.h
912	$(DOT_H_CHECK)
913
914CHECKHDRS=						\
915	$($(MACH)_HDRS:%.h=%.check)			\
916	$(AUDIOHDRS:%.h=audio/%.check)			\
917	$(BSCHDRS:%.h=%.check)				\
918	$(CHKHDRS:%.h=%.check)				\
919	$(CRYPTOHDRS:%.h=crypto/%.check)		\
920	$(DCAMHDRS:%.h=dcam/%.check)			\
921	$(IBHDRS:%.h=ib/%.check)			\
922	$(IBDHDRS:%.h=ib/clients/ibd/%.check)		\
923	$(IBTLHDRS:%.h=ib/ibtl/%.check)			\
924	$(IBTLIMPLHDRS:%.h=ib/ibtl/impl/%.check)	\
925	$(IBNEXHDRS:%.h=ib/ibnex/%.check)	\
926	$(IBMGTHDRS:%.h=ib/mgt/%.check)			\
927	$(IBMFHDRS:%.h=ib/mgt/ibmf/%.check)		\
928	$(TAVORHDRS:%.h=ib/adapters/tavor/%.check)	\
929	$(ISOHDRS:%.h=iso/%.check)			\
930	$(FMHDRS:%.h=fm/%.check)			\
931	$(FMFSHDRS:%.h=fm/fs/%.check)			\
932	$(FMIOHDRS:%.h=fm/io/%.check)			\
933	$(FSHDRS:%.h=fs/%.check)			\
934	$(LVMHDRS:%.h=lvm/%.check)			\
935	$(PCMCIAHDRS:%.h=pcmcia/%.check)		\
936	$(SCSIHDRS:%.h=scsi/%.check)			\
937	$(SCSICONHDRS:%.h=scsi/conf/%.check)		\
938	$(SCSIIMPLHDRS:%.h=scsi/impl/%.check)		\
939	$(SCSITARGETSHDRS:%.h=scsi/targets/%.check)	\
940	$(SCSIVHCIHDRS:%.h=scsi/adapters/%.check)	\
941	$(FCHDRS:%.h=fc4/%.check)			\
942	$(SATAGENHDRS:%.h=sata/%.check)			\
943	$(SYSEVENTHDRS:%.h=sysevent/%.check)            \
944	$(CONTRACTHDRS:%.h=contract/%.check)            \
945	$(USBAUDHDRS:%.h=usb/clients/audio/%.check)   \
946	$(USBHUBDHDRS:%.h=usb/hubd/%.check)		\
947	$(USBHIDHDRS:%.h=usb/clients/hid/%.check)	\
948	$(USBMSHDRS:%.h=usb/clients/mass_storage/%.check)	\
949	$(USBPRNHDRS:%.h=usb/clients/printer/%.check)   \
950	$(UGENHDRS:%.h=usb/clients/ugen/%.check)   \
951	$(USBHDRS:%.h=usb/%.check)                      \
952	$(I1394HDRS:%.h=1394/%.check)			\
953	$(RSMHDRS:%.h=rsm/%.check)			\
954	$(TSOLHDRS:%.h=tsol/%.check)
955
956
957.KEEP_STATE:
958
959.PARALLEL:			\
960	$(CHECKHDRS)		\
961	$(ROOTHDRS)		\
962	$(ROOTAUDHDRS)		\
963	$(ROOTCRYPTOHDRS)	\
964	$(ROOTDCAMHDRS)		\
965	$(ROOTISOHDRS)		\
966	$(ROOTFMHDRS)		\
967	$(ROOTFMIOHDRS)		\
968	$(ROOTFMFSHDRS)		\
969	$(ROOTFSHDRS)		\
970	$(ROOTIBDHDRS)		\
971	$(ROOTIBHDRS)		\
972	$(ROOTIBTLHDRS)		\
973	$(ROOTIBTLIMPLHDRS)	\
974	$(ROOTIBNEXHDRS)	\
975	$(ROOTIBMGTHDRS)	\
976	$(ROOTIBMFHDRS)		\
977	$(ROOTTAVORHDRS)	\
978	$(ROOTLVMHDRS)		\
979	$(ROOTPCMCIAHDRS)	\
980	$(ROOTSCSIHDRS)		\
981	$(ROOTSCSICONFHDRS)	\
982	$(ROOTSCSIGENHDRS)	\
983	$(ROOTSCSIIMPLHDRS)	\
984	$(ROOTSCSIVHCIHDRS)	\
985	$(ROOTFCHDRS)		\
986	$(ROOTSYSEVENTHDRS)     \
987	$(ROOTCONTRACTHDRS)     \
988	$(ROOTUSBHDRS)		\
989	$(ROOTUSBAUDHDRS)	\
990	$(ROOTUSBHUBDHDRS)	\
991	$(ROOTUSBHIDHDRS)	\
992	$(ROOTUSBMSHDRS)	\
993	$(ROOTUSBPRNHDRS)       \
994	$(ROOTUGENHDRS)		\
995	$(ROOT1394HDRS)         \
996	$(ROOTHOTPLUGHDRS)	\
997	$(ROOTHOTPLUGPCIHDRS)	\
998	$(ROOTRSMHDRS)		\
999	$(ROOTTSOLHDRS)		\
1000	$($(MACH)_ROOTHDRS)
1001
1002
1003install_h:			\
1004	$(ROOTDIRS)		\
1005	LVMDERIVED_H		\
1006	.WAIT			\
1007	$(ROOTHDRS)		\
1008	$(ROOTAUDHDRS)		\
1009	$(ROOTCRYPTOHDRS)	\
1010	$(ROOTDCAMHDRS)		\
1011	$(ROOTISOHDRS)		\
1012	$(ROOTFMHDRS)		\
1013	$(ROOTFMFSHDRS)		\
1014	$(ROOTFMIOHDRS)		\
1015	$(ROOTFSHDRS)		\
1016	$(ROOTIBDHDRS)		\
1017	$(ROOTIBHDRS)		\
1018	$(ROOTIBTLHDRS)		\
1019	$(ROOTIBTLIMPLHDRS)	\
1020	$(ROOTIBNEXHDRS)	\
1021	$(ROOTIBMGTHDRS)	\
1022	$(ROOTIBMFHDRS)		\
1023	$(ROOTTAVORHDRS)	\
1024	$(ROOTLVMHDRS)		\
1025	$(ROOTPCMCIAHDRS)	\
1026	$(ROOTSCSIHDRS)		\
1027	$(ROOTSCSICONFHDRS)	\
1028	$(ROOTSCSIGENHDRS)	\
1029	$(ROOTSCSIIMPLHDRS)	\
1030	$(ROOTSCSIVHCIHDRS)	\
1031	$(ROOTFCHDRS)		\
1032	$(ROOTSYSEVENTHDRS)     \
1033	$(ROOTCONTRACTHDRS)     \
1034	$(ROOTUSBHDRS)		\
1035	$(ROOTUSBAUDHDRS)	\
1036	$(ROOTUSBHUBDHDRS)	\
1037	$(ROOTUSBHIDHDRS)	\
1038	$(ROOTUSBMSHDRS)	\
1039	$(ROOTUSBPRNHDRS)       \
1040	$(ROOTUGENHDRS)		\
1041	$(ROOT1394HDRS)         \
1042	$(ROOTHOTPLUGHDRS)	\
1043	$(ROOTHOTPLUGPCIHDRS)	\
1044	$(ROOTRSMHDRS)		\
1045	$(ROOTTSOLHDRS)		\
1046	$($(MACH)_ROOTHDRS)
1047
1048all_h: $(GENHDRS)
1049
1050priv_const.h: $(PRIVS_AWK) $(PRIVS_DEF)
1051	$(NAWK) -f $(PRIVS_AWK) < $(PRIVS_DEF) -v privhfile=$@
1052
1053priv_names.h: $(PRIVS_AWK) $(PRIVS_DEF)
1054	$(NAWK) -f $(PRIVS_AWK) < $(PRIVS_DEF) -v pubhfile=$@
1055
1056LVMDERIVED_H:
1057	cd $(SRC)/uts/common/sys/lvm; pwd; $(MAKE)
1058
1059check:	$(CHECKHDRS)
1060
1061FRC:
1062
1063# EXPORT DELETE START
1064EXPORT_SRC:
1065	$(RM) wanboot_impl.h+ Makefile+
1066	sed -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
1067		< wanboot_impl.h > wanboot_impl.h+
1068	$(MV) wanboot_impl.h+ wanboot_impl.h
1069	sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
1070		< Makefile > Makefile+
1071	$(RM) Makefile
1072	$(MV) Makefile+ Makefile
1073	$(CHMOD) 444 Makefile wanboot_impl.h
1074# EXPORT DELETE END
1075