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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libnisdb/Makefile
          +++ new/usr/src/lib/libnisdb/Makefile
↓ open down ↓ 15 lines elided ↑ open up ↑
  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 2015 Gary Mills
  23   23  # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  24   24  # Use is subject to license terms.
  25   25  #
  26      -#
       26 +# Copyright (c) 2018, Joyent, Inc.
  27   27  
  28   28  LIBRARY= libnisdb.a
  29   29  VERS=   .2
  30   30  PROTOCOL_DIR= $(ROOT)/include/rpcsvc
  31   31  YPTOL_DIR= ./yptol
  32   32  
  33   33  SED=    sed
  34   34  
  35   35  OBJECTS = \
  36   36          db_entry.o db_entry_c_xdr.o \
↓ open down ↓ 121 lines elided ↑ open up ↑
 158  158  pics/update.o \
 159  159  pics/yptol_utils.o \
 160  160  pics/map_ctrl.o
 161  161  
 162  162  $(UVAR_PICS) := CERRWARN += -_gcc=-Wno-unused-variable
 163  163  
 164  164  # Correcting these might alter logic
 165  165  CERRWARN +=     -_gcc=-Wno-uninitialized
 166  166  CERRWARN +=     -_gcc=-Wno-switch
 167  167  
      168 +# not linted
      169 +SMATCH=off
      170 +
 168  171  # Extra includes, from yp, for yptol files.
 169  172  CPPFLAGS += -I$(SRC)/cmd/ypcmd
 170  173  
 171  174  # Need the path to nis_clnt.h
 172  175  CLNT_PICS = pics/db_entry_c_xdr.o pics/ldap_xdr.o pics/db_mindex_c_xdr.o
 173  176  
 174  177  $(CLNT_PICS) := CPPFLAGS += -I../libnsl/nis/gen
 175  178  
 176  179  LIBS = $(DYNLIB)
 177  180  ZDEFS=
↓ open down ↓ 64 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX