xref: /titanic_44/usr/src/uts/common/sys/Makefile (revision 321502cd0930b1eb6d4805e17f16234f3e3ff4b2)
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 2008 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	ucode.h
58
59AVHDRS=				\
60	av/iec61883.h
61
62sparc_HDRS= 			\
63	audio/audiots.h		\
64	audio/am_src2.h		\
65	mouse.h			\
66	scsi/targets/ssddef.h	\
67	$(MDESCHDRS)		\
68	$(AVHDRS)
69
70# Generated headers
71GENHDRS=			\
72	priv_const.h		\
73	priv_names.h
74
75CHKHDRS=			\
76	acct.h			\
77	acctctl.h		\
78	acl.h			\
79	acl_impl.h		\
80	aggr.h			\
81	aggr_impl.h		\
82	aio.h			\
83	aio_impl.h		\
84	aio_req.h		\
85	aiocb.h			\
86	ascii.h			\
87	asynch.h		\
88	atomic.h		\
89	attr.h			\
90	audio.h			\
91	audiodebug.h		\
92	audioio.h		\
93	audiovar.h		\
94	autoconf.h		\
95	auxv.h			\
96	auxv_386.h		\
97	auxv_SPARC.h		\
98	avl.h			\
99	avl_impl.h		\
100	battery.h		\
101	bitmap.h		\
102	bitset.h		\
103	bl.h			\
104	bmc_intf.h		\
105	bofi.h			\
106	bofi_impl.h		\
107	bpp_io.h		\
108	bootstat.h		\
109	brand.h			\
110	buf.h			\
111	bufmod.h		\
112	bustypes.h		\
113	byteorder.h		\
114	callb.h			\
115	callo.h			\
116	cpucaps.h		\
117	cpucaps_impl.h		\
118	ccompile.h		\
119	cdio.h			\
120	cladm.h			\
121	class.h			\
122	clconf.h		\
123	cmlb.h			\
124	cmn_err.h		\
125	compress.h		\
126	condvar.h		\
127	condvar_impl.h		\
128	conf.h			\
129	consdev.h		\
130	console.h		\
131	contract.h		\
132	contract_impl.h		\
133	copyops.h		\
134	core.h			\
135	corectl.h		\
136	cpc_impl.h		\
137	cpc_pcbe.h		\
138	cpr.h			\
139	cpupart.h		\
140	cpuvar.h		\
141	crc32.h			\
142	cred.h			\
143	cred_impl.h		\
144	crtctl.h		\
145	cryptmod.h		\
146	csiioctl.h		\
147	ctf.h			\
148	ctfs.h			\
149	ctfs_impl.h		\
150	ctf_api.h		\
151	ctype.h			\
152	cyclic.h		\
153	cyclic_impl.h		\
154	dacf.h			\
155	dacf_impl.h		\
156	dc_ki.h			\
157	ddi.h			\
158	ddifm.h			\
159	ddifm_impl.h		\
160	ddi_intr.h		\
161	ddi_intr_impl.h		\
162	ddi_impldefs.h		\
163	ddi_implfuncs.h		\
164	ddi_obsolete.h		\
165	ddi_timer.h		\
166	ddidevmap.h		\
167	ddidmareq.h		\
168	ddimapreq.h		\
169	ddipropdefs.h		\
170	dditypes.h		\
171	debug.h			\
172	des.h			\
173	devctl.h		\
174	devcache.h		\
175	devcache_impl.h		\
176	devid_cache.h		\
177	devinfo_impl.h		\
178	devops.h		\
179	devpolicy.h		\
180	devpoll.h		\
181	dirent.h		\
182	disp.h			\
183	dkbad.h			\
184	dkio.h			\
185	dklabel.h		\
186	dl.h			\
187	dlpi.h			\
188	dld.h			\
189	dld_impl.h		\
190	dls.h			\
191	dls_impl.h		\
192	dma_i8237A.h            \
193	dnlc.h			\
194	door.h			\
195	door_data.h		\
196	door_impl.h		\
197	dtrace.h		\
198	dtrace_impl.h		\
199	dumpadm.h		\
200	dumphdr.h		\
201	ecppsys.h		\
202	ecppio.h                \
203	ecppreg.h               \
204	ecppvar.h               \
205	efi_partition.h		\
206	elf.h			\
207	elf_386.h		\
208	elf_SPARC.h		\
209	elf_notes.h		\
210	elf_amd64.h		\
211	elftypes.h		\
212	emul64.h		\
213	emul64cmd.h		\
214	emul64var.h		\
215	epm.h			\
216	errno.h			\
217	errorq.h		\
218	errorq_impl.h		\
219	esunddi.h		\
220	ethernet.h		\
221	euc.h			\
222	eucioctl.h		\
223	exacct.h		\
224	exacct_catalog.h	\
225	exacct_impl.h		\
226	exec.h			\
227	exechdr.h		\
228	extdirent.h		\
229	fault.h			\
230	fasttrap.h		\
231	fasttrap_impl.h		\
232	fbio.h			\
233	fbuf.h			\
234	fcntl.h			\
235	fdbuffer.h		\
236	fdio.h			\
237	feature_tests.h		\
238	fem.h			\
239	file.h			\
240	filio.h			\
241	flock.h			\
242	flock_impl.h		\
243	fork.h			\
244	fss.h			\
245	fsspriocntl.h		\
246	fsid.h			\
247	fssnap.h                \
248	fssnap_if.h             \
249	fstyp.h			\
250	ftrace.h		\
251	fx.h			\
252	fxpriocntl.h		\
253	gfs.h			\
254	gld.h			\
255	gldpriv.h		\
256	group.h			\
257	hdio.h			\
258	hook.h			\
259	hook_event.h		\
260	hook_impl.h		\
261	hwconf.h		\
262	ia.h			\
263	iapriocntl.h		\
264	id32.h			\
265	idmap.h 		\
266	ieeefp.h		\
267	id_space.h		\
268	instance.h		\
269	int_const.h		\
270	int_fmtio.h		\
271	int_limits.h		\
272	int_types.h		\
273	inttypes.h		\
274	ioccom.h		\
275	ioctl.h			\
276	ipc.h			\
277	ipc_impl.h		\
278	ipc_rctl.h		\
279	isa_defs.h		\
280	iscsi_authclient.h	\
281	iscsi_authclientglue.h	\
282	iscsi_protocol.h	\
283	jioctl.h		\
284	kbd.h			\
285	kbdreg.h		\
286	kbio.h			\
287	kcpc.h			\
288	kdi.h			\
289	kdi_impl.h		\
290	kiconv.h		\
291	kiconv_big5_utf8.h	\
292	kiconv_cck_common.h	\
293	kiconv_cp950hkscs_utf8.h	\
294	kiconv_emea1.h		\
295	kiconv_emea2.h		\
296	kiconv_euckr_utf8.h	\
297	kiconv_euctw_utf8.h	\
298	kiconv_gb18030_utf8.h	\
299	kiconv_gb2312_utf8.h	\
300	kiconv_hkscs_utf8.h	\
301	kiconv_ja.h		\
302	kiconv_ja_jis_to_unicode.h	\
303	kiconv_ja_unicode_to_jis.h	\
304	kiconv_ko.h		\
305	kiconv_latin1.h		\
306	kiconv_sc.h		\
307	kiconv_tc.h		\
308	kiconv_uhc_utf8.h	\
309	kiconv_utf8_big5.h	\
310	kiconv_utf8_cp950hkscs.h	\
311	kiconv_utf8_euckr.h	\
312	kiconv_utf8_euctw.h	\
313	kiconv_utf8_gb18030.h	\
314	kiconv_utf8_gb2312.h	\
315	kiconv_utf8_hkscs.h	\
316	kiconv_utf8_uhc.h	\
317	kidmap.h		\
318	klpd.h			\
319	klwp.h			\
320	kmdb.h			\
321	kmem.h			\
322	kmem_impl.h		\
323	kobj.h			\
324	kobj_impl.h		\
325	kstat.h			\
326	kstr.h			\
327	ksyms.h			\
328	ksynch.h		\
329	ldterm.h		\
330	lgrp.h			\
331	lgrp_user.h		\
332	libc_kernel.h		\
333	link.h			\
334	list.h			\
335	list_impl.h		\
336	llc1.h			\
337	loadavg.h		\
338	lock.h			\
339	lockfs.h		\
340	lockstat.h		\
341	lofi.h			\
342	log.h			\
343	logindmux.h		\
344	logindmux_impl.h	\
345	lwp.h			\
346	lwp_timer_impl.h	\
347	lwp_upimutex_impl.h	\
348	mac.h			\
349	mac_impl.h		\
350	map.h			\
351	md4.h			\
352	md5.h			\
353	md5_consts.h		\
354	mdi_impldefs.h		\
355	mem.h			\
356	mem_config.h		\
357	memlist.h		\
358	mkdev.h			\
359	mhd.h			\
360	miiregs.h		\
361	mixer.h			\
362	mman.h			\
363	mntent.h		\
364	mntio.h			\
365	mnttab.h		\
366	modctl.h		\
367	mode.h			\
368	model.h			\
369	modhash.h		\
370	modhash_impl.h		\
371	mount.h			\
372	mouse.h			\
373	msacct.h		\
374	msg.h			\
375	msg_impl.h		\
376	msio.h			\
377	msreg.h			\
378	mtio.h			\
379	multidata.h		\
380	multidata_impl.h	\
381	mutex.h			\
382	nbmlock.h		\
383	ndifm.h		\
384	ndi_impldefs.h		\
385	netconfig.h		\
386	neti.h			\
387	netstack.h		\
388	nexusdefs.h		\
389	note.h			\
390	nvpair.h                \
391	nvpair_impl.h           \
392	objfs.h			\
393	objfs_impl.h		\
394	ontrap.h                \
395	open.h			\
396	openpromio.h		\
397	panic.h			\
398	param.h			\
399	pathconf.h		\
400	pathname.h		\
401	pattr.h			\
402	queue.h			\
403	serializer.h		\
404	pbio.h			\
405	pccard.h		\
406	pci.h			\
407	pcie.h			\
408	pci_impl.h		\
409	pcmcia.h		\
410	pctypes.h		\
411	pem.h			\
412	pfmod.h			\
413	pg.h			\
414	pghw.h			\
415	physmem.h		\
416	pm.h			\
417	policy.h		\
418	poll.h			\
419	poll_impl.h		\
420	pool.h			\
421	pool_impl.h		\
422	pool_pset.h		\
423	port.h			\
424	port_impl.h		\
425	port_kernel.h		\
426	ppmio.h                 \
427	priocntl.h		\
428	priv.h			\
429	priv_impl.h		\
430	prnio.h			\
431	proc.h			\
432	processor.h		\
433	procfs.h		\
434	procset.h		\
435	project.h		\
436	protosw.h		\
437	prsystm.h		\
438	pset.h			\
439	pshot.h			\
440	ptem.h			\
441	ptms.h			\
442	ptyvar.h		\
443	raidioctl.h		\
444	ramdisk.h		\
445	random.h		\
446	rctl.h			\
447	rctl_impl.h		\
448	reboot.h		\
449	refstr.h		\
450	refstr_impl.h		\
451	resource.h		\
452	rlioctl.h		\
453	rt.h			\
454	rtpriocntl.h		\
455	rwlock.h		\
456	rwlock_impl.h		\
457	rwstlock.h		\
458	sad.h			\
459	schedctl.h		\
460	sdt.h			\
461	select.h		\
462	sem.h			\
463	sem_impl.h		\
464	sema_impl.h		\
465	semaphore.h		\
466	sendfile.h		\
467	ser_sync.h		\
468	session.h		\
469	sha1.h			\
470	sha1_consts.h		\
471	sha2.h			\
472	sha2_consts.h		\
473	share.h			\
474	shm.h			\
475	shm_impl.h		\
476	sid.h			\
477	siginfo.h		\
478	signal.h		\
479	sleepq.h		\
480	smbios.h		\
481	smbios_impl.h		\
482	sobject.h		\
483	socket.h		\
484	socket_impl.h		\
485	socketvar.h		\
486	sockio.h		\
487	squeue.h		\
488	squeue_impl.h		\
489	srn.h			\
490	sservice.h		\
491	stat.h			\
492	statfs.h		\
493	statvfs.h		\
494	stdint.h		\
495	stermio.h		\
496	stream.h		\
497	strft.h			\
498	strlog.h		\
499	strmdep.h		\
500	stropts.h		\
501	strredir.h		\
502	strstat.h		\
503	strsubr.h		\
504	strsun.h		\
505	strtty.h		\
506	sunddi.h		\
507	sunldi.h		\
508	sunldi_impl.h		\
509	sunmdi.h		\
510	sunndi.h		\
511	sunos_dhcp_class.h	\
512	sunpm.h			\
513	suntpi.h		\
514	suntty.h		\
515	swap.h			\
516	synch.h			\
517	syscall.h		\
518	sysconf.h		\
519	sysconfig.h		\
520	sysevent.h		\
521	sysevent_impl.h         \
522	sysinfo.h		\
523	syslog.h		\
524	sysmacros.h		\
525	sysmsg_impl.h		\
526	systeminfo.h		\
527	systm.h			\
528	task.h			\
529	taskq.h			\
530	taskq_impl.h		\
531	t_kuser.h		\
532	t_lock.h		\
533	telioctl.h		\
534	termio.h		\
535	termios.h		\
536	termiox.h		\
537	thread.h		\
538	ticlts.h		\
539	ticots.h		\
540	ticotsord.h		\
541	tihdr.h			\
542	time.h			\
543	time_impl.h		\
544	time_std_impl.h		\
545	timeb.h			\
546	timer.h			\
547	times.h			\
548	timex.h			\
549	timod.h			\
550	tirdwr.h		\
551	tiuser.h		\
552	tl.h			\
553	tnf.h			\
554	tnf_com.h		\
555	tnf_probe.h		\
556	tnf_writer.h		\
557	todio.h			\
558	tpicommon.h		\
559	ts.h			\
560	tspriocntl.h		\
561	ttcompat.h		\
562	ttold.h			\
563	tty.h			\
564	ttychars.h		\
565	ttydev.h		\
566	tuneable.h		\
567	turnstile.h		\
568	types.h			\
569	types32.h		\
570	tzfile.h		\
571	u8_textprep.h		\
572	u8_textprep_data.h	\
573	uadmin.h		\
574	ucred.h			\
575	uio.h			\
576	ulimit.h		\
577	un.h			\
578	unistd.h		\
579	user.h			\
580	ustat.h			\
581	utime.h			\
582	utsname.h		\
583	utssys.h		\
584	uuid.h			\
585	va_impl.h		\
586	va_list.h		\
587	var.h			\
588	varargs.h		\
589	vfs.h			\
590	vfs_opreg.h		\
591	vfstab.h		\
592	vgareg.h		\
593	videodev2.h		\
594	visual_io.h		\
595	vlan.h			\
596	vm.h			\
597	vm_usage.h		\
598	vmem.h			\
599	vmem_impl.h		\
600	vmmeter.h		\
601	vmsystm.h		\
602	vnic.h			\
603	vnic_impl.h		\
604	vnode.h			\
605	vscan.h			\
606	vtoc.h			\
607	vtrace.h		\
608	vuid_event.h		\
609	vuid_wheel.h		\
610	vuid_queue.h		\
611	vuid_state.h		\
612	vuid_store.h		\
613	wait.h			\
614	waitq.h			\
615	wanboot_impl.h		\
616	watchpoint.h		\
617	winlockio.h		\
618	zcons.h			\
619	zone.h			\
620	xti_inet.h		\
621	xti_osi.h		\
622	xti_xtiopt.h		\
623	zmod.h
624
625HDRS=				\
626	$(GENHDRS)		\
627	$(CHKHDRS)
628
629AUDIOHDRS=			\
630	ac97.h			\
631	am_src1.h		\
632	audio_apm.h		\
633	audio_mixer.h		\
634	audio_src.h		\
635	audio_support.h		\
636	audio_trace.h		\
637	g711.h
638
639BSCHDRS=			\
640	bscbus.h		\
641	bscv_impl.h		\
642	lom_ebuscodes.h		\
643	lom_io.h		\
644	lom_priv.h		\
645	lombus.h
646
647MDESCHDRS=			\
648	mdesc.h			\
649	mdesc_impl.h
650
651CPUDRVHDRS=			\
652	cpudrv.h
653
654CRYPTOHDRS=			\
655	elfsign.h		\
656	ioctl.h			\
657	ioctladmin.h		\
658	common.h		\
659	impl.h			\
660	spi.h			\
661	api.h			\
662	ops_impl.h		\
663	sched_impl.h
664
665DCAMHDRS=			\
666	dcam1394_io.h
667
668IBHDRS=			\
669	ib_types.h	\
670	ib_pkt_hdrs.h
671
672IBTLHDRS=		\
673	ibtl_types.h	\
674	ibtl_status.h	\
675	ibti.h		\
676	ibti_cm.h	\
677	ibci.h		\
678	ibti_common.h	\
679	ibvti.h		\
680	ibtl_ci_types.h
681
682IBTLIMPLHDRS=		\
683	ibtl_util.h
684
685IBNEXHDRS=		\
686	ibnex_devctl.h
687
688IBMFHDRS=		\
689	ibmf.h		\
690	ibmf_msg.h	\
691	ibmf_saa.h	\
692	ibmf_utils.h
693
694IBMGTHDRS=		\
695	ib_dm_attr.h	\
696	ib_mad.h	\
697	sm_attr.h	\
698	sa_recs.h
699
700IBDHDRS=		\
701	ibd.h
702
703ISOHDRS=			\
704	signal_iso.h
705
706DERIVED_LVMHDRS=	\
707	md_mdiox.h		\
708	md_basic.h		\
709	mdmed.h			\
710	md_mhdx.h		\
711	mdmn_commd.h
712
713LVMHDRS=			\
714	md_convert.h		\
715	md_crc.h		\
716	md_hotspares.h		\
717	md_mddb.h		\
718	md_mirror.h		\
719	md_mirror_shared.h	\
720	md_names.h		\
721	md_notify.h		\
722	md_raid.h		\
723	md_rename.h		\
724	md_sp.h			\
725	md_stripe.h		\
726	md_trans.h		\
727	mdio.h			\
728	mdvar.h
729
730ALL_LVMHDRS=			\
731	$(LVMHDRS)		\
732	$(DERIVED_LVMHDRS)
733
734FMHDRS=				\
735	protocol.h		\
736	util.h
737
738FMFSHDRS=			\
739	zfs.h
740
741FMIOHDRS=			\
742	ddi.h			\
743	disk.h			\
744	pci.h			\
745	scsi.h			\
746	sun4upci.h		\
747	opl_mc_fm.h
748
749FSHDRS=				\
750	autofs.h		\
751	cachefs_dir.h		\
752	cachefs_dlog.h		\
753	cachefs_filegrp.h	\
754	cachefs_fs.h		\
755	cachefs_fscache.h	\
756	cachefs_ioctl.h		\
757	cachefs_log.h		\
758	decomp.h		\
759	dv_node.h		\
760	sdev_impl.h		\
761	sdev_node.h		\
762	fifonode.h		\
763	hsfs_isospec.h		\
764	hsfs_node.h		\
765	hsfs_rrip.h		\
766	hsfs_spec.h		\
767	hsfs_susp.h		\
768	lofs_info.h		\
769	lofs_node.h		\
770	mntdata.h		\
771	namenode.h		\
772	pc_dir.h		\
773	pc_fs.h			\
774	pc_label.h		\
775	pc_node.h		\
776	pxfs_ki.h		\
777	snode.h			\
778	swapnode.h		\
779	tmp.h			\
780	tmpnode.h		\
781	udf_inode.h		\
782	udf_volume.h		\
783	ufs_acl.h		\
784	ufs_bio.h		\
785	ufs_filio.h		\
786	ufs_fs.h		\
787	ufs_fsdir.h		\
788	ufs_inode.h		\
789	ufs_lockfs.h		\
790	ufs_log.h		\
791	ufs_mount.h		\
792	ufs_panic.h		\
793	ufs_prot.h		\
794	ufs_quota.h		\
795	ufs_snap.h              \
796	ufs_trans.h		\
797	zfs.h
798
799PCMCIAHDRS=		\
800	pcata.h		\
801	pcgld.h		\
802	pcramio.h	\
803	pcramvar.h	\
804	pcser_conf.h	\
805	pcser_io.h	\
806	pcser_reg.h	\
807	pcser_manuspec.h \
808	pcser_var.h
809
810SCSIHDRS=		\
811	scsi.h		\
812	scsi_address.h	\
813	scsi_ctl.h	\
814	scsi_params.h	\
815	scsi_pkt.h	\
816	scsi_resource.h	\
817	scsi_types.h	\
818	scsi_watch.h
819
820SCSICONFHDRS=		\
821	autoconf.h	\
822	device.h
823
824SCSIGENHDRS=		\
825	commands.h	\
826	dad_mode.h	\
827	inquiry.h	\
828	message.h	\
829	mode.h		\
830	persist.h	\
831	sense.h		\
832	smp_frames.h	\
833	status.h
834
835SCSIIMPLHDRS=		\
836	commands.h	\
837	inquiry.h	\
838	mode.h		\
839	sas_transport.h	\
840	sense.h		\
841	services.h	\
842	status.h	\
843	transport.h	\
844	scsi_reset_notify.h \
845	types.h		\
846	uscsi.h		\
847	usmp.h
848
849SCSITARGETSHDRS=	\
850	ses.h		\
851	sesio.h		\
852	sgendef.h	\
853	stdef.h		\
854	sddef.h		\
855	smp.h
856
857SCSICADHDRS=
858
859SCSIVHCIHDRS=		\
860	scsi_vhci.h	\
861	mpapi_impl.h	\
862	mpapi_scsi_vhci.h
863
864FCHDRS=			\
865	fc_transport.h	\
866	linkapp.h	\
867	fc.h		\
868	fcp.h		\
869	fcal_transport.h \
870	fcal.h		\
871	fcal_linkapp.h	\
872	fcio.h
873
874SATAGENHDRS=		\
875	sata_hba.h	\
876	sata_defs.h	\
877	sata_cfgadm.h
878
879SYSEVENTHDRS=		\
880	acpiev.h	\
881	ap_driver.h     \
882	dev.h		\
883	domain.h        \
884	dr.h            \
885	env.h           \
886	eventdefs.h	\
887	ipmp.h		\
888	svm.h
889
890CONTRACTHDRS=		\
891	process.h	\
892	process_impl.h	\
893	device.h	\
894	device_impl.h
895
896USBHDRS=	\
897	usba.h	\
898	usbai.h
899
900USBAUDHDRS=           \
901	usb_audio.h
902
903USBHUBDHDRS=		\
904	hub.h		\
905	hubd_impl.h
906
907USBHIDHDRS=		\
908	hid.h
909
910USBMSHDRS=		\
911	usb_bulkonly.h	\
912	usb_cbi.h
913
914USBPRNHDRS=           \
915	usb_printer.h
916
917USBCDCHDRS=		\
918	usb_cdc.h
919
920USBVIDHDRS=           \
921	usbvc.h
922
923UGENHDRS=           \
924	usb_ugen.h
925
926HOTPLUGHDRS=	\
927	hpcsvc.h	\
928	hpctrl.h
929
930HOTPLUGPCIHDRS=	\
931	pcicfg.h	\
932	pcihp.h
933
934RSMHDRS= \
935	rsm.h	\
936	rsm_common.h	\
937	rsmapi_common.h \
938	rsmpi.h	\
939	rsmpi_driver.h	\
940	rsmka_path_int.h
941
942TSOLHDRS=		\
943	label.h		\
944	label_macro.h	\
945	priv.h		\
946	tndb.h		\
947	tsyscall.h
948
949I1394HDRS=		\
950	cmd1394.h	\
951	id1394.h	\
952	ieee1212.h	\
953	ieee1394.h	\
954	ixl1394.h	\
955	s1394_impl.h	\
956	t1394.h
957
958# "cmdk" headers used on sparc
959SDKTPHDRS=		\
960	dadkio.h	\
961	fdisk.h
962
963# "cmdk" headers used on i386
964DKTPHDRS=		\
965	altsctr.h	\
966	bbh.h		\
967	cm.h		\
968	cmdev.h		\
969	cmdk.h		\
970	cmpkt.h		\
971	controller.h	\
972	dadev.h		\
973	dadk.h		\
974	dadkio.h	\
975	fctypes.h	\
976	fdisk.h		\
977	flowctrl.h	\
978	gda.h		\
979	quetypes.h	\
980	queue.h		\
981	tgcom.h		\
982	tgdk.h
983
984# "pc" header files used on i386
985PCHDRS=			\
986	avintr.h	\
987	dma_engine.h	\
988	i8272A.h	\
989	pcic_reg.h	\
990	pcic_var.h	\
991	pic.h		\
992	pit.h		\
993	rtc.h
994
995NXGEHDRS=			\
996	nxge.h			\
997	nxge_common.h		\
998	nxge_common_impl.h	\
999	nxge_defs.h		\
1000	nxge_hw.h		\
1001	nxge_impl.h		\
1002	nxge_ipp.h		\
1003	nxge_ipp_hw.h		\
1004	nxge_mac.h		\
1005	nxge_mac_hw.h		\
1006	nxge_fflp.h		\
1007	nxge_fflp_hw.h		\
1008	nxge_mii.h		\
1009	nxge_rxdma.h		\
1010	nxge_rxdma_hw.h		\
1011	nxge_txc.h		\
1012	nxge_txc_hw.h		\
1013	nxge_txdma.h		\
1014	nxge_txdma_hw.h		\
1015	nxge_virtual.h		\
1016	nxge_espc.h
1017
1018include Makefile.syshdrs
1019
1020dcam/%.check:	dcam/%.h
1021	$(DOT_H_CHECK)
1022
1023CHECKHDRS=						\
1024	$($(MACH)_HDRS:%.h=%.check)			\
1025	$(AUDIOHDRS:%.h=audio/%.check)			\
1026	$(BSCHDRS:%.h=%.check)				\
1027	$(CHKHDRS:%.h=%.check)				\
1028	$(CPUDRVHDRS:%.h=%.check)			\
1029	$(CRYPTOHDRS:%.h=crypto/%.check)		\
1030	$(DCAMHDRS:%.h=dcam/%.check)			\
1031	$(IBHDRS:%.h=ib/%.check)			\
1032	$(IBDHDRS:%.h=ib/clients/ibd/%.check)		\
1033	$(IBTLHDRS:%.h=ib/ibtl/%.check)			\
1034	$(IBTLIMPLHDRS:%.h=ib/ibtl/impl/%.check)	\
1035	$(IBNEXHDRS:%.h=ib/ibnex/%.check)	\
1036	$(IBMGTHDRS:%.h=ib/mgt/%.check)			\
1037	$(IBMFHDRS:%.h=ib/mgt/ibmf/%.check)		\
1038	$(TAVORHDRS:%.h=ib/adapters/tavor/%.check)	\
1039	$(ISOHDRS:%.h=iso/%.check)			\
1040	$(FMHDRS:%.h=fm/%.check)			\
1041	$(FMFSHDRS:%.h=fm/fs/%.check)			\
1042	$(FMIOHDRS:%.h=fm/io/%.check)			\
1043	$(FSHDRS:%.h=fs/%.check)			\
1044	$(LVMHDRS:%.h=lvm/%.check)			\
1045	$(PCMCIAHDRS:%.h=pcmcia/%.check)		\
1046	$(SCSIHDRS:%.h=scsi/%.check)			\
1047	$(SCSICONHDRS:%.h=scsi/conf/%.check)		\
1048	$(SCSIIMPLHDRS:%.h=scsi/impl/%.check)		\
1049	$(SCSITARGETSHDRS:%.h=scsi/targets/%.check)	\
1050	$(SCSIVHCIHDRS:%.h=scsi/adapters/%.check)	\
1051	$(FCHDRS:%.h=fc4/%.check)			\
1052	$(SATAGENHDRS:%.h=sata/%.check)			\
1053	$(SYSEVENTHDRS:%.h=sysevent/%.check)            \
1054	$(CONTRACTHDRS:%.h=contract/%.check)            \
1055	$(USBAUDHDRS:%.h=usb/clients/audio/%.check)   \
1056	$(USBHUBDHDRS:%.h=usb/hubd/%.check)		\
1057	$(USBHIDHDRS:%.h=usb/clients/hid/%.check)	\
1058	$(USBMSHDRS:%.h=usb/clients/mass_storage/%.check)	\
1059	$(USBPRNHDRS:%.h=usb/clients/printer/%.check)   \
1060	$(USBCDCHDRS:%.h=usb/clients/usbcdc/%.check)	\
1061	$(USBVIDHDRS:%.h=usb/clients/video/usbvc/%.check)   \
1062	$(UGENHDRS:%.h=usb/clients/ugen/%.check)   \
1063	$(USBHDRS:%.h=usb/%.check)                      \
1064	$(I1394HDRS:%.h=1394/%.check)			\
1065	$(RSMHDRS:%.h=rsm/%.check)			\
1066	$(TSOLHDRS:%.h=tsol/%.check)			\
1067	$(NXGEHDRS:%.h=nxge/%.check)
1068
1069
1070.KEEP_STATE:
1071
1072.PARALLEL:			\
1073	$(CHECKHDRS)		\
1074	$(ROOTHDRS)		\
1075	$(ROOTAUDHDRS)		\
1076	$(ROOTCRYPTOHDRS)	\
1077	$(ROOTDCAMHDRS)		\
1078	$(ROOTISOHDRS)		\
1079	$(ROOTFMHDRS)		\
1080	$(ROOTFMIOHDRS)		\
1081	$(ROOTFMFSHDRS)		\
1082	$(ROOTFSHDRS)		\
1083	$(ROOTIBDHDRS)		\
1084	$(ROOTIBHDRS)		\
1085	$(ROOTIBTLHDRS)		\
1086	$(ROOTIBTLIMPLHDRS)	\
1087	$(ROOTIBNEXHDRS)	\
1088	$(ROOTIBMGTHDRS)	\
1089	$(ROOTIBMFHDRS)		\
1090	$(ROOTTAVORHDRS)	\
1091	$(ROOTLVMHDRS)		\
1092	$(ROOTPCMCIAHDRS)	\
1093	$(ROOTSCSIHDRS)		\
1094	$(ROOTSCSICONFHDRS)	\
1095	$(ROOTSCSIGENHDRS)	\
1096	$(ROOTSCSIIMPLHDRS)	\
1097	$(ROOTSCSIVHCIHDRS)	\
1098	$(ROOTFCHDRS)		\
1099	$(ROOTSYSEVENTHDRS)     \
1100	$(ROOTCONTRACTHDRS)     \
1101	$(ROOTUSBHDRS)		\
1102	$(ROOTUSBAUDHDRS)	\
1103	$(ROOTUSBHUBDHDRS)	\
1104	$(ROOTUSBHIDHDRS)	\
1105	$(ROOTUSBMSHDRS)	\
1106	$(ROOTUSBPRNHDRS)       \
1107	$(ROOTUSBCDCHDRS)       \
1108	$(ROOTUSBVIDHDRS)       \
1109	$(ROOTUGENHDRS)		\
1110	$(ROOT1394HDRS)         \
1111	$(ROOTHOTPLUGHDRS)	\
1112	$(ROOTHOTPLUGPCIHDRS)	\
1113	$(ROOTRSMHDRS)		\
1114	$(ROOTTSOLHDRS)		\
1115	$($(MACH)_ROOTHDRS)
1116
1117
1118install_h:			\
1119	$(ROOTDIRS)		\
1120	LVMDERIVED_H		\
1121	.WAIT			\
1122	$(ROOTHDRS)		\
1123	$(ROOTAUDHDRS)		\
1124	$(ROOTCRYPTOHDRS)	\
1125	$(ROOTDCAMHDRS)		\
1126	$(ROOTISOHDRS)		\
1127	$(ROOTFMHDRS)		\
1128	$(ROOTFMFSHDRS)		\
1129	$(ROOTFMIOHDRS)		\
1130	$(ROOTFSHDRS)		\
1131	$(ROOTIBDHDRS)		\
1132	$(ROOTIBHDRS)		\
1133	$(ROOTIBTLHDRS)		\
1134	$(ROOTIBTLIMPLHDRS)	\
1135	$(ROOTIBNEXHDRS)	\
1136	$(ROOTIBMGTHDRS)	\
1137	$(ROOTIBMFHDRS)		\
1138	$(ROOTTAVORHDRS)	\
1139	$(ROOTLVMHDRS)		\
1140	$(ROOTPCMCIAHDRS)	\
1141	$(ROOTSCSIHDRS)		\
1142	$(ROOTSCSICONFHDRS)	\
1143	$(ROOTSCSIGENHDRS)	\
1144	$(ROOTSCSIIMPLHDRS)	\
1145	$(ROOTSCSIVHCIHDRS)	\
1146	$(ROOTFCHDRS)		\
1147	$(ROOTSYSEVENTHDRS)     \
1148	$(ROOTCONTRACTHDRS)     \
1149	$(ROOTUSBHDRS)		\
1150	$(ROOTUSBAUDHDRS)	\
1151	$(ROOTUSBHUBDHDRS)	\
1152	$(ROOTUSBHIDHDRS)	\
1153	$(ROOTUSBMSHDRS)	\
1154	$(ROOTUSBPRNHDRS)       \
1155	$(ROOTUSBCDCHDRS)       \
1156	$(ROOTUSBVIDHDRS)       \
1157	$(ROOTUGENHDRS)		\
1158	$(ROOT1394HDRS)         \
1159	$(ROOTHOTPLUGHDRS)	\
1160	$(ROOTHOTPLUGPCIHDRS)	\
1161	$(ROOTRSMHDRS)		\
1162	$(ROOTTSOLHDRS)		\
1163	$($(MACH)_ROOTHDRS)
1164
1165all_h: $(GENHDRS)
1166
1167priv_const.h: $(PRIVS_AWK) $(PRIVS_DEF)
1168	$(NAWK) -f $(PRIVS_AWK) < $(PRIVS_DEF) -v privhfile=$@
1169
1170priv_names.h: $(PRIVS_AWK) $(PRIVS_DEF)
1171	$(NAWK) -f $(PRIVS_AWK) < $(PRIVS_DEF) -v pubhfile=$@
1172
1173LVMDERIVED_H:
1174	cd $(SRC)/uts/common/sys/lvm; pwd; $(MAKE)
1175
1176check:	$(CHECKHDRS)
1177
1178FRC:
1179
1180# EXPORT DELETE START
1181EXPORT_SRC:
1182	$(RM) wanboot_impl.h+ Makefile+
1183	sed -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
1184		< wanboot_impl.h > wanboot_impl.h+
1185	$(MV) wanboot_impl.h+ wanboot_impl.h
1186	sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
1187		< Makefile > Makefile+
1188	$(RM) Makefile
1189	$(MV) Makefile+ Makefile
1190	$(CHMOD) 444 Makefile wanboot_impl.h
1191# EXPORT DELETE END
1192