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

Split Close
Expand all
Collapse all
          --- old/usr/src/tools/ctf/dump/Makefile.com
          +++ new/usr/src/tools/ctf/dump/Makefile.com
↓ open down ↓ 30 lines elided ↑ open up ↑
  31   31  
  32   32  include ../../Makefile.ctf
  33   33  
  34   34  LDFLAGS += -L$(NATIVE_ADJUNCT)/lib
  35   35  LDLIBS += -lelf -lz
  36   36  
  37   37  OBJS = $(SRCS:%.c=%.o)
  38   38  LINTFILES = $(SRCS:%.c=%.ln)
  39   39  
  40   40  CERRWARN += -_gcc=-Wno-uninitialized
       41 +NATIVE_LIBS     += libz.so libelf.so
  41   42  
  42   43  .NO_PARALLEL:
  43   44  .PARALLEL: $(OBJS) $(LINTFILES)
  44   45  
  45   46  all: $(PROG)
  46   47  
  47   48  $(PROG): $(OBJS)
  48   49          $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
  49   50          $(POST_PROCESS)
  50   51  
↓ open down ↓ 17 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX