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