138 common/inet \
139 common/inet/ipf/netinet \
140 common/inet/kssl \
141 common/inet/nca \
142 common/inet/sockmods/netpacket \
143 common/io/bpf/net \
144 common/ipp \
145 common/net \
146 common/netinet \
147 common/nfs \
148 common/pcmcia/sys \
149 common/rpc \
150 common/rpcsvc \
151 common/sharefs \
152 common/smb \
153 common/smbsrv \
154 common/sys \
155 common/vm
156
157
158 # These aren't the only headers in closed. But the other directories
159 # are simple enough that they can be driven from the src tree.
160 $(CLOSED_BUILD)COMMON_HDRDIRS += $(CLOSED)/uts/common/sys
161
162 #
163 # Subset of COMMON_HDRDIRS in which at least one header is generated
164 # at runtime (e.g., rpcgen). (This is a partial list; there are
165 # other directories that should be included and do not yet have the
166 # necessary Makefile support. See 6414855.)
167 #
168 DYNHDRDIRS = common/rpcsvc common/idmap common/sys
169
170 sparc_HDRDIRS= sun/sys
171 i386_HDRDIRS= i86pc/vm i86xpv/vm
172
173 HDRDIRS= $(COMMON_HDRDIRS) $($(MACH)_HDRDIRS)
174 install_h check: $(HDRDIRS) $($(MACH)_ARCHITECTURES)
175
176 $(HDRDIRS): FRC
177 @cd $@; pwd; $(MAKE) $(TARGET)
178
179 # ensures that headers made by rpcgen and others are available in uts source
180 # for kernel builds to reference without building install_h
181 #
188
189 clean clobber: $($(MACH)_ARCHITECTURES) $(DYNHDRDIRS)
190 @if [ '$(PATCH_BUILD)' != '#' ] ; then \
191 echo $(RM) $(PMTMO_FILE) ; \
192 $(RM) $(PMTMO_FILE) ; \
193 fi
194
195 EXTRA_CLOBBER_TARGETS= common/avs/ns/rdc
196 clobber: $(EXTRA_CLOBBER_TARGETS)
197
198
199 clean.lint modlist: $($(MACH)_ARCHITECTURES)
200
201 #
202 # Cross-reference customization: build a cross-reference over all of
203 # the supported architectures. Although there's no correct way to set
204 # the include path (since we don't know what architecture is the one
205 # the user will be interested in), it's historically been set to
206 # mirror the $(XRDIRS) list, and that works kinda sorta okay.
207 #
208 # We need to manually prune usr/closed/uts/{i86xpv|sfmmu|i86pc} since
209 # none of them exist.
210 #
211 SHARED_XRDIRS = $(sparc_ARCHITECTURES) $(i386_ARCHITECTURES) sun4 sfmmu \
212 sun common
213 CLOSED_XRDIRS = $(SHARED_XRDIRS:%=% ../../closed/uts/%)
214 XRDIRS = $(SHARED_XRDIRS)
215 CLOSED_XRDIRS_XEN = $(CLOSED_XRDIRS:../../closed/uts/i86xpv=)
216 CLOSED_XRDIRS_1 = $(CLOSED_XRDIRS_XEN:../../closed/uts/i86pc=)
217 $(CLOSED_BUILD)XRDIRS = $(CLOSED_XRDIRS_1:../../closed/uts/sfmmu=)
218
219 XRINCDIRS = $(XRDIRS)
220
221 cscope.out tags: FRC
222 $(XREF) -x $@
223
224 FRC:
|
138 common/inet \
139 common/inet/ipf/netinet \
140 common/inet/kssl \
141 common/inet/nca \
142 common/inet/sockmods/netpacket \
143 common/io/bpf/net \
144 common/ipp \
145 common/net \
146 common/netinet \
147 common/nfs \
148 common/pcmcia/sys \
149 common/rpc \
150 common/rpcsvc \
151 common/sharefs \
152 common/smb \
153 common/smbsrv \
154 common/sys \
155 common/vm
156
157
158 #
159 # Subset of COMMON_HDRDIRS in which at least one header is generated
160 # at runtime (e.g., rpcgen). (This is a partial list; there are
161 # other directories that should be included and do not yet have the
162 # necessary Makefile support. See 6414855.)
163 #
164 DYNHDRDIRS = common/rpcsvc common/idmap common/sys
165
166 sparc_HDRDIRS= sun/sys
167 i386_HDRDIRS= i86pc/vm i86xpv/vm
168
169 HDRDIRS= $(COMMON_HDRDIRS) $($(MACH)_HDRDIRS)
170 install_h check: $(HDRDIRS) $($(MACH)_ARCHITECTURES)
171
172 $(HDRDIRS): FRC
173 @cd $@; pwd; $(MAKE) $(TARGET)
174
175 # ensures that headers made by rpcgen and others are available in uts source
176 # for kernel builds to reference without building install_h
177 #
184
185 clean clobber: $($(MACH)_ARCHITECTURES) $(DYNHDRDIRS)
186 @if [ '$(PATCH_BUILD)' != '#' ] ; then \
187 echo $(RM) $(PMTMO_FILE) ; \
188 $(RM) $(PMTMO_FILE) ; \
189 fi
190
191 EXTRA_CLOBBER_TARGETS= common/avs/ns/rdc
192 clobber: $(EXTRA_CLOBBER_TARGETS)
193
194
195 clean.lint modlist: $($(MACH)_ARCHITECTURES)
196
197 #
198 # Cross-reference customization: build a cross-reference over all of
199 # the supported architectures. Although there's no correct way to set
200 # the include path (since we don't know what architecture is the one
201 # the user will be interested in), it's historically been set to
202 # mirror the $(XRDIRS) list, and that works kinda sorta okay.
203 #
204 XRDIRS = $(sparc_ARCHITECTURES) $(i386_ARCHITECTURES) sun4 sfmmu \
205 sun common
206
207 XRINCDIRS = $(XRDIRS)
208
209 cscope.out tags: FRC
210 $(XREF) -x $@
211
212 FRC:
|