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