Print this page
10079 smatch Makefile changes for usr/src/lib

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/krb5/plugins/kdb/db2/libdb2/Makefile.com
          +++ new/usr/src/lib/krb5/plugins/kdb/db2/libdb2/Makefile.com
↓ open down ↓ 14 lines elided ↑ open up ↑
  15   15  # If applicable, add the following below this CDDL HEADER, with the
  16   16  # fields enclosed by brackets "[]" replaced with your own identifying
  17   17  # information: Portions Copyright [yyyy] [name of copyright owner]
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  #
  22   22  # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
  23   23  # Use is subject to license terms.
  24   24  #
       25 +# Copyright (c) 2018, Joyent, Inc.
  25   26  
  26   27  LIBRARY= libdb2.a
  27   28  VERS= .1
  28   29  
  29   30  # btree  
  30   31  BTREE_OBJS= \
  31   32          bt_close.o \
  32   33          bt_conv.o \
  33   34          bt_debug.o \
  34   35          bt_delete.o \
↓ open down ↓ 60 lines elided ↑ open up ↑
  95   96                  -I$(SRC)/lib/krb5/plugins/kdb/db2/libdb2/mpool \
  96   97                  -I$(SRC)/lib/krb5/plugins/kdb/db2/libdb2/db \
  97   98                  -I$(SRC)/lib/krb5/plugins/kdb/db2/libdb2/hash \
  98   99                  -I$(SRC)/lib/krb5/plugins/kdb/db2/libdb2/btree \
  99  100                  -I$(SRC)/lib/krb5/plugins/kdb/db2/libdb2/recno \
 100  101                  -I$(SRC)/lib/krb5/plugins/kdb/db2/libdb2/include \
 101  102                  -I$(SRC)/lib/gss_mechs/mech_krb5/include  #for db-ndbm.h
 102  103  
 103  104  CFLAGS +=       $(CCVERBOSE) -I..
 104  105  CERRWARN +=     -_gcc=-Wno-uninitialized
      106 +
      107 +# not linted
      108 +SMATCH=off
      109 +
 105  110  LDLIBS +=       -lc
 106  111  
 107  112  # Identify that this library is an interposer (on dbm_ routines from libc.so.1).
 108  113  # This identification insures runtime symbol lookup resolves to this library
 109  114  # (before libc.so.1) regardless of dependency link order.
 110  115  DYNFLAGS +=     $(ZINTERPOSE)
 111  116  
 112  117  .KEEP_STATE:
 113  118  
 114  119  all:    $(LIBS)
↓ open down ↓ 33 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX