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/gprof/Makefile.com
          +++ new/usr/src/cmd/sgs/gprof/Makefile.com
↓ open down ↓ 35 lines elided ↑ open up ↑
  36   36  
  37   37  OBJS=           $(COMOBJS)
  38   38  BLURBS=         gprof.callg.blurb gprof.flat.blurb
  39   39  SRCS=           $(COMOBJS:%.o=../common/%.c)
  40   40  
  41   41  INCLIST=        -I../common -I../../include -I../../include/$(MACH)
  42   42  DEFLIST=        -DELF_OBJ -DELF
  43   43  CPPFLAGS=       $(INCLIST) $(DEFLIST) $(CPPFLAGS.master) -I$(ELFCAP)
  44   44  CFLAGS +=       $(CCVERBOSE)
  45   45  CSTD=   $(CSTD_GNU99)
  46      -LDLIBS +=       $(CONVLIBDIR) $(CONV_LIB) $(ELFLIBDIR) -lelf
       46 +LDLIBS +=       $(CONVLIBDIR) -lconv $(ELFLIBDIR) -lelf
  47   47  CERRWARN +=     -_gcc=-Wno-uninitialized
  48   48  
  49   49  # not linted
  50   50  SMATCH=off
  51   51  
  52   52  ROOTLIBBLURB=   $(BLURBS:%=$(ROOTSHLIBCCS)/%)
  53   53  
  54   54  $(ROOTLIBBLURB) :=      FILEMODE=       444
  55   55  
  56   56  %.o:            ../common/%.c
  57   57                  $(COMPILE.c) $<
  58   58  .PARALLEL: $(OBJS)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX