xref: /titanic_44/usr/src/uts/common/sys/Makefile (revision 5151fb1220e0ceafdc172203863c73da4285c170)
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	ap_driver.h     \
825	dev.h		\
826	domain.h        \
827	dr.h            \
828	env.h           \
829	eventdefs.h	\
830	ipmp.h		\
831	svm.h
832
833CONTRACTHDRS=		\
834	process.h	\
835	process_impl.h
836
837USBHDRS=	\
838	usba.h	\
839	usbai.h
840
841USBAUDHDRS=           \
842	usb_audio.h
843
844USBHUBDHDRS=		\
845	hub.h		\
846	hubd_impl.h
847
848USBHIDHDRS=		\
849	hid.h
850
851USBMSHDRS=		\
852	usb_bulkonly.h	\
853	usb_cbi.h
854
855USBPRNHDRS=           \
856	usb_printer.h
857
858USBCDCHDRS=		\
859	usb_cdc.h
860
861USBVIDHDRS=           \
862	usbvc.h
863
864UGENHDRS=           \
865	usb_ugen.h
866
867HOTPLUGHDRS=	\
868	hpcsvc.h	\
869	hpctrl.h
870
871HOTPLUGPCIHDRS=	\
872	pcicfg.h	\
873	pcihp.h
874
875RSMHDRS= \
876	rsm.h	\
877	rsm_common.h	\
878	rsmapi_common.h \
879	rsmpi.h	\
880	rsmpi_driver.h	\
881	rsmka_path_int.h
882
883TSOLHDRS=		\
884	label.h		\
885	label_macro.h	\
886	priv.h		\
887	tndb.h		\
888	tsyscall.h
889
890I1394HDRS=		\
891	cmd1394.h	\
892	id1394.h	\
893	ieee1212.h	\
894	ieee1394.h	\
895	ixl1394.h	\
896	s1394_impl.h	\
897	t1394.h
898
899# "cmdk" headers used on sparc
900SDKTPHDRS=		\
901	dadkio.h	\
902	fdisk.h
903
904# "cmdk" headers used on i386
905DKTPHDRS=		\
906	altsctr.h	\
907	bbh.h		\
908	cm.h		\
909	cmdev.h		\
910	cmdk.h		\
911	cmpkt.h		\
912	controller.h	\
913	dadev.h		\
914	dadk.h		\
915	dadkio.h	\
916	fctypes.h	\
917	fdisk.h		\
918	flowctrl.h	\
919	gda.h		\
920	quetypes.h	\
921	queue.h		\
922	tgcom.h		\
923	tgdk.h
924
925# "pc" header files used on i386
926PCHDRS=			\
927	avintr.h	\
928	dma_engine.h	\
929	i8272A.h	\
930	pcic_reg.h	\
931	pcic_var.h	\
932	pic.h		\
933	pit.h		\
934	rtc.h
935
936# I2O header files (currently used only on i386)
937I2OHDRS=		\
938	i2oadptr.h	\
939	i2obscsi.h	\
940	i2oexec.h	\
941	i2omsg.h	\
942	i2omstr.h	\
943	i2outil.h
944
945NXGEHDRS=			\
946	nxge.h			\
947	nxge_common.h		\
948	nxge_common_impl.h	\
949	nxge_defs.h		\
950	nxge_hw.h		\
951	nxge_impl.h		\
952	nxge_ipp.h		\
953	nxge_ipp_hw.h		\
954	nxge_mac.h		\
955	nxge_mac_hw.h		\
956	nxge_fflp.h		\
957	nxge_fflp_hw.h		\
958	nxge_mii.h		\
959	nxge_rxdma.h		\
960	nxge_rxdma_hw.h		\
961	nxge_txc.h		\
962	nxge_txc_hw.h		\
963	nxge_txdma.h		\
964	nxge_txdma_hw.h		\
965	nxge_virtual.h		\
966	nxge_espc.h
967
968include Makefile.syshdrs
969
970dcam/%.check:	dcam/%.h
971	$(DOT_H_CHECK)
972
973CHECKHDRS=						\
974	$($(MACH)_HDRS:%.h=%.check)			\
975	$(AUDIOHDRS:%.h=audio/%.check)			\
976	$(BSCHDRS:%.h=%.check)				\
977	$(CHKHDRS:%.h=%.check)				\
978	$(CRYPTOHDRS:%.h=crypto/%.check)		\
979	$(DCAMHDRS:%.h=dcam/%.check)			\
980	$(IBHDRS:%.h=ib/%.check)			\
981	$(IBDHDRS:%.h=ib/clients/ibd/%.check)		\
982	$(IBTLHDRS:%.h=ib/ibtl/%.check)			\
983	$(IBTLIMPLHDRS:%.h=ib/ibtl/impl/%.check)	\
984	$(IBNEXHDRS:%.h=ib/ibnex/%.check)	\
985	$(IBMGTHDRS:%.h=ib/mgt/%.check)			\
986	$(IBMFHDRS:%.h=ib/mgt/ibmf/%.check)		\
987	$(TAVORHDRS:%.h=ib/adapters/tavor/%.check)	\
988	$(ISOHDRS:%.h=iso/%.check)			\
989	$(FMHDRS:%.h=fm/%.check)			\
990	$(FMFSHDRS:%.h=fm/fs/%.check)			\
991	$(FMIOHDRS:%.h=fm/io/%.check)			\
992	$(FSHDRS:%.h=fs/%.check)			\
993	$(LVMHDRS:%.h=lvm/%.check)			\
994	$(PCMCIAHDRS:%.h=pcmcia/%.check)		\
995	$(SCSIHDRS:%.h=scsi/%.check)			\
996	$(SCSICONHDRS:%.h=scsi/conf/%.check)		\
997	$(SCSIIMPLHDRS:%.h=scsi/impl/%.check)		\
998	$(SCSITARGETSHDRS:%.h=scsi/targets/%.check)	\
999	$(SCSIVHCIHDRS:%.h=scsi/adapters/%.check)	\
1000	$(FCHDRS:%.h=fc4/%.check)			\
1001	$(SATAGENHDRS:%.h=sata/%.check)			\
1002	$(SYSEVENTHDRS:%.h=sysevent/%.check)            \
1003	$(CONTRACTHDRS:%.h=contract/%.check)            \
1004	$(USBAUDHDRS:%.h=usb/clients/audio/%.check)   \
1005	$(USBHUBDHDRS:%.h=usb/hubd/%.check)		\
1006	$(USBHIDHDRS:%.h=usb/clients/hid/%.check)	\
1007	$(USBMSHDRS:%.h=usb/clients/mass_storage/%.check)	\
1008	$(USBPRNHDRS:%.h=usb/clients/printer/%.check)   \
1009	$(USBCDCHDRS:%.h=usb/clients/usbcdc/%.check)	\
1010	$(USBVIDHDRS:%.h=usb/clients/video/usbvc/%.check)   \
1011	$(UGENHDRS:%.h=usb/clients/ugen/%.check)   \
1012	$(USBHDRS:%.h=usb/%.check)                      \
1013	$(I1394HDRS:%.h=1394/%.check)			\
1014	$(RSMHDRS:%.h=rsm/%.check)			\
1015	$(TSOLHDRS:%.h=tsol/%.check)			\
1016	$(NXGEHDRS:%.h=nxge/%.check)
1017
1018
1019.KEEP_STATE:
1020
1021.PARALLEL:			\
1022	$(CHECKHDRS)		\
1023	$(ROOTHDRS)		\
1024	$(ROOTAUDHDRS)		\
1025	$(ROOTCRYPTOHDRS)	\
1026	$(ROOTDCAMHDRS)		\
1027	$(ROOTISOHDRS)		\
1028	$(ROOTFMHDRS)		\
1029	$(ROOTFMIOHDRS)		\
1030	$(ROOTFMFSHDRS)		\
1031	$(ROOTFSHDRS)		\
1032	$(ROOTIBDHDRS)		\
1033	$(ROOTIBHDRS)		\
1034	$(ROOTIBTLHDRS)		\
1035	$(ROOTIBTLIMPLHDRS)	\
1036	$(ROOTIBNEXHDRS)	\
1037	$(ROOTIBMGTHDRS)	\
1038	$(ROOTIBMFHDRS)		\
1039	$(ROOTTAVORHDRS)	\
1040	$(ROOTLVMHDRS)		\
1041	$(ROOTPCMCIAHDRS)	\
1042	$(ROOTSCSIHDRS)		\
1043	$(ROOTSCSICONFHDRS)	\
1044	$(ROOTSCSIGENHDRS)	\
1045	$(ROOTSCSIIMPLHDRS)	\
1046	$(ROOTSCSIVHCIHDRS)	\
1047	$(ROOTFCHDRS)		\
1048	$(ROOTSYSEVENTHDRS)     \
1049	$(ROOTCONTRACTHDRS)     \
1050	$(ROOTUSBHDRS)		\
1051	$(ROOTUSBAUDHDRS)	\
1052	$(ROOTUSBHUBDHDRS)	\
1053	$(ROOTUSBHIDHDRS)	\
1054	$(ROOTUSBMSHDRS)	\
1055	$(ROOTUSBPRNHDRS)       \
1056	$(ROOTUSBCDCHDRS)       \
1057	$(ROOTUSBVIDHDRS)       \
1058	$(ROOTUGENHDRS)		\
1059	$(ROOT1394HDRS)         \
1060	$(ROOTHOTPLUGHDRS)	\
1061	$(ROOTHOTPLUGPCIHDRS)	\
1062	$(ROOTRSMHDRS)		\
1063	$(ROOTTSOLHDRS)		\
1064	$($(MACH)_ROOTHDRS)
1065
1066
1067install_h:			\
1068	$(ROOTDIRS)		\
1069	LVMDERIVED_H		\
1070	.WAIT			\
1071	$(ROOTHDRS)		\
1072	$(ROOTAUDHDRS)		\
1073	$(ROOTCRYPTOHDRS)	\
1074	$(ROOTDCAMHDRS)		\
1075	$(ROOTISOHDRS)		\
1076	$(ROOTFMHDRS)		\
1077	$(ROOTFMFSHDRS)		\
1078	$(ROOTFMIOHDRS)		\
1079	$(ROOTFSHDRS)		\
1080	$(ROOTIBDHDRS)		\
1081	$(ROOTIBHDRS)		\
1082	$(ROOTIBTLHDRS)		\
1083	$(ROOTIBTLIMPLHDRS)	\
1084	$(ROOTIBNEXHDRS)	\
1085	$(ROOTIBMGTHDRS)	\
1086	$(ROOTIBMFHDRS)		\
1087	$(ROOTTAVORHDRS)	\
1088	$(ROOTLVMHDRS)		\
1089	$(ROOTPCMCIAHDRS)	\
1090	$(ROOTSCSIHDRS)		\
1091	$(ROOTSCSICONFHDRS)	\
1092	$(ROOTSCSIGENHDRS)	\
1093	$(ROOTSCSIIMPLHDRS)	\
1094	$(ROOTSCSIVHCIHDRS)	\
1095	$(ROOTFCHDRS)		\
1096	$(ROOTSYSEVENTHDRS)     \
1097	$(ROOTCONTRACTHDRS)     \
1098	$(ROOTUSBHDRS)		\
1099	$(ROOTUSBAUDHDRS)	\
1100	$(ROOTUSBHUBDHDRS)	\
1101	$(ROOTUSBHIDHDRS)	\
1102	$(ROOTUSBMSHDRS)	\
1103	$(ROOTUSBPRNHDRS)       \
1104	$(ROOTUSBCDCHDRS)       \
1105	$(ROOTUSBVIDHDRS)       \
1106	$(ROOTUGENHDRS)		\
1107	$(ROOT1394HDRS)         \
1108	$(ROOTHOTPLUGHDRS)	\
1109	$(ROOTHOTPLUGPCIHDRS)	\
1110	$(ROOTRSMHDRS)		\
1111	$(ROOTTSOLHDRS)		\
1112	$($(MACH)_ROOTHDRS)
1113
1114all_h: $(GENHDRS)
1115
1116priv_const.h: $(PRIVS_AWK) $(PRIVS_DEF)
1117	$(NAWK) -f $(PRIVS_AWK) < $(PRIVS_DEF) -v privhfile=$@
1118
1119priv_names.h: $(PRIVS_AWK) $(PRIVS_DEF)
1120	$(NAWK) -f $(PRIVS_AWK) < $(PRIVS_DEF) -v pubhfile=$@
1121
1122LVMDERIVED_H:
1123	cd $(SRC)/uts/common/sys/lvm; pwd; $(MAKE)
1124
1125check:	$(CHECKHDRS)
1126
1127FRC:
1128
1129# EXPORT DELETE START
1130EXPORT_SRC:
1131	$(RM) wanboot_impl.h+ Makefile+
1132	sed -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
1133		< wanboot_impl.h > wanboot_impl.h+
1134	$(MV) wanboot_impl.h+ wanboot_impl.h
1135	sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
1136		< Makefile > Makefile+
1137	$(RM) Makefile
1138	$(MV) Makefile+ Makefile
1139	$(CHMOD) 444 Makefile wanboot_impl.h
1140# EXPORT DELETE END
1141