8354 sync regcomp(3C) with upstream (fix make catalog)
[unleashed/tickless.git] / usr / src / uts / intel / sys / Makefile
blob5cfbdec4fc6ec090beb5c02b967da5a9288a7ae1
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
22 # Copyright 2009 Sun Microsystems, Inc. All rights reserved.
23 # Use is subject to license terms.
26 include ../../../Makefile.master
28 # NOTE: hrtcntl.h and hrtsys.h are present in this directory so that the
29 # hrtsys system call can be built to facilitate transportability of
30 # stock SVr4 programs. Every effort is to be made to prevent objects
31 # from being built, so these headers are not exported (installed).
33 HDRS = \
34 archsystm.h \
35 asm_linkage.h \
36 bootconf.h \
37 bootregs.h \
38 bootsvcs.h \
39 controlregs.h \
40 cpu.h \
41 ddi_isa.h \
42 debugreg.h \
43 fasttrap_isa.h \
44 fp.h \
45 frame.h \
46 inline.h \
47 iommulib.h \
48 hypervisor.h \
49 kdi_machimpl.h \
50 kdi_regs.h \
51 machlock.h \
52 machsig.h \
53 machtypes.h \
54 mc.h \
55 mc_amd.h \
56 mc_intel.h \
57 mca_amd.h \
58 mca_x86.h \
59 mcontext.h \
60 mutex_impl.h \
61 obpdefs.h \
62 old_procfs.h \
63 pcb.h \
64 pmem.h \
65 privmregs.h \
66 privregs.h \
67 procfs_isa.h \
68 prom_emul.h \
69 prom_isa.h \
70 prom_plat.h \
71 promif.h \
72 promimpl.h \
73 psw.h \
74 pte.h \
75 reg.h \
76 regset.h \
77 segment.h \
78 segments.h \
79 spl.h \
80 stack.h \
81 stat_impl.h \
82 synch32.h \
83 sysconfig_impl.h \
84 sysi86.h \
85 trap.h \
86 traptrace.h \
87 tss.h \
88 ucontext.h \
89 utrap.h \
90 vmparam.h \
91 x86_archext.h \
92 xen_errno.h
94 ROOTDIR= $(ROOT)/usr/include/sys
95 SCSIDIR= $(ROOTDIR)/scsi
96 SCSIDIRS= $(SCSIDIR) $(SCSIDIR)/conf $(SCSIDIR)/generic \
97 $(SCSIDIR)/impl $(SCSIDIR)/targets
98 ROOTFSDIR= $(ROOTDIR)/fs
99 ROOTDIRS= $(ROOTDIR) $(ROOTFSDIR)
101 ROOTHDRS= $(HDRS:%=$(ROOTDIR)/%)
103 CHECKHDRS= \
104 $(HDRS:%.h=%.check)
106 # install rules
107 $(ROOTDIR)/%: %
108 $(INS.file)
110 .KEEP_STATE:
112 .PARALLEL: $(CHECKHDRS) $(ROOTHDRS)
114 install_h: $(ROOTDIRS) .WAIT $(ROOTHDRS)
116 $(ROOTDIRS):
117 $(INS.dir)
119 check: $(CHECKHDRS)