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/libconv/Makefile.com
          +++ new/usr/src/cmd/sgs/libconv/Makefile.com
↓ open down ↓ 81 lines elided ↑ open up ↑
  82   82  # This library is unusual since it's a static archive of PIC objects.
  83   83  # Since static archives should never contain CTF data (regardless of
  84   84  # whether the object code is position-independent), we disable CTF.
  85   85  #
  86   86  NOCTFOBJS =     $(OBJECTS)
  87   87  CTFMERGE_LIB =  :
  88   88  
  89   89  include $(SRC)/lib/Makefile.lib
  90   90  include $(SRC)/cmd/sgs/Makefile.com
  91   91  
       92 +SRCDIR =        $(SRC)/cmd/sgs/libconv
       93 +
  92   94  CERRWARN        += -_gcc=-Wno-type-limits
  93   95  CERRWARN        += -_gcc=-Wno-switch
  94   96  
  95   97  # not linted
  96   98  SMATCH=off
  97   99  
  98  100  CTFCONVERT_O=
  99  101  
 100      -README_REVISION=../../packages/common/readme_revision
 101      -ONLDREADME=     ../../packages/common/SUNWonld-README
      102 +README_REVISION= $(SGSHOME)/tools/readme_revision
      103 +ONLDREADME=      $(SGSHOME)/tools/SUNWonld-README
 102  104  
 103  105  PICS=           $(OBJECTS:%=pics/%)
 104  106  
 105      -CPPFLAGS +=     -I$(SRCBASE)/lib/libc/inc -I$(ELFCAP) \
      107 +CPPFLAGS +=     -I$(SRC)/lib/libc/inc -I$(ELFCAP) \
 106  108                  -I$(SRC)/common/sgsrtcid
 107  109  
 108  110  ARFLAGS=        cr
 109  111  
 110  112  AS_CPPFLAGS=    -P -D_ASM $(CPPFLAGS)
 111  113  
 112  114  BLTDATA=        $(BLTOBJS:%.o=%.c) $(BLTOBJS:%.o=%.h) report_bufsize.h
 113  115  
 114  116  MSGSRCS=        $(COMOBJS:%.o=../common/%.c) \
 115  117                  $(COMOBJS_NOMSG:%.o=../common/%.c) \
 116  118                  $(ELFCOM_OBJS:%.o=$(ELFCAP)/%.c)
 117  119  
 118  120  SGSMSGTARG=     $(BLTOBJS:%_msg.o=../common/%.msg)
 119  121  
 120  122  CLEANFILES +=   $(BLTDATA) bld_vernote vernote.s
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX