# # CDDL HEADER START # # The contents of this file are subject to the terms of the # Common Development and Distribution License (the "License"). # You may not use this file except in compliance with the License. # # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE # or http://www.opensolaris.org/os/licensing. # See the License for the specific language governing permissions # and limitations under the License. # # When distributing Covered Code, include this CDDL HEADER in each # file and include the License file at usr/src/OPENSOLARIS.LICENSE. # If applicable, add the following below this CDDL HEADER, with the # fields enclosed by brackets "[]" replaced with your own identifying # information: Portions Copyright [yyyy] [name of copyright owner] # # CDDL HEADER END # # # Copyright 2007 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # ident "%Z%%M% %I% %E% SMI" # include ../../../Makefile.master # NOTE: hrtcntl.h and hrtsys.h are present in this directory so that the # hrtsys system call can be built to facilitate transportability of # stock SVr4 programs. Every effort is to be made to prevent objects # from being built, so these headers are not exported (installed). HDRS = \ archsystm.h \ asm_linkage.h \ bootconf.h \ bootregs.h \ bootsvcs.h \ controlregs.h \ cpu.h \ ddi_isa.h \ debugreg.h \ dnet.h \ fasttrap_isa.h \ fp.h \ frame.h \ inline.h \ hypervisor.h \ kd.h \ kdi_machimpl.h \ kdi_regs.h \ machelf.h \ machlock.h \ machsig.h \ machtypes.h \ mc.h \ mc_amd.h \ mc_intel.h \ mca_amd.h \ mca_x86.h \ mii.h \ miipriv.h \ mutex_impl.h \ obpdefs.h \ old_procfs.h \ pcb.h \ pmem.h \ privmregs.h \ privregs.h \ procfs_isa.h \ prom_emul.h \ prom_isa.h \ prom_plat.h \ promif.h \ promimpl.h \ psw.h \ pte.h \ reg.h \ regset.h \ segment.h \ segments.h \ spl.h \ stack.h \ stat_impl.h \ synch32.h \ sysconfig_impl.h \ sysi86.h \ trap.h \ traptrace.h \ tss.h \ ucontext.h \ utrap.h \ vmparam.h \ x86_archext.h \ xen_errno.h CLOSEDHDRS = \ memtest.h \ sbpro.h SUBHDRS = \ dktp/mscsi.h ROOTDIR= $(ROOT)/usr/include/sys SCSIDIR= $(ROOTDIR)/scsi SCSIDIRS= $(SCSIDIR) $(SCSIDIR)/conf $(SCSIDIR)/generic \ $(SCSIDIR)/impl $(SCSIDIR)/targets DKTPDIR= $(ROOTDIR)/dktp DKTPDIRS= $(DKTPDIR) ROOTFSDIR= $(ROOTDIR)/fs ROOTDIRS= $(ROOTDIR) $(ROOTFSDIR) ROOTHDRS= $(HDRS:%=$(ROOTDIR)/%) $(SUBHDRS:%=$(ROOTDIR)/%) $(CLOSED_BUILD)ROOTHDRS += $(CLOSEDHDRS:%=$(ROOTDIR)/%) CHECKHDRS= \ $(HDRS:%.h=%.check) \ $(SUBHDRS:%.h=%.check) $(CLOSED_BUILD)CHECKHDRS += $(CLOSEDHDRS:%.h=$(CLOSED)/uts/intel/sys/%.check) # install rules $(ROOTDIR)/%: % $(INS.file) $(ROOTDIR)/%: $(CLOSED)/uts/intel/sys/% $(INS.file) .KEEP_STATE: .PARALLEL: $(CHECKHDRS) $(ROOTHDRS) install_h: $(ROOTDIRS) .WAIT $(ROOTHDRS) $(ROOTDIRS): $(INS.dir) check: $(CHECKHDRS)