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