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