17c478bd9Sstevel@tonic-gate# 27c478bd9Sstevel@tonic-gate# CDDL HEADER START 37c478bd9Sstevel@tonic-gate# 47c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the 57c478bd9Sstevel@tonic-gate# Common Development and Distribution License, Version 1.0 only 67c478bd9Sstevel@tonic-gate# (the "License"). You may not use this file except in compliance 77c478bd9Sstevel@tonic-gate# with the License. 87c478bd9Sstevel@tonic-gate# 97c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 107c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing. 117c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions 127c478bd9Sstevel@tonic-gate# and limitations under the License. 137c478bd9Sstevel@tonic-gate# 147c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each 157c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 167c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the 177c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying 187c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner] 197c478bd9Sstevel@tonic-gate# 207c478bd9Sstevel@tonic-gate# CDDL HEADER END 217c478bd9Sstevel@tonic-gate# 227c478bd9Sstevel@tonic-gate# 23*7aec1d6eScindi# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 247c478bd9Sstevel@tonic-gate# Use is subject to license terms. 257c478bd9Sstevel@tonic-gate# 267c478bd9Sstevel@tonic-gate# ident "%Z%%M% %I% %E% SMI" 277c478bd9Sstevel@tonic-gate# 287c478bd9Sstevel@tonic-gate 297c478bd9Sstevel@tonic-gateinclude ../../../Makefile.master 307c478bd9Sstevel@tonic-gate 317c478bd9Sstevel@tonic-gate# NOTE: hrtcntl.h and hrtsys.h are present in this directory so that the 327c478bd9Sstevel@tonic-gate# hrtsys system call can be built to facilitate transportability of 337c478bd9Sstevel@tonic-gate# stock SVr4 programs. Every effort is to be made to prevent objects 347c478bd9Sstevel@tonic-gate# from being built, so these headers are not exported (installed). 357c478bd9Sstevel@tonic-gate 367c478bd9Sstevel@tonic-gateHDRS = \ 377c478bd9Sstevel@tonic-gate archsystm.h \ 387c478bd9Sstevel@tonic-gate asm_linkage.h \ 397c478bd9Sstevel@tonic-gate bootconf.h \ 407c478bd9Sstevel@tonic-gate bootregs.h \ 417c478bd9Sstevel@tonic-gate bootsvcs.h \ 427c478bd9Sstevel@tonic-gate controlregs.h \ 437c478bd9Sstevel@tonic-gate cpu.h \ 447c478bd9Sstevel@tonic-gate ddi_isa.h \ 457c478bd9Sstevel@tonic-gate debugreg.h \ 467c478bd9Sstevel@tonic-gate dnet.h \ 477c478bd9Sstevel@tonic-gate fasttrap_isa.h \ 487c478bd9Sstevel@tonic-gate fp.h \ 497c478bd9Sstevel@tonic-gate frame.h \ 507c478bd9Sstevel@tonic-gate immu.h \ 517c478bd9Sstevel@tonic-gate inline.h \ 527c478bd9Sstevel@tonic-gate kd.h \ 537c478bd9Sstevel@tonic-gate kdi_machimpl.h \ 547c478bd9Sstevel@tonic-gate machelf.h \ 557c478bd9Sstevel@tonic-gate machlock.h \ 567c478bd9Sstevel@tonic-gate machsig.h \ 577c478bd9Sstevel@tonic-gate machtypes.h \ 58*7aec1d6eScindi mc.h \ 59*7aec1d6eScindi mc_amd.h \ 60*7aec1d6eScindi mca_amd.h \ 61*7aec1d6eScindi mca_x86.h \ 62*7aec1d6eScindi memtest.h \ 637c478bd9Sstevel@tonic-gate mii.h \ 647c478bd9Sstevel@tonic-gate miipriv.h \ 657c478bd9Sstevel@tonic-gate mmu.h \ 667c478bd9Sstevel@tonic-gate mutex_impl.h \ 677c478bd9Sstevel@tonic-gate obpdefs.h \ 687c478bd9Sstevel@tonic-gate old_procfs.h \ 697c478bd9Sstevel@tonic-gate pcb.h \ 707c478bd9Sstevel@tonic-gate privregs.h \ 717c478bd9Sstevel@tonic-gate procfs_isa.h \ 727c478bd9Sstevel@tonic-gate prom_emul.h \ 737c478bd9Sstevel@tonic-gate prom_isa.h \ 747c478bd9Sstevel@tonic-gate prom_plat.h \ 757c478bd9Sstevel@tonic-gate promif.h \ 767c478bd9Sstevel@tonic-gate promimpl.h \ 777c478bd9Sstevel@tonic-gate psw.h \ 787c478bd9Sstevel@tonic-gate pte.h \ 797c478bd9Sstevel@tonic-gate reg.h \ 807c478bd9Sstevel@tonic-gate regset.h \ 817c478bd9Sstevel@tonic-gate segment.h \ 827c478bd9Sstevel@tonic-gate segments.h \ 837c478bd9Sstevel@tonic-gate spl.h \ 847c478bd9Sstevel@tonic-gate stack.h \ 857c478bd9Sstevel@tonic-gate stat_impl.h \ 867c478bd9Sstevel@tonic-gate synch32.h \ 877c478bd9Sstevel@tonic-gate sysconfig_impl.h \ 887c478bd9Sstevel@tonic-gate sysi86.h \ 897c478bd9Sstevel@tonic-gate trap.h \ 907c478bd9Sstevel@tonic-gate traptrace.h \ 917c478bd9Sstevel@tonic-gate tss.h \ 927c478bd9Sstevel@tonic-gate ucontext.h \ 937c478bd9Sstevel@tonic-gate utrap.h \ 947c478bd9Sstevel@tonic-gate vmparam.h \ 957c478bd9Sstevel@tonic-gate x86_archext.h 967c478bd9Sstevel@tonic-gate 97fb9f9b97SkupferCLOSEDHDRS = \ 98fb9f9b97Skupfer sbpro.h 99fb9f9b97Skupfer 1007c478bd9Sstevel@tonic-gateSUBHDRS = \ 1017c478bd9Sstevel@tonic-gate dktp/cdtypes.h \ 1027c478bd9Sstevel@tonic-gate dktp/mscsi.h \ 1037c478bd9Sstevel@tonic-gate dktp/scdk.h \ 1047c478bd9Sstevel@tonic-gate dktp/scdkwatch.h \ 1057c478bd9Sstevel@tonic-gate dktp/sctarget.h \ 1067c478bd9Sstevel@tonic-gate dktp/tgcd.h \ 1077c478bd9Sstevel@tonic-gate dktp/tgpassthru.h 1087c478bd9Sstevel@tonic-gate 1097c478bd9Sstevel@tonic-gateFSHDRS = \ 1107c478bd9Sstevel@tonic-gate seg_xmem.h \ 1117c478bd9Sstevel@tonic-gate xmem.h 1127c478bd9Sstevel@tonic-gate 1137c478bd9Sstevel@tonic-gateROOTDIR= $(ROOT)/usr/include/sys 1147c478bd9Sstevel@tonic-gateSCSIDIR= $(ROOTDIR)/scsi 1157c478bd9Sstevel@tonic-gateSCSIDIRS= $(SCSIDIR) $(SCSIDIR)/conf $(SCSIDIR)/generic \ 1167c478bd9Sstevel@tonic-gate $(SCSIDIR)/impl $(SCSIDIR)/targets 1177c478bd9Sstevel@tonic-gateDKTPDIR= $(ROOTDIR)/dktp 1187c478bd9Sstevel@tonic-gateDKTPDIRS= $(DKTPDIR) 1197c478bd9Sstevel@tonic-gateROOTFSDIR= $(ROOTDIR)/fs 1207c478bd9Sstevel@tonic-gateROOTDIRS= $(ROOTDIR) $(ROOTFSDIR) 1217c478bd9Sstevel@tonic-gate 1227c478bd9Sstevel@tonic-gateROOTHDRS= $(HDRS:%=$(ROOTDIR)/%) $(SUBHDRS:%=$(ROOTDIR)/%) 123fb9f9b97Skupfer$(CLOSED_BUILD)ROOTHDRS += $(CLOSEDHDRS:%=$(ROOTDIR)/%) 124fb9f9b97Skupfer 1257c478bd9Sstevel@tonic-gateROOTFSHDRS= $(FSHDRS:%=$(ROOTDIR)/fs/%) 1267c478bd9Sstevel@tonic-gate 1277c478bd9Sstevel@tonic-gateCHECKHDRS= \ 1287c478bd9Sstevel@tonic-gate $(HDRS:%.h=%.check) \ 1297c478bd9Sstevel@tonic-gate $(SUBHDRS:%.h=%.check) \ 130fb9f9b97Skupfer $(CLOSEDHDRS:%.h=$(CLOSED)/uts/intel/sys/%.check) \ 1317c478bd9Sstevel@tonic-gate $(FSHDRS:%.h=fs/%.check) 1327c478bd9Sstevel@tonic-gate 133fb9f9b97Skupfer$(CLOSED_BUILD)CHECKHDRS += $(CLOSEDHDRS:%.h=$(CLOSED)/uts/intel/sys/%.check) 134fb9f9b97Skupfer 1357c478bd9Sstevel@tonic-gate# install rules 1367c478bd9Sstevel@tonic-gate$(ROOTDIR)/%: % 1377c478bd9Sstevel@tonic-gate $(INS.file) 1387c478bd9Sstevel@tonic-gate 139fb9f9b97Skupfer$(ROOTDIR)/%: $(CLOSED)/uts/intel/sys/% 140fb9f9b97Skupfer $(INS.file) 141fb9f9b97Skupfer 1427c478bd9Sstevel@tonic-gate.KEEP_STATE: 1437c478bd9Sstevel@tonic-gate 1447c478bd9Sstevel@tonic-gate.PARALLEL: $(CHECKHDRS) $(ROOTHDRS) $(ROOTFSHDRS) 1457c478bd9Sstevel@tonic-gate 1467c478bd9Sstevel@tonic-gateinstall_h: $(ROOTDIRS) .WAIT $(ROOTHDRS) $(ROOTFSHDRS) 1477c478bd9Sstevel@tonic-gate 1487c478bd9Sstevel@tonic-gate$(ROOTDIRS): 1497c478bd9Sstevel@tonic-gate $(INS.dir) 1507c478bd9Sstevel@tonic-gate 1517c478bd9Sstevel@tonic-gatecheck: $(CHECKHDRS) 152