Print this page
Rich's feedback

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/mdb/Makefile.mdb
          +++ new/usr/src/cmd/mdb/Makefile.mdb
↓ open down ↓ 19 lines elided ↑ open up ↑
  20   20  #
  21   21  #
  22   22  # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  23   23  # Use is subject to license terms.
  24   24  #
  25   25  
  26   26  #
  27   27  # Copyright 2011 Nexenta Systems, Inc.  All rights reserved.
  28   28  # Copyright (c) 2012 by Delphix. All rights reserved.
  29   29  # Copyright (c) 2012 Joyent, Inc. All rights reserved.
       30 +# Copyright 2018 Jason King
  30   31  #
  31   32  
  32   33  .KEEP_STATE:
  33   34  .SUFFIXES:
  34   35  
  35   36  SRCS += \
  36   37          ffs.c \
  37   38          mdb.c \
  38   39          mdb_addrvec.c \
  39   40          mdb_argvec.c \
↓ open down ↓ 52 lines elided ↑ open up ↑
  92   93          mdb_wcb.c \
  93   94          mdb_whatis.c
  94   95  
  95   96  $(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG
  96   97  CPPFLAGS += -D_MDB -I. -I../.. -I../../../common
  97   98  
  98   99  CSTD=   $(CSTD_GNU99)
  99  100  C99LMODE=       -Xc99=%all
 100  101  
 101  102  LDLIBS += -lcurses -lkvm -lproc -lrtld_db -lctf -lumem -ldisasm -lscf
 102      -LDLIBS += -lsysdemangle
      103 +LDLIBS += -ldemangle-sys
 103  104  
 104  105  CERRWARN += -_gcc=-Wno-uninitialized
 105  106  CERRWARN += -_gcc=-Wno-char-subscripts
 106  107  CERRWARN += -_gcc=-Wno-clobbered
 107  108  CERRWARN += -_gcc=-Wno-parentheses
 108  109  CERRWARN += -_gcc=-Wno-unused-label
 109  110  CERRWARN += -_gcc=-Wno-unused-variable
 110  111  
 111  112  #
 112  113  # -erroff=E_INCONS_ARG_DECL2 works around a problem where lint gets confused
↓ open down ↓ 97 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX