Makefile revision 74ce2b1f03bc041fa30fe2245fea81a73bf9c346
70N/A#
70N/A# CDDL HEADER START
1276N/A#
70N/A# The contents of this file are subject to the terms of the
1665N/A# Common Development and Distribution License (the "License").
70N/A# You may not use this file except in compliance with the License.
70N/A#
919N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
919N/A# or http://www.opensolaris.org/os/licensing.
919N/A# See the License for the specific language governing permissions
919N/A# and limitations under the License.
919N/A#
919N/A# When distributing Covered Code, include this CDDL HEADER in each
919N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
919N/A# If applicable, add the following below this CDDL HEADER, with the
919N/A# fields enclosed by brackets "[]" replaced with your own identifying
919N/A# information: Portions Copyright [yyyy] [name of copyright owner]
919N/A#
919N/A# CDDL HEADER END
919N/A#
919N/A#
919N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
919N/A# Use is subject to license terms.
919N/A#
70N/A
70N/Ainclude ../../../Makefile.master
70N/A
70N/A# NOTE: hrtcntl.h and hrtsys.h are present in this directory so that the
493N/A# hrtsys system call can be built to facilitate transportability of
70N/A# stock SVr4 programs. Every effort is to be made to prevent objects
70N/A# from being built, so these headers are not exported (installed).
1549N/A
70N/AHDRS = \
911N/A archsystm.h \
1549N/A asm_linkage.h \
1549N/A bootconf.h \
1549N/A bootregs.h \
911N/A bootsvcs.h \
70N/A controlregs.h \
1665N/A cpu.h \
70N/A ddi_isa.h \
70N/A debugreg.h \
70N/A fasttrap_isa.h \
70N/A fp.h \
70N/A frame.h \
70N/A inline.h \
493N/A iommulib.h \
969N/A hypervisor.h \
70N/A kdi_machimpl.h \
70N/A kdi_regs.h \
70N/A machlock.h \
70N/A machsig.h \
970N/A machtypes.h \
970N/A mc.h \
970N/A mc_amd.h \
1196N/A mc_intel.h \
1196N/A mca_amd.h \
1425N/A mca_x86.h \
1196N/A mutex_impl.h \
70N/A 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
ROOTDIR= $(ROOT)/usr/include/sys
SCSIDIR= $(ROOTDIR)/scsi
SCSIDIRS= $(SCSIDIR) $(SCSIDIR)/conf $(SCSIDIR)/generic \
$(SCSIDIR)/impl $(SCSIDIR)/targets
ROOTFSDIR= $(ROOTDIR)/fs
ROOTDIRS= $(ROOTDIR) $(ROOTFSDIR)
ROOTHDRS= $(HDRS:%=$(ROOTDIR)/%)
$(CLOSED_BUILD)ROOTHDRS += $(CLOSEDHDRS:%=$(ROOTDIR)/%)
CHECKHDRS= \
$(HDRS:%.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)