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