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