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