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