xref: /titanic_52/usr/src/uts/common/sys/Makefile (revision b599bd937c305a895426e8c412ca920ce7824850)
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# Copyright 2013 Saso Kiselkov. All rights reserved.
26# Copyright 2015 Nexenta Systems, Inc. All rights reserved.
27#
28
29include $(SRC)/uts/Makefile.uts
30
31FILEMODE=644
32
33#
34#	Note that the following headers are present in the kernel but
35#	neither installed or shipped as part of the product:
36#		cpuid_drv.h:		Private interface for cpuid consumers
37#		unix_bb_info.h:		Private interface to kcov
38#
39
40i386_HDRS=			\
41	agp/agpamd64gart_io.h	\
42	agp/agpdefs.h		\
43	agp/agpgart_impl.h	\
44	agp/agpmaster_io.h	\
45	agp/agptarget_io.h	\
46	agpgart.h		\
47	asy.h			\
48	fd_debug.h		\
49	fdc.h			\
50	fdmedia.h		\
51	mouse.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	edonr.h			\
207	efi_partition.h		\
208	elf.h			\
209	elf_386.h		\
210	elf_SPARC.h		\
211	elf_notes.h		\
212	elf_amd64.h		\
213	elftypes.h		\
214	emul64.h		\
215	emul64cmd.h		\
216	emul64var.h		\
217	epm.h			\
218	errno.h			\
219	errorq.h		\
220	errorq_impl.h		\
221	esunddi.h		\
222	ethernet.h		\
223	euc.h			\
224	eucioctl.h		\
225	eventfd.h		\
226	exacct.h		\
227	exacct_catalog.h	\
228	exacct_impl.h		\
229	exec.h			\
230	exechdr.h		\
231	extdirent.h		\
232	fault.h			\
233	fasttrap.h		\
234	fasttrap_impl.h		\
235	fbio.h			\
236	fbuf.h			\
237	fcntl.h			\
238	fct.h			\
239	fct_defines.h		\
240	fctio.h			\
241	fdbuffer.h		\
242	fdio.h			\
243	feature_tests.h		\
244	fem.h			\
245	file.h			\
246	filio.h			\
247	flock.h			\
248	flock_impl.h		\
249	fork.h			\
250	fss.h			\
251	fsspriocntl.h		\
252	fsid.h			\
253	fssnap.h		\
254	fssnap_if.h		\
255	fstyp.h			\
256	ftrace.h		\
257	fx.h			\
258	fxpriocntl.h		\
259	gfs.h			\
260	gld.h			\
261	gldpriv.h		\
262	group.h			\
263	hdio.h			\
264	hook.h			\
265	hook_event.h		\
266	hook_impl.h		\
267	hwconf.h		\
268	ia.h			\
269	iapriocntl.h		\
270	ibpart.h		\
271	id32.h			\
272	idmap.h 		\
273	ieeefp.h		\
274	id_space.h		\
275	instance.h		\
276	int_const.h		\
277	int_fmtio.h		\
278	int_limits.h		\
279	int_types.h		\
280	inttypes.h		\
281	ioccom.h		\
282	ioctl.h			\
283	ipc.h			\
284	ipc_impl.h		\
285	ipc_rctl.h		\
286	ipd.h			\
287	ipmi.h			\
288	isa_defs.h		\
289	iscsi_authclient.h	\
290	iscsi_authclientglue.h	\
291	iscsi_protocol.h	\
292	jioctl.h		\
293	kbd.h			\
294	kbdreg.h		\
295	kbio.h			\
296	kcpc.h			\
297	kdi.h			\
298	kdi_impl.h		\
299	kiconv.h		\
300	kiconv_big5_utf8.h	\
301	kiconv_cck_common.h	\
302	kiconv_cp950hkscs_utf8.h	\
303	kiconv_emea1.h		\
304	kiconv_emea2.h		\
305	kiconv_euckr_utf8.h	\
306	kiconv_euctw_utf8.h	\
307	kiconv_gb18030_utf8.h	\
308	kiconv_gb2312_utf8.h	\
309	kiconv_hkscs_utf8.h	\
310	kiconv_ja.h		\
311	kiconv_ja_jis_to_unicode.h	\
312	kiconv_ja_unicode_to_jis.h	\
313	kiconv_ko.h		\
314	kiconv_latin1.h		\
315	kiconv_sc.h		\
316	kiconv_tc.h		\
317	kiconv_uhc_utf8.h	\
318	kiconv_utf8_big5.h	\
319	kiconv_utf8_cp950hkscs.h	\
320	kiconv_utf8_euckr.h	\
321	kiconv_utf8_euctw.h	\
322	kiconv_utf8_gb18030.h	\
323	kiconv_utf8_gb2312.h	\
324	kiconv_utf8_hkscs.h	\
325	kiconv_utf8_uhc.h	\
326	kidmap.h		\
327	klpd.h			\
328	klwp.h			\
329	kmdb.h			\
330	kmem.h			\
331	kmem_impl.h		\
332	kobj.h			\
333	kobj_impl.h		\
334	ksocket.h		\
335	kstat.h			\
336	kstr.h			\
337	ksyms.h			\
338	ksynch.h		\
339	ldterm.h		\
340	lgrp.h			\
341	lgrp_user.h		\
342	libc_kernel.h		\
343	link.h			\
344	list.h			\
345	list_impl.h		\
346	llc1.h			\
347	loadavg.h		\
348	lock.h			\
349	lockfs.h		\
350	lockstat.h		\
351	lofi.h			\
352	log.h			\
353	logindmux.h		\
354	logindmux_impl.h	\
355	lwp.h			\
356	lwp_timer_impl.h	\
357	lwp_upimutex_impl.h	\
358	lpif.h			\
359	mac.h			\
360	mac_client.h		\
361	mac_client_impl.h	\
362	mac_ether.h		\
363	mac_flow.h		\
364	mac_flow_impl.h		\
365	mac_impl.h		\
366	mac_provider.h		\
367	mac_soft_ring.h		\
368	mac_stat.h		\
369	machelf.h		\
370	map.h			\
371	md4.h			\
372	md5.h			\
373	md5_consts.h		\
374	mdi_impldefs.h		\
375	mem.h			\
376	mem_config.h		\
377	memlist.h		\
378	mkdev.h			\
379	mhd.h			\
380	mii.h			\
381	miiregs.h		\
382	mixer.h			\
383	mman.h			\
384	mmapobj.h		\
385	mntent.h		\
386	mntio.h			\
387	mnttab.h		\
388	modctl.h		\
389	mode.h			\
390	model.h			\
391	modhash.h		\
392	modhash_impl.h		\
393	mount.h			\
394	mouse.h			\
395	msacct.h		\
396	msg.h			\
397	msg_impl.h		\
398	msio.h			\
399	msreg.h			\
400	mtio.h			\
401	multidata.h		\
402	multidata_impl.h	\
403	mutex.h			\
404	nbmlock.h		\
405	ndifm.h			\
406	ndi_impldefs.h		\
407	net80211.h		\
408	net80211_crypto.h	\
409	net80211_ht.h		\
410	net80211_proto.h	\
411	netconfig.h		\
412	neti.h			\
413	netstack.h		\
414	nexusdefs.h		\
415	note.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	skein.h			\
511	sleepq.h		\
512	smbios.h		\
513	smbios_impl.h		\
514	sobject.h		\
515	socket.h		\
516	socket_impl.h		\
517	socket_proto.h		\
518	socketvar.h		\
519	sockfilter.h		\
520	sockio.h		\
521	soundcard.h		\
522	squeue.h		\
523	squeue_impl.h		\
524	srn.h			\
525	sservice.h		\
526	stat.h			\
527	statfs.h		\
528	statvfs.h		\
529	stdbool.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
806DERIVED_LVMHDRS=	\
807	md_mdiox.h		\
808	md_basic.h		\
809	mdmed.h			\
810	md_mhdx.h		\
811	mdmn_commd.h
812
813LVMHDRS=			\
814	md_convert.h		\
815	md_crc.h		\
816	md_hotspares.h		\
817	md_mddb.h		\
818	md_mirror.h		\
819	md_mirror_shared.h	\
820	md_names.h		\
821	md_notify.h		\
822	md_raid.h		\
823	md_rename.h		\
824	md_sp.h			\
825	md_stripe.h		\
826	md_trans.h		\
827	mdio.h			\
828	mdvar.h
829
830ALL_LVMHDRS=			\
831	$(LVMHDRS)		\
832	$(DERIVED_LVMHDRS)
833
834FMHDRS=				\
835	protocol.h		\
836	util.h
837
838FMFSHDRS=			\
839	zfs.h
840
841FMIOHDRS=			\
842	ddi.h			\
843	disk.h			\
844	pci.h			\
845	scsi.h			\
846	sun4upci.h		\
847	opl_mc_fm.h
848
849FSHDRS=				\
850	autofs.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
892SCSIHDRS=		\
893	scsi.h		\
894	scsi_address.h	\
895	scsi_ctl.h	\
896	scsi_fm.h	\
897	scsi_params.h	\
898	scsi_pkt.h	\
899	scsi_resource.h	\
900	scsi_types.h	\
901	scsi_watch.h
902
903SCSICONFHDRS=		\
904	autoconf.h	\
905	device.h
906
907SCSIGENHDRS=		\
908	commands.h	\
909	dad_mode.h	\
910	inquiry.h	\
911	message.h	\
912	mode.h		\
913	persist.h	\
914	sense.h		\
915	sff_frames.h	\
916	smp_frames.h	\
917	status.h
918
919SCSIIMPLHDRS=		\
920	commands.h	\
921	inquiry.h	\
922	mode.h		\
923	scsi_reset_notify.h \
924	scsi_sas.h	\
925	sense.h		\
926	services.h	\
927	smp_transport.h	\
928	spc3_types.h	\
929	status.h	\
930	transport.h	\
931	types.h		\
932	uscsi.h		\
933	usmp.h
934
935SCSITARGETSHDRS=	\
936	ses.h		\
937	sesio.h		\
938	sgendef.h	\
939	stdef.h		\
940	sddef.h		\
941	smp.h
942
943SCSIADHDRS=
944
945SCSICADHDRS=
946
947SCSIISCSIHDRS=		\
948	iscsi_door.h	\
949	iscsi_if.h
950
951SCSIVHCIHDRS=		\
952	scsi_vhci.h	\
953	mpapi_impl.h	\
954	mpapi_scsi_vhci.h
955
956SDCARDHDRS=		\
957	sda.h		\
958	sda_impl.h	\
959	sda_ioctl.h
960
961FC4HDRS=			\
962	fc_transport.h	\
963	linkapp.h	\
964	fc.h		\
965	fcp.h		\
966	fcal_transport.h \
967	fcal.h		\
968	fcal_linkapp.h	\
969	fcio.h
970
971FCHDRS=			\
972	fc.h		\
973	fcio.h		\
974	fc_types.h	\
975	fc_appif.h
976
977FCIMPLHDRS=		\
978	fc_error.h	\
979	fcph.h
980
981FCULPHDRS=		\
982	fcp_util.h	\
983	fcsm.h
984
985SATAGENHDRS=		\
986	sata_hba.h	\
987	sata_defs.h	\
988	sata_cfgadm.h
989
990SYSEVENTHDRS=		\
991	ap_driver.h     \
992	dev.h		\
993	domain.h        \
994	dr.h            \
995	env.h           \
996	eventdefs.h	\
997	ipmp.h		\
998	pwrctl.h	\
999	svm.h		\
1000	vrrp.h
1001
1002CONTRACTHDRS=		\
1003	process.h	\
1004	process_impl.h	\
1005	device.h	\
1006	device_impl.h
1007
1008USBHDRS=	\
1009	usba.h	\
1010	usbai.h
1011
1012USBAUDHDRS=           \
1013	usb_audio.h
1014
1015USBHUBDHDRS=		\
1016	hub.h		\
1017	hubd_impl.h
1018
1019USBHIDHDRS=		\
1020	hid.h
1021
1022USBMSHDRS=		\
1023	usb_bulkonly.h	\
1024	usb_cbi.h
1025
1026USBPRNHDRS=           \
1027	usb_printer.h
1028
1029USBCDCHDRS=		\
1030	usb_cdc.h
1031
1032USBVIDHDRS=           \
1033	usbvc.h
1034
1035USBWCMHDRS=		\
1036	usbwcm.h
1037
1038UGENHDRS=           \
1039	usb_ugen.h
1040
1041HOTPLUGHDRS=	\
1042	hpcsvc.h	\
1043	hpctrl.h
1044
1045HOTPLUGPCIHDRS=	\
1046	pcicfg.h	\
1047	pcihp.h
1048
1049RSMHDRS= \
1050	rsm.h	\
1051	rsm_common.h	\
1052	rsmapi_common.h \
1053	rsmpi.h	\
1054	rsmpi_driver.h	\
1055	rsmka_path_int.h
1056
1057TSOLHDRS=		\
1058	label.h		\
1059	label_macro.h	\
1060	priv.h		\
1061	tndb.h		\
1062	tsyscall.h
1063
1064I1394HDRS=		\
1065	cmd1394.h	\
1066	id1394.h	\
1067	ieee1212.h	\
1068	ieee1394.h	\
1069	ixl1394.h	\
1070	s1394_impl.h	\
1071	t1394.h
1072
1073# "cmdk" headers used on sparc
1074SDKTPHDRS=		\
1075	dadkio.h	\
1076	fdisk.h
1077
1078# "cmdk" headers used on i386
1079DKTPHDRS=		\
1080	altsctr.h	\
1081	bbh.h		\
1082	cm.h		\
1083	cmdev.h		\
1084	cmdk.h		\
1085	cmpkt.h		\
1086	controller.h	\
1087	dadev.h		\
1088	dadk.h		\
1089	dadkio.h	\
1090	fctypes.h	\
1091	fdisk.h		\
1092	flowctrl.h	\
1093	gda.h		\
1094	quetypes.h	\
1095	queue.h		\
1096	tgcom.h		\
1097	tgdk.h
1098
1099# "pc" header files used on i386
1100PCHDRS=			\
1101	avintr.h	\
1102	dma_engine.h	\
1103	i8272A.h	\
1104	pcic_reg.h	\
1105	pcic_var.h	\
1106	pic.h		\
1107	pit.h		\
1108	rtc.h
1109
1110NXGEHDRS=			\
1111	nxge.h			\
1112	nxge_common.h		\
1113	nxge_common_impl.h	\
1114	nxge_defs.h		\
1115	nxge_hw.h		\
1116	nxge_impl.h		\
1117	nxge_ipp.h		\
1118	nxge_ipp_hw.h		\
1119	nxge_mac.h		\
1120	nxge_mac_hw.h		\
1121	nxge_fflp.h		\
1122	nxge_fflp_hw.h		\
1123	nxge_mii.h		\
1124	nxge_rxdma.h		\
1125	nxge_rxdma_hw.h		\
1126	nxge_txc.h		\
1127	nxge_txc_hw.h		\
1128	nxge_txdma.h		\
1129	nxge_txdma_hw.h		\
1130	nxge_virtual.h		\
1131	nxge_espc.h
1132
1133include Makefile.syshdrs
1134
1135dcam/%.check:	dcam/%.h
1136	$(DOT_H_CHECK)
1137
1138CHECKHDRS=						\
1139	$($(MACH)_HDRS:%.h=%.check)			\
1140	$(AUDIOHDRS:%.h=audio/%.check)			\
1141	$(AVHDRS:%.h=av/%.check)			\
1142	$(BSCHDRS:%.h=%.check)				\
1143	$(CHKHDRS:%.h=%.check)				\
1144	$(CPUDRVHDRS:%.h=%.check)			\
1145	$(CRYPTOHDRS:%.h=crypto/%.check)		\
1146	$(DCAMHDRS:%.h=dcam/%.check)			\
1147	$(FC4HDRS:%.h=fc4/%.check)			\
1148	$(FCHDRS:%.h=fibre-channel/%.check)		\
1149	$(FCIMPLHDRS:%.h=fibre-channel/impl/%.check)	\
1150	$(FCULPHDRS:%.h=fibre-channel/ulp/%.check)	\
1151	$(IBHDRS:%.h=ib/%.check)			\
1152	$(IBDHDRS:%.h=ib/clients/ibd/%.check)		\
1153	$(IBTLHDRS:%.h=ib/ibtl/%.check)			\
1154	$(IBTLIMPLHDRS:%.h=ib/ibtl/impl/%.check)	\
1155	$(IBNEXHDRS:%.h=ib/ibnex/%.check)	\
1156	$(IBMGTHDRS:%.h=ib/mgt/%.check)			\
1157	$(IBMFHDRS:%.h=ib/mgt/ibmf/%.check)		\
1158	$(OFHDRS:%.h=ib/clients/of/%.check)			\
1159	$(RDMAHDRS:%.h=ib/clients/of/rdma/%.check)		\
1160	$(SOL_UVERBSHDRS:%.h=ib/clients/of/sol_uverbs/%.check)	\
1161	$(SOL_UCMAHDRS:%.h=ib/clients/of/sol_ucma/%.check)	\
1162	$(SOL_OFSHDRS:%.h=ib/clients/of/sol_ofs/%.check)	\
1163	$(TAVORHDRS:%.h=ib/adapters/tavor/%.check)	\
1164	$(HERMONHDRS:%.h=ib/adapters/hermon/%.check)	\
1165	$(MLNXHDRS:%.h=ib/adapters/%.check)		\
1166	$(IDMHDRS:%.h=idm/%.check)			\
1167	$(ISCSIHDRS:%.h=iscsi/%.check)			\
1168	$(ISCSITHDRS:%.h=iscsit/%.check)			\
1169	$(ISOHDRS:%.h=iso/%.check)			\
1170	$(FMHDRS:%.h=fm/%.check)			\
1171	$(FMFSHDRS:%.h=fm/fs/%.check)			\
1172	$(FMIOHDRS:%.h=fm/io/%.check)			\
1173	$(FSHDRS:%.h=fs/%.check)			\
1174	$(LVMHDRS:%.h=lvm/%.check)			\
1175	$(SCSIHDRS:%.h=scsi/%.check)			\
1176	$(SCSIADHDRS:%.h=scsi/adapters/%.check)		\
1177	$(SCSICONFHDRS:%.h=scsi/conf/%.check)		\
1178	$(SCSIIMPLHDRS:%.h=scsi/impl/%.check)		\
1179	$(SCSIISCSIHDRS:%.h=scsi/adapters/%.check)	\
1180	$(SCSIGENHDRS:%.h=scsi/generic/%.check)		\
1181	$(SCSITARGETSHDRS:%.h=scsi/targets/%.check)	\
1182	$(SCSIVHCIHDRS:%.h=scsi/adapters/%.check)	\
1183	$(SATAGENHDRS:%.h=sata/%.check)			\
1184	$(SDCARDHDRS:%.h=sdcard/%.check)		\
1185	$(SYSEVENTHDRS:%.h=sysevent/%.check)            \
1186	$(CONTRACTHDRS:%.h=contract/%.check)            \
1187	$(USBAUDHDRS:%.h=usb/clients/audio/%.check)   \
1188	$(USBHUBDHDRS:%.h=usb/hubd/%.check)		\
1189	$(USBHIDHDRS:%.h=usb/clients/hid/%.check)	\
1190	$(USBMSHDRS:%.h=usb/clients/mass_storage/%.check)	\
1191	$(USBPRNHDRS:%.h=usb/clients/printer/%.check)   \
1192	$(USBCDCHDRS:%.h=usb/clients/usbcdc/%.check)	\
1193	$(USBVIDHDRS:%.h=usb/clients/video/usbvc/%.check)   \
1194	$(USBWCMHDRS:%.h=usb/clients/usbinput/usbwcm/%.check)	\
1195	$(UGENHDRS:%.h=usb/clients/ugen/%.check)   \
1196	$(USBHDRS:%.h=usb/%.check)                      \
1197	$(I1394HDRS:%.h=1394/%.check)			\
1198	$(RSMHDRS:%.h=rsm/%.check)			\
1199	$(TSOLHDRS:%.h=tsol/%.check)			\
1200	$(NXGEHDRS:%.h=nxge/%.check)
1201
1202
1203.KEEP_STATE:
1204
1205.PARALLEL:			\
1206	$(CHECKHDRS)		\
1207	$(ROOTHDRS)		\
1208	$(ROOTAUDHDRS)		\
1209	$(ROOTAVHDRS)		\
1210	$(ROOTCRYPTOHDRS)	\
1211	$(ROOTDCAMHDRS)		\
1212	$(ROOTISOHDRS)		\
1213	$(ROOTIDMHDRS)		\
1214	$(ROOTISCSIHDRS)	\
1215	$(ROOTISCSITHDRS)	\
1216	$(ROOTFC4HDRS)		\
1217	$(ROOTFCHDRS)		\
1218	$(ROOTFCIMPLHDRS)	\
1219	$(ROOTFCULPHDRS)	\
1220	$(ROOTFMHDRS)		\
1221	$(ROOTFMIOHDRS)		\
1222	$(ROOTFMFSHDRS)		\
1223	$(ROOTFSHDRS)		\
1224	$(ROOTIBDHDRS)		\
1225	$(ROOTIBHDRS)		\
1226	$(ROOTIBTLHDRS)		\
1227	$(ROOTIBTLIMPLHDRS)	\
1228	$(ROOTIBNEXHDRS)	\
1229	$(ROOTIBMGTHDRS)	\
1230	$(ROOTIBMFHDRS)		\
1231	$(ROOTOFHDRS)		\
1232	$(ROOTRDMAHDRS)		\
1233	$(ROOTSOL_OFSHDRS)	\
1234	$(ROOTSOL_UMADHDRS)	\
1235	$(ROOTSOL_UVERBSHDRS)	\
1236	$(ROOTSOL_UCMAHDRS)	\
1237	$(ROOTTAVORHDRS)	\
1238	$(ROOTHERMONHDRS)	\
1239	$(ROOTMLNXHDRS)		\
1240	$(ROOTLVMHDRS)		\
1241	$(ROOTSCSIHDRS)		\
1242	$(ROOTSCSIADHDRS)	\
1243	$(ROOTSCSICONFHDRS)	\
1244	$(ROOTSCSIISCSIHDRS)	\
1245	$(ROOTSCSIGENHDRS)	\
1246	$(ROOTSCSIIMPLHDRS)	\
1247	$(ROOTSCSIVHCIHDRS)	\
1248	$(ROOTSDCARDHDRS)	\
1249	$(ROOTSYSEVENTHDRS)     \
1250	$(ROOTCONTRACTHDRS)     \
1251	$(ROOTUSBHDRS)		\
1252	$(ROOTUWBHDRS)		\
1253	$(ROOTUWBAHDRS)		\
1254	$(ROOTUSBAUDHDRS)	\
1255	$(ROOTUSBHUBDHDRS)	\
1256	$(ROOTUSBHIDHDRS)	\
1257	$(ROOTUSBHRCHDRS)	\
1258	$(ROOTUSBMSHDRS)	\
1259	$(ROOTUSBPRNHDRS)       \
1260	$(ROOTUSBCDCHDRS)       \
1261	$(ROOTUSBVIDHDRS)       \
1262	$(ROOTUSBWCMHDRS)	\
1263	$(ROOTUGENHDRS)		\
1264	$(ROOT1394HDRS)         \
1265	$(ROOTHOTPLUGHDRS)	\
1266	$(ROOTHOTPLUGPCIHDRS)	\
1267	$(ROOTRSMHDRS)		\
1268	$(ROOTTSOLHDRS)		\
1269	$($(MACH)_ROOTHDRS)
1270
1271
1272install_h:			\
1273	$(ROOTDIRS)		\
1274	LVMDERIVED_H		\
1275	.WAIT			\
1276	$(ROOTHDRS)		\
1277	$(ROOTAUDHDRS)		\
1278	$(ROOTAVHDRS)		\
1279	$(ROOTCRYPTOHDRS)	\
1280	$(ROOTDCAMHDRS)		\
1281	$(ROOTISOHDRS)		\
1282	$(ROOTIDMHDRS)		\
1283	$(ROOTISCSIHDRS)	\
1284	$(ROOTISCSITHDRS)	\
1285	$(ROOTFC4HDRS)		\
1286	$(ROOTFCHDRS)		\
1287	$(ROOTFCIMPLHDRS)	\
1288	$(ROOTFCULPHDRS)	\
1289	$(ROOTFMHDRS)		\
1290	$(ROOTFMFSHDRS)		\
1291	$(ROOTFMIOHDRS)		\
1292	$(ROOTFSHDRS)		\
1293	$(ROOTIBDHDRS)		\
1294	$(ROOTIBHDRS)		\
1295	$(ROOTIBTLHDRS)		\
1296	$(ROOTIBTLIMPLHDRS)	\
1297	$(ROOTIBNEXHDRS)	\
1298	$(ROOTIBMGTHDRS)	\
1299	$(ROOTIBMFHDRS)		\
1300	$(ROOTOFHDRS)		\
1301	$(ROOTRDMAHDRS)		\
1302	$(ROOTSOL_OFSHDRS)	\
1303	$(ROOTSOL_UMADHDRS)	\
1304	$(ROOTSOL_UVERBSHDRS)	\
1305	$(ROOTSOL_UCMAHDRS)	\
1306	$(ROOTTAVORHDRS)	\
1307	$(ROOTHERMONHDRS)	\
1308	$(ROOTMLNXHDRS)		\
1309	$(ROOTLVMHDRS)		\
1310	$(ROOTSCSIHDRS)		\
1311	$(ROOTSCSIADHDRS)	\
1312	$(ROOTSCSIISCSIHDRS)	\
1313	$(ROOTSCSICONFHDRS)	\
1314	$(ROOTSCSIGENHDRS)	\
1315	$(ROOTSCSIIMPLHDRS)	\
1316	$(ROOTSCSIVHCIHDRS)     \
1317	$(ROOTSDCARDHDRS)	\
1318	$(ROOTSYSEVENTHDRS)     \
1319	$(ROOTCONTRACTHDRS)     \
1320	$(ROOTUWBHDRS)		\
1321	$(ROOTUWBAHDRS)		\
1322	$(ROOTUSBHDRS)		\
1323	$(ROOTUSBAUDHDRS)	\
1324	$(ROOTUSBHUBDHDRS)	\
1325	$(ROOTUSBHIDHDRS)	\
1326	$(ROOTUSBHRCHDRS)	\
1327	$(ROOTUSBMSHDRS)	\
1328	$(ROOTUSBPRNHDRS)       \
1329	$(ROOTUSBCDCHDRS)       \
1330	$(ROOTUSBVIDHDRS)       \
1331	$(ROOTUSBWCMHDRS)	\
1332	$(ROOTUGENHDRS)		\
1333	$(ROOT1394HDRS)         \
1334	$(ROOTHOTPLUGHDRS)	\
1335	$(ROOTHOTPLUGPCIHDRS)	\
1336	$(ROOTRSMHDRS)		\
1337	$(ROOTTSOLHDRS)		\
1338	$($(MACH)_ROOTHDRS)
1339
1340all_h: $(GENHDRS)
1341
1342priv_const.h: $(PRIVS_AWK) $(PRIVS_DEF)
1343	$(NAWK) -f $(PRIVS_AWK) < $(PRIVS_DEF) -v privhfile=$@
1344
1345priv_names.h: $(PRIVS_AWK) $(PRIVS_DEF)
1346	$(NAWK) -f $(PRIVS_AWK) < $(PRIVS_DEF) -v pubhfile=$@
1347
1348usb/usbdevs.h: $(USBDEVS_AWK) $(USBDEVS_DATA)
1349	$(NAWK) -f $(USBDEVS_AWK) $(USBDEVS_DATA) -H > $@
1350
1351LVMDERIVED_H:
1352	cd $(SRC)/uts/common/sys/lvm; pwd; $(MAKE) all_h
1353
1354clean:
1355	$(RM) $(GENHDRS)
1356
1357clobber: clean
1358	cd $(SRC)/uts/common/sys/lvm; pwd; $(MAKE) clobber
1359
1360check:	$(CHECKHDRS)
1361
1362FRC:
1363