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/tools/ctf/dwarf/Makefile.com
          +++ new/usr/src/tools/ctf/dwarf/Makefile.com
↓ open down ↓ 60 lines elided ↑ open up ↑
  61   61          pro_pubnames.o          \
  62   62          pro_reloc.o             \
  63   63          pro_reloc_stream.o      \
  64   64          pro_reloc_symbolic.o    \
  65   65          pro_section.o           \
  66   66          pro_types.o             \
  67   67          pro_vars.o              \
  68   68          pro_weaks.o
  69   69  
  70   70  include $(SRC)/lib/Makefile.lib
  71      -
       71 +include $(SRC)/tools/Makefile.tools
  72   72  
  73   73  FILEMODE =      0755
  74   74  SRCDIR =        $(SRC)/lib/libdwarf/common/
  75   75  SRCS =          $(PICS:%.o=$(SRCDIR)/%.c)
  76   76  
  77   77  CPPFLAGS +=     -I$(SRCDIR) -DELF_TARGET_ALL=1
  78   78  CERRWARN +=     -_gcc=-Wno-unused
  79   79  CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
  80   80  
  81   81  # libdwarf not clean
  82   82  SMATCH=off
  83   83  
       84 +DYNFLAGS += '-R$$ORIGIN/../../lib/$(MACH)'
  84   85  LDLIBS = -lelf -lc
  85   86  
  86   87  .KEEP_STATE:
  87   88  .PARALLEL:
  88   89  
  89   90  all:    $(DYNLIB)
  90   91  
  91   92  install: all $(ROOTONBLDLIBMACH)/libdwarf.so.1 $(ROOTONBLDLIBMACH)/libdwarf.so
  92   93  
  93   94  $(ROOTONBLDLIBMACH)/%: %
↓ open down ↓ 14 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX