blob: 0a6af2de2da6dca98deb7ac6cd16c19b88df6fb9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
|
#
# 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 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
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 \
fasttrap_isa.h \
fp.h \
frame.h \
inline.h \
iommulib.h \
hypervisor.h \
kdi_machimpl.h \
kdi_regs.h \
machlock.h \
machsig.h \
machtypes.h \
mc.h \
mc_amd.h \
mc_intel.h \
mca_amd.h \
mca_x86.h \
mcontext.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
# Headers shared with the various machine architectures are installed via
# different means, but are checked here, since it is a common point.
include Makefile.psm
CHECK_ONLY_HDRS = $(PSM_SHARED_HDRS)
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)/%)
CHECKHDRS = \
$(HDRS:%.h=%.check) \
$(CHECK_ONLY_HDRS:%.h=%.check) \
# install rules
$(ROOTDIR)/%: %
$(INS.file)
.KEEP_STATE:
.PARALLEL: $(CHECKHDRS) $(ROOTHDRS)
install_h: $(ROOTDIRS) .WAIT $(ROOTHDRS)
$(ROOTDIRS):
$(INS.dir)
check: $(CHECKHDRS)
|