xref: /titanic_44/usr/src/uts/common/sys/Makefile (revision fd435bccec40cb841f712413108d8577422fd9ab)
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	nvme.h			\
415	nvpair.h		\
416	nvpair_impl.h		\
417	objfs.h			\
418	objfs_impl.h		\
419	ontrap.h		\
420	open.h			\
421	openpromio.h		\
422	panic.h			\
423	param.h			\
424	pathconf.h		\
425	pathname.h		\
426	pattr.h			\
427	queue.h			\
428	serializer.h		\
429	pbio.h			\
430	pccard.h		\
431	pci.h			\
432	pcie.h			\
433	pci_impl.h		\
434	pci_tools.h		\
435	pcmcia.h		\
436	pctypes.h		\
437	pfmod.h			\
438	pg.h			\
439	pghw.h			\
440	physmem.h		\
441	pkp_hash.h		\
442	pm.h			\
443	policy.h		\
444	poll.h			\
445	poll_impl.h		\
446	pool.h			\
447	pool_impl.h		\
448	pool_pset.h		\
449	port.h			\
450	port_impl.h		\
451	port_kernel.h		\
452	portif.h		\
453	ppmio.h			\
454	pppt_ic_if.h		\
455	pppt_ioctl.h		\
456	priocntl.h		\
457	priv.h			\
458	priv_impl.h		\
459	prnio.h			\
460	proc.h			\
461	processor.h		\
462	procfs.h		\
463	procset.h		\
464	project.h		\
465	protosw.h		\
466	prsystm.h		\
467	pset.h			\
468	pshot.h			\
469	ptem.h			\
470	ptms.h			\
471	ptyvar.h		\
472	raidioctl.h		\
473	ramdisk.h		\
474	random.h		\
475	rctl.h			\
476	rctl_impl.h		\
477	rds.h			\
478	reboot.h		\
479	refstr.h		\
480	refstr_impl.h		\
481	resource.h		\
482	rlioctl.h		\
483	rt.h			\
484	rtpriocntl.h		\
485	rwlock.h		\
486	rwlock_impl.h		\
487	rwstlock.h		\
488	sad.h			\
489	schedctl.h		\
490	sdt.h			\
491	select.h		\
492	sem.h			\
493	sem_impl.h		\
494	sema_impl.h		\
495	semaphore.h		\
496	sendfile.h		\
497	ser_sync.h		\
498	session.h		\
499	sha1.h			\
500	sha1_consts.h		\
501	sha2.h			\
502	sha2_consts.h		\
503	share.h			\
504	shm.h			\
505	shm_impl.h		\
506	sid.h			\
507	siginfo.h		\
508	signal.h		\
509	sleepq.h		\
510	smbios.h		\
511	smbios_impl.h		\
512	sobject.h		\
513	socket.h		\
514	socket_impl.h		\
515	socket_proto.h		\
516	socketvar.h		\
517	sockfilter.h		\
518	sockio.h		\
519	soundcard.h		\
520	squeue.h		\
521	squeue_impl.h		\
522	srn.h			\
523	sservice.h		\
524	stat.h			\
525	statfs.h		\
526	statvfs.h		\
527	stdbool.h		\
528	stdint.h		\
529	stermio.h		\
530	stmf.h			\
531	stmf_defines.h		\
532	stmf_ioctl.h		\
533	stmf_sbd_ioctl.h	\
534	stream.h		\
535	strft.h			\
536	strlog.h		\
537	strmdep.h		\
538	stropts.h		\
539	strredir.h		\
540	strstat.h		\
541	strsubr.h		\
542	strsun.h		\
543	strtty.h		\
544	sunddi.h		\
545	sunldi.h		\
546	sunldi_impl.h		\
547	sunmdi.h		\
548	sunndi.h		\
549	sunos_dhcp_class.h	\
550	sunpm.h			\
551	suntpi.h		\
552	suntty.h		\
553	swap.h			\
554	synch.h			\
555	sysdc.h			\
556	sysdc_impl.h		\
557	syscall.h		\
558	sysconf.h		\
559	sysconfig.h		\
560	sysevent.h		\
561	sysevent_impl.h		\
562	sysinfo.h		\
563	syslog.h		\
564	sysmacros.h		\
565	sysmsg_impl.h		\
566	systeminfo.h		\
567	systm.h			\
568	task.h			\
569	taskq.h			\
570	taskq_impl.h		\
571	t_kuser.h		\
572	t_lock.h		\
573	telioctl.h		\
574	termio.h		\
575	termios.h		\
576	termiox.h		\
577	thread.h		\
578	ticlts.h		\
579	ticots.h		\
580	ticotsord.h		\
581	tihdr.h			\
582	time.h			\
583	time_impl.h		\
584	time_std_impl.h		\
585	timeb.h			\
586	timer.h			\
587	times.h			\
588	timex.h			\
589	timod.h			\
590	tirdwr.h		\
591	tiuser.h		\
592	tl.h			\
593	tnf.h			\
594	tnf_com.h		\
595	tnf_probe.h		\
596	tnf_writer.h		\
597	todio.h			\
598	tpicommon.h		\
599	ts.h			\
600	tspriocntl.h		\
601	ttcompat.h		\
602	ttold.h			\
603	tty.h			\
604	ttychars.h		\
605	ttydev.h		\
606	tuneable.h		\
607	turnstile.h		\
608	types.h			\
609	types32.h		\
610	tzfile.h		\
611	u8_textprep.h		\
612	u8_textprep_data.h	\
613	uadmin.h		\
614	ucred.h			\
615	uio.h			\
616	ulimit.h		\
617	un.h			\
618	unistd.h		\
619	user.h			\
620	ustat.h			\
621	utime.h			\
622	utsname.h		\
623	utssys.h		\
624	uuid.h			\
625	va_impl.h		\
626	va_list.h		\
627	var.h			\
628	varargs.h		\
629	vfs.h			\
630	vfs_opreg.h		\
631	vfstab.h		\
632	vgareg.h		\
633	videodev2.h		\
634	visual_io.h		\
635	vlan.h			\
636	vm.h			\
637	vm_usage.h		\
638	vmem.h			\
639	vmem_impl.h		\
640	vmsystm.h		\
641	vnic.h			\
642	vnic_impl.h		\
643	vnode.h			\
644	vscan.h			\
645	vtoc.h			\
646	vtrace.h		\
647	vuid_event.h		\
648	vuid_wheel.h		\
649	vuid_queue.h		\
650	vuid_state.h		\
651	vuid_store.h		\
652	wait.h			\
653	waitq.h			\
654	wanboot_impl.h		\
655	watchpoint.h		\
656	winlockio.h		\
657	zcons.h			\
658	zone.h			\
659	xti_inet.h		\
660	xti_osi.h		\
661	xti_xtiopt.h		\
662	zmod.h
663
664HDRS=				\
665	$(GENHDRS)		\
666	$(CHKHDRS)
667
668AUDIOHDRS=			\
669	ac97.h			\
670	audio_common.h		\
671	audio_driver.h		\
672	audio_oss.h		\
673	g711.h
674
675AVHDRS=				\
676	iec61883.h
677
678BSCHDRS=			\
679	bscbus.h		\
680	bscv_impl.h		\
681	lom_ebuscodes.h		\
682	lom_io.h		\
683	lom_priv.h		\
684	lombus.h
685
686MDESCHDRS=			\
687	mdesc.h			\
688	mdesc_impl.h
689
690CPUDRVHDRS=			\
691	cpudrv.h
692
693CRYPTOHDRS=			\
694	elfsign.h		\
695	ioctl.h			\
696	ioctladmin.h		\
697	common.h		\
698	impl.h			\
699	spi.h			\
700	api.h			\
701	ops_impl.h		\
702	sched_impl.h
703
704DCAMHDRS=			\
705	dcam1394_io.h
706
707IBHDRS=			\
708	ib_types.h	\
709	ib_pkt_hdrs.h
710
711IBTLHDRS=		\
712	ibtl_types.h	\
713	ibtl_status.h	\
714	ibti.h		\
715	ibti_cm.h	\
716	ibci.h		\
717	ibti_common.h	\
718	ibvti.h		\
719	ibtl_ci_types.h
720
721IBTLIMPLHDRS=		\
722	ibtl_util.h
723
724IBNEXHDRS=		\
725	ibnex_devctl.h
726
727IBMFHDRS=		\
728	ibmf.h		\
729	ibmf_msg.h	\
730	ibmf_saa.h	\
731	ibmf_utils.h
732
733IBMGTHDRS=		\
734	ib_dm_attr.h	\
735	ib_mad.h	\
736	sm_attr.h	\
737	sa_recs.h
738
739IBDHDRS=		\
740	ibd.h
741
742OFHDRS=			\
743	ofa_solaris.h	\
744	ofed_kernel.h
745
746RDMAHDRS=		\
747	ib_addr.h	\
748	ib_user_mad.h	\
749	ib_user_sa.h	\
750	ib_user_verbs.h \
751	ib_verbs.h 	\
752	rdma_cm.h 	\
753	rdma_user_cm.h
754
755SOL_UVERBSHDRS=		\
756	sol_uverbs.h	\
757	sol_uverbs2ucma.h	\
758	sol_uverbs_comp.h	\
759	sol_uverbs_hca.h	\
760	sol_uverbs_qp.h		\
761	sol_uverbs_event.h
762
763SOL_UMADHDRS=		\
764	sol_umad.h
765
766SOL_UCMAHDRS=		\
767	sol_ucma.h	\
768	sol_rdma_user_cm.h
769
770SOL_OFSHDRS=		\
771	sol_cma.h	\
772	sol_ib_cma.h	\
773	sol_ofs_common.h	\
774	sol_kverb_impl.h
775
776TAVORHDRS=		\
777	tavor_ioctl.h
778
779HERMONHDRS=		\
780	hermon_ioctl.h
781
782MLNXHDRS=		\
783	mlnx_umap.h
784
785IDMHDRS=		\
786	idm.h		\
787	idm_impl.h	\
788	idm_so.h	\
789	idm_text.h	\
790	idm_transport.h	\
791	idm_conn_sm.h
792
793ISCSITHDRS=		\
794	radius_packet.h		\
795	radius_protocol.h	\
796	chap.h			\
797	isns_protocol.h		\
798	iscsi_if.h		\
799	iscsit_common.h
800
801ISOHDRS=			\
802	signal_iso.h
803
804DERIVED_LVMHDRS=	\
805	md_mdiox.h		\
806	md_basic.h		\
807	mdmed.h			\
808	md_mhdx.h		\
809	mdmn_commd.h
810
811LVMHDRS=			\
812	md_convert.h		\
813	md_crc.h		\
814	md_hotspares.h		\
815	md_mddb.h		\
816	md_mirror.h		\
817	md_mirror_shared.h	\
818	md_names.h		\
819	md_notify.h		\
820	md_raid.h		\
821	md_rename.h		\
822	md_sp.h			\
823	md_stripe.h		\
824	md_trans.h		\
825	mdio.h			\
826	mdvar.h
827
828ALL_LVMHDRS=			\
829	$(LVMHDRS)		\
830	$(DERIVED_LVMHDRS)
831
832FMHDRS=				\
833	protocol.h		\
834	util.h
835
836FMFSHDRS=			\
837	zfs.h
838
839FMIOHDRS=			\
840	ddi.h			\
841	disk.h			\
842	pci.h			\
843	scsi.h			\
844	sun4upci.h		\
845	opl_mc_fm.h
846
847FSHDRS=				\
848	autofs.h		\
849	cachefs_dir.h		\
850	cachefs_dlog.h		\
851	cachefs_filegrp.h	\
852	cachefs_fs.h		\
853	cachefs_fscache.h	\
854	cachefs_ioctl.h		\
855	cachefs_log.h		\
856	decomp.h		\
857	dv_node.h		\
858	sdev_impl.h		\
859	fifonode.h		\
860	hsfs_isospec.h		\
861	hsfs_node.h		\
862	hsfs_rrip.h		\
863	hsfs_spec.h		\
864	hsfs_susp.h		\
865	lofs_info.h		\
866	lofs_node.h		\
867	mntdata.h		\
868	namenode.h		\
869	pc_dir.h		\
870	pc_fs.h			\
871	pc_label.h		\
872	pc_node.h		\
873	pxfs_ki.h		\
874	snode.h			\
875	swapnode.h		\
876	tmp.h			\
877	tmpnode.h		\
878	udf_inode.h		\
879	udf_volume.h		\
880	ufs_acl.h		\
881	ufs_bio.h		\
882	ufs_filio.h		\
883	ufs_fs.h		\
884	ufs_fsdir.h		\
885	ufs_inode.h		\
886	ufs_lockfs.h		\
887	ufs_log.h		\
888	ufs_mount.h		\
889	ufs_panic.h		\
890	ufs_prot.h		\
891	ufs_quota.h		\
892	ufs_snap.h              \
893	ufs_trans.h		\
894	zfs.h			\
895	zut.h
896
897SCSIHDRS=		\
898	scsi.h		\
899	scsi_address.h	\
900	scsi_ctl.h	\
901	scsi_fm.h	\
902	scsi_params.h	\
903	scsi_pkt.h	\
904	scsi_resource.h	\
905	scsi_types.h	\
906	scsi_watch.h
907
908SCSICONFHDRS=		\
909	autoconf.h	\
910	device.h
911
912SCSIGENHDRS=		\
913	commands.h	\
914	dad_mode.h	\
915	inquiry.h	\
916	message.h	\
917	mode.h		\
918	persist.h	\
919	sense.h		\
920	sff_frames.h	\
921	smp_frames.h	\
922	status.h
923
924SCSIIMPLHDRS=		\
925	commands.h	\
926	inquiry.h	\
927	mode.h		\
928	scsi_reset_notify.h \
929	scsi_sas.h	\
930	sense.h		\
931	services.h	\
932	smp_transport.h	\
933	spc3_types.h	\
934	status.h	\
935	transport.h	\
936	types.h		\
937	uscsi.h		\
938	usmp.h
939
940SCSITARGETSHDRS=	\
941	ses.h		\
942	sesio.h		\
943	sgendef.h	\
944	stdef.h		\
945	sddef.h		\
946	smp.h
947
948SCSIADHDRS=
949
950SCSICADHDRS=
951
952SCSIISCSIHDRS=		\
953	iscsi_door.h	\
954	iscsi_if.h
955
956SCSIVHCIHDRS=		\
957	scsi_vhci.h	\
958	mpapi_impl.h	\
959	mpapi_scsi_vhci.h
960
961SDCARDHDRS=		\
962	sda.h		\
963	sda_impl.h	\
964	sda_ioctl.h
965
966FC4HDRS=			\
967	fc_transport.h	\
968	linkapp.h	\
969	fc.h		\
970	fcp.h		\
971	fcal_transport.h \
972	fcal.h		\
973	fcal_linkapp.h	\
974	fcio.h
975
976FCHDRS=			\
977	fc.h		\
978	fcio.h		\
979	fc_types.h	\
980	fc_appif.h
981
982FCIMPLHDRS=		\
983	fc_error.h	\
984	fcph.h
985
986FCULPHDRS=		\
987	fcp_util.h	\
988	fcsm.h
989
990SATAGENHDRS=		\
991	sata_hba.h	\
992	sata_defs.h	\
993	sata_cfgadm.h
994
995SYSEVENTHDRS=		\
996	ap_driver.h     \
997	dev.h		\
998	domain.h        \
999	dr.h            \
1000	env.h           \
1001	eventdefs.h	\
1002	ipmp.h		\
1003	pwrctl.h	\
1004	svm.h		\
1005	vrrp.h
1006
1007CONTRACTHDRS=		\
1008	process.h	\
1009	process_impl.h	\
1010	device.h	\
1011	device_impl.h
1012
1013USBHDRS=	\
1014	usba.h	\
1015	usbai.h
1016
1017USBAUDHDRS=           \
1018	usb_audio.h
1019
1020USBHUBDHDRS=		\
1021	hub.h		\
1022	hubd_impl.h
1023
1024USBHIDHDRS=		\
1025	hid.h
1026
1027USBMSHDRS=		\
1028	usb_bulkonly.h	\
1029	usb_cbi.h
1030
1031USBPRNHDRS=           \
1032	usb_printer.h
1033
1034USBCDCHDRS=		\
1035	usb_cdc.h
1036
1037USBVIDHDRS=           \
1038	usbvc.h
1039
1040USBWCMHDRS=		\
1041	usbwcm.h
1042
1043UGENHDRS=           \
1044	usb_ugen.h
1045
1046HOTPLUGHDRS=	\
1047	hpcsvc.h	\
1048	hpctrl.h
1049
1050HOTPLUGPCIHDRS=	\
1051	pcicfg.h	\
1052	pcihp.h
1053
1054RSMHDRS= \
1055	rsm.h	\
1056	rsm_common.h	\
1057	rsmapi_common.h \
1058	rsmpi.h	\
1059	rsmpi_driver.h	\
1060	rsmka_path_int.h
1061
1062TSOLHDRS=		\
1063	label.h		\
1064	label_macro.h	\
1065	priv.h		\
1066	tndb.h		\
1067	tsyscall.h
1068
1069I1394HDRS=		\
1070	cmd1394.h	\
1071	id1394.h	\
1072	ieee1212.h	\
1073	ieee1394.h	\
1074	ixl1394.h	\
1075	s1394_impl.h	\
1076	t1394.h
1077
1078# "cmdk" headers used on sparc
1079SDKTPHDRS=		\
1080	dadkio.h	\
1081	fdisk.h
1082
1083# "cmdk" headers used on i386
1084DKTPHDRS=		\
1085	altsctr.h	\
1086	bbh.h		\
1087	cm.h		\
1088	cmdev.h		\
1089	cmdk.h		\
1090	cmpkt.h		\
1091	controller.h	\
1092	dadev.h		\
1093	dadk.h		\
1094	dadkio.h	\
1095	fctypes.h	\
1096	fdisk.h		\
1097	flowctrl.h	\
1098	gda.h		\
1099	quetypes.h	\
1100	queue.h		\
1101	tgcom.h		\
1102	tgdk.h
1103
1104# "pc" header files used on i386
1105PCHDRS=			\
1106	avintr.h	\
1107	dma_engine.h	\
1108	i8272A.h	\
1109	pcic_reg.h	\
1110	pcic_var.h	\
1111	pic.h		\
1112	pit.h		\
1113	rtc.h
1114
1115NXGEHDRS=			\
1116	nxge.h			\
1117	nxge_common.h		\
1118	nxge_common_impl.h	\
1119	nxge_defs.h		\
1120	nxge_hw.h		\
1121	nxge_impl.h		\
1122	nxge_ipp.h		\
1123	nxge_ipp_hw.h		\
1124	nxge_mac.h		\
1125	nxge_mac_hw.h		\
1126	nxge_fflp.h		\
1127	nxge_fflp_hw.h		\
1128	nxge_mii.h		\
1129	nxge_rxdma.h		\
1130	nxge_rxdma_hw.h		\
1131	nxge_txc.h		\
1132	nxge_txc_hw.h		\
1133	nxge_txdma.h		\
1134	nxge_txdma_hw.h		\
1135	nxge_virtual.h		\
1136	nxge_espc.h
1137
1138include Makefile.syshdrs
1139
1140dcam/%.check:	dcam/%.h
1141	$(DOT_H_CHECK)
1142
1143CHECKHDRS=						\
1144	$($(MACH)_HDRS:%.h=%.check)			\
1145	$(AUDIOHDRS:%.h=audio/%.check)			\
1146	$(AVHDRS:%.h=av/%.check)			\
1147	$(BSCHDRS:%.h=%.check)				\
1148	$(CHKHDRS:%.h=%.check)				\
1149	$(CPUDRVHDRS:%.h=%.check)			\
1150	$(CRYPTOHDRS:%.h=crypto/%.check)		\
1151	$(DCAMHDRS:%.h=dcam/%.check)			\
1152	$(FC4HDRS:%.h=fc4/%.check)			\
1153	$(FCHDRS:%.h=fibre-channel/%.check)		\
1154	$(FCIMPLHDRS:%.h=fibre-channel/impl/%.check)	\
1155	$(FCULPHDRS:%.h=fibre-channel/ulp/%.check)	\
1156	$(IBHDRS:%.h=ib/%.check)			\
1157	$(IBDHDRS:%.h=ib/clients/ibd/%.check)		\
1158	$(IBTLHDRS:%.h=ib/ibtl/%.check)			\
1159	$(IBTLIMPLHDRS:%.h=ib/ibtl/impl/%.check)	\
1160	$(IBNEXHDRS:%.h=ib/ibnex/%.check)	\
1161	$(IBMGTHDRS:%.h=ib/mgt/%.check)			\
1162	$(IBMFHDRS:%.h=ib/mgt/ibmf/%.check)		\
1163	$(OFHDRS:%.h=ib/clients/of/%.check)			\
1164	$(RDMAHDRS:%.h=ib/clients/of/rdma/%.check)		\
1165	$(SOL_UVERBSHDRS:%.h=ib/clients/of/sol_uverbs/%.check)	\
1166	$(SOL_UCMAHDRS:%.h=ib/clients/of/sol_ucma/%.check)	\
1167	$(SOL_OFSHDRS:%.h=ib/clients/of/sol_ofs/%.check)	\
1168	$(TAVORHDRS:%.h=ib/adapters/tavor/%.check)	\
1169	$(HERMONHDRS:%.h=ib/adapters/hermon/%.check)	\
1170	$(MLNXHDRS:%.h=ib/adapters/%.check)		\
1171	$(IDMHDRS:%.h=idm/%.check)			\
1172	$(ISCSIHDRS:%.h=iscsi/%.check)			\
1173	$(ISCSITHDRS:%.h=iscsit/%.check)			\
1174	$(ISOHDRS:%.h=iso/%.check)			\
1175	$(FMHDRS:%.h=fm/%.check)			\
1176	$(FMFSHDRS:%.h=fm/fs/%.check)			\
1177	$(FMIOHDRS:%.h=fm/io/%.check)			\
1178	$(FSHDRS:%.h=fs/%.check)			\
1179	$(LVMHDRS:%.h=lvm/%.check)			\
1180	$(SCSIHDRS:%.h=scsi/%.check)			\
1181	$(SCSIADHDRS:%.h=scsi/adapters/%.check)		\
1182	$(SCSICONFHDRS:%.h=scsi/conf/%.check)		\
1183	$(SCSIIMPLHDRS:%.h=scsi/impl/%.check)		\
1184	$(SCSIISCSIHDRS:%.h=scsi/adapters/%.check)	\
1185	$(SCSIGENHDRS:%.h=scsi/generic/%.check)		\
1186	$(SCSITARGETSHDRS:%.h=scsi/targets/%.check)	\
1187	$(SCSIVHCIHDRS:%.h=scsi/adapters/%.check)	\
1188	$(SATAGENHDRS:%.h=sata/%.check)			\
1189	$(SDCARDHDRS:%.h=sdcard/%.check)		\
1190	$(SYSEVENTHDRS:%.h=sysevent/%.check)            \
1191	$(CONTRACTHDRS:%.h=contract/%.check)            \
1192	$(USBAUDHDRS:%.h=usb/clients/audio/%.check)   \
1193	$(USBHUBDHDRS:%.h=usb/hubd/%.check)		\
1194	$(USBHIDHDRS:%.h=usb/clients/hid/%.check)	\
1195	$(USBMSHDRS:%.h=usb/clients/mass_storage/%.check)	\
1196	$(USBPRNHDRS:%.h=usb/clients/printer/%.check)   \
1197	$(USBCDCHDRS:%.h=usb/clients/usbcdc/%.check)	\
1198	$(USBVIDHDRS:%.h=usb/clients/video/usbvc/%.check)   \
1199	$(USBWCMHDRS:%.h=usb/clients/usbinput/usbwcm/%.check)	\
1200	$(UGENHDRS:%.h=usb/clients/ugen/%.check)   \
1201	$(USBHDRS:%.h=usb/%.check)                      \
1202	$(I1394HDRS:%.h=1394/%.check)			\
1203	$(RSMHDRS:%.h=rsm/%.check)			\
1204	$(TSOLHDRS:%.h=tsol/%.check)			\
1205	$(NXGEHDRS:%.h=nxge/%.check)
1206
1207
1208.KEEP_STATE:
1209
1210.PARALLEL:			\
1211	$(CHECKHDRS)		\
1212	$(ROOTHDRS)		\
1213	$(ROOTAUDHDRS)		\
1214	$(ROOTAVHDRS)		\
1215	$(ROOTCRYPTOHDRS)	\
1216	$(ROOTDCAMHDRS)		\
1217	$(ROOTISOHDRS)		\
1218	$(ROOTIDMHDRS)		\
1219	$(ROOTISCSIHDRS)	\
1220	$(ROOTISCSITHDRS)	\
1221	$(ROOTFC4HDRS)		\
1222	$(ROOTFCHDRS)		\
1223	$(ROOTFCIMPLHDRS)	\
1224	$(ROOTFCULPHDRS)	\
1225	$(ROOTFMHDRS)		\
1226	$(ROOTFMIOHDRS)		\
1227	$(ROOTFMFSHDRS)		\
1228	$(ROOTFSHDRS)		\
1229	$(ROOTIBDHDRS)		\
1230	$(ROOTIBHDRS)		\
1231	$(ROOTIBTLHDRS)		\
1232	$(ROOTIBTLIMPLHDRS)	\
1233	$(ROOTIBNEXHDRS)	\
1234	$(ROOTIBMGTHDRS)	\
1235	$(ROOTIBMFHDRS)		\
1236	$(ROOTOFHDRS)		\
1237	$(ROOTRDMAHDRS)		\
1238	$(ROOTSOL_OFSHDRS)	\
1239	$(ROOTSOL_UMADHDRS)	\
1240	$(ROOTSOL_UVERBSHDRS)	\
1241	$(ROOTSOL_UCMAHDRS)	\
1242	$(ROOTTAVORHDRS)	\
1243	$(ROOTHERMONHDRS)	\
1244	$(ROOTMLNXHDRS)		\
1245	$(ROOTLVMHDRS)		\
1246	$(ROOTSCSIHDRS)		\
1247	$(ROOTSCSIADHDRS)	\
1248	$(ROOTSCSICONFHDRS)	\
1249	$(ROOTSCSIISCSIHDRS)	\
1250	$(ROOTSCSIGENHDRS)	\
1251	$(ROOTSCSIIMPLHDRS)	\
1252	$(ROOTSCSIVHCIHDRS)	\
1253	$(ROOTSDCARDHDRS)	\
1254	$(ROOTSYSEVENTHDRS)     \
1255	$(ROOTCONTRACTHDRS)     \
1256	$(ROOTUSBHDRS)		\
1257	$(ROOTUWBHDRS)		\
1258	$(ROOTUWBAHDRS)		\
1259	$(ROOTUSBAUDHDRS)	\
1260	$(ROOTUSBHUBDHDRS)	\
1261	$(ROOTUSBHIDHDRS)	\
1262	$(ROOTUSBHRCHDRS)	\
1263	$(ROOTUSBMSHDRS)	\
1264	$(ROOTUSBPRNHDRS)       \
1265	$(ROOTUSBCDCHDRS)       \
1266	$(ROOTUSBVIDHDRS)       \
1267	$(ROOTUSBWCMHDRS)	\
1268	$(ROOTUGENHDRS)		\
1269	$(ROOT1394HDRS)         \
1270	$(ROOTHOTPLUGHDRS)	\
1271	$(ROOTHOTPLUGPCIHDRS)	\
1272	$(ROOTRSMHDRS)		\
1273	$(ROOTTSOLHDRS)		\
1274	$($(MACH)_ROOTHDRS)
1275
1276
1277install_h:			\
1278	$(ROOTDIRS)		\
1279	LVMDERIVED_H		\
1280	.WAIT			\
1281	$(ROOTHDRS)		\
1282	$(ROOTAUDHDRS)		\
1283	$(ROOTAVHDRS)		\
1284	$(ROOTCRYPTOHDRS)	\
1285	$(ROOTDCAMHDRS)		\
1286	$(ROOTISOHDRS)		\
1287	$(ROOTIDMHDRS)		\
1288	$(ROOTISCSIHDRS)	\
1289	$(ROOTISCSITHDRS)	\
1290	$(ROOTFC4HDRS)		\
1291	$(ROOTFCHDRS)		\
1292	$(ROOTFCIMPLHDRS)	\
1293	$(ROOTFCULPHDRS)	\
1294	$(ROOTFMHDRS)		\
1295	$(ROOTFMFSHDRS)		\
1296	$(ROOTFMIOHDRS)		\
1297	$(ROOTFSHDRS)		\
1298	$(ROOTIBDHDRS)		\
1299	$(ROOTIBHDRS)		\
1300	$(ROOTIBTLHDRS)		\
1301	$(ROOTIBTLIMPLHDRS)	\
1302	$(ROOTIBNEXHDRS)	\
1303	$(ROOTIBMGTHDRS)	\
1304	$(ROOTIBMFHDRS)		\
1305	$(ROOTOFHDRS)		\
1306	$(ROOTRDMAHDRS)		\
1307	$(ROOTSOL_OFSHDRS)	\
1308	$(ROOTSOL_UMADHDRS)	\
1309	$(ROOTSOL_UVERBSHDRS)	\
1310	$(ROOTSOL_UCMAHDRS)	\
1311	$(ROOTTAVORHDRS)	\
1312	$(ROOTHERMONHDRS)	\
1313	$(ROOTMLNXHDRS)		\
1314	$(ROOTLVMHDRS)		\
1315	$(ROOTSCSIHDRS)		\
1316	$(ROOTSCSIADHDRS)	\
1317	$(ROOTSCSIISCSIHDRS)	\
1318	$(ROOTSCSICONFHDRS)	\
1319	$(ROOTSCSIGENHDRS)	\
1320	$(ROOTSCSIIMPLHDRS)	\
1321	$(ROOTSCSIVHCIHDRS)     \
1322	$(ROOTSDCARDHDRS)	\
1323	$(ROOTSYSEVENTHDRS)     \
1324	$(ROOTCONTRACTHDRS)     \
1325	$(ROOTUWBHDRS)		\
1326	$(ROOTUWBAHDRS)		\
1327	$(ROOTUSBHDRS)		\
1328	$(ROOTUSBAUDHDRS)	\
1329	$(ROOTUSBHUBDHDRS)	\
1330	$(ROOTUSBHIDHDRS)	\
1331	$(ROOTUSBHRCHDRS)	\
1332	$(ROOTUSBMSHDRS)	\
1333	$(ROOTUSBPRNHDRS)       \
1334	$(ROOTUSBCDCHDRS)       \
1335	$(ROOTUSBVIDHDRS)       \
1336	$(ROOTUSBWCMHDRS)	\
1337	$(ROOTUGENHDRS)		\
1338	$(ROOT1394HDRS)         \
1339	$(ROOTHOTPLUGHDRS)	\
1340	$(ROOTHOTPLUGPCIHDRS)	\
1341	$(ROOTRSMHDRS)		\
1342	$(ROOTTSOLHDRS)		\
1343	$($(MACH)_ROOTHDRS)
1344
1345all_h: $(GENHDRS)
1346
1347priv_const.h: $(PRIVS_AWK) $(PRIVS_DEF)
1348	$(NAWK) -f $(PRIVS_AWK) < $(PRIVS_DEF) -v privhfile=$@
1349
1350priv_names.h: $(PRIVS_AWK) $(PRIVS_DEF)
1351	$(NAWK) -f $(PRIVS_AWK) < $(PRIVS_DEF) -v pubhfile=$@
1352
1353usb/usbdevs.h: $(USBDEVS_AWK) $(USBDEVS_DATA)
1354	$(NAWK) -f $(USBDEVS_AWK) $(USBDEVS_DATA) -H > $@
1355
1356LVMDERIVED_H:
1357	cd $(SRC)/uts/common/sys/lvm; pwd; $(MAKE) all_h
1358
1359clean:
1360	$(RM) $(GENHDRS)
1361
1362clobber: clean
1363	cd $(SRC)/uts/common/sys/lvm; pwd; $(MAKE) clobber
1364
1365check:	$(CHECKHDRS)
1366
1367FRC:
1368