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/libld/Makefile.targ
          +++ new/usr/src/cmd/sgs/libld/Makefile.targ
↓ open down ↓ 95 lines elided ↑ open up ↑
  96   96  .PARALLEL:      $(LINTOUT32) $(LINTOUT64) $(LINTLIB32) $(LINTLIB64)
  97   97  
  98   98  lint:           $(LINTLIB32) $(LINTOUT32) $(LINTLIB64) $(LINTOUT64) \
  99   99                      .WAIT $(SGSLINTOUT)
 100  100  
 101  101  # Special target for native builds (ie. when we need to build a version of ld
 102  102  # to build a version of ld :-).
 103  103  
 104  104  native:         $(SGSLIBDIR)/$(LIBLINKS)
 105  105  
 106      -$(SGSLIBDIR)/$(DYNLIB): pics .WAIT $$(PICS)
      106 +$(PICS):        pics
      107 +
      108 +$(SGSLIBDIR)/$(DYNLIB): $(PICS) $(SGSLIBDIR)
 107  109                  $(BUILD.SO)
 108  110                  $(POST_PROCESS_SO)
 109  111  
 110  112  $(SGSLIBDIR)/$(LIBLINKS): $(SGSLIBDIR)/$(DYNLIB)
 111  113                  @$(RM) $(SGSLIBDIR)/$(LIBLINKS)
 112  114                  $(SYMLINK) $(DYNLIB) $(SGSLIBDIR)/$(LIBLINKS)
 113  115  
 114  116  include         $(SRC)/lib/Makefile.targ
 115  117  include         $(SRC)/cmd/sgs/Makefile.targ
 116  118  
↓ open down ↓ 13 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX