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