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