Print this page
195 Need replacement for nfs/lockd+klm
Reviewed by: Gordon Ross <gordon.ross@nexenta.com>
Reviewed by: Jeremy Jones <jeremy@delphix.com>
Reviewed by: Jeff Biseda <jbiseda@delphix.com>


 118         RELEASE="$(RELEASE)" MACH="$(MACH)" \
 119             $(CTFCVTPTBL) -o $(PMTMO_FILE) $(PATCH_MAKEUP_TABLE)
 120 
 121 #
 122 # The following is the list of directories which contain Makefiles with
 123 # targets to install header file. The machine independent headers are
 124 # installed by invoking the Makefile in the directory containing the
 125 # header files. Machine and architecture dependent headers are installed
 126 # by invoking the main makefile for that architecture/machine which,
 127 # in turn, is responsible for invoking the Makefiles which install headers.
 128 # It is done this way so as not to assume that all of the header files in
 129 # the architecture/machine dependent subdirectories are in completely
 130 # isomorphic locations.
 131 #
 132 COMMON_HDRDIRS= common/avs \
 133                 common/c2 \
 134                 common/des \
 135                 common/fs \
 136                 common/gssapi \
 137                 common/idmap \

 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 #
 182 all_h: FRC
 183         @cd common/sys; pwd; $(MAKE) $@
 184         @cd common/rpc; pwd; $(MAKE) $@
 185         @cd common/rpcsvc; pwd; $(MAKE) $@
 186         @cd common/gssapi; pwd; $(MAKE) $@
 187         @cd common/idmap; pwd; $(MAKE) $@

 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 #


 118         RELEASE="$(RELEASE)" MACH="$(MACH)" \
 119             $(CTFCVTPTBL) -o $(PMTMO_FILE) $(PATCH_MAKEUP_TABLE)
 120 
 121 #
 122 # The following is the list of directories which contain Makefiles with
 123 # targets to install header file. The machine independent headers are
 124 # installed by invoking the Makefile in the directory containing the
 125 # header files. Machine and architecture dependent headers are installed
 126 # by invoking the main makefile for that architecture/machine which,
 127 # in turn, is responsible for invoking the Makefiles which install headers.
 128 # It is done this way so as not to assume that all of the header files in
 129 # the architecture/machine dependent subdirectories are in completely
 130 # isomorphic locations.
 131 #
 132 COMMON_HDRDIRS= common/avs \
 133                 common/c2 \
 134                 common/des \
 135                 common/fs \
 136                 common/gssapi \
 137                 common/idmap \
 138                 common/klm \
 139                 common/inet \
 140                 common/inet/ipf/netinet \
 141                 common/inet/kssl \
 142                 common/inet/nca \
 143                 common/inet/sockmods/netpacket \
 144                 common/io/bpf/net \
 145                 common/ipp \
 146                 common/net \
 147                 common/netinet \
 148                 common/nfs \
 149                 common/pcmcia/sys \
 150                 common/rpc \
 151                 common/rpcsvc \
 152                 common/sharefs \
 153                 common/smb \
 154                 common/smbsrv \
 155                 common/sys \
 156                 common/vm
 157 
 158 
 159 # These aren't the only headers in closed.  But the other directories
 160 # are simple enough that they can be driven from the src tree.
 161 $(CLOSED_BUILD)COMMON_HDRDIRS += $(CLOSED)/uts/common/sys
 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/idmap \
 170                 common/klm \
 171                 common/rpcsvc \
 172                 common/sys
 173 
 174 sparc_HDRDIRS= sun/sys
 175 i386_HDRDIRS= i86pc/vm i86xpv/vm
 176 
 177 HDRDIRS= $(COMMON_HDRDIRS) $($(MACH)_HDRDIRS)
 178 install_h check: $(HDRDIRS) $($(MACH)_ARCHITECTURES)
 179 
 180 $(HDRDIRS): FRC
 181         @cd $@; pwd; $(MAKE) $(TARGET)
 182 
 183 # ensures that headers made by rpcgen and others are available in uts source
 184 # for kernel builds to reference without building install_h
 185 #
 186 all_h: FRC
 187         @cd common/sys; pwd; $(MAKE) $@
 188         @cd common/rpc; pwd; $(MAKE) $@
 189         @cd common/rpcsvc; pwd; $(MAKE) $@
 190         @cd common/gssapi; pwd; $(MAKE) $@
 191         @cd common/idmap; pwd; $(MAKE) $@
 192         @cd common/klm; pwd; $(MAKE) $@
 193 
 194 clean clobber: $($(MACH)_ARCHITECTURES) $(DYNHDRDIRS)
 195         @if [ '$(PATCH_BUILD)' != '#' ] ; then \
 196                 echo $(RM) $(PMTMO_FILE) ; \
 197                 $(RM) $(PMTMO_FILE) ; \
 198         fi
 199 
 200 EXTRA_CLOBBER_TARGETS= common/avs/ns/rdc
 201 clobber: $(EXTRA_CLOBBER_TARGETS)
 202 
 203 
 204 clean.lint modlist: $($(MACH)_ARCHITECTURES)
 205 
 206 #
 207 # Cross-reference customization: build a cross-reference over all of
 208 # the supported architectures.  Although there's no correct way to set
 209 # the include path (since we don't know what architecture is the one
 210 # the user will be interested in), it's historically been set to
 211 # mirror the $(XRDIRS) list, and that works kinda sorta okay.
 212 #