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/liblddbg/Makefile.targ
          +++ new/usr/src/cmd/sgs/liblddbg/Makefile.targ
↓ open down ↓ 49 lines elided ↑ open up ↑
  50   50  .PARALLEL:      $(LINTOUT32) $(LINTOUT64) $(LINTLIB32) $(LINTLIB64)
  51   51  
  52   52  lint:           $(LINTLIB32) $(LINTOUT32) $(LINTLIB64) $(LINTOUT64) \
  53   53                      .WAIT $(SGSLINTOUT)
  54   54  
  55   55  # Special target for native builds (ie. when we need to build a version of ld
  56   56  # to build a version of ld :-).
  57   57  
  58   58  native:         $(SGSLIBDIR)/$(LIBLINKS)
  59   59  
  60      -$(SGSLIBDIR)/$(DYNLIB): pics .WAIT $$(PICS)
       60 +$(PICS):        pics
       61 +
       62 +$(SGSLIBDIR)/$(DYNLIB): $(PICS) $(SGSLIBDIR)
  61   63                  $(BUILD.SO)
  62   64                  $(POST_PROCESS_SO)
  63   65  
  64   66  $(SGSLIBDIR)/$(LIBLINKS): $(SGSLIBDIR)/$(DYNLIB)
  65   67                  -@$(RM) $(SGSLIBDIR)/$(LIBLINKS)
  66   68                  $(SYMLINK) $(DYNLIB) $(SGSLIBDIR)/$(LIBLINKS)
  67   69  
  68   70  include         $(SRC)/lib/Makefile.targ
  69   71  include         $(SRC)/cmd/sgs/Makefile.targ
  70   72  
↓ open down ↓ 11 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX