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, Version 1.0 only 6# (the "License"). You may not use this file except in compliance 7# with the License. 8# 9# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10# or http://www.opensolaris.org/os/licensing. 11# See the License for the specific language governing permissions 12# and limitations under the License. 13# 14# When distributing Covered Code, include this CDDL HEADER in each 15# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16# If applicable, add the following below this CDDL HEADER, with the 17# fields enclosed by brackets "[]" replaced with your own identifying 18# information: Portions Copyright [yyyy] [name of copyright owner] 19# 20# CDDL HEADER END 21# 22# 23# Copyright 2005 Sun Microsystems, Inc. All rights reserved. 24# Use is subject to license terms. 25# 26# ident "%Z%%M% %I% %E% SMI" 27# 28 29include $(SRC)/uts/Makefile.uts 30 31GROUP=bin 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# 40 41i386_HDRS= \ 42 agp/agpamd64gart_io.h \ 43 agp/agpdefs.h \ 44 agp/agpgart_impl.h \ 45 agp/agpmaster_io.h \ 46 agp/agptarget_io.h \ 47 agpgart.h \ 48 asy.h \ 49 audio/audio810.h \ 50 audio/audiovia823x.h \ 51 fd_debug.h \ 52 fdc.h \ 53 fdmedia.h \ 54 mouse.h \ 55 mse.h \ 56 vuidmice.h 57 58AVHDRS= \ 59 av/iec61883.h 60 61sparc_HDRS= \ 62 audio/audiots.h \ 63 audio/am_src2.h \ 64 mouse.h \ 65 scsi/targets/ssddef.h \ 66 $(MDESCHDRS) \ 67 $(AVHDRS) 68 69# Generated headers 70GENHDRS= \ 71 priv_const.h \ 72 priv_names.h 73 74CHKHDRS= \ 75 acct.h \ 76 acctctl.h \ 77 acl.h \ 78 aggr.h \ 79 aggr_impl.h \ 80 aio.h \ 81 aio_impl.h \ 82 aio_req.h \ 83 aiocb.h \ 84 ascii.h \ 85 atomic.h \ 86 audio.h \ 87 audiodebug.h \ 88 audioio.h \ 89 audiovar.h \ 90 autoconf.h \ 91 auxv.h \ 92 auxv_386.h \ 93 auxv_SPARC.h \ 94 avl.h \ 95 avl_impl.h \ 96 battery.h \ 97 bitmap.h \ 98 bl.h \ 99 bofi.h \ 100 bofi_impl.h \ 101 bpp_io.h \ 102 bootstat.h \ 103 buf.h \ 104 bufmod.h \ 105 bustypes.h \ 106 byteorder.h \ 107 callb.h \ 108 callo.h \ 109 ccompile.h \ 110 cdio.h \ 111 chip.h \ 112 cladm.h \ 113 class.h \ 114 clconf.h \ 115 cmlb.h \ 116 cmn_err.h \ 117 compress.h \ 118 condvar.h \ 119 condvar_impl.h \ 120 conf.h \ 121 consdev.h \ 122 console.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 dc_ki.h \ 149 ddi.h \ 150 ddifm.h \ 151 ddifm_impl.h \ 152 ddi_intr.h \ 153 ddi_intr_impl.h \ 154 ddi_impldefs.h \ 155 ddi_implfuncs.h \ 156 ddidevmap.h \ 157 ddidmareq.h \ 158 ddimapreq.h \ 159 ddipropdefs.h \ 160 dditypes.h \ 161 debug.h \ 162 des.h \ 163 devctl.h \ 164 devctl_impl.h \ 165 devinfo_impl.h \ 166 devops.h \ 167 devpolicy.h \ 168 devpoll.h \ 169 dirent.h \ 170 disp.h \ 171 dkbad.h \ 172 dkio.h \ 173 dklabel.h \ 174 dl.h \ 175 dlpi.h \ 176 dld.h \ 177 dld_impl.h \ 178 dls.h \ 179 dls_impl.h \ 180 dma_i8237A.h \ 181 dnlc.h \ 182 door.h \ 183 door_data.h \ 184 door_impl.h \ 185 dtrace.h \ 186 dtrace_impl.h \ 187 dumpadm.h \ 188 dumphdr.h \ 189 ecppsys.h \ 190 ecppio.h \ 191 ecppreg.h \ 192 ecppvar.h \ 193 efi_partition.h \ 194 elf.h \ 195 elf_386.h \ 196 elf_M32.h \ 197 elf_SPARC.h \ 198 elf_notes.h \ 199 elf_amd64.h \ 200 elftypes.h \ 201 emul64.h \ 202 emul64cmd.h \ 203 emul64var.h \ 204 epm.h \ 205 errno.h \ 206 errorq.h \ 207 errorq_impl.h \ 208 esunddi.h \ 209 ethernet.h \ 210 euc.h \ 211 eucioctl.h \ 212 exacct.h \ 213 exacct_catalog.h \ 214 exacct_impl.h \ 215 exec.h \ 216 exechdr.h \ 217 fault.h \ 218 fasttrap.h \ 219 fasttrap_impl.h \ 220 fbio.h \ 221 fbuf.h \ 222 fcntl.h \ 223 fdbuffer.h \ 224 fdio.h \ 225 feature_tests.h \ 226 fem.h \ 227 file.h \ 228 filio.h \ 229 flock.h \ 230 flock_impl.h \ 231 fss.h \ 232 fsspriocntl.h \ 233 fsid.h \ 234 fssnap.h \ 235 fssnap_if.h \ 236 fstyp.h \ 237 ftrace.h \ 238 fx.h \ 239 fxpriocntl.h \ 240 gfs.h \ 241 gld.h \ 242 gldpriv.h \ 243 hdio.h \ 244 hwconf.h \ 245 ia.h \ 246 iapriocntl.h \ 247 id32.h \ 248 ieeefp.h \ 249 id_space.h \ 250 instance.h \ 251 int_const.h \ 252 int_fmtio.h \ 253 int_limits.h \ 254 int_types.h \ 255 inttypes.h \ 256 ioccom.h \ 257 ioctl.h \ 258 ioreq.h \ 259 ipc.h \ 260 ipc_impl.h \ 261 isa_defs.h \ 262 jioctl.h \ 263 kbd.h \ 264 kbdreg.h \ 265 kbio.h \ 266 kcpc.h \ 267 kdi.h \ 268 kdi_impl.h \ 269 klwp.h \ 270 kmdb.h \ 271 kmem.h \ 272 kmem_impl.h \ 273 kobj.h \ 274 kobj_impl.h \ 275 kstat.h \ 276 kstr.h \ 277 ksyms.h \ 278 ksynch.h \ 279 ldterm.h \ 280 lgrp.h \ 281 lgrp_user.h \ 282 link.h \ 283 list.h \ 284 list_impl.h \ 285 llc1.h \ 286 llc2.h \ 287 loadavg.h \ 288 lock.h \ 289 lockfs.h \ 290 lockstat.h \ 291 lofi.h \ 292 log.h \ 293 logindmux.h \ 294 logindmux_impl.h \ 295 lwp.h \ 296 lwp_timer_impl.h \ 297 lwp_upimutex_impl.h \ 298 mac.h \ 299 mac_impl.h \ 300 map.h \ 301 md5.h \ 302 md5_consts.h \ 303 mdi_impldefs.h \ 304 mem.h \ 305 mem_config.h \ 306 memlist.h \ 307 mkdev.h \ 308 mhd.h \ 309 miiregs.h \ 310 mixer.h \ 311 mman.h \ 312 mntent.h \ 313 mntio.h \ 314 mnttab.h \ 315 modctl.h \ 316 mode.h \ 317 model.h \ 318 modhash.h \ 319 modhash_impl.h \ 320 mount.h \ 321 mouse.h \ 322 msacct.h \ 323 msg.h \ 324 msg_impl.h \ 325 msio.h \ 326 msreg.h \ 327 mtio.h \ 328 multidata.h \ 329 multidata_impl.h \ 330 mutex.h \ 331 nbmlock.h \ 332 ndifm.h \ 333 ndi_impldefs.h \ 334 netconfig.h \ 335 nexusdefs.h \ 336 note.h \ 337 nvpair.h \ 338 nvpair_impl.h \ 339 objfs.h \ 340 objfs_impl.h \ 341 ontrap.h \ 342 open.h \ 343 openpromio.h \ 344 panic.h \ 345 param.h \ 346 pathconf.h \ 347 pathname.h \ 348 pattr.h \ 349 serializer.h \ 350 pbio.h \ 351 pccard.h \ 352 pci.h \ 353 pcie.h \ 354 pci_impl.h \ 355 pcmcia.h \ 356 pctypes.h \ 357 pem.h \ 358 pfmod.h \ 359 phx.h \ 360 pm.h \ 361 policy.h \ 362 poll.h \ 363 poll_impl.h \ 364 pool.h \ 365 pool_impl.h \ 366 pool_pset.h \ 367 port.h \ 368 port_impl.h \ 369 port_kernel.h \ 370 ppmio.h \ 371 priocntl.h \ 372 priv.h \ 373 priv_impl.h \ 374 prnio.h \ 375 proc.h \ 376 processor.h \ 377 procfs.h \ 378 procset.h \ 379 project.h \ 380 protosw.h \ 381 prsystm.h \ 382 pset.h \ 383 pshot.h \ 384 ptem.h \ 385 ptms.h \ 386 ptyvar.h \ 387 raidioctl.h \ 388 ramdisk.h \ 389 random.h \ 390 rctl.h \ 391 rctl_impl.h \ 392 reboot.h \ 393 refstr.h \ 394 refstr_impl.h \ 395 resource.h \ 396 rlioctl.h \ 397 rt.h \ 398 rtpriocntl.h \ 399 rwlock.h \ 400 rwlock_impl.h \ 401 rwstlock.h \ 402 sad.h \ 403 schedctl.h \ 404 sdt.h \ 405 select.h \ 406 sem.h \ 407 sem_impl.h \ 408 sema_impl.h \ 409 semaphore.h \ 410 sendfile.h \ 411 ser_sync.h \ 412 session.h \ 413 sha1.h \ 414 sha1_consts.h \ 415 sha2.h \ 416 sha2_consts.h \ 417 share.h \ 418 shm.h \ 419 shm_impl.h \ 420 siginfo.h \ 421 signal.h \ 422 sleepq.h \ 423 smbios.h \ 424 smbios_impl.h \ 425 sobject.h \ 426 socket.h \ 427 socket_impl.h \ 428 socketvar.h \ 429 sockio.h \ 430 squeue.h \ 431 squeue_impl.h \ 432 sservice.h \ 433 stat.h \ 434 statfs.h \ 435 statvfs.h \ 436 stdint.h \ 437 stermio.h \ 438 stream.h \ 439 strft.h \ 440 strlog.h \ 441 strmdep.h \ 442 stropts.h \ 443 strredir.h \ 444 strstat.h \ 445 strsubr.h \ 446 strsun.h \ 447 strtty.h \ 448 sunddi.h \ 449 sunldi.h \ 450 sunldi_impl.h \ 451 sunmdi.h \ 452 sunndi.h \ 453 sunos_dhcp_class.h \ 454 sunpm.h \ 455 suntpi.h \ 456 suntty.h \ 457 swap.h \ 458 synch.h \ 459 syscall.h \ 460 sysconf.h \ 461 sysconfig.h \ 462 sysevent.h \ 463 sysevent_impl.h \ 464 sysinfo.h \ 465 syslog.h \ 466 sysmacros.h \ 467 sysmsg_impl.h \ 468 systeminfo.h \ 469 systm.h \ 470 task.h \ 471 taskq.h \ 472 taskq_impl.h \ 473 t_kuser.h \ 474 t_lock.h \ 475 telioctl.h \ 476 termio.h \ 477 termios.h \ 478 termiox.h \ 479 thread.h \ 480 ticlts.h \ 481 ticots.h \ 482 ticotsord.h \ 483 tihdr.h \ 484 time.h \ 485 time_impl.h \ 486 time_std_impl.h \ 487 timeb.h \ 488 timer.h \ 489 times.h \ 490 timex.h \ 491 timod.h \ 492 tirdwr.h \ 493 tiuser.h \ 494 tl.h \ 495 tnf.h \ 496 tnf_com.h \ 497 tnf_probe.h \ 498 tnf_writer.h \ 499 todio.h \ 500 tpicommon.h \ 501 ts.h \ 502 tspriocntl.h \ 503 ttcompat.h \ 504 ttold.h \ 505 tty.h \ 506 ttychars.h \ 507 ttydev.h \ 508 tuneable.h \ 509 turnstile.h \ 510 types.h \ 511 types32.h \ 512 uadmin.h \ 513 ucred.h \ 514 uio.h \ 515 ulimit.h \ 516 un.h \ 517 unistd.h \ 518 user.h \ 519 ustat.h \ 520 utime.h \ 521 utsname.h \ 522 utssys.h \ 523 uuid.h \ 524 va_impl.h \ 525 va_list.h \ 526 var.h \ 527 varargs.h \ 528 vfs.h \ 529 vfstab.h \ 530 vgareg.h \ 531 visual_io.h \ 532 vm.h \ 533 vmem.h \ 534 vmem_impl.h \ 535 vmmeter.h \ 536 vmsystm.h \ 537 vnode.h \ 538 vol.h \ 539 vtoc.h \ 540 vtrace.h \ 541 vuid_event.h \ 542 vuid_wheel.h \ 543 vuid_queue.h \ 544 vuid_state.h \ 545 vuid_store.h \ 546 wait.h \ 547 wanboot_impl.h \ 548 watchpoint.h \ 549 winlockio.h \ 550 zcons.h \ 551 zone.h \ 552 xti_inet.h \ 553 xti_osi.h \ 554 xti_xtiopt.h \ 555 zmod.h 556 557HDRS= \ 558 $(GENHDRS) \ 559 $(CHKHDRS) 560 561AUDIOHDRS= \ 562 ac97.h \ 563 am_src1.h \ 564 audio_apm.h \ 565 audio_mixer.h \ 566 audio_src.h \ 567 audio_support.h \ 568 audio_trace.h \ 569 audioens.h \ 570 g711.h 571 572BSCHDRS= \ 573 bscbus.h \ 574 bscv_impl.h \ 575 lom_ebuscodes.h \ 576 lom_io.h \ 577 lom_priv.h \ 578 lombus.h 579 580MDESCHDRS= \ 581 mdesc.h \ 582 mdesc_impl.h 583 584CRYPTOHDRS= \ 585 elfsign.h \ 586 ioctl.h \ 587 ioctladmin.h \ 588 common.h \ 589 impl.h \ 590 spi.h \ 591 api.h \ 592 ops_impl.h \ 593 sched_impl.h 594 595DCAMHDRS= \ 596 dcam1394_io.h 597 598IBHDRS= \ 599 ib_types.h \ 600 ib_pkt_hdrs.h 601 602IBTLHDRS= \ 603 ibtl_types.h \ 604 ibtl_status.h \ 605 ibti.h \ 606 ibti_cm.h \ 607 ibci.h \ 608 ibti_common.h \ 609 ibvti.h \ 610 ibtl_ci_types.h 611 612IBTLIMPLHDRS= \ 613 ibtl_util.h 614 615IBNEXHDRS= \ 616 ibnex_devctl.h 617 618IBMFHDRS= \ 619 ibmf.h \ 620 ibmf_msg.h \ 621 ibmf_saa.h \ 622 ibmf_utils.h 623 624IBMGTHDRS= \ 625 ib_dm_attr.h \ 626 ib_mad.h \ 627 sm_attr.h \ 628 sa_recs.h 629 630IBDHDRS= \ 631 ibd.h 632 633TAVORHDRS= \ 634 tavor_ioctl.h 635 636ISOHDRS= \ 637 signal_iso.h 638 639DERIVED_LVMHDRS= \ 640 md_mdiox.h \ 641 md_basic.h \ 642 mdmed.h \ 643 md_mhdx.h \ 644 mdmn_commd.h 645 646LVMHDRS= \ 647 md_convert.h \ 648 md_crc.h \ 649 md_hotspares.h \ 650 md_mddb.h \ 651 md_mirror.h \ 652 md_mirror_shared.h \ 653 md_names.h \ 654 md_notify.h \ 655 md_raid.h \ 656 md_rename.h \ 657 md_sp.h \ 658 md_stripe.h \ 659 md_trans.h \ 660 mdio.h \ 661 mdvar.h 662 663ALL_LVMHDRS= \ 664 $(LVMHDRS) \ 665 $(DERIVED_LVMHDRS) 666 667FMHDRS= \ 668 protocol.h \ 669 util.h 670 671sparc_FMCPUHDRS= \ 672 UltraSPARC-II.h \ 673 UltraSPARC-III.h \ 674 UltraSPARC-T1.h 675FMCPUHDRS=$($(MACH)_FMCPUHDRS) 676 677FMIOHDRS= \ 678 ddi.h \ 679 pci.h \ 680 sun4upci.h 681 682FSHDRS= \ 683 autofs.h \ 684 cachefs_dir.h \ 685 cachefs_dlog.h \ 686 cachefs_filegrp.h \ 687 cachefs_fs.h \ 688 cachefs_fscache.h \ 689 cachefs_ioctl.h \ 690 cachefs_log.h \ 691 dv_node.h \ 692 fifonode.h \ 693 hsfs_isospec.h \ 694 hsfs_node.h \ 695 hsfs_rrip.h \ 696 hsfs_spec.h \ 697 hsfs_susp.h \ 698 lofs_info.h \ 699 lofs_node.h \ 700 mntdata.h \ 701 namenode.h \ 702 pc_dir.h \ 703 pc_fs.h \ 704 pc_label.h \ 705 pc_node.h \ 706 pxfs_ki.h \ 707 snode.h \ 708 swapnode.h \ 709 tmp.h \ 710 tmpnode.h \ 711 udf_inode.h \ 712 udf_volume.h \ 713 ufs_acl.h \ 714 ufs_bio.h \ 715 ufs_filio.h \ 716 ufs_fs.h \ 717 ufs_fsdir.h \ 718 ufs_inode.h \ 719 ufs_lockfs.h \ 720 ufs_log.h \ 721 ufs_mount.h \ 722 ufs_panic.h \ 723 ufs_prot.h \ 724 ufs_quota.h \ 725 ufs_snap.h \ 726 ufs_trans.h \ 727 zfs.h 728 729PCMCIAHDRS= \ 730 pcata.h \ 731 pcelx.h \ 732 pcgld.h \ 733 pcramio.h \ 734 pcramvar.h \ 735 pcser_conf.h \ 736 pcser_io.h \ 737 pcser_reg.h \ 738 pcser_manuspec.h \ 739 pcser_var.h 740 741SCSIHDRS= \ 742 scsi.h \ 743 scsi_address.h \ 744 scsi_ctl.h \ 745 scsi_params.h \ 746 scsi_pkt.h \ 747 scsi_resource.h \ 748 scsi_types.h \ 749 scsi_watch.h 750 751SCSICONFHDRS= \ 752 autoconf.h \ 753 device.h 754 755SCSIGENHDRS= \ 756 commands.h \ 757 dad_mode.h \ 758 inquiry.h \ 759 message.h \ 760 mode.h \ 761 sense.h \ 762 status.h 763 764SCSIIMPLHDRS= \ 765 commands.h \ 766 inquiry.h \ 767 mode.h \ 768 pkt_wrapper.h \ 769 sense.h \ 770 services.h \ 771 status.h \ 772 transport.h \ 773 scsi_reset_notify.h \ 774 types.h \ 775 uscsi.h 776 777SCSITARGETSHDRS= \ 778 ses.h \ 779 sesio.h \ 780 stdef.h \ 781 sddef.h \ 782 sgendef.h 783 784SCSICADHDRS= \ 785 glmreg.h \ 786 glmvar.h \ 787 mptreg.h \ 788 mptvar.h 789 790SCSIVHCIHDRS= \ 791 scsi_vhci.h 792 793FCHDRS= \ 794 fc_transport.h \ 795 linkapp.h \ 796 fc.h \ 797 fcp.h \ 798 fcal_transport.h \ 799 fcal.h \ 800 fcal_linkapp.h \ 801 fcio.h 802 803SYSEVENTHDRS= \ 804 ap_driver.h \ 805 dev.h \ 806 domain.h \ 807 dr.h \ 808 env.h \ 809 eventdefs.h \ 810 ipmp.h \ 811 svm.h 812 813CONTRACTHDRS= \ 814 process.h \ 815 process_impl.h 816 817USBHDRS= \ 818 usba.h \ 819 usbai.h 820 821USBAUDHDRS= \ 822 usb_audio.h 823 824USBHUBDHDRS= \ 825 hub.h \ 826 hubd_impl.h 827 828USBHIDHDRS= \ 829 hid.h 830 831USBMSHDRS= \ 832 usb_bulkonly.h \ 833 usb_cbi.h 834 835USBPRNHDRS= \ 836 usb_printer.h 837 838UGENHDRS= \ 839 usb_ugen.h 840 841HOTPLUGHDRS= \ 842 hpcsvc.h \ 843 hpctrl.h 844 845HOTPLUGPCIHDRS= \ 846 pcicfg.h \ 847 pcihp.h 848 849RSMHDRS= \ 850 rsm.h \ 851 rsm_common.h \ 852 rsmapi_common.h \ 853 rsmpi.h \ 854 rsmpi_driver.h \ 855 rsmka_path_int.h 856 857I1394HDRS= \ 858 cmd1394.h \ 859 id1394.h \ 860 ieee1212.h \ 861 ieee1394.h \ 862 ixl1394.h \ 863 s1394_impl.h \ 864 t1394.h 865 866# "cmdk" headers used on sparc 867SDKTPHDRS= \ 868 dadkio.h \ 869 fdisk.h 870 871# "cmdk" headers used on i386 872DKTPHDRS= \ 873 altsctr.h \ 874 bbh.h \ 875 cm.h \ 876 cmdev.h \ 877 cmdk.h \ 878 cmpkt.h \ 879 controller.h \ 880 dadev.h \ 881 dadk.h \ 882 dadkio.h \ 883 fctypes.h \ 884 fdisk.h \ 885 flowctrl.h \ 886 gda.h \ 887 hba.h \ 888 quetypes.h \ 889 queue.h \ 890 tgcom.h \ 891 tgdk.h 892 893# "pc" header files used on i386 894PCHDRS= \ 895 avintr.h \ 896 dma_engine.h \ 897 i8272A.h \ 898 pcic_reg.h \ 899 pcic_var.h \ 900 pic.h \ 901 pit.h \ 902 rtc.h 903 904# I2O header files (currently used only on i386) 905I2OHDRS= \ 906 i2oadptr.h \ 907 i2obscsi.h \ 908 i2oexec.h \ 909 i2omsg.h \ 910 i2omstr.h \ 911 i2outil.h 912 913# SVVS headers and other excluded headers 914XHDRS= \ 915 lo.h \ 916 tidg.h \ 917 tivc.h \ 918 tmux.h 919 920# check files really don't exist 921 922audio/%.check: audio/%.h 923 $(DOT_H_CHECK) 924 925av/%.check: av/%.h 926 $(DOT_H_CHECK) 927 928dcam/%.check: dcam/%.h 929 $(DOT_H_CHECK) 930 931fm/%.check: fm/%.h 932 $(DOT_H_CHECK) 933 934fm/cpu/%.check: fm/cpu/%.h 935 $(DOT_H_CHECK) 936 937fm/io/%.check: fm/io/%.h 938 $(DOT_H_CHECK) 939 940fs/%.check: fs/%.h 941 $(DOT_H_CHECK) 942 943ib/%.check: ib/%.h 944 $(DOT_H_CHECK) 945 946ib/clients/ibd/%.check: ib/clients/ibd/%.h 947 $(DOT_H_CHECK) 948 949ib/ibtl/%.check: ib/ibtl/%.h 950 $(DOT_H_CHECK) 951 952ib/ibtl/impl/%.check: ib/ibtl/impl/%.h 953 $(DOT_H_CHECK) 954 955ib/ibnex/%.check: ib/ibnex/%.h 956 $(DOT_H_CHECK) 957 958ib/mgt/%.check: ib/mgt/%.h 959 $(DOT_H_CHECK) 960 961ib/mgt/ibmf/%.check: ib/mgt/ibmf/%.h 962 $(DOT_H_CHECK) 963 964ib/adapters/tavor/%.check: ib/adapters/tavor/%.h 965 $(DOT_H_CHECK) 966 967lvm/%.check: lvm/%.h 968 $(DOT_H_CHECK) 969 970pcmcia/%.check: pcmcia/%.h 971 $(DOT_H_CHECK) 972 973scsi/%.check: scsi/%.h 974 $(DOT_H_CHECK) 975 976scsi/conf/%.check: scsi/conf/%.h 977 $(DOT_H_CHECK) 978 979scsi/generic/%.check: scsi/generic/%.h 980 $(DOT_H_CHECK) 981 982scsi/impl/%.check: scsi/impl/%.h 983 $(DOT_H_CHECK) 984 985scsi/targets/%.check: scsi/targets/%.h 986 $(DOT_H_CHECK) 987 988scsi/adapters/%.check: scsi/adapters/%.h 989 $(DOT_H_CHECK) 990 991sysevent/%.check: sysevent/%.h 992 $(DOT_H_CHECK) 993 994contract/%.check: contract/%.h 995 $(DOT_H_CHECK) 996 997usb/%.check: usb/%.h 998 $(DOT_H_CHECK) 999 1000usb/clients/audio/%.check: usb/clients/audio/%.h 1001 $(DOT_H_CHECK) 1002 1003usb/hubd/%.check: usb/hubd/%.h 1004 $(DOT_H_CHECK) 1005 1006usb/clients/hid/%.check: usb/clients/hid/%.h 1007 $(DOT_H_CHECK) 1008 1009usb/clients/mass_storage/%.check: usb/clients/mass_storage/%.h 1010 $(DOT_H_CHECK) 1011 1012usb/clients/hid/%.check: usb/clients/hid/%.h 1013 $(DOT_H_CHECK) 1014 1015usb/clients/printer/%.check: usb/clients/printer/%.h 1016 $(DOT_H_CHECK) 1017 10181394/%.check: 1394/%.h 1019 $(DOT_H_CHECK) 1020 1021rsm/%.check: rsm/%.h 1022 $(DOT_H_CHECK) 1023 1024CHECKHDRS= \ 1025 $($(MACH)_HDRS:%.h=%.check) \ 1026 $(AUDIOHDRS:%.h=audio/%.check) \ 1027 $(BSCHDRS:%.h=%.check) \ 1028 $(CHKHDRS:%.h=%.check) \ 1029 $(CRYPTOHDRS:%.h=crypto/%.check) \ 1030 $(DCAMHDRS:%.h=dcam/%.check) \ 1031 $(IBHDRS:%.h=ib/%.check) \ 1032 $(IBDHDRS:%.h=ib/clients/ibd/%.check) \ 1033 $(IBTLHDRS:%.h=ib/ibtl/%.check) \ 1034 $(IBTLIMPLHDRS:%.h=ib/ibtl/impl/%.check) \ 1035 $(IBNEXHDRS:%.h=ib/ibnex/%.check) \ 1036 $(IBMGTHDRS:%.h=ib/mgt/%.check) \ 1037 $(IBMFHDRS:%.h=ib/mgt/ibmf/%.check) \ 1038 $(TAVORHDRS:%.h=ib/adapters/tavor/%.check) \ 1039 $(ISOHDRS:%.h=iso/%.check) \ 1040 $(FMHDRS:%.h=fm/%.check) \ 1041 $(FMCPUHDRS:%.h=fm/cpu/%.check) \ 1042 $(FMIOHDRS:%.h=fm/io/%.check) \ 1043 $(FSHDRS:%.h=fs/%.check) \ 1044 $(LVMHDRS:%.h=lvm/%.check) \ 1045 $(XHDRS:%.h=%.check) \ 1046 $(PCMCIAHDRS:%.h=pcmcia/%.check) \ 1047 $(SCSIHDRS:%.h=scsi/%.check) \ 1048 $(SCSICONHDRS:%.h=scsi/conf/%.check) \ 1049 $(SCSIIMPLHDRS:%.h=scsi/impl/%.check) \ 1050 $(SCSITARGETSHDRS:%.h=scsi/targets/%.check) \ 1051 $(SCSIVHCIHDRS:%.h=scsi/adapters/%.check) \ 1052 $(FCHDRS:%.h=fc4/%.check) \ 1053 $(SYSEVENTHDRS:%.h=sysevent/%.check) \ 1054 $(CONTRACTHDRS:%.h=contract/%.check) \ 1055 $(USBAUDHDRS:%.h=usb/clients/audio/%.check) \ 1056 $(USBHUBDHDRS:%.h=usb/hubd/%.check) \ 1057 $(USBHIDHDRS:%.h=usb/clients/hid/%.check) \ 1058 $(USBMSHDRS:%.h=usb/clients/mass_storage/%.check) \ 1059 $(USBPRNHDRS:%.h=usb/clients/printer/%.check) \ 1060 $(UGENHDRS:%.h=usb/clients/ugen/%.check) \ 1061 $(USBHDRS:%.h=usb/%.check) \ 1062 $(I1394HDRS:%.h=1394/%.check) \ 1063 $(RSMHDRS:%.h=rsm/%.check) 1064 1065 1066ROOTDIR= $(ROOT)/usr/include/sys 1067 1068ROOTDKTPDIR= $(ROOTDIR)/dktp 1069 1070sparc_ROOTDIRS= $(ROOTDKTPDIR) $(ROOTDIR)/scsi/adapters \ 1071 $(ROOTDIR)/scsi/targets \ 1072 $(ROOTDIR)/av 1073 1074i386_ROOTDIRS= $(ROOTDKTPDIR) $(ROOTDIR)/scsi/adapters $(ROOTDIR)/scsi/targets \ 1075 $(ROOTDIR)/i2o $(ROOTDIR)/agp 1076 1077ROOTDIRS= \ 1078 $(ROOTDIR) \ 1079 $(ROOTDIR)/audio \ 1080 $(ROOTDIR)/hotplug \ 1081 $(ROOTDIR)/hotplug/pci \ 1082 $(ROOTDIR)/crypto \ 1083 $(ROOTDIR)/dcam \ 1084 $(ROOTDIR)/iso \ 1085 $(ROOTDIR)/fm \ 1086 $(ROOTDIR)/fm/cpu \ 1087 $(ROOTDIR)/fm/io \ 1088 $(ROOTDIR)/fs \ 1089 $(ROOTDIR)/ib \ 1090 $(ROOTDIR)/ib/adapters/tavor \ 1091 $(ROOTDIR)/ib/ibtl \ 1092 $(ROOTDIR)/ib/ibtl/impl \ 1093 $(ROOTDIR)/ib/mgt \ 1094 $(ROOTDIR)/ib/mgt/ibmf \ 1095 $(ROOTDIR)/ib/ibnex \ 1096 $(ROOTDIR)/ib/clients/ibd \ 1097 $(ROOTDIR)/lvm \ 1098 $(ROOTDIR)/pcmcia \ 1099 $(ROOTDIR)/scsi \ 1100 $(ROOTDIR)/scsi/conf \ 1101 $(ROOTDIR)/scsi/generic \ 1102 $(ROOTDIR)/scsi/impl \ 1103 $(ROOTDIR)/fc4 \ 1104 $(ROOTDIR)/sysevent \ 1105 $(ROOTDIR)/contract \ 1106 $(ROOTDIR)/usb \ 1107 $(ROOTDIR)/usb/hubd \ 1108 $(ROOTDIR)/usb/clients \ 1109 $(ROOTDIR)/usb/clients/audio \ 1110 $(ROOTDIR)/usb/clients/hid \ 1111 $(ROOTDIR)/usb/clients/mass_storage \ 1112 $(ROOTDIR)/usb/clients/printer \ 1113 $(ROOTDIR)/usb/clients/ugen \ 1114 $(ROOTDIR)/1394 \ 1115 $(ROOTDIR)/rsm \ 1116 $($(MACH)_ROOTDIRS) 1117 1118 1119ROOTHDRS= \ 1120 $($(MACH)_HDRS:%=$(ROOTDIR)/%) \ 1121 $(HDRS:%=$(ROOTDIR)/%) 1122 1123ROOTAUDHDRS= $(AUDIOHDRS:%=$(ROOTDIR)/audio/%) 1124 1125ROOTAVHDRS= $(AVHDRS:%=$(ROOTDIR)/av/%) 1126 1127ROOTCRYPTOHDRS= $(CRYPTOHDRS:%=$(ROOTDIR)/crypto/%) 1128 1129ROOTDCAMHDRS= $(DCAMHDRS:%=$(ROOTDIR)/dcam/%) 1130 1131ROOTIBHDRS= $(IBHDRS:%=$(ROOTDIR)/ib/%) 1132ROOTIBDHDRS= $(IBDHDRS:%=$(ROOTDIR)/ib/clients/ibd/%) 1133ROOTIBTLHDRS= $(IBTLHDRS:%=$(ROOTDIR)/ib/ibtl/%) 1134ROOTIBTLIMPLHDRS= $(IBTLIMPLHDRS:%=$(ROOTDIR)/ib/ibtl/impl/%) 1135ROOTIBNEXHDRS= $(IBNEXHDRS:%=$(ROOTDIR)/ib/ibnex/%) 1136ROOTIBMGTHDRS= $(IBMGTHDRS:%=$(ROOTDIR)/ib/mgt/%) 1137ROOTIBMFHDRS= $(IBMFHDRS:%=$(ROOTDIR)/ib/mgt/ibmf/%) 1138ROOTTAVORHDRS= $(TAVORHDRS:%=$(ROOTDIR)/ib/adapters/tavor/%) 1139 1140ROOTISOHDRS= $(ISOHDRS:%=$(ROOTDIR)/iso/%) 1141 1142ROOTFMHDRS= $(FMHDRS:%=$(ROOTDIR)/fm/%) 1143ROOTFMCPUHDRS= $(FMCPUHDRS:%=$(ROOTDIR)/fm/cpu/%) 1144ROOTFMIOHDRS= $(FMIOHDRS:%=$(ROOTDIR)/fm/io/%) 1145 1146ROOTFSHDRS= $(FSHDRS:%=$(ROOTDIR)/fs/%) 1147 1148ROOTLVMHDRS= $(ALL_LVMHDRS:%=$(ROOTDIR)/lvm/%) 1149 1150ROOTPCMCIAHDRS= $(PCMCIAHDRS:%=$(ROOTDIR)/pcmcia/%) 1151 1152ROOTSCSIHDRS= $(SCSIHDRS:%=$(ROOTDIR)/scsi/%) 1153ROOTSCSICONFHDRS= $(SCSICONFHDRS:%=$(ROOTDIR)/scsi/conf/%) 1154ROOTSCSIGENHDRS= $(SCSIGENHDRS:%=$(ROOTDIR)/scsi/generic/%) 1155ROOTSCSIIMPLHDRS= $(SCSIIMPLHDRS:%=$(ROOTDIR)/scsi/impl/%) 1156ROOTSCSITARGETSHDRS= $(SCSITARGETSHDRS:%=$(ROOTDIR)/scsi/targets/%) 1157ROOTSCSICADHDRS= $(SCSICADHDRS:%=$(ROOTDIR)/scsi/adapters/%) 1158ROOTSCSIVHCIHDRS= $(SCSIVHCIHDRS:%=$(ROOTDIR)/scsi/adapters/%) 1159 1160ROOTFCHDRS= $(FCHDRS:%=$(ROOTDIR)/fc4/%) 1161 1162ROOTSYSEVENTHDRS= $(SYSEVENTHDRS:%=$(ROOTDIR)/sysevent/%) 1163ROOTCONTRACTHDRS= $(CONTRACTHDRS:%=$(ROOTDIR)/contract/%) 1164 1165ROOTXHDRS= $(XHDRS:%=$(ROOTDIR)/%) 1166 1167ROOTUSBHDRS= $(USBHDRS:%=$(ROOTDIR)/usb/%) 1168ROOTUSBAUDHDRS= $(USBAUDHDRS:%=$(ROOTDIR)/usb/clients/audio/%) 1169ROOTUSBHUBDHDRS= $(USBHUBDHDRS:%=$(ROOTDIR)/usb/hubd/%) 1170ROOTUSBHIDHDRS = $(USBHIDHDRS:%=$(ROOTDIR)/usb/clients/hid/%) 1171ROOTUSBMSHDRS= $(USBMSHDRS:%=$(ROOTDIR)/usb/clients/mass_storage/%) 1172ROOTUSBPRNHDRS= $(USBPRNHDRS:%=$(ROOTDIR)/usb/clients/printer/%) 1173ROOTUGENHDRS= $(UGENHDRS:%=$(ROOTDIR)/usb/clients/ugen/%) 1174 1175ROOT1394HDRS= $(I1394HDRS:%=$(ROOTDIR)/1394/%) 1176 1177ROOTRSMHDRS= $(RSMHDRS:%=$(ROOTDIR)/rsm/%) 1178 1179ROOTSDKTPHDRS= $(SDKTPHDRS:%=$(ROOTDIR)/dktp/%) 1180ROOTDKTPHDRS= $(DKTPHDRS:%=$(ROOTDIR)/dktp/%) 1181ROOTPCHDRS= $(PCHDRS:%=$(ROOTDIR)/%) 1182ROOTI2OHDRS= $(I2OHDRS:%=$(ROOTDIR)/i2o/%) 1183ROOTHOTPLUGHDRS= $(HOTPLUGHDRS:%=$(ROOTDIR)/hotplug/%) 1184ROOTHOTPLUGPCIHDRS= $(HOTPLUGPCIHDRS:%=$(ROOTDIR)/hotplug/pci/%) 1185 1186 1187sparc_ROOTHDRS= $(ROOTSDKTPHDRS) $(ROOTSCSICADHDRS) $(ROOTSCSITARGETSHDRS) \ 1188 $(ROOTFCHDRS) $(ROOTUSBHDRS) $(ROOTUSBHUBDHDRS) $(ROOTPCMCIAHDRS) \ 1189 $(ROOTUSBAUDHDRS) \ 1190 $(ROOTUSBHIDHDRS) $(ROOTUSBMSHDRS) $(ROOTUSBPRNHDRS) \ 1191 $(ROOTUGENHDRS) 1192 1193i386_ROOTHDRS= $(ROOTDKTPHDRS) $(ROOTPCHDRS) $(ROOTSCSITARGETSHDRS) \ 1194 $(ROOTSCSIVHCIHDRS) $(ROOTFCHDRS) \ 1195 $(ROOTI2OHDRS) $(ROOTPCMCIAHDRS) $(ROOTHOTPLUGHDRS) \ 1196 $(ROOTHOTPLUGPCIHDRS) 1197 1198# install rules 1199$(ROOTDIR)/%: % 1200 $(INS.file) 1201 1202$(ROOTDIR)/crypto/%: crypto/% 1203 $(INS.file) 1204 1205$(ROOTDIR)/fm/%: fm/% 1206 $(INS.file) 1207 1208$(ROOTDIR)/fm/cpu/%: fm/cpu/% 1209 $(INS.file) 1210 1211$(ROOTDIR)/fm/io/%: fm/io/% 1212 $(INS.file) 1213 1214$(ROOTDIR)/fs/%: fs/% 1215 $(INS.file) 1216 1217$(ROOTDIR)/ib/%: ib/% 1218 $(INS.file) 1219 1220$(ROOTDIR)/ib/clients/ibd/%: ib/clients/ibd/% 1221 $(INS.file) 1222 1223$(ROOTDIR)/ib/ibtl/%: ib/ibtl/% 1224 $(INS.file) 1225 1226$(ROOTDIR)/ib/ibtl/impl/%: ib/ibtl/impl/% 1227 $(INS.file) 1228 1229$(ROOTDIR)/ib/ibnex/%: ib/ibnex/% 1230 $(INS.file) 1231 1232$(ROOTDIR)/ib/mgt/%: ib/mgt/% 1233 $(INS.file) 1234 1235$(ROOTDIR)/ib/mgt/ibmf/%: ib/mgt/ibmf/% 1236 $(INS.file) 1237 1238$(ROOTDIR)/ib/adapters/tavor/%: ib/adapters/tavor/% 1239 $(INS.file) 1240 1241$(ROOTDIR)/lvm/%: lvm/% 1242 $(INS.file) 1243 1244$(ROOTDIR)/pcmcia/%: pcmcia/% 1245 $(INS.file) 1246 1247$(ROOTDIR)/scsi/%: scsi/% 1248 $(INS.file) 1249 1250$(ROOTDIR)/scsi/conf/%: scsi/conf/% 1251 $(INS.file) 1252 1253$(ROOTDIR)/scsi/generic/%: scsi/generic/% 1254 $(INS.file) 1255 1256$(ROOTDIR)/scsi/impl/%: scsi/impl/% 1257 $(INS.file) 1258 1259$(ROOTDIR)/scsi/targets/%: scsi/targets/% 1260 $(INS.file) 1261 1262$(ROOTDIR)/fc4/%: fc4/% 1263 $(INS.file) 1264 1265$(ROOTDIR)/sysevent/%: sysevent/% 1266 $(INS.file) 1267 1268$(ROOTDIR)/contract/%: contract/% 1269 $(INS.file) 1270 1271$(ROOTDIR)/usb/%: usb/% 1272 $(INS.file) 1273 1274$(ROOTDIR)/usb/hubd/%: usb/hubd/% 1275 $(INS.file) 1276 1277$(ROOTDIR)/usb/clients/hid/%: usb/clients/hid/% 1278 $(INS.file) 1279 1280$(ROOTDIR)/usb/clients/mass_storage/%: usb/clients/mass_storage/% 1281 $(INS.file) 1282 1283$(ROOTDIR)/dktp/%: dktp/% 1284 $(INS.file) 1285 1286$(ROOTDIR)/1394/%: 1394/% 1287 $(INS.file) 1288 1289$(ROOTDIR)/rsm/%: rsm/% 1290 $(INS.file) 1291 1292.KEEP_STATE: 1293 1294.PARALLEL: \ 1295 $(CHECKHDRS) \ 1296 $(ROOTHDRS) \ 1297 $(ROOTAUDHDRS) \ 1298 $(ROOTCRYPTOHDRS) \ 1299 $(ROOTDCAMHDRS) \ 1300 $(ROOTISOHDRS) \ 1301 $(ROOTFMHDRS) \ 1302 $(ROOTFMCPUHDRS) \ 1303 $(ROOTFMIOHDRS) \ 1304 $(ROOTFSHDRS) \ 1305 $(ROOTIBDHDRS) \ 1306 $(ROOTIBHDRS) \ 1307 $(ROOTIBTLHDRS) \ 1308 $(ROOTIBTLIMPLHDRS) \ 1309 $(ROOTIBNEXHDRS) \ 1310 $(ROOTIBMGTHDRS) \ 1311 $(ROOTIBMFHDRS) \ 1312 $(ROOTTAVORHDRS) \ 1313 $(ROOTLVMHDRS) \ 1314 $(ROOTPCMCIAHDRS) \ 1315 $(ROOTSCSIHDRS) \ 1316 $(ROOTSCSICONFHDRS) \ 1317 $(ROOTSCSIGENHDRS) \ 1318 $(ROOTSCSIIMPLHDRS) \ 1319 $(ROOTSCSIVHCIHDRS) \ 1320 $(ROOTFCHDRS) \ 1321 $(ROOTSYSEVENTHDRS) \ 1322 $(ROOTCONTRACTHDRS) \ 1323 $(ROOTUSBHDRS) \ 1324 $(ROOTUSBAUDHDRS) \ 1325 $(ROOTUSBHUBDHDRS) \ 1326 $(ROOTUSBHIDHDRS) \ 1327 $(ROOTUSBMSHDRS) \ 1328 $(ROOTUSBPRNHDRS) \ 1329 $(ROOTUGENHDRS) \ 1330 $(ROOT1394HDRS) \ 1331 $(ROOTHOTPLUGHDRS) \ 1332 $(ROOTHOTPLUGPCIHDRS) \ 1333 $(ROOTRSMHDRS) \ 1334 $($(MACH)_ROOTHDRS) 1335 1336 1337install_h: \ 1338 $(ROOTDIRS) \ 1339 LVMDERIVED_H \ 1340 .WAIT \ 1341 $(ROOTHDRS) \ 1342 $(ROOTAUDHDRS) \ 1343 $(ROOTCRYPTOHDRS) \ 1344 $(ROOTDCAMHDRS) \ 1345 $(ROOTISOHDRS) \ 1346 $(ROOTFMHDRS) \ 1347 $(ROOTFMCPUHDRS) \ 1348 $(ROOTFMIOHDRS) \ 1349 $(ROOTFSHDRS) \ 1350 $(ROOTIBDHDRS) \ 1351 $(ROOTIBHDRS) \ 1352 $(ROOTIBTLHDRS) \ 1353 $(ROOTIBTLIMPLHDRS) \ 1354 $(ROOTIBNEXHDRS) \ 1355 $(ROOTIBMGTHDRS) \ 1356 $(ROOTIBMFHDRS) \ 1357 $(ROOTTAVORHDRS) \ 1358 $(ROOTLVMHDRS) \ 1359 $(ROOTPCMCIAHDRS) \ 1360 $(ROOTSCSIHDRS) \ 1361 $(ROOTSCSICONFHDRS) \ 1362 $(ROOTSCSIGENHDRS) \ 1363 $(ROOTSCSIIMPLHDRS) \ 1364 $(ROOTSCSIVHCIHDRS) \ 1365 $(ROOTFCHDRS) \ 1366 $(ROOTSYSEVENTHDRS) \ 1367 $(ROOTCONTRACTHDRS) \ 1368 $(ROOTUSBHDRS) \ 1369 $(ROOTUSBAUDHDRS) \ 1370 $(ROOTUSBHUBDHDRS) \ 1371 $(ROOTUSBHIDHDRS) \ 1372 $(ROOTUSBMSHDRS) \ 1373 $(ROOTUSBPRNHDRS) \ 1374 $(ROOTUGENHDRS) \ 1375 $(ROOT1394HDRS) \ 1376 $(ROOTHOTPLUGHDRS) \ 1377 $(ROOTHOTPLUGPCIHDRS) \ 1378 $(ROOTRSMHDRS) \ 1379 $($(MACH)_ROOTHDRS) \ 1380 svvs_h 1381 1382svvs_h: FRC 1383 @if [ -f lo.h ]; then \ 1384 $(MAKE) install_X_h; \ 1385 else \ 1386 true; \ 1387 fi 1388 1389all_h: $(GENHDRS) 1390 1391priv_const.h: $(PRIVS_AWK) $(PRIVS_DEF) 1392 $(NAWK) -f $(PRIVS_AWK) < $(PRIVS_DEF) -v privhfile=$@ 1393 1394priv_names.h: $(PRIVS_AWK) $(PRIVS_DEF) 1395 $(NAWK) -f $(PRIVS_AWK) < $(PRIVS_DEF) -v pubhfile=$@ 1396 1397install_X_h: $(ROOTXHDRS) 1398 1399$(ROOTDIRS): 1400 $(INS.dir) 1401 1402LVMDERIVED_H: 1403 cd $(SRC)/uts/common/sys/lvm; pwd; $(MAKE) 1404 1405check: $(CHECKHDRS) 1406 1407FRC: 1408 1409# EXPORT DELETE START 1410EXPORT_SRC: 1411 $(RM) wanboot_impl.h+ Makefile+ 1412 sed -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \ 1413 < wanboot_impl.h > wanboot_impl.h+ 1414 $(MV) wanboot_impl.h+ wanboot_impl.h 1415 sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \ 1416 < Makefile > Makefile+ 1417 $(RM) Makefile 1418 $(MV) Makefile+ Makefile 1419 $(CHMOD) 444 Makefile wanboot_impl.h 1420# EXPORT DELETE END 1421