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