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 (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved. 23# Copyright 2014, Joyent, Inc. All rights reserved. 24# Copyright 2013 Garrett D'Amore <garrett@damore.org> 25# Copyright 2013 Saso Kiselkov. All rights reserved. 26# Copyright 2015 Nexenta Systems, Inc. All rights reserved. 27# Copyright 2015 Igor Kozhukhov <ikozhukhov@gmail.com> 28# 29 30include $(SRC)/uts/Makefile.uts 31 32FILEMODE=644 33 34# 35# Note that the following headers are present in the kernel but 36# neither installed or shipped as part of the product: 37# cpuid_drv.h: Private interface for cpuid consumers 38# unix_bb_info.h: Private interface to kcov 39# nvme.h Private interface to nvme 40# 41 42i386_HDRS= \ 43 asy.h \ 44 fd_debug.h \ 45 fdc.h \ 46 fdmedia.h \ 47 gfx_private.h \ 48 mouse.h \ 49 nvme.h \ 50 ucode.h 51 52sparc_HDRS= \ 53 mouse.h \ 54 scsi/targets/ssddef.h \ 55 $(MDESCHDRS) 56 57# Generated headers 58GENHDRS= \ 59 priv_const.h \ 60 priv_names.h \ 61 usb/usbdevs.h 62 63CHKHDRS= \ 64 acpi_drv.h \ 65 acct.h \ 66 acctctl.h \ 67 acl.h \ 68 acl_impl.h \ 69 aggr.h \ 70 aggr_impl.h \ 71 aio.h \ 72 aio_impl.h \ 73 aio_req.h \ 74 aiocb.h \ 75 ascii.h \ 76 asynch.h \ 77 atomic.h \ 78 attr.h \ 79 audio.h \ 80 audioio.h \ 81 autoconf.h \ 82 auxv.h \ 83 auxv_386.h \ 84 auxv_SPARC.h \ 85 avl.h \ 86 avl_impl.h \ 87 bitmap.h \ 88 bitset.h \ 89 bl.h \ 90 blkdev.h \ 91 bofi.h \ 92 bofi_impl.h \ 93 bpp_io.h \ 94 bootstat.h \ 95 brand.h \ 96 buf.h \ 97 bufmod.h \ 98 bustypes.h \ 99 byteorder.h \ 100 callb.h \ 101 callo.h \ 102 cap_util.h \ 103 cpucaps.h \ 104 cpucaps_impl.h \ 105 ccompile.h \ 106 cdio.h \ 107 cladm.h \ 108 class.h \ 109 clconf.h \ 110 clock_impl.h \ 111 cmlb.h \ 112 cmn_err.h \ 113 compress.h \ 114 condvar.h \ 115 condvar_impl.h \ 116 conf.h \ 117 consdev.h \ 118 console.h \ 119 consplat.h \ 120 vt.h \ 121 vtdaemon.h \ 122 kd.h \ 123 contract.h \ 124 contract_impl.h \ 125 copyops.h \ 126 core.h \ 127 corectl.h \ 128 cpc_impl.h \ 129 cpc_pcbe.h \ 130 cpr.h \ 131 cpupart.h \ 132 cpuvar.h \ 133 crc32.h \ 134 cred.h \ 135 cred_impl.h \ 136 crtctl.h \ 137 cryptmod.h \ 138 csiioctl.h \ 139 ctf.h \ 140 ctfs.h \ 141 ctfs_impl.h \ 142 ctf_api.h \ 143 ctype.h \ 144 cyclic.h \ 145 cyclic_impl.h \ 146 dacf.h \ 147 dacf_impl.h \ 148 damap.h \ 149 damap_impl.h \ 150 dc_ki.h \ 151 ddi.h \ 152 ddifm.h \ 153 ddifm_impl.h \ 154 ddi_hp.h \ 155 ddi_hp_impl.h \ 156 ddi_intr.h \ 157 ddi_intr_impl.h \ 158 ddi_impldefs.h \ 159 ddi_implfuncs.h \ 160 ddi_obsolete.h \ 161 ddi_periodic.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 devfm.h \ 173 devid_cache.h \ 174 devinfo_impl.h \ 175 devops.h \ 176 devpolicy.h \ 177 devpoll.h \ 178 dirent.h \ 179 disp.h \ 180 dkbad.h \ 181 dkio.h \ 182 dklabel.h \ 183 dl.h \ 184 dlpi.h \ 185 dld.h \ 186 dld_impl.h \ 187 dld_ioc.h \ 188 dls.h \ 189 dls_mgmt.h \ 190 dls_impl.h \ 191 dma_i8237A.h \ 192 dnlc.h \ 193 door.h \ 194 door_data.h \ 195 door_impl.h \ 196 dtrace.h \ 197 dtrace_impl.h \ 198 dumpadm.h \ 199 dumphdr.h \ 200 ecppsys.h \ 201 ecppio.h \ 202 ecppreg.h \ 203 ecppvar.h \ 204 edonr.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 epoll.h \ 217 errno.h \ 218 errorq.h \ 219 errorq_impl.h \ 220 esunddi.h \ 221 ethernet.h \ 222 euc.h \ 223 eucioctl.h \ 224 eventfd.h \ 225 exacct.h \ 226 exacct_catalog.h \ 227 exacct_impl.h \ 228 exec.h \ 229 exechdr.h \ 230 extdirent.h \ 231 fault.h \ 232 fasttrap.h \ 233 fasttrap_impl.h \ 234 fbio.h \ 235 fbuf.h \ 236 fcntl.h \ 237 fct.h \ 238 fct_defines.h \ 239 fctio.h \ 240 fdbuffer.h \ 241 fdio.h \ 242 feature_tests.h \ 243 fem.h \ 244 file.h \ 245 filio.h \ 246 flock.h \ 247 flock_impl.h \ 248 fork.h \ 249 fss.h \ 250 fsspriocntl.h \ 251 fsid.h \ 252 fssnap.h \ 253 fssnap_if.h \ 254 fstyp.h \ 255 ftrace.h \ 256 fx.h \ 257 fxpriocntl.h \ 258 gfs.h \ 259 gld.h \ 260 gldpriv.h \ 261 group.h \ 262 hdio.h \ 263 hook.h \ 264 hook_event.h \ 265 hook_impl.h \ 266 hwconf.h \ 267 ia.h \ 268 iapriocntl.h \ 269 ibpart.h \ 270 id32.h \ 271 idmap.h \ 272 ieeefp.h \ 273 id_space.h \ 274 instance.h \ 275 int_const.h \ 276 int_fmtio.h \ 277 int_limits.h \ 278 int_types.h \ 279 inttypes.h \ 280 ioccom.h \ 281 ioctl.h \ 282 ipc.h \ 283 ipc_impl.h \ 284 ipc_rctl.h \ 285 ipd.h \ 286 ipmi.h \ 287 isa_defs.h \ 288 iscsi_authclient.h \ 289 iscsi_authclientglue.h \ 290 iscsi_protocol.h \ 291 jioctl.h \ 292 kbd.h \ 293 kbdreg.h \ 294 kbio.h \ 295 kcpc.h \ 296 kdi.h \ 297 kdi_impl.h \ 298 kiconv.h \ 299 kiconv_big5_utf8.h \ 300 kiconv_cck_common.h \ 301 kiconv_cp950hkscs_utf8.h \ 302 kiconv_emea1.h \ 303 kiconv_emea2.h \ 304 kiconv_euckr_utf8.h \ 305 kiconv_euctw_utf8.h \ 306 kiconv_gb18030_utf8.h \ 307 kiconv_gb2312_utf8.h \ 308 kiconv_hkscs_utf8.h \ 309 kiconv_ja.h \ 310 kiconv_ja_jis_to_unicode.h \ 311 kiconv_ja_unicode_to_jis.h \ 312 kiconv_ko.h \ 313 kiconv_latin1.h \ 314 kiconv_sc.h \ 315 kiconv_tc.h \ 316 kiconv_uhc_utf8.h \ 317 kiconv_utf8_big5.h \ 318 kiconv_utf8_cp950hkscs.h \ 319 kiconv_utf8_euckr.h \ 320 kiconv_utf8_euctw.h \ 321 kiconv_utf8_gb18030.h \ 322 kiconv_utf8_gb2312.h \ 323 kiconv_utf8_hkscs.h \ 324 kiconv_utf8_uhc.h \ 325 kidmap.h \ 326 klpd.h \ 327 klwp.h \ 328 kmdb.h \ 329 kmem.h \ 330 kmem_impl.h \ 331 kobj.h \ 332 kobj_impl.h \ 333 ksocket.h \ 334 kstat.h \ 335 kstr.h \ 336 ksyms.h \ 337 ksynch.h \ 338 ldterm.h \ 339 lgrp.h \ 340 lgrp_user.h \ 341 libc_kernel.h \ 342 link.h \ 343 list.h \ 344 list_impl.h \ 345 llc1.h \ 346 loadavg.h \ 347 lock.h \ 348 lockfs.h \ 349 lockstat.h \ 350 lofi.h \ 351 log.h \ 352 logindmux.h \ 353 logindmux_impl.h \ 354 lwp.h \ 355 lwp_timer_impl.h \ 356 lwp_upimutex_impl.h \ 357 lpif.h \ 358 mac.h \ 359 mac_client.h \ 360 mac_client_impl.h \ 361 mac_ether.h \ 362 mac_flow.h \ 363 mac_flow_impl.h \ 364 mac_impl.h \ 365 mac_provider.h \ 366 mac_soft_ring.h \ 367 mac_stat.h \ 368 machelf.h \ 369 map.h \ 370 md4.h \ 371 md5.h \ 372 md5_consts.h \ 373 mdi_impldefs.h \ 374 mem.h \ 375 mem_config.h \ 376 memlist.h \ 377 mkdev.h \ 378 mhd.h \ 379 mii.h \ 380 miiregs.h \ 381 mixer.h \ 382 mman.h \ 383 mmapobj.h \ 384 mntent.h \ 385 mntio.h \ 386 mnttab.h \ 387 modctl.h \ 388 mode.h \ 389 model.h \ 390 modhash.h \ 391 modhash_impl.h \ 392 mount.h \ 393 mouse.h \ 394 msacct.h \ 395 msg.h \ 396 msg_impl.h \ 397 msio.h \ 398 msreg.h \ 399 mtio.h \ 400 multidata.h \ 401 multidata_impl.h \ 402 mutex.h \ 403 nbmlock.h \ 404 ndifm.h \ 405 ndi_impldefs.h \ 406 net80211.h \ 407 net80211_crypto.h \ 408 net80211_ht.h \ 409 net80211_proto.h \ 410 netconfig.h \ 411 neti.h \ 412 netstack.h \ 413 nexusdefs.h \ 414 note.h \ 415 null.h \ 416 nvme.h \ 417 nvpair.h \ 418 nvpair_impl.h \ 419 objfs.h \ 420 objfs_impl.h \ 421 ontrap.h \ 422 open.h \ 423 openpromio.h \ 424 panic.h \ 425 param.h \ 426 pathconf.h \ 427 pathname.h \ 428 pattr.h \ 429 queue.h \ 430 serializer.h \ 431 pbio.h \ 432 pccard.h \ 433 pci.h \ 434 pcie.h \ 435 pci_impl.h \ 436 pci_tools.h \ 437 pcmcia.h \ 438 pctypes.h \ 439 pfmod.h \ 440 pg.h \ 441 pghw.h \ 442 physmem.h \ 443 pkp_hash.h \ 444 pm.h \ 445 policy.h \ 446 poll.h \ 447 poll_impl.h \ 448 pool.h \ 449 pool_impl.h \ 450 pool_pset.h \ 451 port.h \ 452 port_impl.h \ 453 port_kernel.h \ 454 portif.h \ 455 ppmio.h \ 456 pppt_ic_if.h \ 457 pppt_ioctl.h \ 458 priocntl.h \ 459 priv.h \ 460 priv_impl.h \ 461 prnio.h \ 462 proc.h \ 463 processor.h \ 464 procfs.h \ 465 procset.h \ 466 project.h \ 467 protosw.h \ 468 prsystm.h \ 469 pset.h \ 470 pshot.h \ 471 ptem.h \ 472 ptms.h \ 473 ptyvar.h \ 474 raidioctl.h \ 475 ramdisk.h \ 476 random.h \ 477 rctl.h \ 478 rctl_impl.h \ 479 rds.h \ 480 reboot.h \ 481 refstr.h \ 482 refstr_impl.h \ 483 resource.h \ 484 rlioctl.h \ 485 rt.h \ 486 rtpriocntl.h \ 487 rwlock.h \ 488 rwlock_impl.h \ 489 rwstlock.h \ 490 sad.h \ 491 schedctl.h \ 492 sdt.h \ 493 select.h \ 494 sem.h \ 495 sem_impl.h \ 496 sema_impl.h \ 497 semaphore.h \ 498 sendfile.h \ 499 ser_sync.h \ 500 session.h \ 501 sha1.h \ 502 sha1_consts.h \ 503 sha2.h \ 504 sha2_consts.h \ 505 share.h \ 506 shm.h \ 507 shm_impl.h \ 508 sid.h \ 509 siginfo.h \ 510 signal.h \ 511 signalfd.h \ 512 skein.h \ 513 sleepq.h \ 514 smbios.h \ 515 smbios_impl.h \ 516 sobject.h \ 517 socket.h \ 518 socket_impl.h \ 519 socket_proto.h \ 520 socketvar.h \ 521 sockfilter.h \ 522 sockio.h \ 523 soundcard.h \ 524 squeue.h \ 525 squeue_impl.h \ 526 srn.h \ 527 sservice.h \ 528 stat.h \ 529 statfs.h \ 530 statvfs.h \ 531 stdbool.h \ 532 stddef.h \ 533 stdint.h \ 534 stermio.h \ 535 stmf.h \ 536 stmf_defines.h \ 537 stmf_ioctl.h \ 538 stmf_sbd_ioctl.h \ 539 stream.h \ 540 strft.h \ 541 strlog.h \ 542 strmdep.h \ 543 stropts.h \ 544 strredir.h \ 545 strstat.h \ 546 strsubr.h \ 547 strsun.h \ 548 strtty.h \ 549 sunddi.h \ 550 sunldi.h \ 551 sunldi_impl.h \ 552 sunmdi.h \ 553 sunndi.h \ 554 sunos_dhcp_class.h \ 555 sunpm.h \ 556 suntpi.h \ 557 suntty.h \ 558 swap.h \ 559 synch.h \ 560 sysdc.h \ 561 sysdc_impl.h \ 562 syscall.h \ 563 sysconf.h \ 564 sysconfig.h \ 565 sysevent.h \ 566 sysevent_impl.h \ 567 sysinfo.h \ 568 syslog.h \ 569 sysmacros.h \ 570 sysmsg_impl.h \ 571 systeminfo.h \ 572 systm.h \ 573 task.h \ 574 taskq.h \ 575 taskq_impl.h \ 576 t_kuser.h \ 577 t_lock.h \ 578 telioctl.h \ 579 termio.h \ 580 termios.h \ 581 termiox.h \ 582 thread.h \ 583 ticlts.h \ 584 ticots.h \ 585 ticotsord.h \ 586 tihdr.h \ 587 time.h \ 588 time_impl.h \ 589 time_std_impl.h \ 590 timeb.h \ 591 timer.h \ 592 timerfd.h \ 593 times.h \ 594 timex.h \ 595 timod.h \ 596 tirdwr.h \ 597 tiuser.h \ 598 tl.h \ 599 tnf.h \ 600 tnf_com.h \ 601 tnf_probe.h \ 602 tnf_writer.h \ 603 todio.h \ 604 tpicommon.h \ 605 ts.h \ 606 tspriocntl.h \ 607 ttcompat.h \ 608 ttold.h \ 609 tty.h \ 610 ttychars.h \ 611 ttydev.h \ 612 tuneable.h \ 613 turnstile.h \ 614 types.h \ 615 types32.h \ 616 tzfile.h \ 617 u8_textprep.h \ 618 u8_textprep_data.h \ 619 uadmin.h \ 620 ucred.h \ 621 uio.h \ 622 ulimit.h \ 623 un.h \ 624 unistd.h \ 625 user.h \ 626 ustat.h \ 627 utime.h \ 628 utsname.h \ 629 utssys.h \ 630 uuid.h \ 631 va_impl.h \ 632 va_list.h \ 633 var.h \ 634 varargs.h \ 635 vfs.h \ 636 vfs_opreg.h \ 637 vfstab.h \ 638 vgareg.h \ 639 videodev2.h \ 640 visual_io.h \ 641 vlan.h \ 642 vm.h \ 643 vm_usage.h \ 644 vmem.h \ 645 vmem_impl.h \ 646 vmsystm.h \ 647 vnic.h \ 648 vnic_impl.h \ 649 vnode.h \ 650 vscan.h \ 651 vtoc.h \ 652 vtrace.h \ 653 vuid_event.h \ 654 vuid_wheel.h \ 655 vuid_queue.h \ 656 vuid_state.h \ 657 vuid_store.h \ 658 wait.h \ 659 waitq.h \ 660 wanboot_impl.h \ 661 watchpoint.h \ 662 winlockio.h \ 663 zcons.h \ 664 zone.h \ 665 xti_inet.h \ 666 xti_osi.h \ 667 xti_xtiopt.h \ 668 zmod.h 669 670HDRS= \ 671 $(GENHDRS) \ 672 $(CHKHDRS) 673 674AUDIOHDRS= \ 675 ac97.h \ 676 audio_common.h \ 677 audio_driver.h \ 678 audio_oss.h \ 679 g711.h 680 681AVHDRS= \ 682 iec61883.h 683 684BSCHDRS= \ 685 bscbus.h \ 686 bscv_impl.h \ 687 lom_ebuscodes.h \ 688 lom_io.h \ 689 lom_priv.h \ 690 lombus.h 691 692MDESCHDRS= \ 693 mdesc.h \ 694 mdesc_impl.h 695 696CPUDRVHDRS= \ 697 cpudrv.h 698 699CRYPTOHDRS= \ 700 elfsign.h \ 701 ioctl.h \ 702 ioctladmin.h \ 703 common.h \ 704 impl.h \ 705 spi.h \ 706 api.h \ 707 ops_impl.h \ 708 sched_impl.h 709 710DCAMHDRS= \ 711 dcam1394_io.h 712 713IBHDRS= \ 714 ib_types.h \ 715 ib_pkt_hdrs.h 716 717IBTLHDRS= \ 718 ibtl_types.h \ 719 ibtl_status.h \ 720 ibti.h \ 721 ibti_cm.h \ 722 ibci.h \ 723 ibti_common.h \ 724 ibvti.h \ 725 ibtl_ci_types.h 726 727IBTLIMPLHDRS= \ 728 ibtl_util.h 729 730IBNEXHDRS= \ 731 ibnex_devctl.h 732 733IBMFHDRS= \ 734 ibmf.h \ 735 ibmf_msg.h \ 736 ibmf_saa.h \ 737 ibmf_utils.h 738 739IBMGTHDRS= \ 740 ib_dm_attr.h \ 741 ib_mad.h \ 742 sm_attr.h \ 743 sa_recs.h 744 745IBDHDRS= \ 746 ibd.h 747 748OFHDRS= \ 749 ofa_solaris.h \ 750 ofed_kernel.h 751 752RDMAHDRS= \ 753 ib_addr.h \ 754 ib_user_mad.h \ 755 ib_user_sa.h \ 756 ib_user_verbs.h \ 757 ib_verbs.h \ 758 rdma_cm.h \ 759 rdma_user_cm.h 760 761SOL_UVERBSHDRS= \ 762 sol_uverbs.h \ 763 sol_uverbs2ucma.h \ 764 sol_uverbs_comp.h \ 765 sol_uverbs_hca.h \ 766 sol_uverbs_qp.h \ 767 sol_uverbs_event.h 768 769SOL_UMADHDRS= \ 770 sol_umad.h 771 772SOL_UCMAHDRS= \ 773 sol_ucma.h \ 774 sol_rdma_user_cm.h 775 776SOL_OFSHDRS= \ 777 sol_cma.h \ 778 sol_ib_cma.h \ 779 sol_ofs_common.h \ 780 sol_kverb_impl.h 781 782TAVORHDRS= \ 783 tavor_ioctl.h 784 785HERMONHDRS= \ 786 hermon_ioctl.h 787 788MLNXHDRS= \ 789 mlnx_umap.h 790 791IDMHDRS= \ 792 idm.h \ 793 idm_impl.h \ 794 idm_so.h \ 795 idm_text.h \ 796 idm_transport.h \ 797 idm_conn_sm.h 798 799ISCSITHDRS= \ 800 radius_packet.h \ 801 radius_protocol.h \ 802 chap.h \ 803 isns_protocol.h \ 804 iscsi_if.h \ 805 iscsit_common.h 806 807ISOHDRS= \ 808 signal_iso.h 809 810FMHDRS= \ 811 protocol.h \ 812 util.h 813 814FMFSHDRS= \ 815 zfs.h 816 817FMIOHDRS= \ 818 ddi.h \ 819 disk.h \ 820 pci.h \ 821 scsi.h \ 822 sun4upci.h \ 823 opl_mc_fm.h 824 825FSHDRS= \ 826 autofs.h \ 827 decomp.h \ 828 dv_node.h \ 829 sdev_impl.h \ 830 fifonode.h \ 831 hsfs_isospec.h \ 832 hsfs_node.h \ 833 hsfs_rrip.h \ 834 hsfs_spec.h \ 835 hsfs_susp.h \ 836 lofs_info.h \ 837 lofs_node.h \ 838 mntdata.h \ 839 namenode.h \ 840 pc_dir.h \ 841 pc_fs.h \ 842 pc_label.h \ 843 pc_node.h \ 844 pxfs_ki.h \ 845 snode.h \ 846 swapnode.h \ 847 tmp.h \ 848 tmpnode.h \ 849 udf_inode.h \ 850 udf_volume.h \ 851 ufs_acl.h \ 852 ufs_bio.h \ 853 ufs_filio.h \ 854 ufs_fs.h \ 855 ufs_fsdir.h \ 856 ufs_inode.h \ 857 ufs_lockfs.h \ 858 ufs_log.h \ 859 ufs_mount.h \ 860 ufs_panic.h \ 861 ufs_prot.h \ 862 ufs_quota.h \ 863 ufs_snap.h \ 864 ufs_trans.h \ 865 zfs.h \ 866 zut.h 867 868SCSIHDRS= \ 869 scsi.h \ 870 scsi_address.h \ 871 scsi_ctl.h \ 872 scsi_fm.h \ 873 scsi_params.h \ 874 scsi_pkt.h \ 875 scsi_resource.h \ 876 scsi_types.h \ 877 scsi_watch.h 878 879SCSICONFHDRS= \ 880 autoconf.h \ 881 device.h 882 883SCSIGENHDRS= \ 884 commands.h \ 885 dad_mode.h \ 886 inquiry.h \ 887 message.h \ 888 mode.h \ 889 persist.h \ 890 sense.h \ 891 sff_frames.h \ 892 smp_frames.h \ 893 status.h 894 895SCSIIMPLHDRS= \ 896 commands.h \ 897 inquiry.h \ 898 mode.h \ 899 scsi_reset_notify.h \ 900 scsi_sas.h \ 901 sense.h \ 902 services.h \ 903 smp_transport.h \ 904 spc3_types.h \ 905 status.h \ 906 transport.h \ 907 types.h \ 908 uscsi.h \ 909 usmp.h 910 911SCSITARGETSHDRS= \ 912 ses.h \ 913 sesio.h \ 914 sgendef.h \ 915 stdef.h \ 916 sddef.h \ 917 smp.h 918 919SCSIADHDRS= 920 921SCSICADHDRS= 922 923SCSIISCSIHDRS= \ 924 iscsi_door.h \ 925 iscsi_if.h 926 927SCSIVHCIHDRS= \ 928 scsi_vhci.h \ 929 mpapi_impl.h \ 930 mpapi_scsi_vhci.h 931 932SDCARDHDRS= \ 933 sda.h \ 934 sda_impl.h \ 935 sda_ioctl.h 936 937FC4HDRS= \ 938 fc_transport.h \ 939 linkapp.h \ 940 fc.h \ 941 fcp.h \ 942 fcal_transport.h \ 943 fcal.h \ 944 fcal_linkapp.h \ 945 fcio.h 946 947FCHDRS= \ 948 fc.h \ 949 fcio.h \ 950 fc_types.h \ 951 fc_appif.h 952 953FCIMPLHDRS= \ 954 fc_error.h \ 955 fcph.h 956 957FCULPHDRS= \ 958 fcp_util.h \ 959 fcsm.h 960 961SATAGENHDRS= \ 962 sata_hba.h \ 963 sata_defs.h \ 964 sata_cfgadm.h 965 966SYSEVENTHDRS= \ 967 ap_driver.h \ 968 dev.h \ 969 domain.h \ 970 dr.h \ 971 env.h \ 972 eventdefs.h \ 973 ipmp.h \ 974 pwrctl.h \ 975 vrrp.h 976 977CONTRACTHDRS= \ 978 process.h \ 979 process_impl.h \ 980 device.h \ 981 device_impl.h 982 983USBHDRS= \ 984 usba.h \ 985 usbai.h 986 987USBAUDHDRS= \ 988 usb_audio.h 989 990USBHUBDHDRS= \ 991 hub.h \ 992 hubd_impl.h 993 994USBHIDHDRS= \ 995 hid.h 996 997USBMSHDRS= \ 998 usb_bulkonly.h \ 999 usb_cbi.h 1000 1001USBPRNHDRS= \ 1002 usb_printer.h 1003 1004USBCDCHDRS= \ 1005 usb_cdc.h 1006 1007USBVIDHDRS= \ 1008 usbvc.h 1009 1010USBWCMHDRS= \ 1011 usbwcm.h 1012 1013UGENHDRS= \ 1014 usb_ugen.h 1015 1016HOTPLUGHDRS= \ 1017 hpcsvc.h \ 1018 hpctrl.h 1019 1020HOTPLUGPCIHDRS= \ 1021 pcicfg.h \ 1022 pcihp.h 1023 1024RSMHDRS= \ 1025 rsm.h \ 1026 rsm_common.h \ 1027 rsmapi_common.h \ 1028 rsmpi.h \ 1029 rsmpi_driver.h \ 1030 rsmka_path_int.h 1031 1032TSOLHDRS= \ 1033 label.h \ 1034 label_macro.h \ 1035 priv.h \ 1036 tndb.h \ 1037 tsyscall.h 1038 1039I1394HDRS= \ 1040 cmd1394.h \ 1041 id1394.h \ 1042 ieee1212.h \ 1043 ieee1394.h \ 1044 ixl1394.h \ 1045 s1394_impl.h \ 1046 t1394.h 1047 1048# "cmdk" headers used on sparc 1049SDKTPHDRS= \ 1050 dadkio.h \ 1051 fdisk.h 1052 1053# "cmdk" headers used on i386 1054DKTPHDRS= \ 1055 altsctr.h \ 1056 bbh.h \ 1057 cm.h \ 1058 cmdev.h \ 1059 cmdk.h \ 1060 cmpkt.h \ 1061 controller.h \ 1062 dadev.h \ 1063 dadk.h \ 1064 dadkio.h \ 1065 fctypes.h \ 1066 fdisk.h \ 1067 flowctrl.h \ 1068 gda.h \ 1069 quetypes.h \ 1070 queue.h \ 1071 tgcom.h \ 1072 tgdk.h 1073 1074# "pc" header files used on i386 1075PCHDRS= \ 1076 avintr.h \ 1077 dma_engine.h \ 1078 i8272A.h \ 1079 pcic_reg.h \ 1080 pcic_var.h \ 1081 pic.h \ 1082 pit.h \ 1083 rtc.h 1084 1085NXGEHDRS= \ 1086 nxge.h \ 1087 nxge_common.h \ 1088 nxge_common_impl.h \ 1089 nxge_defs.h \ 1090 nxge_hw.h \ 1091 nxge_impl.h \ 1092 nxge_ipp.h \ 1093 nxge_ipp_hw.h \ 1094 nxge_mac.h \ 1095 nxge_mac_hw.h \ 1096 nxge_fflp.h \ 1097 nxge_fflp_hw.h \ 1098 nxge_mii.h \ 1099 nxge_rxdma.h \ 1100 nxge_rxdma_hw.h \ 1101 nxge_txc.h \ 1102 nxge_txc_hw.h \ 1103 nxge_txdma.h \ 1104 nxge_txdma_hw.h \ 1105 nxge_virtual.h \ 1106 nxge_espc.h 1107 1108include Makefile.syshdrs 1109 1110dcam/%.check: dcam/%.h 1111 $(DOT_H_CHECK) 1112 1113CHECKHDRS= \ 1114 $($(MACH)_HDRS:%.h=%.check) \ 1115 $(AUDIOHDRS:%.h=audio/%.check) \ 1116 $(AVHDRS:%.h=av/%.check) \ 1117 $(BSCHDRS:%.h=%.check) \ 1118 $(CHKHDRS:%.h=%.check) \ 1119 $(CPUDRVHDRS:%.h=%.check) \ 1120 $(CRYPTOHDRS:%.h=crypto/%.check) \ 1121 $(DCAMHDRS:%.h=dcam/%.check) \ 1122 $(FC4HDRS:%.h=fc4/%.check) \ 1123 $(FCHDRS:%.h=fibre-channel/%.check) \ 1124 $(FCIMPLHDRS:%.h=fibre-channel/impl/%.check) \ 1125 $(FCULPHDRS:%.h=fibre-channel/ulp/%.check) \ 1126 $(IBHDRS:%.h=ib/%.check) \ 1127 $(IBDHDRS:%.h=ib/clients/ibd/%.check) \ 1128 $(IBTLHDRS:%.h=ib/ibtl/%.check) \ 1129 $(IBTLIMPLHDRS:%.h=ib/ibtl/impl/%.check) \ 1130 $(IBNEXHDRS:%.h=ib/ibnex/%.check) \ 1131 $(IBMGTHDRS:%.h=ib/mgt/%.check) \ 1132 $(IBMFHDRS:%.h=ib/mgt/ibmf/%.check) \ 1133 $(OFHDRS:%.h=ib/clients/of/%.check) \ 1134 $(RDMAHDRS:%.h=ib/clients/of/rdma/%.check) \ 1135 $(SOL_UVERBSHDRS:%.h=ib/clients/of/sol_uverbs/%.check) \ 1136 $(SOL_UCMAHDRS:%.h=ib/clients/of/sol_ucma/%.check) \ 1137 $(SOL_OFSHDRS:%.h=ib/clients/of/sol_ofs/%.check) \ 1138 $(TAVORHDRS:%.h=ib/adapters/tavor/%.check) \ 1139 $(HERMONHDRS:%.h=ib/adapters/hermon/%.check) \ 1140 $(MLNXHDRS:%.h=ib/adapters/%.check) \ 1141 $(IDMHDRS:%.h=idm/%.check) \ 1142 $(ISCSIHDRS:%.h=iscsi/%.check) \ 1143 $(ISCSITHDRS:%.h=iscsit/%.check) \ 1144 $(ISOHDRS:%.h=iso/%.check) \ 1145 $(FMHDRS:%.h=fm/%.check) \ 1146 $(FMFSHDRS:%.h=fm/fs/%.check) \ 1147 $(FMIOHDRS:%.h=fm/io/%.check) \ 1148 $(FSHDRS:%.h=fs/%.check) \ 1149 $(SCSIHDRS:%.h=scsi/%.check) \ 1150 $(SCSIADHDRS:%.h=scsi/adapters/%.check) \ 1151 $(SCSICONFHDRS:%.h=scsi/conf/%.check) \ 1152 $(SCSIIMPLHDRS:%.h=scsi/impl/%.check) \ 1153 $(SCSIISCSIHDRS:%.h=scsi/adapters/%.check) \ 1154 $(SCSIGENHDRS:%.h=scsi/generic/%.check) \ 1155 $(SCSITARGETSHDRS:%.h=scsi/targets/%.check) \ 1156 $(SCSIVHCIHDRS:%.h=scsi/adapters/%.check) \ 1157 $(SATAGENHDRS:%.h=sata/%.check) \ 1158 $(SDCARDHDRS:%.h=sdcard/%.check) \ 1159 $(SYSEVENTHDRS:%.h=sysevent/%.check) \ 1160 $(CONTRACTHDRS:%.h=contract/%.check) \ 1161 $(USBAUDHDRS:%.h=usb/clients/audio/%.check) \ 1162 $(USBHUBDHDRS:%.h=usb/hubd/%.check) \ 1163 $(USBHIDHDRS:%.h=usb/clients/hid/%.check) \ 1164 $(USBMSHDRS:%.h=usb/clients/mass_storage/%.check) \ 1165 $(USBPRNHDRS:%.h=usb/clients/printer/%.check) \ 1166 $(USBCDCHDRS:%.h=usb/clients/usbcdc/%.check) \ 1167 $(USBVIDHDRS:%.h=usb/clients/video/usbvc/%.check) \ 1168 $(USBWCMHDRS:%.h=usb/clients/usbinput/usbwcm/%.check) \ 1169 $(UGENHDRS:%.h=usb/clients/ugen/%.check) \ 1170 $(USBHDRS:%.h=usb/%.check) \ 1171 $(I1394HDRS:%.h=1394/%.check) \ 1172 $(RSMHDRS:%.h=rsm/%.check) \ 1173 $(TSOLHDRS:%.h=tsol/%.check) \ 1174 $(NXGEHDRS:%.h=nxge/%.check) 1175 1176 1177.KEEP_STATE: 1178 1179.PARALLEL: \ 1180 $(CHECKHDRS) \ 1181 $(ROOTHDRS) \ 1182 $(ROOTAUDHDRS) \ 1183 $(ROOTAVHDRS) \ 1184 $(ROOTCRYPTOHDRS) \ 1185 $(ROOTDCAMHDRS) \ 1186 $(ROOTISOHDRS) \ 1187 $(ROOTIDMHDRS) \ 1188 $(ROOTISCSIHDRS) \ 1189 $(ROOTISCSITHDRS) \ 1190 $(ROOTFC4HDRS) \ 1191 $(ROOTFCHDRS) \ 1192 $(ROOTFCIMPLHDRS) \ 1193 $(ROOTFCULPHDRS) \ 1194 $(ROOTFMHDRS) \ 1195 $(ROOTFMIOHDRS) \ 1196 $(ROOTFMFSHDRS) \ 1197 $(ROOTFSHDRS) \ 1198 $(ROOTIBDHDRS) \ 1199 $(ROOTIBHDRS) \ 1200 $(ROOTIBTLHDRS) \ 1201 $(ROOTIBTLIMPLHDRS) \ 1202 $(ROOTIBNEXHDRS) \ 1203 $(ROOTIBMGTHDRS) \ 1204 $(ROOTIBMFHDRS) \ 1205 $(ROOTOFHDRS) \ 1206 $(ROOTRDMAHDRS) \ 1207 $(ROOTSOL_OFSHDRS) \ 1208 $(ROOTSOL_UMADHDRS) \ 1209 $(ROOTSOL_UVERBSHDRS) \ 1210 $(ROOTSOL_UCMAHDRS) \ 1211 $(ROOTTAVORHDRS) \ 1212 $(ROOTHERMONHDRS) \ 1213 $(ROOTMLNXHDRS) \ 1214 $(ROOTSCSIHDRS) \ 1215 $(ROOTSCSIADHDRS) \ 1216 $(ROOTSCSICONFHDRS) \ 1217 $(ROOTSCSIISCSIHDRS) \ 1218 $(ROOTSCSIGENHDRS) \ 1219 $(ROOTSCSIIMPLHDRS) \ 1220 $(ROOTSCSIVHCIHDRS) \ 1221 $(ROOTSDCARDHDRS) \ 1222 $(ROOTSYSEVENTHDRS) \ 1223 $(ROOTCONTRACTHDRS) \ 1224 $(ROOTUSBHDRS) \ 1225 $(ROOTUWBHDRS) \ 1226 $(ROOTUWBAHDRS) \ 1227 $(ROOTUSBAUDHDRS) \ 1228 $(ROOTUSBHUBDHDRS) \ 1229 $(ROOTUSBHIDHDRS) \ 1230 $(ROOTUSBHRCHDRS) \ 1231 $(ROOTUSBMSHDRS) \ 1232 $(ROOTUSBPRNHDRS) \ 1233 $(ROOTUSBCDCHDRS) \ 1234 $(ROOTUSBVIDHDRS) \ 1235 $(ROOTUSBWCMHDRS) \ 1236 $(ROOTUGENHDRS) \ 1237 $(ROOT1394HDRS) \ 1238 $(ROOTHOTPLUGHDRS) \ 1239 $(ROOTHOTPLUGPCIHDRS) \ 1240 $(ROOTRSMHDRS) \ 1241 $(ROOTTSOLHDRS) \ 1242 $($(MACH)_ROOTHDRS) 1243 1244 1245install_h: \ 1246 $(ROOTDIRS) \ 1247 .WAIT \ 1248 $(ROOTHDRS) \ 1249 $(ROOTAUDHDRS) \ 1250 $(ROOTAVHDRS) \ 1251 $(ROOTCRYPTOHDRS) \ 1252 $(ROOTDCAMHDRS) \ 1253 $(ROOTISOHDRS) \ 1254 $(ROOTIDMHDRS) \ 1255 $(ROOTISCSIHDRS) \ 1256 $(ROOTISCSITHDRS) \ 1257 $(ROOTFC4HDRS) \ 1258 $(ROOTFCHDRS) \ 1259 $(ROOTFCIMPLHDRS) \ 1260 $(ROOTFCULPHDRS) \ 1261 $(ROOTFMHDRS) \ 1262 $(ROOTFMFSHDRS) \ 1263 $(ROOTFMIOHDRS) \ 1264 $(ROOTFSHDRS) \ 1265 $(ROOTIBDHDRS) \ 1266 $(ROOTIBHDRS) \ 1267 $(ROOTIBTLHDRS) \ 1268 $(ROOTIBTLIMPLHDRS) \ 1269 $(ROOTIBNEXHDRS) \ 1270 $(ROOTIBMGTHDRS) \ 1271 $(ROOTIBMFHDRS) \ 1272 $(ROOTOFHDRS) \ 1273 $(ROOTRDMAHDRS) \ 1274 $(ROOTSOL_OFSHDRS) \ 1275 $(ROOTSOL_UMADHDRS) \ 1276 $(ROOTSOL_UVERBSHDRS) \ 1277 $(ROOTSOL_UCMAHDRS) \ 1278 $(ROOTTAVORHDRS) \ 1279 $(ROOTHERMONHDRS) \ 1280 $(ROOTMLNXHDRS) \ 1281 $(ROOTSCSIHDRS) \ 1282 $(ROOTSCSIADHDRS) \ 1283 $(ROOTSCSIISCSIHDRS) \ 1284 $(ROOTSCSICONFHDRS) \ 1285 $(ROOTSCSIGENHDRS) \ 1286 $(ROOTSCSIIMPLHDRS) \ 1287 $(ROOTSCSIVHCIHDRS) \ 1288 $(ROOTSDCARDHDRS) \ 1289 $(ROOTSYSEVENTHDRS) \ 1290 $(ROOTCONTRACTHDRS) \ 1291 $(ROOTUWBHDRS) \ 1292 $(ROOTUWBAHDRS) \ 1293 $(ROOTUSBHDRS) \ 1294 $(ROOTUSBAUDHDRS) \ 1295 $(ROOTUSBHUBDHDRS) \ 1296 $(ROOTUSBHIDHDRS) \ 1297 $(ROOTUSBHRCHDRS) \ 1298 $(ROOTUSBMSHDRS) \ 1299 $(ROOTUSBPRNHDRS) \ 1300 $(ROOTUSBCDCHDRS) \ 1301 $(ROOTUSBVIDHDRS) \ 1302 $(ROOTUSBWCMHDRS) \ 1303 $(ROOTUGENHDRS) \ 1304 $(ROOT1394HDRS) \ 1305 $(ROOTHOTPLUGHDRS) \ 1306 $(ROOTHOTPLUGPCIHDRS) \ 1307 $(ROOTRSMHDRS) \ 1308 $(ROOTTSOLHDRS) \ 1309 $($(MACH)_ROOTHDRS) 1310 1311all_h: $(GENHDRS) 1312 1313priv_const.h: $(PRIVS_AWK) $(PRIVS_DEF) 1314 $(AWK) -f $(PRIVS_AWK) < $(PRIVS_DEF) -v privhfile=$@ 1315 1316priv_names.h: $(PRIVS_AWK) $(PRIVS_DEF) 1317 $(AWK) -f $(PRIVS_AWK) < $(PRIVS_DEF) -v pubhfile=$@ 1318 1319usb/usbdevs.h: $(USBDEVS_AWK) $(USBDEVS_DATA) 1320 $(AWK) -f $(USBDEVS_AWK) $(USBDEVS_DATA) -H > $@ 1321 1322clean: 1323 $(RM) $(GENHDRS) 1324 1325clobber: clean 1326 1327check: $(CHECKHDRS) 1328 1329FRC: 1330