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/link_audit/Makefile.com
          +++ new/usr/src/cmd/sgs/link_audit/Makefile.com
↓ open down ↓ 54 lines elided ↑ open up ↑
  55   55  OBJDIR=         objs
  56   56  
  57   57  TRUSSPICS=      $(TRUSSSRC:%.c=$(PICDIR)/%.o) $(PICDIR)/env.o
  58   58  PERFPICS=       $(PERFSRC:%.c=$(PICDIR)/%.o) $(PICDIR)/env.o
  59   59  WHOPICS=        $(WHOSRC:%.c=$(PICDIR)/%.o) $(PICDIR)/env.o
  60   60  SYMBINDREPPICS= $(SYMBINDREPSRC:%.c=$(PICDIR)/%.o) $(PICDIR)/env.o
  61   61  BINDPICS=       $(BINDSRC:%.c=$(PICDIR)/%.o) $(PICDIR)/env.o
  62   62  
  63   63  $(WHOPICS):=    SEMANTICCHK=
  64   64  
  65      -LDLIBS +=       $(CONVLIBDIR) $(CONV_LIB)
       65 +LDLIBS +=       $(CONVLIBDIR) -lconv
  66   66  
  67   67  $(TRUSSLIB):=   PICS = $(TRUSSPICS)
  68   68  $(PERFLIB):=    PICS = $(PERFPICS)
  69   69  $(WHOLIB):=     PICS = $(WHOPICS)
  70   70  $(SYMBINDREP):= PICS = $(SYMBINDREPPICS)
  71   71  $(BINDLIB):=    PICS = $(BINDPICS)
  72   72  
  73   73  $(TRUSSLIB):=   LDLIBS += $(ZRECORD) -lmapmalloc -lc
  74   74  $(PERFLIB):=    LDLIBS += $(ZRECORD) -lmapmalloc -lc
  75   75  $(WHOLIB):=     LDLIBS += $(ELFLIBDIR) -lelf $(ZRECORD) -lmapmalloc $(DLLIB) -lc
↓ open down ↓ 8 lines elided ↑ open up ↑
  84   84  
  85   85  $(TRUSSLIB):=   MAPFILES = ../common/mapfile-vers-truss
  86   86  $(PERFLIB):=    MAPFILES = ../common/mapfile-vers-perfcnt
  87   87  $(WHOLIB):=     MAPFILES = ../common/mapfile-vers-who
  88   88  $(SYMBINDREP):= MAPFILES = ../common/mapfile-vers-symbindrep
  89   89  $(BINDLIB):=    MAPFILES = ../common/mapfile-vers-bindings
  90   90  
  91   91  $(ROOTCCSLIB) :=        DIRMODE =       755
  92   92  
  93   93  CPPFLAGS +=     -D_REENTRANT
  94      -LDFLAGS +=      $(CC_USE_PROTO)
  95   94  DYNFLAGS +=     $(VERSREF)
  96   95  
  97   96  CLEANFILES +=   $(OBJDIR)/* $(PICDIR)/*
  98   97  CLOBBERFILES += $(ONSCRIPTS) $(ONPROGS) $(ONLIBS) $(CCSLIBS) $(USRSCRIPTS)
  99   98  
 100   99  ROOTONLDLIB=            $(ROOT)/opt/SUNWonld/lib
 101  100  ROOTONLDLIBS=           $(ONLIBS:%=$(ROOTONLDLIB)/%)
 102  101  ROOTONLDLIB64=          $(ROOTONLDLIB)/$(MACH64)
 103  102  ROOTONLDLIBS64=         $(ONLIBS:%=$(ROOTONLDLIB64)/%)
 104  103  
↓ open down ↓ 16 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX