xref: /titanic_51/usr/src/uts/common/sys/Makefile (revision bbaa8b60dd95d714741fc474adad3cf710ef4efd)
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 (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
23# Copyright 2013, Joyent, Inc. All rights reserved.
24#
25
26include $(SRC)/uts/Makefile.uts
27
28FILEMODE=644
29
30#
31#	Note that the following headers are present in the kernel but
32#	neither installed or shipped as part of the product:
33#		cpuid_drv.h:		Private interface for cpuid consumers
34#		unix_bb_info.h:		Private interface to kcov
35#
36
37i386_HDRS=			\
38	agp/agpamd64gart_io.h	\
39	agp/agpdefs.h		\
40	agp/agpgart_impl.h	\
41	agp/agpmaster_io.h	\
42	agp/agptarget_io.h	\
43	agpgart.h		\
44	asy.h			\
45	fd_debug.h		\
46	fdc.h			\
47	fdmedia.h		\
48	mouse.h			\
49	ucode.h
50
51sparc_HDRS= 			\
52	mouse.h			\
53	scsi/targets/ssddef.h	\
54	$(MDESCHDRS)
55
56# Generated headers
57GENHDRS=			\
58	priv_const.h		\
59	priv_names.h		\
60	usb/usbdevs.h
61
62CHKHDRS=			\
63	acpi_drv.h		\
64	acct.h			\
65	acctctl.h		\
66	acl.h			\
67	acl_impl.h		\
68	aggr.h			\
69	aggr_impl.h		\
70	aio.h			\
71	aio_impl.h		\
72	aio_req.h		\
73	aiocb.h			\
74	ascii.h			\
75	asynch.h		\
76	atomic.h		\
77	attr.h			\
78	audio.h			\
79	audioio.h		\
80	autoconf.h		\
81	auxv.h			\
82	auxv_386.h		\
83	auxv_SPARC.h		\
84	avl.h			\
85	avl_impl.h		\
86	bitmap.h		\
87	bitset.h		\
88	bl.h			\
89	blkdev.h		\
90	bofi.h			\
91	bofi_impl.h		\
92	bpp_io.h		\
93	bootstat.h		\
94	brand.h			\
95	buf.h			\
96	bufmod.h		\
97	bustypes.h		\
98	byteorder.h		\
99	callb.h			\
100	callo.h			\
101	cap_util.h		\
102	cpucaps.h		\
103	cpucaps_impl.h		\
104	ccompile.h		\
105	cdio.h			\
106	cladm.h			\
107	class.h			\
108	clconf.h		\
109	clock_impl.h		\
110	cmlb.h			\
111	cmn_err.h		\
112	compress.h		\
113	condvar.h		\
114	condvar_impl.h		\
115	conf.h			\
116	consdev.h		\
117	console.h		\
118	consplat.h		\
119	vt.h			\
120	vtdaemon.h		\
121	kd.h			\
122	contract.h		\
123	contract_impl.h		\
124	copyops.h		\
125	core.h			\
126	corectl.h		\
127	cpc_impl.h		\
128	cpc_pcbe.h		\
129	cpr.h			\
130	cpupart.h		\
131	cpuvar.h		\
132	crc32.h			\
133	cred.h			\
134	cred_impl.h		\
135	crtctl.h		\
136	cryptmod.h		\
137	csiioctl.h		\
138	ctf.h			\
139	ctfs.h			\
140	ctfs_impl.h		\
141	ctf_api.h		\
142	ctype.h			\
143	cyclic.h		\
144	cyclic_impl.h		\
145	dacf.h			\
146	dacf_impl.h		\
147	damap.h			\
148	damap_impl.h		\
149	dc_ki.h			\
150	ddi.h			\
151	ddifm.h			\
152	ddifm_impl.h		\
153	ddi_hp.h		\
154	ddi_hp_impl.h		\
155	ddi_intr.h		\
156	ddi_intr_impl.h		\
157	ddi_impldefs.h		\
158	ddi_implfuncs.h		\
159	ddi_obsolete.h		\
160	ddi_periodic.h		\
161	ddidevmap.h		\
162	ddidmareq.h		\
163	ddimapreq.h		\
164	ddipropdefs.h		\
165	dditypes.h		\
166	debug.h			\
167	des.h			\
168	devctl.h		\
169	devcache.h		\
170	devcache_impl.h		\
171	devfm.h			\
172	devid_cache.h		\
173	devinfo_impl.h		\
174	devops.h		\
175	devpolicy.h		\
176	devpoll.h		\
177	dirent.h		\
178	disp.h			\
179	dkbad.h			\
180	dkio.h			\
181	dklabel.h		\
182	dl.h			\
183	dlpi.h			\
184	dld.h			\
185	dld_impl.h		\
186	dld_ioc.h		\
187	dls.h			\
188	dls_mgmt.h		\
189	dls_impl.h		\
190	dma_i8237A.h		\
191	dnlc.h			\
192	door.h			\
193	door_data.h		\
194	door_impl.h		\
195	dtrace.h		\
196	dtrace_impl.h		\
197	dumpadm.h		\
198	dumphdr.h		\
199	ecppsys.h		\
200	ecppio.h		\
201	ecppreg.h		\
202	ecppvar.h		\
203	efi_partition.h		\
204	elf.h			\
205	elf_386.h		\
206	elf_SPARC.h		\
207	elf_notes.h		\
208	elf_amd64.h		\
209	elftypes.h		\
210	emul64.h		\
211	emul64cmd.h		\
212	emul64var.h		\
213	epm.h			\
214	errno.h			\
215	errorq.h		\
216	errorq_impl.h		\
217	esunddi.h		\
218	ethernet.h		\
219	euc.h			\
220	eucioctl.h		\
221	exacct.h		\
222	exacct_catalog.h	\
223	exacct_impl.h		\
224	exec.h			\
225	exechdr.h		\
226	extdirent.h		\
227	fault.h			\
228	fasttrap.h		\
229	fasttrap_impl.h		\
230	fbio.h			\
231	fbuf.h			\
232	fcntl.h			\
233	fct.h			\
234	fct_defines.h		\
235	fctio.h			\
236	fdbuffer.h		\
237	fdio.h			\
238	feature_tests.h		\
239	fem.h			\
240	file.h			\
241	filio.h			\
242	flock.h			\
243	flock_impl.h		\
244	fork.h			\
245	fss.h			\
246	fsspriocntl.h		\
247	fsid.h			\
248	fssnap.h		\
249	fssnap_if.h		\
250	fstyp.h			\
251	ftrace.h		\
252	fx.h			\
253	fxpriocntl.h		\
254	gfs.h			\
255	gld.h			\
256	gldpriv.h		\
257	group.h			\
258	hdio.h			\
259	hook.h			\
260	hook_event.h		\
261	hook_impl.h		\
262	hwconf.h		\
263	ia.h			\
264	iapriocntl.h		\
265	ibpart.h		\
266	id32.h			\
267	idmap.h 		\
268	ieeefp.h		\
269	id_space.h		\
270	instance.h		\
271	int_const.h		\
272	int_fmtio.h		\
273	int_limits.h		\
274	int_types.h		\
275	inttypes.h		\
276	ioccom.h		\
277	ioctl.h			\
278	ipc.h			\
279	ipc_impl.h		\
280	ipc_rctl.h		\
281	ipmi.h			\
282	isa_defs.h		\
283	iscsi_authclient.h	\
284	iscsi_authclientglue.h	\
285	iscsi_protocol.h	\
286	jioctl.h		\
287	kbd.h			\
288	kbdreg.h		\
289	kbio.h			\
290	kcpc.h			\
291	kdi.h			\
292	kdi_impl.h		\
293	kiconv.h		\
294	kiconv_big5_utf8.h	\
295	kiconv_cck_common.h	\
296	kiconv_cp950hkscs_utf8.h	\
297	kiconv_emea1.h		\
298	kiconv_emea2.h		\
299	kiconv_euckr_utf8.h	\
300	kiconv_euctw_utf8.h	\
301	kiconv_gb18030_utf8.h	\
302	kiconv_gb2312_utf8.h	\
303	kiconv_hkscs_utf8.h	\
304	kiconv_ja.h		\
305	kiconv_ja_jis_to_unicode.h	\
306	kiconv_ja_unicode_to_jis.h	\
307	kiconv_ko.h		\
308	kiconv_latin1.h		\
309	kiconv_sc.h		\
310	kiconv_tc.h		\
311	kiconv_uhc_utf8.h	\
312	kiconv_utf8_big5.h	\
313	kiconv_utf8_cp950hkscs.h	\
314	kiconv_utf8_euckr.h	\
315	kiconv_utf8_euctw.h	\
316	kiconv_utf8_gb18030.h	\
317	kiconv_utf8_gb2312.h	\
318	kiconv_utf8_hkscs.h	\
319	kiconv_utf8_uhc.h	\
320	kidmap.h		\
321	klpd.h			\
322	klwp.h			\
323	kmdb.h			\
324	kmem.h			\
325	kmem_impl.h		\
326	kobj.h			\
327	kobj_impl.h		\
328	ksocket.h		\
329	kstat.h			\
330	kstr.h			\
331	ksyms.h			\
332	ksynch.h		\
333	ldterm.h		\
334	lgrp.h			\
335	lgrp_user.h		\
336	libc_kernel.h		\
337	link.h			\
338	list.h			\
339	list_impl.h		\
340	llc1.h			\
341	loadavg.h		\
342	lock.h			\
343	lockfs.h		\
344	lockstat.h		\
345	lofi.h			\
346	log.h			\
347	logindmux.h		\
348	logindmux_impl.h	\
349	lwp.h			\
350	lwp_timer_impl.h	\
351	lwp_upimutex_impl.h	\
352	lpif.h			\
353	mac.h			\
354	mac_client.h		\
355	mac_client_impl.h	\
356	mac_ether.h		\
357	mac_flow.h		\
358	mac_flow_impl.h		\
359	mac_impl.h		\
360	mac_provider.h		\
361	mac_soft_ring.h		\
362	mac_stat.h		\
363	machelf.h		\
364	map.h			\
365	md4.h			\
366	md5.h			\
367	md5_consts.h		\
368	mdi_impldefs.h		\
369	mem.h			\
370	mem_config.h		\
371	memlist.h		\
372	mkdev.h			\
373	mhd.h			\
374	mii.h			\
375	miiregs.h		\
376	mixer.h			\
377	mman.h			\
378	mmapobj.h		\
379	mntent.h		\
380	mntio.h			\
381	mnttab.h		\
382	modctl.h		\
383	mode.h			\
384	model.h			\
385	modhash.h		\
386	modhash_impl.h		\
387	mount.h			\
388	mouse.h			\
389	msacct.h		\
390	msg.h			\
391	msg_impl.h		\
392	msio.h			\
393	msreg.h			\
394	mtio.h			\
395	multidata.h		\
396	multidata_impl.h	\
397	mutex.h			\
398	nbmlock.h		\
399	ndifm.h			\
400	ndi_impldefs.h		\
401	net80211.h		\
402	net80211_crypto.h	\
403	net80211_ht.h		\
404	net80211_proto.h	\
405	netconfig.h		\
406	neti.h			\
407	netstack.h		\
408	nexusdefs.h		\
409	note.h			\
410	nvpair.h		\
411	nvpair_impl.h		\
412	objfs.h			\
413	objfs_impl.h		\
414	ontrap.h		\
415	open.h			\
416	openpromio.h		\
417	panic.h			\
418	param.h			\
419	pathconf.h		\
420	pathname.h		\
421	pattr.h			\
422	queue.h			\
423	serializer.h		\
424	pbio.h			\
425	pccard.h		\
426	pci.h			\
427	pcie.h			\
428	pci_impl.h		\
429	pci_tools.h		\
430	pcmcia.h		\
431	pctypes.h		\
432	pfmod.h			\
433	pg.h			\
434	pghw.h			\
435	physmem.h		\
436	pkp_hash.h		\
437	pm.h			\
438	policy.h		\
439	poll.h			\
440	poll_impl.h		\
441	pool.h			\
442	pool_impl.h		\
443	pool_pset.h		\
444	port.h			\
445	port_impl.h		\
446	port_kernel.h		\
447	portif.h		\
448	ppmio.h			\
449	pppt_ic_if.h		\
450	pppt_ioctl.h		\
451	priocntl.h		\
452	priv.h			\
453	priv_impl.h		\
454	prnio.h			\
455	proc.h			\
456	processor.h		\
457	procfs.h		\
458	procset.h		\
459	project.h		\
460	protosw.h		\
461	prsystm.h		\
462	pset.h			\
463	pshot.h			\
464	ptem.h			\
465	ptms.h			\
466	ptyvar.h		\
467	raidioctl.h		\
468	ramdisk.h		\
469	random.h		\
470	rctl.h			\
471	rctl_impl.h		\
472	rds.h			\
473	reboot.h		\
474	refstr.h		\
475	refstr_impl.h		\
476	resource.h		\
477	rlioctl.h		\
478	rt.h			\
479	rtpriocntl.h		\
480	rwlock.h		\
481	rwlock_impl.h		\
482	rwstlock.h		\
483	sad.h			\
484	schedctl.h		\
485	sdt.h			\
486	select.h		\
487	sem.h			\
488	sem_impl.h		\
489	sema_impl.h		\
490	semaphore.h		\
491	sendfile.h		\
492	ser_sync.h		\
493	session.h		\
494	sha1.h			\
495	sha1_consts.h		\
496	sha2.h			\
497	sha2_consts.h		\
498	share.h			\
499	shm.h			\
500	shm_impl.h		\
501	sid.h			\
502	siginfo.h		\
503	signal.h		\
504	sleepq.h		\
505	smbios.h		\
506	smbios_impl.h		\
507	sobject.h		\
508	socket.h		\
509	socket_impl.h		\
510	socket_proto.h		\
511	socketvar.h		\
512	sockfilter.h		\
513	sockio.h		\
514	soundcard.h		\
515	squeue.h		\
516	squeue_impl.h		\
517	srn.h			\
518	sservice.h		\
519	stat.h			\
520	statfs.h		\
521	statvfs.h		\
522	stdbool.h		\
523	stdint.h		\
524	stermio.h		\
525	stmf.h			\
526	stmf_defines.h		\
527	stmf_ioctl.h		\
528	stmf_sbd_ioctl.h	\
529	stream.h		\
530	strft.h			\
531	strlog.h		\
532	strmdep.h		\
533	stropts.h		\
534	strredir.h		\
535	strstat.h		\
536	strsubr.h		\
537	strsun.h		\
538	strtty.h		\
539	sunddi.h		\
540	sunldi.h		\
541	sunldi_impl.h		\
542	sunmdi.h		\
543	sunndi.h		\
544	sunos_dhcp_class.h	\
545	sunpm.h			\
546	suntpi.h		\
547	suntty.h		\
548	swap.h			\
549	synch.h			\
550	sysdc.h			\
551	sysdc_impl.h		\
552	syscall.h		\
553	sysconf.h		\
554	sysconfig.h		\
555	sysevent.h		\
556	sysevent_impl.h		\
557	sysinfo.h		\
558	syslog.h		\
559	sysmacros.h		\
560	sysmsg_impl.h		\
561	systeminfo.h		\
562	systm.h			\
563	task.h			\
564	taskq.h			\
565	taskq_impl.h		\
566	t_kuser.h		\
567	t_lock.h		\
568	telioctl.h		\
569	termio.h		\
570	termios.h		\
571	termiox.h		\
572	thread.h		\
573	ticlts.h		\
574	ticots.h		\
575	ticotsord.h		\
576	tihdr.h			\
577	time.h			\
578	time_impl.h		\
579	time_std_impl.h		\
580	timeb.h			\
581	timer.h			\
582	times.h			\
583	timex.h			\
584	timod.h			\
585	tirdwr.h		\
586	tiuser.h		\
587	tl.h			\
588	tnf.h			\
589	tnf_com.h		\
590	tnf_probe.h		\
591	tnf_writer.h		\
592	todio.h			\
593	tpicommon.h		\
594	ts.h			\
595	tspriocntl.h		\
596	ttcompat.h		\
597	ttold.h			\
598	tty.h			\
599	ttychars.h		\
600	ttydev.h		\
601	tuneable.h		\
602	turnstile.h		\
603	types.h			\
604	types32.h		\
605	tzfile.h		\
606	u8_textprep.h		\
607	u8_textprep_data.h	\
608	uadmin.h		\
609	ucred.h			\
610	uio.h			\
611	ulimit.h		\
612	un.h			\
613	unistd.h		\
614	user.h			\
615	ustat.h			\
616	utime.h			\
617	utsname.h		\
618	utssys.h		\
619	uuid.h			\
620	va_impl.h		\
621	va_list.h		\
622	var.h			\
623	varargs.h		\
624	vfs.h			\
625	vfs_opreg.h		\
626	vfstab.h		\
627	vgareg.h		\
628	videodev2.h		\
629	visual_io.h		\
630	vlan.h			\
631	vm.h			\
632	vm_usage.h		\
633	vmem.h			\
634	vmem_impl.h		\
635	vmsystm.h		\
636	vnic.h			\
637	vnic_impl.h		\
638	vnode.h			\
639	vscan.h			\
640	vtoc.h			\
641	vtrace.h		\
642	vuid_event.h		\
643	vuid_wheel.h		\
644	vuid_queue.h		\
645	vuid_state.h		\
646	vuid_store.h		\
647	wait.h			\
648	waitq.h			\
649	wanboot_impl.h		\
650	watchpoint.h		\
651	winlockio.h		\
652	zcons.h			\
653	zone.h			\
654	xti_inet.h		\
655	xti_osi.h		\
656	xti_xtiopt.h		\
657	zmod.h
658
659HDRS=				\
660	$(GENHDRS)		\
661	$(CHKHDRS)
662
663AUDIOHDRS=			\
664	ac97.h			\
665	audio_common.h		\
666	audio_driver.h		\
667	audio_oss.h		\
668	g711.h
669
670AVHDRS=				\
671	iec61883.h
672
673BSCHDRS=			\
674	bscbus.h		\
675	bscv_impl.h		\
676	lom_ebuscodes.h		\
677	lom_io.h		\
678	lom_priv.h		\
679	lombus.h
680
681MDESCHDRS=			\
682	mdesc.h			\
683	mdesc_impl.h
684
685CPUDRVHDRS=			\
686	cpudrv.h
687
688CRYPTOHDRS=			\
689	elfsign.h		\
690	ioctl.h			\
691	ioctladmin.h		\
692	common.h		\
693	impl.h			\
694	spi.h			\
695	api.h			\
696	ops_impl.h		\
697	sched_impl.h
698
699DCAMHDRS=			\
700	dcam1394_io.h
701
702IBHDRS=			\
703	ib_types.h	\
704	ib_pkt_hdrs.h
705
706IBTLHDRS=		\
707	ibtl_types.h	\
708	ibtl_status.h	\
709	ibti.h		\
710	ibti_cm.h	\
711	ibci.h		\
712	ibti_common.h	\
713	ibvti.h		\
714	ibtl_ci_types.h
715
716IBTLIMPLHDRS=		\
717	ibtl_util.h
718
719IBNEXHDRS=		\
720	ibnex_devctl.h
721
722IBMFHDRS=		\
723	ibmf.h		\
724	ibmf_msg.h	\
725	ibmf_saa.h	\
726	ibmf_utils.h
727
728IBMGTHDRS=		\
729	ib_dm_attr.h	\
730	ib_mad.h	\
731	sm_attr.h	\
732	sa_recs.h
733
734IBDHDRS=		\
735	ibd.h
736
737OFHDRS=			\
738	ofa_solaris.h	\
739	ofed_kernel.h
740
741RDMAHDRS=		\
742	ib_addr.h	\
743	ib_user_mad.h	\
744	ib_user_sa.h	\
745	ib_user_verbs.h \
746	ib_verbs.h 	\
747	rdma_cm.h 	\
748	rdma_user_cm.h
749
750SOL_UVERBSHDRS=		\
751	sol_uverbs.h	\
752	sol_uverbs2ucma.h	\
753	sol_uverbs_comp.h	\
754	sol_uverbs_hca.h	\
755	sol_uverbs_qp.h		\
756	sol_uverbs_event.h
757
758SOL_UMADHDRS=		\
759	sol_umad.h
760
761SOL_UCMAHDRS=		\
762	sol_ucma.h	\
763	sol_rdma_user_cm.h
764
765SOL_OFSHDRS=		\
766	sol_cma.h	\
767	sol_ib_cma.h	\
768	sol_ofs_common.h	\
769	sol_kverb_impl.h
770
771TAVORHDRS=		\
772	tavor_ioctl.h
773
774HERMONHDRS=		\
775	hermon_ioctl.h
776
777MLNXHDRS=		\
778	mlnx_umap.h
779
780IDMHDRS=		\
781	idm.h		\
782	idm_impl.h	\
783	idm_so.h	\
784	idm_text.h	\
785	idm_transport.h	\
786	idm_conn_sm.h
787
788ISCSITHDRS=		\
789	radius_packet.h		\
790	radius_protocol.h	\
791	chap.h			\
792	isns_protocol.h		\
793	iscsi_if.h		\
794	iscsit_common.h
795
796ISOHDRS=			\
797	signal_iso.h
798
799DERIVED_LVMHDRS=	\
800	md_mdiox.h		\
801	md_basic.h		\
802	mdmed.h			\
803	md_mhdx.h		\
804	mdmn_commd.h
805
806LVMHDRS=			\
807	md_convert.h		\
808	md_crc.h		\
809	md_hotspares.h		\
810	md_mddb.h		\
811	md_mirror.h		\
812	md_mirror_shared.h	\
813	md_names.h		\
814	md_notify.h		\
815	md_raid.h		\
816	md_rename.h		\
817	md_sp.h			\
818	md_stripe.h		\
819	md_trans.h		\
820	mdio.h			\
821	mdvar.h
822
823ALL_LVMHDRS=			\
824	$(LVMHDRS)		\
825	$(DERIVED_LVMHDRS)
826
827FMHDRS=				\
828	protocol.h		\
829	util.h
830
831FMFSHDRS=			\
832	zfs.h
833
834FMIOHDRS=			\
835	ddi.h			\
836	disk.h			\
837	pci.h			\
838	scsi.h			\
839	sun4upci.h		\
840	opl_mc_fm.h
841
842FSHDRS=				\
843	autofs.h		\
844	cachefs_dir.h		\
845	cachefs_dlog.h		\
846	cachefs_filegrp.h	\
847	cachefs_fs.h		\
848	cachefs_fscache.h	\
849	cachefs_ioctl.h		\
850	cachefs_log.h		\
851	decomp.h		\
852	dv_node.h		\
853	sdev_impl.h		\
854	fifonode.h		\
855	hsfs_isospec.h		\
856	hsfs_node.h		\
857	hsfs_rrip.h		\
858	hsfs_spec.h		\
859	hsfs_susp.h		\
860	lofs_info.h		\
861	lofs_node.h		\
862	mntdata.h		\
863	namenode.h		\
864	pc_dir.h		\
865	pc_fs.h			\
866	pc_label.h		\
867	pc_node.h		\
868	pxfs_ki.h		\
869	snode.h			\
870	swapnode.h		\
871	tmp.h			\
872	tmpnode.h		\
873	udf_inode.h		\
874	udf_volume.h		\
875	ufs_acl.h		\
876	ufs_bio.h		\
877	ufs_filio.h		\
878	ufs_fs.h		\
879	ufs_fsdir.h		\
880	ufs_inode.h		\
881	ufs_lockfs.h		\
882	ufs_log.h		\
883	ufs_mount.h		\
884	ufs_panic.h		\
885	ufs_prot.h		\
886	ufs_quota.h		\
887	ufs_snap.h              \
888	ufs_trans.h		\
889	zfs.h			\
890	zut.h
891
892PCMCIAHDRS=		\
893	pcata.h		\
894	pcser_conf.h	\
895	pcser_io.h	\
896	pcser_reg.h	\
897	pcser_manuspec.h \
898	pcser_var.h
899
900SCSIHDRS=		\
901	scsi.h		\
902	scsi_address.h	\
903	scsi_ctl.h	\
904	scsi_fm.h	\
905	scsi_params.h	\
906	scsi_pkt.h	\
907	scsi_resource.h	\
908	scsi_types.h	\
909	scsi_watch.h
910
911SCSICONFHDRS=		\
912	autoconf.h	\
913	device.h
914
915SCSIGENHDRS=		\
916	commands.h	\
917	dad_mode.h	\
918	inquiry.h	\
919	message.h	\
920	mode.h		\
921	persist.h	\
922	sense.h		\
923	sff_frames.h	\
924	smp_frames.h	\
925	status.h
926
927SCSIIMPLHDRS=		\
928	commands.h	\
929	inquiry.h	\
930	mode.h		\
931	scsi_reset_notify.h \
932	scsi_sas.h	\
933	sense.h		\
934	services.h	\
935	smp_transport.h	\
936	spc3_types.h	\
937	status.h	\
938	transport.h	\
939	types.h		\
940	uscsi.h		\
941	usmp.h
942
943SCSITARGETSHDRS=	\
944	ses.h		\
945	sesio.h		\
946	sgendef.h	\
947	stdef.h		\
948	sddef.h		\
949	smp.h
950
951SCSIADHDRS=
952
953SCSICADHDRS=
954
955SCSIISCSIHDRS=		\
956	iscsi_door.h	\
957	iscsi_if.h
958
959SCSIVHCIHDRS=		\
960	scsi_vhci.h	\
961	mpapi_impl.h	\
962	mpapi_scsi_vhci.h
963
964SDCARDHDRS=		\
965	sda.h		\
966	sda_impl.h	\
967	sda_ioctl.h
968
969FC4HDRS=			\
970	fc_transport.h	\
971	linkapp.h	\
972	fc.h		\
973	fcp.h		\
974	fcal_transport.h \
975	fcal.h		\
976	fcal_linkapp.h	\
977	fcio.h
978
979FCHDRS=			\
980	fc.h		\
981	fcio.h		\
982	fc_types.h	\
983	fc_appif.h
984
985FCIMPLHDRS=		\
986	fc_error.h	\
987	fcph.h
988
989FCULPHDRS=		\
990	fcp_util.h	\
991	fcsm.h
992
993SATAGENHDRS=		\
994	sata_hba.h	\
995	sata_defs.h	\
996	sata_cfgadm.h
997
998SYSEVENTHDRS=		\
999	ap_driver.h     \
1000	dev.h		\
1001	domain.h        \
1002	dr.h            \
1003	env.h           \
1004	eventdefs.h	\
1005	ipmp.h		\
1006	pwrctl.h	\
1007	svm.h		\
1008	vrrp.h
1009
1010CONTRACTHDRS=		\
1011	process.h	\
1012	process_impl.h	\
1013	device.h	\
1014	device_impl.h
1015
1016USBHDRS=	\
1017	usba.h	\
1018	usbai.h
1019
1020UWBHDRS=	\
1021	uwb.h	\
1022	uwbai.h
1023
1024UWBAHDRS=	\
1025	uwba.h
1026
1027USBAUDHDRS=           \
1028	usb_audio.h
1029
1030USBHUBDHDRS=		\
1031	hub.h		\
1032	hubd_impl.h
1033
1034USBHIDHDRS=		\
1035	hid.h
1036
1037USBHWARCHDRS=		\
1038	hwarc.h
1039
1040USBMSHDRS=		\
1041	usb_bulkonly.h	\
1042	usb_cbi.h
1043
1044USBPRNHDRS=           \
1045	usb_printer.h
1046
1047USBCDCHDRS=		\
1048	usb_cdc.h
1049
1050USBVIDHDRS=           \
1051	usbvc.h
1052
1053USBWCMHDRS=		\
1054	usbwcm.h
1055
1056UGENHDRS=           \
1057	usb_ugen.h
1058
1059HOTPLUGHDRS=	\
1060	hpcsvc.h	\
1061	hpctrl.h
1062
1063HOTPLUGPCIHDRS=	\
1064	pcicfg.h	\
1065	pcihp.h
1066
1067RSMHDRS= \
1068	rsm.h	\
1069	rsm_common.h	\
1070	rsmapi_common.h \
1071	rsmpi.h	\
1072	rsmpi_driver.h	\
1073	rsmka_path_int.h
1074
1075TSOLHDRS=		\
1076	label.h		\
1077	label_macro.h	\
1078	priv.h		\
1079	tndb.h		\
1080	tsyscall.h
1081
1082I1394HDRS=		\
1083	cmd1394.h	\
1084	id1394.h	\
1085	ieee1212.h	\
1086	ieee1394.h	\
1087	ixl1394.h	\
1088	s1394_impl.h	\
1089	t1394.h
1090
1091# "cmdk" headers used on sparc
1092SDKTPHDRS=		\
1093	dadkio.h	\
1094	fdisk.h
1095
1096# "cmdk" headers used on i386
1097DKTPHDRS=		\
1098	altsctr.h	\
1099	bbh.h		\
1100	cm.h		\
1101	cmdev.h		\
1102	cmdk.h		\
1103	cmpkt.h		\
1104	controller.h	\
1105	dadev.h		\
1106	dadk.h		\
1107	dadkio.h	\
1108	fctypes.h	\
1109	fdisk.h		\
1110	flowctrl.h	\
1111	gda.h		\
1112	quetypes.h	\
1113	queue.h		\
1114	tgcom.h		\
1115	tgdk.h
1116
1117# "pc" header files used on i386
1118PCHDRS=			\
1119	avintr.h	\
1120	dma_engine.h	\
1121	i8272A.h	\
1122	pcic_reg.h	\
1123	pcic_var.h	\
1124	pic.h		\
1125	pit.h		\
1126	rtc.h
1127
1128NXGEHDRS=			\
1129	nxge.h			\
1130	nxge_common.h		\
1131	nxge_common_impl.h	\
1132	nxge_defs.h		\
1133	nxge_hw.h		\
1134	nxge_impl.h		\
1135	nxge_ipp.h		\
1136	nxge_ipp_hw.h		\
1137	nxge_mac.h		\
1138	nxge_mac_hw.h		\
1139	nxge_fflp.h		\
1140	nxge_fflp_hw.h		\
1141	nxge_mii.h		\
1142	nxge_rxdma.h		\
1143	nxge_rxdma_hw.h		\
1144	nxge_txc.h		\
1145	nxge_txc_hw.h		\
1146	nxge_txdma.h		\
1147	nxge_txdma_hw.h		\
1148	nxge_virtual.h		\
1149	nxge_espc.h
1150
1151include Makefile.syshdrs
1152
1153dcam/%.check:	dcam/%.h
1154	$(DOT_H_CHECK)
1155
1156CHECKHDRS=						\
1157	$($(MACH)_HDRS:%.h=%.check)			\
1158	$(AUDIOHDRS:%.h=audio/%.check)			\
1159	$(AVHDRS:%.h=av/%.check)			\
1160	$(BSCHDRS:%.h=%.check)				\
1161	$(CHKHDRS:%.h=%.check)				\
1162	$(CPUDRVHDRS:%.h=%.check)			\
1163	$(CRYPTOHDRS:%.h=crypto/%.check)		\
1164	$(DCAMHDRS:%.h=dcam/%.check)			\
1165	$(FC4HDRS:%.h=fc4/%.check)			\
1166	$(FCHDRS:%.h=fibre-channel/%.check)		\
1167	$(FCIMPLHDRS:%.h=fibre-channel/impl/%.check)	\
1168	$(FCULPHDRS:%.h=fibre-channel/ulp/%.check)	\
1169	$(IBHDRS:%.h=ib/%.check)			\
1170	$(IBDHDRS:%.h=ib/clients/ibd/%.check)		\
1171	$(IBTLHDRS:%.h=ib/ibtl/%.check)			\
1172	$(IBTLIMPLHDRS:%.h=ib/ibtl/impl/%.check)	\
1173	$(IBNEXHDRS:%.h=ib/ibnex/%.check)	\
1174	$(IBMGTHDRS:%.h=ib/mgt/%.check)			\
1175	$(IBMFHDRS:%.h=ib/mgt/ibmf/%.check)		\
1176	$(OFHDRS:%.h=ib/clients/of/%.check)			\
1177	$(RDMAHDRS:%.h=ib/clients/of/rdma/%.check)		\
1178	$(SOL_UVERBSHDRS:%.h=ib/clients/of/sol_uverbs/%.check)	\
1179	$(SOL_UCMAHDRS:%.h=ib/clients/of/sol_ucma/%.check)	\
1180	$(SOL_OFSHDRS:%.h=ib/clients/of/sol_ofs/%.check)	\
1181	$(TAVORHDRS:%.h=ib/adapters/tavor/%.check)	\
1182	$(HERMONHDRS:%.h=ib/adapters/hermon/%.check)	\
1183	$(MLNXHDRS:%.h=ib/adapters/%.check)		\
1184	$(IDMHDRS:%.h=idm/%.check)			\
1185	$(ISCSIHDRS:%.h=iscsi/%.check)			\
1186	$(ISCSITHDRS:%.h=iscsit/%.check)			\
1187	$(ISOHDRS:%.h=iso/%.check)			\
1188	$(FMHDRS:%.h=fm/%.check)			\
1189	$(FMFSHDRS:%.h=fm/fs/%.check)			\
1190	$(FMIOHDRS:%.h=fm/io/%.check)			\
1191	$(FSHDRS:%.h=fs/%.check)			\
1192	$(LVMHDRS:%.h=lvm/%.check)			\
1193	$(PCMCIAHDRS:%.h=pcmcia/%.check)		\
1194	$(SCSIHDRS:%.h=scsi/%.check)			\
1195	$(SCSIADHDRS:%.h=scsi/adapters/%.check)		\
1196	$(SCSICONFHDRS:%.h=scsi/conf/%.check)		\
1197	$(SCSIIMPLHDRS:%.h=scsi/impl/%.check)		\
1198	$(SCSIISCSIHDRS:%.h=scsi/adapters/%.check)	\
1199	$(SCSIGENHDRS:%.h=scsi/generic/%.check)		\
1200	$(SCSITARGETSHDRS:%.h=scsi/targets/%.check)	\
1201	$(SCSIVHCIHDRS:%.h=scsi/adapters/%.check)	\
1202	$(SATAGENHDRS:%.h=sata/%.check)			\
1203	$(SDCARDHDRS:%.h=sdcard/%.check)		\
1204	$(SYSEVENTHDRS:%.h=sysevent/%.check)            \
1205	$(CONTRACTHDRS:%.h=contract/%.check)            \
1206	$(USBAUDHDRS:%.h=usb/clients/audio/%.check)   \
1207	$(USBHUBDHDRS:%.h=usb/hubd/%.check)		\
1208	$(USBHIDHDRS:%.h=usb/clients/hid/%.check)	\
1209	$(USBHWARCHDRS:%.h=usb/clients/hwarc/%.check)	\
1210	$(USBMSHDRS:%.h=usb/clients/mass_storage/%.check)	\
1211	$(USBPRNHDRS:%.h=usb/clients/printer/%.check)   \
1212	$(USBCDCHDRS:%.h=usb/clients/usbcdc/%.check)	\
1213	$(USBVIDHDRS:%.h=usb/clients/video/usbvc/%.check)   \
1214	$(USBWCMHDRS:%.h=usb/clients/usbinput/usbwcm/%.check)	\
1215	$(UGENHDRS:%.h=usb/clients/ugen/%.check)   \
1216	$(USBHDRS:%.h=usb/%.check)                      \
1217	$(UWBHDRS:%.h=uwb/%.check)                      \
1218	$(UWBAHDRS:%.h=uwb/uwba/%.check)                      \
1219	$(I1394HDRS:%.h=1394/%.check)			\
1220	$(RSMHDRS:%.h=rsm/%.check)			\
1221	$(TSOLHDRS:%.h=tsol/%.check)			\
1222	$(NXGEHDRS:%.h=nxge/%.check)
1223
1224
1225.KEEP_STATE:
1226
1227.PARALLEL:			\
1228	$(CHECKHDRS)		\
1229	$(ROOTHDRS)		\
1230	$(ROOTAUDHDRS)		\
1231	$(ROOTAVHDRS)		\
1232	$(ROOTCRYPTOHDRS)	\
1233	$(ROOTDCAMHDRS)		\
1234	$(ROOTISOHDRS)		\
1235	$(ROOTIDMHDRS)		\
1236	$(ROOTISCSIHDRS)	\
1237	$(ROOTISCSITHDRS)	\
1238	$(ROOTFC4HDRS)		\
1239	$(ROOTFCHDRS)		\
1240	$(ROOTFCIMPLHDRS)	\
1241	$(ROOTFCULPHDRS)	\
1242	$(ROOTFMHDRS)		\
1243	$(ROOTFMIOHDRS)		\
1244	$(ROOTFMFSHDRS)		\
1245	$(ROOTFSHDRS)		\
1246	$(ROOTIBDHDRS)		\
1247	$(ROOTIBHDRS)		\
1248	$(ROOTIBTLHDRS)		\
1249	$(ROOTIBTLIMPLHDRS)	\
1250	$(ROOTIBNEXHDRS)	\
1251	$(ROOTIBMGTHDRS)	\
1252	$(ROOTIBMFHDRS)		\
1253	$(ROOTOFHDRS)		\
1254	$(ROOTRDMAHDRS)		\
1255	$(ROOTSOL_OFSHDRS)	\
1256	$(ROOTSOL_UMADHDRS)	\
1257	$(ROOTSOL_UVERBSHDRS)	\
1258	$(ROOTSOL_UCMAHDRS)	\
1259	$(ROOTTAVORHDRS)	\
1260	$(ROOTHERMONHDRS)	\
1261	$(ROOTMLNXHDRS)		\
1262	$(ROOTLVMHDRS)		\
1263	$(ROOTPCMCIAHDRS)	\
1264	$(ROOTSCSIHDRS)		\
1265	$(ROOTSCSIADHDRS)	\
1266	$(ROOTSCSICONFHDRS)	\
1267	$(ROOTSCSIISCSIHDRS)	\
1268	$(ROOTSCSIGENHDRS)	\
1269	$(ROOTSCSIIMPLHDRS)	\
1270	$(ROOTSCSIVHCIHDRS)	\
1271	$(ROOTSDCARDHDRS)	\
1272	$(ROOTSYSEVENTHDRS)     \
1273	$(ROOTCONTRACTHDRS)     \
1274	$(ROOTUSBHDRS)		\
1275	$(ROOTUWBHDRS)		\
1276	$(ROOTUWBAHDRS)		\
1277	$(ROOTUSBAUDHDRS)	\
1278	$(ROOTUSBHUBDHDRS)	\
1279	$(ROOTUSBHIDHDRS)	\
1280	$(ROOTUSBHRCHDRS)	\
1281	$(ROOTUSBMSHDRS)	\
1282	$(ROOTUSBPRNHDRS)       \
1283	$(ROOTUSBCDCHDRS)       \
1284	$(ROOTUSBVIDHDRS)       \
1285	$(ROOTUSBWCMHDRS)	\
1286	$(ROOTUGENHDRS)		\
1287	$(ROOT1394HDRS)         \
1288	$(ROOTHOTPLUGHDRS)	\
1289	$(ROOTHOTPLUGPCIHDRS)	\
1290	$(ROOTRSMHDRS)		\
1291	$(ROOTTSOLHDRS)		\
1292	$($(MACH)_ROOTHDRS)
1293
1294
1295install_h:			\
1296	$(ROOTDIRS)		\
1297	LVMDERIVED_H		\
1298	.WAIT			\
1299	$(ROOTHDRS)		\
1300	$(ROOTAUDHDRS)		\
1301	$(ROOTAVHDRS)		\
1302	$(ROOTCRYPTOHDRS)	\
1303	$(ROOTDCAMHDRS)		\
1304	$(ROOTISOHDRS)		\
1305	$(ROOTIDMHDRS)		\
1306	$(ROOTISCSIHDRS)	\
1307	$(ROOTISCSITHDRS)	\
1308	$(ROOTFC4HDRS)		\
1309	$(ROOTFCHDRS)		\
1310	$(ROOTFCIMPLHDRS)	\
1311	$(ROOTFCULPHDRS)	\
1312	$(ROOTFMHDRS)		\
1313	$(ROOTFMFSHDRS)		\
1314	$(ROOTFMIOHDRS)		\
1315	$(ROOTFSHDRS)		\
1316	$(ROOTIBDHDRS)		\
1317	$(ROOTIBHDRS)		\
1318	$(ROOTIBTLHDRS)		\
1319	$(ROOTIBTLIMPLHDRS)	\
1320	$(ROOTIBNEXHDRS)	\
1321	$(ROOTIBMGTHDRS)	\
1322	$(ROOTIBMFHDRS)		\
1323	$(ROOTOFHDRS)		\
1324	$(ROOTRDMAHDRS)		\
1325	$(ROOTSOL_OFSHDRS)	\
1326	$(ROOTSOL_UMADHDRS)	\
1327	$(ROOTSOL_UVERBSHDRS)	\
1328	$(ROOTSOL_UCMAHDRS)	\
1329	$(ROOTTAVORHDRS)	\
1330	$(ROOTHERMONHDRS)	\
1331	$(ROOTMLNXHDRS)		\
1332	$(ROOTLVMHDRS)		\
1333	$(ROOTPCMCIAHDRS)	\
1334	$(ROOTSCSIHDRS)		\
1335	$(ROOTSCSIADHDRS)	\
1336	$(ROOTSCSIISCSIHDRS)	\
1337	$(ROOTSCSICONFHDRS)	\
1338	$(ROOTSCSIGENHDRS)	\
1339	$(ROOTSCSIIMPLHDRS)	\
1340	$(ROOTSCSIVHCIHDRS)     \
1341	$(ROOTSDCARDHDRS)	\
1342	$(ROOTSYSEVENTHDRS)     \
1343	$(ROOTCONTRACTHDRS)     \
1344	$(ROOTUWBHDRS)		\
1345	$(ROOTUWBAHDRS)		\
1346	$(ROOTUSBHDRS)		\
1347	$(ROOTUSBAUDHDRS)	\
1348	$(ROOTUSBHUBDHDRS)	\
1349	$(ROOTUSBHIDHDRS)	\
1350	$(ROOTUSBHRCHDRS)	\
1351	$(ROOTUSBMSHDRS)	\
1352	$(ROOTUSBPRNHDRS)       \
1353	$(ROOTUSBCDCHDRS)       \
1354	$(ROOTUSBVIDHDRS)       \
1355	$(ROOTUSBWCMHDRS)	\
1356	$(ROOTUGENHDRS)		\
1357	$(ROOT1394HDRS)         \
1358	$(ROOTHOTPLUGHDRS)	\
1359	$(ROOTHOTPLUGPCIHDRS)	\
1360	$(ROOTRSMHDRS)		\
1361	$(ROOTTSOLHDRS)		\
1362	$($(MACH)_ROOTHDRS)
1363
1364all_h: $(GENHDRS)
1365
1366priv_const.h: $(PRIVS_AWK) $(PRIVS_DEF)
1367	$(NAWK) -f $(PRIVS_AWK) < $(PRIVS_DEF) -v privhfile=$@
1368
1369priv_names.h: $(PRIVS_AWK) $(PRIVS_DEF)
1370	$(NAWK) -f $(PRIVS_AWK) < $(PRIVS_DEF) -v pubhfile=$@
1371
1372usb/usbdevs.h: $(USBDEVS_AWK) $(USBDEVS_DATA)
1373	$(NAWK) -f $(USBDEVS_AWK) $(USBDEVS_DATA) -H > $@
1374
1375LVMDERIVED_H:
1376	cd $(SRC)/uts/common/sys/lvm; pwd; $(MAKE)
1377
1378clean:
1379	$(RM) $(GENHDRS)
1380
1381clobber:	clean
1382
1383check:	$(CHECKHDRS)
1384
1385FRC:
1386