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