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/elfdump/Makefile.targ
          +++ new/usr/src/cmd/sgs/elfdump/Makefile.targ
↓ open down ↓ 31 lines elided ↑ open up ↑
  32   32                  $(POST_PROCESS_O)
  33   33  
  34   34  %32.o:          ../common/%.c
  35   35                  $(COMPILE.c) -o $@ $<
  36   36                  $(POST_PROCESS_O)
  37   37  
  38   38  %64.o:          ../common/%.c
  39   39                  $(COMPILE.c) -D_ELF64 -o $@ $<
  40   40                  $(POST_PROCESS_O)
  41   41  
  42      -%.o:            $(SGSTOOLS)/common/%.c
       42 +%.o:            $(SGSCOMMON)/%.c
  43   43                  $(COMPILE.c) -o $@ $<
  44   44                  $(POST_PROCESS_O)
  45   45  
  46   46  all:            $(PROG)
  47   47  
  48   48  $(PROG):        $(OBJS) $(MAPFILE) check_struct_layout
  49   49                  $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
  50   50                  $(POST_PROCESS)
  51   51  
  52   52  check_struct_layout: gen_struct_layout gen_layout_obj.o
↓ open down ↓ 44 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX