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