143 common/inet/kssl \
144 common/inet/nca \
145 common/inet/sockmods/netpacket \
146 common/io/bpf/net \
147 common/io/fibre-channel/fca/qlc \
148 common/io/lvm/md \
149 common/ipp \
150 common/net \
151 common/netinet \
152 common/nfs \
153 common/pcmcia/sys \
154 common/rpc \
155 common/rpcsvc \
156 common/sharefs \
157 common/smb \
158 common/smbsrv \
159 common/sys \
160 common/vm
161
162
163 # These aren't the only headers in closed. But the other directories
164 # are simple enough that they can be driven from the src tree.
165 $(CLOSED_BUILD)COMMON_HDRDIRS += $(CLOSED)/uts/common/sys
166
167 #
168 # Subset of COMMON_HDRDIRS in which at least one header is generated
169 # at runtime (e.g., rpcgen), and in which "make clean" should run.
170 # Other directories should be included here, but do not yet have the
171 # necessary Makefile support (make clean). See 6414855.
172 #
173 DYNHDRDIRS = common/avs \
174 common/gssapi \
175 common/idmap \
176 common/io/fibre-channel/fca/qlc \
177 common/io/lvm/md \
178 common/klm \
179 common/rpc \
180 common/rpcsvc \
181 common/sys
182
183 sparc_HDRDIRS= sun/sys
184 i386_HDRDIRS= i86pc/vm i86xpv/vm
185
186 HDRDIRS= $(COMMON_HDRDIRS) $($(MACH)_HDRDIRS)
201 @cd common/klm; pwd; $(MAKE) $@
202
203 clean clobber: $($(MACH)_ARCHITECTURES) $(DYNHDRDIRS)
204 @if [ '$(PATCH_BUILD)' != '#' ] ; then \
205 echo $(RM) $(PMTMO_FILE) ; \
206 $(RM) $(PMTMO_FILE) ; \
207 fi
208
209 # testing convenience
210 clobber_h: $(DYNHDRDIRS)
211
212 clean.lint modlist: $($(MACH)_ARCHITECTURES)
213
214 #
215 # Cross-reference customization: build a cross-reference over all of
216 # the supported architectures. Although there's no correct way to set
217 # the include path (since we don't know what architecture is the one
218 # the user will be interested in), it's historically been set to
219 # mirror the $(XRDIRS) list, and that works kinda sorta okay.
220 #
221 # We need to manually prune usr/closed/uts/{i86xpv|sfmmu|i86pc} since
222 # none of them exist.
223 #
224 SHARED_XRDIRS = $(sparc_ARCHITECTURES) $(i386_ARCHITECTURES) sun4 sfmmu \
225 sun common
226 CLOSED_XRDIRS = $(SHARED_XRDIRS:%=% ../../closed/uts/%)
227 XRDIRS = $(SHARED_XRDIRS)
228 CLOSED_XRDIRS_XEN = $(CLOSED_XRDIRS:../../closed/uts/i86xpv=)
229 CLOSED_XRDIRS_1 = $(CLOSED_XRDIRS_XEN:../../closed/uts/i86pc=)
230 $(CLOSED_BUILD)XRDIRS = $(CLOSED_XRDIRS_1:../../closed/uts/sfmmu=)
231
232 XRINCDIRS = $(XRDIRS)
233
234 cscope.out tags: FRC
235 $(XREF) -x $@
236
237 FRC:
|
143 common/inet/kssl \
144 common/inet/nca \
145 common/inet/sockmods/netpacket \
146 common/io/bpf/net \
147 common/io/fibre-channel/fca/qlc \
148 common/io/lvm/md \
149 common/ipp \
150 common/net \
151 common/netinet \
152 common/nfs \
153 common/pcmcia/sys \
154 common/rpc \
155 common/rpcsvc \
156 common/sharefs \
157 common/smb \
158 common/smbsrv \
159 common/sys \
160 common/vm
161
162
163 #
164 # Subset of COMMON_HDRDIRS in which at least one header is generated
165 # at runtime (e.g., rpcgen), and in which "make clean" should run.
166 # Other directories should be included here, but do not yet have the
167 # necessary Makefile support (make clean). See 6414855.
168 #
169 DYNHDRDIRS = common/avs \
170 common/gssapi \
171 common/idmap \
172 common/io/fibre-channel/fca/qlc \
173 common/io/lvm/md \
174 common/klm \
175 common/rpc \
176 common/rpcsvc \
177 common/sys
178
179 sparc_HDRDIRS= sun/sys
180 i386_HDRDIRS= i86pc/vm i86xpv/vm
181
182 HDRDIRS= $(COMMON_HDRDIRS) $($(MACH)_HDRDIRS)
197 @cd common/klm; pwd; $(MAKE) $@
198
199 clean clobber: $($(MACH)_ARCHITECTURES) $(DYNHDRDIRS)
200 @if [ '$(PATCH_BUILD)' != '#' ] ; then \
201 echo $(RM) $(PMTMO_FILE) ; \
202 $(RM) $(PMTMO_FILE) ; \
203 fi
204
205 # testing convenience
206 clobber_h: $(DYNHDRDIRS)
207
208 clean.lint modlist: $($(MACH)_ARCHITECTURES)
209
210 #
211 # Cross-reference customization: build a cross-reference over all of
212 # the supported architectures. Although there's no correct way to set
213 # the include path (since we don't know what architecture is the one
214 # the user will be interested in), it's historically been set to
215 # mirror the $(XRDIRS) list, and that works kinda sorta okay.
216 #
217 XRDIRS = $(sparc_ARCHITECTURES) $(i386_ARCHITECTURES) sun4 sfmmu \
218 sun common
219
220 XRINCDIRS = $(XRDIRS)
221
222 cscope.out tags: FRC
223 $(XREF) -x $@
224
225 FRC:
|