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 2008 Sun Microsystems, Inc. All rights reserved. 23# Use is subject to license terms. 24# 25 26include ../../../Makefile.master 27 28# NOTE: hrtcntl.h and hrtsys.h are present in this directory so that the 29# hrtsys system call can be built to facilitate transportability of 30# stock SVr4 programs. Every effort is to be made to prevent objects 31# from being built, so these headers are not exported (installed). 32 33HDRS = \ 34 amd_iommu.h \ 35 archsystm.h \ 36 asm_linkage.h \ 37 bootconf.h \ 38 bootregs.h \ 39 bootsvcs.h \ 40 controlregs.h \ 41 cpu.h \ 42 ddi_isa.h \ 43 debugreg.h \ 44 dnet.h \ 45 fasttrap_isa.h \ 46 fp.h \ 47 frame.h \ 48 inline.h \ 49 iommulib.h \ 50 hypervisor.h \ 51 kdi_machimpl.h \ 52 kdi_regs.h \ 53 machlock.h \ 54 machsig.h \ 55 machtypes.h \ 56 mc.h \ 57 mc_amd.h \ 58 mc_intel.h \ 59 mca_amd.h \ 60 mca_x86.h \ 61 mii.h \ 62 miipriv.h \ 63 mutex_impl.h \ 64 obpdefs.h \ 65 old_procfs.h \ 66 pcb.h \ 67 pmem.h \ 68 privmregs.h \ 69 privregs.h \ 70 procfs_isa.h \ 71 prom_emul.h \ 72 prom_isa.h \ 73 prom_plat.h \ 74 promif.h \ 75 promimpl.h \ 76 psw.h \ 77 pte.h \ 78 reg.h \ 79 regset.h \ 80 segment.h \ 81 segments.h \ 82 spl.h \ 83 stack.h \ 84 stat_impl.h \ 85 synch32.h \ 86 sysconfig_impl.h \ 87 sysi86.h \ 88 trap.h \ 89 traptrace.h \ 90 tss.h \ 91 ucontext.h \ 92 utrap.h \ 93 vmparam.h \ 94 x86_archext.h \ 95 xen_errno.h 96 97CLOSEDHDRS = \ 98 memtest.h 99 100ROOTDIR= $(ROOT)/usr/include/sys 101SCSIDIR= $(ROOTDIR)/scsi 102SCSIDIRS= $(SCSIDIR) $(SCSIDIR)/conf $(SCSIDIR)/generic \ 103 $(SCSIDIR)/impl $(SCSIDIR)/targets 104ROOTFSDIR= $(ROOTDIR)/fs 105ROOTDIRS= $(ROOTDIR) $(ROOTFSDIR) 106 107ROOTHDRS= $(HDRS:%=$(ROOTDIR)/%) 108$(CLOSED_BUILD)ROOTHDRS += $(CLOSEDHDRS:%=$(ROOTDIR)/%) 109 110CHECKHDRS= \ 111 $(HDRS:%.h=%.check) 112 113$(CLOSED_BUILD)CHECKHDRS += $(CLOSEDHDRS:%.h=$(CLOSED)/uts/intel/sys/%.check) 114 115# install rules 116$(ROOTDIR)/%: % 117 $(INS.file) 118 119$(ROOTDIR)/%: $(CLOSED)/uts/intel/sys/% 120 $(INS.file) 121 122.KEEP_STATE: 123 124.PARALLEL: $(CHECKHDRS) $(ROOTHDRS) 125 126install_h: $(ROOTDIRS) .WAIT $(ROOTHDRS) 127 128$(ROOTDIRS): 129 $(INS.dir) 130 131check: $(CHECKHDRS) 132