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