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


  84 
  85 
  86 $(ROOTELFEDITDIR)/%: %
  87                 $(INS.file)
  88 
  89 $(ROOTELFEDITDIR64)/%: %
  90                 $(INS.file)
  91 
  92 
  93 ../common/%.c:  %_msg.h
  94 
  95 %_msg.h %_msg.c:        $(SGSMSG) ../common/%.msg
  96                 $(SGSMSG) $(SGSMSGFLAGS) -l -h $@ -d $@ \
  97                         -m $(SGSMSGDIR)/elfedit_$* -n $*_msg $<
  98 
  99 # This rule causes the message catalog file to be created under
 100 # sgs/messages, but does not regenerate the C or header file for the module.
 101 $(SGSMSGDIR)/elfedit_%: $(SGSMSG) ../common/%.msg
 102                 $(SGSMSG) $(SGSMSGFLAGS) -l -m $(SGSMSGDIR)/elfedit_$* $<
 103 
 104 $(SGSMSG):
 105                 @ cd $(SGSTOOLS)/$(MACH); pwd; $(MAKE) catalog
 106                 @ pwd
 107 
 108 catalog:        $(SGSMSGDIR)/elfedit_cap \
 109                 $(SGSMSGDIR)/elfedit_dyn \
 110                 $(SGSMSGDIR)/elfedit_ehdr \
 111                 $(SGSMSGDIR)/elfedit_phdr \
 112                 $(SGSMSGDIR)/elfedit_shdr \
 113                 $(SGSMSGDIR)/elfedit_str \
 114                 $(SGSMSGDIR)/elfedit_sym \
 115                 $(SGSMSGDIR)/elfedit_syminfo
 116 
 117 chkmsg:         $(SRCS)
 118                 sh $(CHKMSG) -m ../common/cap.msg ../common/cap.c
 119                 sh $(CHKMSG) -m ../common/dyn.msg ../common/dyn.c
 120                 sh $(CHKMSG) -m ../common/ehdr.msg ../common/ehdr.c
 121                 sh $(CHKMSG) -m ../common/phdr.msg ../common/phdr.c
 122                 sh $(CHKMSG) -m ../common/shdr.msg ../common/shdr.c
 123                 sh $(CHKMSG) -m ../common/str.msg ../common/str.c
 124                 sh $(CHKMSG) -m ../common/sym.msg ../common/sym.c
 125                 sh $(CHKMSG) -m ../common/syminfo.msg ../common/syminfo.c
 126 
 127 


  84 
  85 
  86 $(ROOTELFEDITDIR)/%: %
  87                 $(INS.file)
  88 
  89 $(ROOTELFEDITDIR64)/%: %
  90                 $(INS.file)
  91 
  92 
  93 ../common/%.c:  %_msg.h
  94 
  95 %_msg.h %_msg.c:        $(SGSMSG) ../common/%.msg
  96                 $(SGSMSG) $(SGSMSGFLAGS) -l -h $@ -d $@ \
  97                         -m $(SGSMSGDIR)/elfedit_$* -n $*_msg $<
  98 
  99 # This rule causes the message catalog file to be created under
 100 # sgs/messages, but does not regenerate the C or header file for the module.
 101 $(SGSMSGDIR)/elfedit_%: $(SGSMSG) ../common/%.msg
 102                 $(SGSMSG) $(SGSMSGFLAGS) -l -m $(SGSMSGDIR)/elfedit_$* $<
 103 




 104 catalog:        $(SGSMSGDIR)/elfedit_cap \
 105                 $(SGSMSGDIR)/elfedit_dyn \
 106                 $(SGSMSGDIR)/elfedit_ehdr \
 107                 $(SGSMSGDIR)/elfedit_phdr \
 108                 $(SGSMSGDIR)/elfedit_shdr \
 109                 $(SGSMSGDIR)/elfedit_str \
 110                 $(SGSMSGDIR)/elfedit_sym \
 111                 $(SGSMSGDIR)/elfedit_syminfo
 112 
 113 chkmsg:         $(SRCS)
 114                 sh $(CHKMSG) -m ../common/cap.msg ../common/cap.c
 115                 sh $(CHKMSG) -m ../common/dyn.msg ../common/dyn.c
 116                 sh $(CHKMSG) -m ../common/ehdr.msg ../common/ehdr.c
 117                 sh $(CHKMSG) -m ../common/phdr.msg ../common/phdr.c
 118                 sh $(CHKMSG) -m ../common/shdr.msg ../common/shdr.c
 119                 sh $(CHKMSG) -m ../common/str.msg ../common/str.c
 120                 sh $(CHKMSG) -m ../common/sym.msg ../common/sym.c
 121                 sh $(CHKMSG) -m ../common/syminfo.msg ../common/syminfo.c
 122 
 123