Print this page
7627 Build should be smarter about how SGSPROTO is created
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Kim Shrier <kshrier@racktopsystems.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/sgs/Makefile
          +++ new/usr/src/cmd/sgs/Makefile
↓ open down ↓ 151 lines elided ↑ open up ↑
 152  152  $(SUBDIRS):     FRC
 153  153                  @ cd $@; pwd; $(MAKE) $(TARGET)
 154  154  
 155  155  
 156  156  # Integration of ld and ld.so.1 in some developement cycles requires that both
 157  157  # of these modules be built using the new ld.  This `native' target allows us
 158  158  # to build a local ld which will then be used to build the delivered version of
 159  159  # itself and ld.so.1.  Once this new functionality appears in the standard ld
 160  160  # this target can be disabled.
 161  161  
 162      -native-add:     native-proto FRC
      162 +native-add:     FRC
 163  163                  @ cd tools/$(MACH); pwd; $(MAKE) native
 164  164                  @ cd libconv/$(MACH); pwd; $(MAKE)
 165  165                  @ cd libelf/$(MACH); pwd; $(MAKE) native
 166  166                  @ cd liblddbg/$(MACH); pwd; $(MAKE) native
 167  167                  @ cd libldstab/$(MACH); pwd; $(MAKE) native
 168  168                  @ cd libld/$(MACH); pwd; $(MAKE) native
 169  169                  @ cd ld/$(MACH); pwd; $(MAKE) native
 170  170  
 171  171  native-clobber:
 172  172                  @ cd tools; pwd; $(MAKE) $(TARGET)
 173  173                  $(RM) -r proto/$(MACH)
 174      -
 175      -native-proto:
 176      -                -@mkdir -p proto/$(MACH)
 177      -                -@mkdir -p proto/$(MACH)/lib
 178      -                -@mkdir -p proto/$(MACH)/usr
 179      -                -@mkdir -p proto/$(MACH)/usr/bin
 180  174  
 181  175  FRC:
 182  176  
 183  177  #
 184  178  # Cross-reference customization: ignore the directories named by XRPRUNE,
 185  179  # and tweak the file globs slightly.
 186  180  #
 187  181  XRPRUNE=        rtld.4.x packages abi
 188  182  XRADD=          *.msg mapfile* llib-[a-z]*
 189  183  XRDEL=          Makefile* kobj_*
↓ open down ↓ 19 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX