xref: /titanic_50/usr/src/uts/common/sys/Makefile (revision 4703203d9b3e06246d73931f07359a7ef70f47bf)
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.h		\
538	u8_textprep_data.h	\
539	uadmin.h		\
540	ucred.h			\
541	uio.h			\
542	ulimit.h		\
543	un.h			\
544	unistd.h		\
545	user.h			\
546	ustat.h			\
547	utime.h			\
548	utsname.h		\
549	utssys.h		\
550	uuid.h			\
551	va_impl.h		\
552	va_list.h		\
553	var.h			\
554	varargs.h		\
555	vfs.h			\
556	vfs_opreg.h		\
557	vfstab.h		\
558	vgareg.h		\
559	videodev2.h		\
560	visual_io.h		\
561	vlan.h			\
562	vm.h			\
563	vm_usage.h		\
564	vmem.h			\
565	vmem_impl.h		\
566	vmmeter.h		\
567	vmsystm.h		\
568	vnode.h			\
569	vtoc.h			\
570	vtrace.h		\
571	vuid_event.h		\
572	vuid_wheel.h		\
573	vuid_queue.h		\
574	vuid_state.h		\
575	vuid_store.h		\
576	wait.h			\
577	waitq.h			\
578	wanboot_impl.h		\
579	watchpoint.h		\
580	winlockio.h		\
581	zcons.h			\
582	zone.h			\
583	xti_inet.h		\
584	xti_osi.h		\
585	xti_xtiopt.h		\
586	zmod.h
587
588HDRS=				\
589	$(GENHDRS)		\
590	$(CHKHDRS)
591
592AUDIOHDRS=			\
593	ac97.h			\
594	am_src1.h		\
595	audio_apm.h		\
596	audio_mixer.h		\
597	audio_src.h		\
598	audio_support.h		\
599	audio_trace.h		\
600	g711.h
601
602BSCHDRS=			\
603	bscbus.h		\
604	bscv_impl.h		\
605	lom_ebuscodes.h		\
606	lom_io.h		\
607	lom_priv.h		\
608	lombus.h
609
610MDESCHDRS=			\
611	mdesc.h			\
612	mdesc_impl.h
613
614CPUDRVHDRS=			\
615	cpudrv.h
616
617CRYPTOHDRS=			\
618	elfsign.h		\
619	ioctl.h			\
620	ioctladmin.h		\
621	common.h		\
622	impl.h			\
623	spi.h			\
624	api.h			\
625	ops_impl.h		\
626	sched_impl.h
627
628DCAMHDRS=			\
629	dcam1394_io.h
630
631IBHDRS=			\
632	ib_types.h	\
633	ib_pkt_hdrs.h
634
635IBTLHDRS=		\
636	ibtl_types.h	\
637	ibtl_status.h	\
638	ibti.h		\
639	ibti_cm.h	\
640	ibci.h		\
641	ibti_common.h	\
642	ibvti.h		\
643	ibtl_ci_types.h
644
645IBTLIMPLHDRS=		\
646	ibtl_util.h
647
648IBNEXHDRS=		\
649	ibnex_devctl.h
650
651IBMFHDRS=		\
652	ibmf.h		\
653	ibmf_msg.h	\
654	ibmf_saa.h	\
655	ibmf_utils.h
656
657IBMGTHDRS=		\
658	ib_dm_attr.h	\
659	ib_mad.h	\
660	sm_attr.h	\
661	sa_recs.h
662
663IBDHDRS=		\
664	ibd.h
665
666ISOHDRS=			\
667	signal_iso.h
668
669DERIVED_LVMHDRS=	\
670	md_mdiox.h		\
671	md_basic.h		\
672	mdmed.h			\
673	md_mhdx.h		\
674	mdmn_commd.h
675
676LVMHDRS=			\
677	md_convert.h		\
678	md_crc.h		\
679	md_hotspares.h		\
680	md_mddb.h		\
681	md_mirror.h		\
682	md_mirror_shared.h	\
683	md_names.h		\
684	md_notify.h		\
685	md_raid.h		\
686	md_rename.h		\
687	md_sp.h			\
688	md_stripe.h		\
689	md_trans.h		\
690	mdio.h			\
691	mdvar.h
692
693ALL_LVMHDRS=			\
694	$(LVMHDRS)		\
695	$(DERIVED_LVMHDRS)
696
697FMHDRS=				\
698	protocol.h		\
699	util.h
700
701FMFSHDRS=			\
702	zfs.h
703
704FMIOHDRS=			\
705	ddi.h			\
706	disk.h			\
707	pci.h			\
708	scsi.h			\
709	sun4upci.h		\
710	opl_mc_fm.h
711
712FSHDRS=				\
713	autofs.h		\
714	cachefs_dir.h		\
715	cachefs_dlog.h		\
716	cachefs_filegrp.h	\
717	cachefs_fs.h		\
718	cachefs_fscache.h	\
719	cachefs_ioctl.h		\
720	cachefs_log.h		\
721	dv_node.h		\
722	sdev_impl.h		\
723	sdev_node.h		\
724	fifonode.h		\
725	hsfs_isospec.h		\
726	hsfs_node.h		\
727	hsfs_rrip.h		\
728	hsfs_spec.h		\
729	hsfs_susp.h		\
730	lofs_info.h		\
731	lofs_node.h		\
732	mntdata.h		\
733	namenode.h		\
734	pc_dir.h		\
735	pc_fs.h			\
736	pc_label.h		\
737	pc_node.h		\
738	pxfs_ki.h		\
739	snode.h			\
740	swapnode.h		\
741	tmp.h			\
742	tmpnode.h		\
743	udf_inode.h		\
744	udf_volume.h		\
745	ufs_acl.h		\
746	ufs_bio.h		\
747	ufs_filio.h		\
748	ufs_fs.h		\
749	ufs_fsdir.h		\
750	ufs_inode.h		\
751	ufs_lockfs.h		\
752	ufs_log.h		\
753	ufs_mount.h		\
754	ufs_panic.h		\
755	ufs_prot.h		\
756	ufs_quota.h		\
757	ufs_snap.h              \
758	ufs_trans.h		\
759	zfs.h
760
761PCMCIAHDRS=		\
762	pcata.h		\
763	pcgld.h		\
764	pcramio.h	\
765	pcramvar.h	\
766	pcser_conf.h	\
767	pcser_io.h	\
768	pcser_reg.h	\
769	pcser_manuspec.h \
770	pcser_var.h
771
772SCSIHDRS=		\
773	scsi.h		\
774	scsi_address.h	\
775	scsi_ctl.h	\
776	scsi_params.h	\
777	scsi_pkt.h	\
778	scsi_resource.h	\
779	scsi_types.h	\
780	scsi_watch.h
781
782SCSICONFHDRS=		\
783	autoconf.h	\
784	device.h
785
786SCSIGENHDRS=		\
787	commands.h	\
788	dad_mode.h	\
789	inquiry.h	\
790	message.h	\
791	mode.h		\
792	persist.h	\
793	sense.h		\
794	status.h
795
796SCSIIMPLHDRS=		\
797	commands.h	\
798	inquiry.h	\
799	mode.h		\
800	sense.h		\
801	services.h	\
802	status.h	\
803	transport.h	\
804	scsi_reset_notify.h \
805	types.h		\
806	uscsi.h
807
808SCSITARGETSHDRS=	\
809	ses.h		\
810	sesio.h		\
811	sgendef.h	\
812	stdef.h		\
813	sddef.h
814
815SCSICADHDRS=
816
817SCSIVHCIHDRS=		\
818	scsi_vhci.h	\
819	mpapi_impl.h	\
820	mpapi_scsi_vhci.h
821
822FCHDRS=			\
823	fc_transport.h	\
824	linkapp.h	\
825	fc.h		\
826	fcp.h		\
827	fcal_transport.h \
828	fcal.h		\
829	fcal_linkapp.h	\
830	fcio.h
831
832SATAGENHDRS=		\
833	sata_hba.h	\
834	sata_defs.h	\
835	sata_cfgadm.h
836
837SYSEVENTHDRS=		\
838	acpiev.h	\
839	ap_driver.h     \
840	dev.h		\
841	domain.h        \
842	dr.h            \
843	env.h           \
844	eventdefs.h	\
845	ipmp.h		\
846	svm.h
847
848CONTRACTHDRS=		\
849	process.h	\
850	process_impl.h	\
851	device.h	\
852	device_impl.h
853
854USBHDRS=	\
855	usba.h	\
856	usbai.h
857
858USBAUDHDRS=           \
859	usb_audio.h
860
861USBHUBDHDRS=		\
862	hub.h		\
863	hubd_impl.h
864
865USBHIDHDRS=		\
866	hid.h
867
868USBMSHDRS=		\
869	usb_bulkonly.h	\
870	usb_cbi.h
871
872USBPRNHDRS=           \
873	usb_printer.h
874
875USBCDCHDRS=		\
876	usb_cdc.h
877
878USBVIDHDRS=           \
879	usbvc.h
880
881UGENHDRS=           \
882	usb_ugen.h
883
884HOTPLUGHDRS=	\
885	hpcsvc.h	\
886	hpctrl.h
887
888HOTPLUGPCIHDRS=	\
889	pcicfg.h	\
890	pcihp.h
891
892RSMHDRS= \
893	rsm.h	\
894	rsm_common.h	\
895	rsmapi_common.h \
896	rsmpi.h	\
897	rsmpi_driver.h	\
898	rsmka_path_int.h
899
900TSOLHDRS=		\
901	label.h		\
902	label_macro.h	\
903	priv.h		\
904	tndb.h		\
905	tsyscall.h
906
907I1394HDRS=		\
908	cmd1394.h	\
909	id1394.h	\
910	ieee1212.h	\
911	ieee1394.h	\
912	ixl1394.h	\
913	s1394_impl.h	\
914	t1394.h
915
916# "cmdk" headers used on sparc
917SDKTPHDRS=		\
918	dadkio.h	\
919	fdisk.h
920
921# "cmdk" headers used on i386
922DKTPHDRS=		\
923	altsctr.h	\
924	bbh.h		\
925	cm.h		\
926	cmdev.h		\
927	cmdk.h		\
928	cmpkt.h		\
929	controller.h	\
930	dadev.h		\
931	dadk.h		\
932	dadkio.h	\
933	fctypes.h	\
934	fdisk.h		\
935	flowctrl.h	\
936	gda.h		\
937	quetypes.h	\
938	queue.h		\
939	tgcom.h		\
940	tgdk.h
941
942# "pc" header files used on i386
943PCHDRS=			\
944	avintr.h	\
945	dma_engine.h	\
946	i8272A.h	\
947	pcic_reg.h	\
948	pcic_var.h	\
949	pic.h		\
950	pit.h		\
951	rtc.h
952
953NXGEHDRS=			\
954	nxge.h			\
955	nxge_common.h		\
956	nxge_common_impl.h	\
957	nxge_defs.h		\
958	nxge_hw.h		\
959	nxge_impl.h		\
960	nxge_ipp.h		\
961	nxge_ipp_hw.h		\
962	nxge_mac.h		\
963	nxge_mac_hw.h		\
964	nxge_fflp.h		\
965	nxge_fflp_hw.h		\
966	nxge_mii.h		\
967	nxge_rxdma.h		\
968	nxge_rxdma_hw.h		\
969	nxge_txc.h		\
970	nxge_txc_hw.h		\
971	nxge_txdma.h		\
972	nxge_txdma_hw.h		\
973	nxge_virtual.h		\
974	nxge_espc.h
975
976include Makefile.syshdrs
977
978dcam/%.check:	dcam/%.h
979	$(DOT_H_CHECK)
980
981CHECKHDRS=						\
982	$($(MACH)_HDRS:%.h=%.check)			\
983	$(AUDIOHDRS:%.h=audio/%.check)			\
984	$(BSCHDRS:%.h=%.check)				\
985	$(CHKHDRS:%.h=%.check)				\
986	$(CPUDRVHDRS:%.h=%.check)			\
987	$(CRYPTOHDRS:%.h=crypto/%.check)		\
988	$(DCAMHDRS:%.h=dcam/%.check)			\
989	$(IBHDRS:%.h=ib/%.check)			\
990	$(IBDHDRS:%.h=ib/clients/ibd/%.check)		\
991	$(IBTLHDRS:%.h=ib/ibtl/%.check)			\
992	$(IBTLIMPLHDRS:%.h=ib/ibtl/impl/%.check)	\
993	$(IBNEXHDRS:%.h=ib/ibnex/%.check)	\
994	$(IBMGTHDRS:%.h=ib/mgt/%.check)			\
995	$(IBMFHDRS:%.h=ib/mgt/ibmf/%.check)		\
996	$(TAVORHDRS:%.h=ib/adapters/tavor/%.check)	\
997	$(ISOHDRS:%.h=iso/%.check)			\
998	$(FMHDRS:%.h=fm/%.check)			\
999	$(FMFSHDRS:%.h=fm/fs/%.check)			\
1000	$(FMIOHDRS:%.h=fm/io/%.check)			\
1001	$(FSHDRS:%.h=fs/%.check)			\
1002	$(LVMHDRS:%.h=lvm/%.check)			\
1003	$(PCMCIAHDRS:%.h=pcmcia/%.check)		\
1004	$(SCSIHDRS:%.h=scsi/%.check)			\
1005	$(SCSICONHDRS:%.h=scsi/conf/%.check)		\
1006	$(SCSIIMPLHDRS:%.h=scsi/impl/%.check)		\
1007	$(SCSITARGETSHDRS:%.h=scsi/targets/%.check)	\
1008	$(SCSIVHCIHDRS:%.h=scsi/adapters/%.check)	\
1009	$(FCHDRS:%.h=fc4/%.check)			\
1010	$(SATAGENHDRS:%.h=sata/%.check)			\
1011	$(SYSEVENTHDRS:%.h=sysevent/%.check)            \
1012	$(CONTRACTHDRS:%.h=contract/%.check)            \
1013	$(USBAUDHDRS:%.h=usb/clients/audio/%.check)   \
1014	$(USBHUBDHDRS:%.h=usb/hubd/%.check)		\
1015	$(USBHIDHDRS:%.h=usb/clients/hid/%.check)	\
1016	$(USBMSHDRS:%.h=usb/clients/mass_storage/%.check)	\
1017	$(USBPRNHDRS:%.h=usb/clients/printer/%.check)   \
1018	$(USBCDCHDRS:%.h=usb/clients/usbcdc/%.check)	\
1019	$(USBVIDHDRS:%.h=usb/clients/video/usbvc/%.check)   \
1020	$(UGENHDRS:%.h=usb/clients/ugen/%.check)   \
1021	$(USBHDRS:%.h=usb/%.check)                      \
1022	$(I1394HDRS:%.h=1394/%.check)			\
1023	$(RSMHDRS:%.h=rsm/%.check)			\
1024	$(TSOLHDRS:%.h=tsol/%.check)			\
1025	$(NXGEHDRS:%.h=nxge/%.check)
1026
1027
1028.KEEP_STATE:
1029
1030.PARALLEL:			\
1031	$(CHECKHDRS)		\
1032	$(ROOTHDRS)		\
1033	$(ROOTAUDHDRS)		\
1034	$(ROOTCRYPTOHDRS)	\
1035	$(ROOTDCAMHDRS)		\
1036	$(ROOTISOHDRS)		\
1037	$(ROOTFMHDRS)		\
1038	$(ROOTFMIOHDRS)		\
1039	$(ROOTFMFSHDRS)		\
1040	$(ROOTFSHDRS)		\
1041	$(ROOTIBDHDRS)		\
1042	$(ROOTIBHDRS)		\
1043	$(ROOTIBTLHDRS)		\
1044	$(ROOTIBTLIMPLHDRS)	\
1045	$(ROOTIBNEXHDRS)	\
1046	$(ROOTIBMGTHDRS)	\
1047	$(ROOTIBMFHDRS)		\
1048	$(ROOTTAVORHDRS)	\
1049	$(ROOTLVMHDRS)		\
1050	$(ROOTPCMCIAHDRS)	\
1051	$(ROOTSCSIHDRS)		\
1052	$(ROOTSCSICONFHDRS)	\
1053	$(ROOTSCSIGENHDRS)	\
1054	$(ROOTSCSIIMPLHDRS)	\
1055	$(ROOTSCSIVHCIHDRS)	\
1056	$(ROOTFCHDRS)		\
1057	$(ROOTSYSEVENTHDRS)     \
1058	$(ROOTCONTRACTHDRS)     \
1059	$(ROOTUSBHDRS)		\
1060	$(ROOTUSBAUDHDRS)	\
1061	$(ROOTUSBHUBDHDRS)	\
1062	$(ROOTUSBHIDHDRS)	\
1063	$(ROOTUSBMSHDRS)	\
1064	$(ROOTUSBPRNHDRS)       \
1065	$(ROOTUSBCDCHDRS)       \
1066	$(ROOTUSBVIDHDRS)       \
1067	$(ROOTUGENHDRS)		\
1068	$(ROOT1394HDRS)         \
1069	$(ROOTHOTPLUGHDRS)	\
1070	$(ROOTHOTPLUGPCIHDRS)	\
1071	$(ROOTRSMHDRS)		\
1072	$(ROOTTSOLHDRS)		\
1073	$($(MACH)_ROOTHDRS)
1074
1075
1076install_h:			\
1077	$(ROOTDIRS)		\
1078	LVMDERIVED_H		\
1079	.WAIT			\
1080	$(ROOTHDRS)		\
1081	$(ROOTAUDHDRS)		\
1082	$(ROOTCRYPTOHDRS)	\
1083	$(ROOTDCAMHDRS)		\
1084	$(ROOTISOHDRS)		\
1085	$(ROOTFMHDRS)		\
1086	$(ROOTFMFSHDRS)		\
1087	$(ROOTFMIOHDRS)		\
1088	$(ROOTFSHDRS)		\
1089	$(ROOTIBDHDRS)		\
1090	$(ROOTIBHDRS)		\
1091	$(ROOTIBTLHDRS)		\
1092	$(ROOTIBTLIMPLHDRS)	\
1093	$(ROOTIBNEXHDRS)	\
1094	$(ROOTIBMGTHDRS)	\
1095	$(ROOTIBMFHDRS)		\
1096	$(ROOTTAVORHDRS)	\
1097	$(ROOTLVMHDRS)		\
1098	$(ROOTPCMCIAHDRS)	\
1099	$(ROOTSCSIHDRS)		\
1100	$(ROOTSCSICONFHDRS)	\
1101	$(ROOTSCSIGENHDRS)	\
1102	$(ROOTSCSIIMPLHDRS)	\
1103	$(ROOTSCSIVHCIHDRS)	\
1104	$(ROOTFCHDRS)		\
1105	$(ROOTSYSEVENTHDRS)     \
1106	$(ROOTCONTRACTHDRS)     \
1107	$(ROOTUSBHDRS)		\
1108	$(ROOTUSBAUDHDRS)	\
1109	$(ROOTUSBHUBDHDRS)	\
1110	$(ROOTUSBHIDHDRS)	\
1111	$(ROOTUSBMSHDRS)	\
1112	$(ROOTUSBPRNHDRS)       \
1113	$(ROOTUSBCDCHDRS)       \
1114	$(ROOTUSBVIDHDRS)       \
1115	$(ROOTUGENHDRS)		\
1116	$(ROOT1394HDRS)         \
1117	$(ROOTHOTPLUGHDRS)	\
1118	$(ROOTHOTPLUGPCIHDRS)	\
1119	$(ROOTRSMHDRS)		\
1120	$(ROOTTSOLHDRS)		\
1121	$($(MACH)_ROOTHDRS)
1122
1123all_h: $(GENHDRS)
1124
1125priv_const.h: $(PRIVS_AWK) $(PRIVS_DEF)
1126	$(NAWK) -f $(PRIVS_AWK) < $(PRIVS_DEF) -v privhfile=$@
1127
1128priv_names.h: $(PRIVS_AWK) $(PRIVS_DEF)
1129	$(NAWK) -f $(PRIVS_AWK) < $(PRIVS_DEF) -v pubhfile=$@
1130
1131LVMDERIVED_H:
1132	cd $(SRC)/uts/common/sys/lvm; pwd; $(MAKE)
1133
1134check:	$(CHECKHDRS)
1135
1136FRC:
1137
1138# EXPORT DELETE START
1139EXPORT_SRC:
1140	$(RM) wanboot_impl.h+ Makefile+
1141	sed -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
1142		< wanboot_impl.h > wanboot_impl.h+
1143	$(MV) wanboot_impl.h+ wanboot_impl.h
1144	sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
1145		< Makefile > Makefile+
1146	$(RM) Makefile
1147	$(MV) Makefile+ Makefile
1148	$(CHMOD) 444 Makefile wanboot_impl.h
1149# EXPORT DELETE END
1150