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