Print this page
9852 enable ld(1) guidance and deflib assertions for the illumos build

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 ↓ 41 lines elided ↑ open up ↑
  42   42  
  43   43  BINDLIB=        bindings.so.1
  44   44  BINDSRC=        bindings.c
  45   45  
  46   46  ONSCRIPTS=      perfcnt symbindrep
  47   47  ONPROGS=        dumpbind
  48   48  ONLIBS=         $(SYMBINDREP) $(PERFLIB) $(BINDLIB)
  49   49  
  50   50  USRSCRIPTS=     sotruss whocalls
  51   51  CCSLIBS=        $(TRUSSLIB) $(WHOLIB)
  52      - 
       52 +
  53   53  PICDIR=         pics
  54   54  OBJDIR=         objs
  55   55  
  56   56  TRUSSPICS=      $(TRUSSSRC:%.c=$(PICDIR)/%.o) $(PICDIR)/env.o
  57   57  PERFPICS=       $(PERFSRC:%.c=$(PICDIR)/%.o) $(PICDIR)/env.o
  58   58  WHOPICS=        $(WHOSRC:%.c=$(PICDIR)/%.o) $(PICDIR)/env.o
  59   59  SYMBINDREPPICS= $(SYMBINDREPSRC:%.c=$(PICDIR)/%.o) $(PICDIR)/env.o
  60   60  BINDPICS=       $(BINDSRC:%.c=$(PICDIR)/%.o) $(PICDIR)/env.o
  61   61  
  62   62  $(WHOPICS):=    SEMANTICCHK=
↓ open down ↓ 16 lines elided ↑ open up ↑
  79   79  $(PERFLIB):=    SONAME = $(PERFLIB)
  80   80  $(WHOLIB):=     SONAME = $(WHOLIB)
  81   81  $(SYMBINDREP):= SONAME = $(SYMBINDREP)
  82   82  $(BINDLIB):=    SONAME = $(BINDLIB)
  83   83  
  84   84  $(TRUSSLIB):=   MAPFILES = ../common/mapfile-vers-truss
  85   85  $(PERFLIB):=    MAPFILES = ../common/mapfile-vers-perfcnt
  86   86  $(WHOLIB):=     MAPFILES = ../common/mapfile-vers-who
  87   87  $(SYMBINDREP):= MAPFILES = ../common/mapfile-vers-symbindrep
  88   88  $(BINDLIB):=    MAPFILES = ../common/mapfile-vers-bindings
       89 +
       90 +$(ONPROGS):=    LDFLAGS += -Bdirect
  89   91  
  90   92  $(ROOTCCSLIB) :=        DIRMODE =       755
  91   93  
  92   94  CPPFLAGS +=     -D_REENTRANT
  93   95  LDFLAGS +=      $(CC_USE_PROTO)
  94   96  DYNFLAGS +=     $(VERSREF)
  95   97  
  96   98  LINTFLAGS +=    -uaxs $(LDLIBS)
  97   99  LINTFLAGS64 +=  -uaxs $(LDLIBS)
  98  100  
↓ open down ↓ 24 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX