Makefile revision d8d4fa8f33f737d82c7dcd7ddd11b4342ce4fbca
1N/A#
1N/A# CDDL HEADER START
1N/A#
1N/A# The contents of this file are subject to the terms of the
1N/A# Common Development and Distribution License (the "License").
1N/A# You may not use this file except in compliance with the License.
1N/A#
1N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1N/A# or http://www.opensolaris.org/os/licensing.
1N/A# See the License for the specific language governing permissions
1N/A# and limitations under the License.
1N/A#
1N/A# When distributing Covered Code, include this CDDL HEADER in each
1N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1N/A# If applicable, add the following below this CDDL HEADER, with the
1N/A# fields enclosed by brackets "[]" replaced with your own identifying
1N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1N/A#
1N/A# CDDL HEADER END
1N/A#
1N/A#
1N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
1N/A# Use is subject to license terms.
1N/A#
1N/A# ident "%Z%%M% %I% %E% SMI"
1N/A#
1N/A
1N/Ainclude ../../../Makefile.master
1N/A
1N/A# NOTE: hrtcntl.h and hrtsys.h are present in this directory so that the
1N/A# hrtsys system call can be built to facilitate transportability of
1N/A# stock SVr4 programs. Every effort is to be made to prevent objects
1N/A# from being built, so these headers are not exported (installed).
1N/A
1N/AHDRS = \
1N/A archsystm.h \
1N/A asm_linkage.h \
1N/A bootconf.h \
1N/A bootregs.h \
1N/A bootsvcs.h \
1N/A controlregs.h \
1N/A cpu.h \
1N/A ddi_isa.h \
1N/A debugreg.h \
1N/A dnet.h \
1N/A fasttrap_isa.h \
1N/A fp.h \
1N/A frame.h \
1N/A inline.h \
1N/A hypervisor.h \
1N/A kd.h \
1N/A kdi_machimpl.h \
1N/A kdi_regs.h \
1N/A machlock.h \
1N/A machsig.h \
1N/A machtypes.h \
1N/A mc.h \
1N/A mc_amd.h \
1N/A mc_intel.h \
1N/A mca_amd.h \
1N/A mca_x86.h \
1N/A mii.h \
1N/A miipriv.h \
1N/A mutex_impl.h \
1N/A obpdefs.h \
1N/A old_procfs.h \
1N/A pcb.h \
1N/A pmem.h \
1N/A privmregs.h \
1N/A privregs.h \
1N/A 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
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)