Print this page
11461 should use a native link-editor during the build
11463 SUNWonld has passed its use-by date
11464 cmd/sgs/tools should contain tools, not common code
11465 sgsmsg should be built with the rest of the build tools

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/sgs/elfedit/modules/Makefile.targ
          +++ new/usr/src/cmd/sgs/elfedit/modules/Makefile.targ
↓ open down ↓ 93 lines elided ↑ open up ↑
  94   94  
  95   95  %_msg.h %_msg.c:        $(SGSMSG) ../common/%.msg
  96   96                  $(SGSMSG) $(SGSMSGFLAGS) -l -h $@ -d $@ \
  97   97                          -m $(SGSMSGDIR)/elfedit_$* -n $*_msg $<
  98   98  
  99   99  # This rule causes the message catalog file to be created under
 100  100  # sgs/messages, but does not regenerate the C or header file for the module.
 101  101  $(SGSMSGDIR)/elfedit_%: $(SGSMSG) ../common/%.msg
 102  102                  $(SGSMSG) $(SGSMSGFLAGS) -l -m $(SGSMSGDIR)/elfedit_$* $<
 103  103  
 104      -$(SGSMSG):
 105      -                @ cd $(SGSTOOLS)/$(MACH); pwd; $(MAKE) catalog
 106      -                @ pwd
 107      -
 108  104  catalog:        $(SGSMSGDIR)/elfedit_cap \
 109  105                  $(SGSMSGDIR)/elfedit_dyn \
 110  106                  $(SGSMSGDIR)/elfedit_ehdr \
 111  107                  $(SGSMSGDIR)/elfedit_phdr \
 112  108                  $(SGSMSGDIR)/elfedit_shdr \
 113  109                  $(SGSMSGDIR)/elfedit_str \
 114  110                  $(SGSMSGDIR)/elfedit_sym \
 115  111                  $(SGSMSGDIR)/elfedit_syminfo
 116  112  
 117  113  chkmsg:         $(SRCS)
↓ open down ↓ 11 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX