Print this page
4027 remove CLOSED_BUILD
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/uts/sun4v/sys/Makefile
+++ new/usr/src/uts/sun4v/sys/Makefile
1 1 #
2 2 # CDDL HEADER START
3 3 #
4 4 # The contents of this file are subject to the terms of the
5 5 # Common Development and Distribution License (the "License").
6 6 # You may not use this file except in compliance with the License.
7 7 #
8 8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 9 # or http://www.opensolaris.org/os/licensing.
10 10 # See the License for the specific language governing permissions
11 11 # and limitations under the License.
12 12 #
13 13 # When distributing Covered Code, include this CDDL HEADER in each
14 14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 15 # If applicable, add the following below this CDDL HEADER, with the
16 16 # fields enclosed by brackets "[]" replaced with your own identifying
17 17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 18 #
19 19 # CDDL HEADER END
20 20 #
21 21
22 22 # Copyright 2009 Sun Microsystems, Inc. All rights reserved.
23 23 # Use is subject to license terms.
24 24 #
25 25 #
26 26 # uts/sun4v/sys/Makefile
27 27 #
28 28 # include global definitions
29 29 UTSBASE = ../..
30 30
31 31 #
32 32 # include global definitions
33 33 #
34 34 include ../Makefile.sun4v
35 35
36 36 #
37 37 # Override defaults.
38 38 #
39 39 FILEMODE = 644
40 40
41 41 SUN4_HDRS= \
42 42 clock.h \
43 43 cmp.h \
44 44 cpc_ultra.h \
45 45 cpu_sgnblk_defs.h \
46 46 ddi_subrdefs.h \
47 47 dvma.h \
48 48 eeprom.h \
49 49 fcode.h \
50 50 idprom.h \
51 51 intr.h \
52 52 intreg.h \
53 53 ivintr.h \
54 54 memlist_plat.h \
55 55 memnode.h \
56 56 nexusdebug.h \
57 57 prom_debug.h \
↓ open down ↓ |
57 lines elided |
↑ open up ↑ |
58 58 scb.h \
59 59 sun4asi.h \
60 60 tod.h \
61 61 trapstat.h \
62 62 vis.h \
63 63 vm_machparam.h \
64 64 x_call.h \
65 65 xc_impl.h \
66 66 zsmach.h
67 67
68 -CLOSED_SUN4_HDRS= \
69 - memtestio.h
70 -
71 68 HDRS= \
72 69 ds_pri.h \
73 70 ds_snmp.h \
74 71 hypervisor_api.h \
75 72 hsvc.h \
76 73 machasi.h \
77 74 machclock.h \
78 75 machcpuvar.h \
79 76 mach_descrip.h \
80 77 machintreg.h \
81 78 machparam.h \
82 79 machsystm.h \
83 80 machthread.h \
84 81 mmu.h \
↓ open down ↓ |
4 lines elided |
↑ open up ↑ |
85 82 niagaraasi.h \
86 83 niagararegs.h \
87 84 ntwdt.h \
88 85 pte.h \
89 86 prom_plat.h \
90 87 qcn.h \
91 88 soft_state.h \
92 89 traptrace.h \
93 90 vlds.h
94 91
95 -CLOSED_HDRS= \
96 - memtestio_kt.h \
97 - memtestio_ni.h \
98 - memtestio_n2.h \
99 - memtestio_v.h \
100 - memtestio_vf.h
101 -
102 92 ROOTHDRS= $(HDRS:%=$(USR_PSM_ISYS_DIR)/%)
103 -$(CLOSED_BUILD)ROOTHDRS += $(CLOSED_HDRS:%=$(USR_PSM_ISYS_DIR)/%)
104 93
105 94 SUN4_ROOTHDRS= $(SUN4_HDRS:%=$(USR_PSM_ISYS_DIR)/%)
106 -$(CLOSED_BUILD)SUN4_ROOTHDRS += $(CLOSED_SUN4_HDRS:%=$(USR_PSM_ISYS_DIR)/%)
107 95
108 96 ROOTDIR= $(ROOT)/usr/share/src
109 97 ROOTDIRS= $(ROOTDIR)/uts $(ROOTDIR)/uts/$(PLATFORM)
110 98
111 99 ROOTLINK= $(ROOTDIR)/uts/$(PLATFORM)/sys
112 100 LINKDEST= ../../../../platform/$(PLATFORM)/include/sys
113 101
114 102 CHECKHDRS= $(HDRS:%.h=%.check) \
115 103 $(SUN4_HDRS:%.h=%.cmncheck)
116 104
117 -$(CLOSED_BUILD)CHECKHDRS += \
118 - $(CLOSED_HDRS:%.h=%.check) \
119 - $(CLOSED_SUN4_HDRS:%.h=%.cmncheck)
120 -
121 105 .KEEP_STATE:
122 106
123 107 .PARALLEL: $(CHECKHDRS) $(ROOTHDRS) $(SUN4_ROOTHDRS)
124 108
125 109 install_h: $(ROOTDIRS) .WAIT \
126 110 $(ROOTHDRS) .WAIT \
127 111 $(SUN4_ROOTHDRS) .WAIT $(ROOTLINK)
128 112
129 113 check: $(CHECKHDRS)
130 114
131 115 #
132 116 # install rules
133 117 #
134 118 $(USR_PSM_ISYS_DIR)/%: ../../sfmmu/sys/% $(USR_PSM_ISYS_DIR)
135 119 $(INS.file)
136 120
137 121 $(USR_PSM_ISYS_DIR)/%: ../../sun4/sys/% $(USR_PSM_ISYS_DIR)
138 122 $(INS.file)
139 123
140 -$(USR_PSM_ISYS_DIR)/%: $(CLOSED)/uts/sun4/sys/% $(USR_PSM_ISYS_DIR)
141 - $(INS.file)
142 -
143 -$(USR_PSM_ISYS_DIR)/%: $(CLOSED)/uts/sun4v/sys/% $(USR_PSM_ISYS_DIR)
144 - $(INS.file)
145 -
146 124 $(ROOTDIRS):
147 125 $(INS.dir)
148 126
149 127 # -r because this used to be a directory and is now a link.
150 128 $(ROOTLINK): $(ROOTDIRS)
151 129 -$(RM) -r $@; $(SYMLINK) $(LINKDEST) $@
152 130
153 131 mon/%.check: mon/%.h
154 132 $(DOT_H_CHECK)
155 133
156 134 %.check: ../../sfmmu/sys/%.h
157 135 $(DOT_H_CHECK)
158 -%.check: $(CLOSED)/uts/sun4v/sys/%.h
159 - $(DOT_H_CHECK)
160 136 %.cmncheck: ../../sun4/sys/%.h
161 137 $(DOT_H_CHECK)
162 -%.cmncheck: $(CLOSED)/uts/sun4/sys/%.h
163 - $(DOT_H_CHECK)
164 138
165 139 FRC:
166 140
167 141 include ../../Makefile.targ
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX