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