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