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.com
          +++ new/usr/src/cmd/sgs/elfedit/modules/Makefile.com
↓ open down ↓ 59 lines elided ↑ open up ↑
  60   60  
  61   61  CAP_PICS=       $(CAP_OBJ:%.o=$(PICDIR)/%.o)
  62   62  DYN_PICS=       $(DYN_OBJ:%.o=$(PICDIR)/%.o)
  63   63  EHDR_PICS=      $(EHDR_OBJ:%.o=$(PICDIR)/%.o)
  64   64  PHDR_PICS=      $(PHDR_OBJ:%.o=$(PICDIR)/%.o)
  65   65  SHDR_PICS=      $(SHDR_OBJ:%.o=$(PICDIR)/%.o)
  66   66  STR_PICS=       $(STR_OBJ:%.o=$(PICDIR)/%.o)
  67   67  SYM_PICS=       $(SYM_OBJ:%.o=$(PICDIR)/%.o)
  68   68  SYMINFO_PICS=   $(SYMINFO_OBJ:%.o=$(PICDIR)/%.o)
  69   69  
  70      -LDLIBS +=       $(ELFLIBDIR) -lelf $(LDDBGLIBDIR) $(LDDBG_LIB) \
  71      -                $(CONVLIBDIR) $(CONV_LIB) -lc
       70 +LDLIBS +=       $(ELFLIBDIR) -lelf $(LDDBGLIBDIR) -llddbg \
       71 +                $(CONVLIBDIR) -lconv -lc
  72   72  
  73   73  $(CAP_LIB):=            PICS = $(CAP_PICS)
  74   74  $(DYN_LIB):=            PICS = $(DYN_PICS)
  75   75  $(EHDR_LIB):=           PICS = $(EHDR_PICS)
  76   76  $(PHDR_LIB):=           PICS = $(PHDR_PICS)
  77   77  $(SHDR_LIB):=           PICS = $(SHDR_PICS)
  78   78  $(STR_LIB):=            PICS = $(STR_PICS)
  79   79  $(SYM_LIB):=            PICS = $(SYM_PICS)
  80   80  $(SYMINFO_LIB):=        PICS = $(SYMINFO_PICS)
  81   81  
↓ open down ↓ 3 lines elided ↑ open up ↑
  85   85  $(PHDR_LIB):=           SONAME = $(PHDR_LIB)
  86   86  $(SHDR_LIB):=           SONAME = $(SHDR_LIB)
  87   87  $(STR_LIB):=            SONAME = $(STR_LIB)
  88   88  $(SYM_LIB):=            SONAME = $(SYM_LIB)
  89   89  $(SYMINFO_LIB):=        SONAME = $(SYMINFO_LIB)
  90   90  
  91   91  # All the modules use a shared mapfile
  92   92  MAPFILES = ../common/mapfile-vers
  93   93  
  94   94  CPPFLAGS +=     -I../../../include -I../../../include/$(MACH) \
  95      -                -I../$(SRCBASE)/lib/libc/inc  -D_REENTRANT
       95 +                -I$(SRC)/lib/libc/inc  -D_REENTRANT
  96   96  LLDFLAGS =      '-R$$ORIGIN/../../../lib'
  97   97  LLDFLAGS64 =    '-R$$ORIGIN/../../../../lib/$(MACH64)'
  98      -LDFLAGS +=      $(CC_USE_PROTO) $(LLDFLAGS)
       98 +LDFLAGS +=      $(LLDFLAGS)
  99   99  DYNFLAGS +=     $(VERSREF)
 100  100  
 101  101  CERRWARN +=     -_gcc=-Wno-switch
 102  102  CERRWARN +=     -_gcc=-Wno-uninitialized
 103  103  
 104  104  BLTDEFS =       $(ELFEDITLIBS:%.so=%_msg.h)
 105  105  BLTDATA =       $(ELFEDITLIBS:%.so=%_msg.c)
 106  106  BLTFILES =      $(BLTDEFS) $(BLTDATA)
 107  107  
 108  108  CLEANFILES +=   $(BLTFILES) $(PICDIR)/*
↓ open down ↓ 17 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX