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