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