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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/pkcs11/pkcs11_softtoken/Makefile.com
          +++ new/usr/src/lib/pkcs11/pkcs11_softtoken/Makefile.com
↓ open down ↓ 16 lines elided ↑ open up ↑
  17   17  # information: Portions Copyright [yyyy] [name of copyright owner]
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  #
  22   22  # Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
  23   23  #
  24   24  # Copyright 2010 Nexenta Systems, Inc.  All rights reserved.
  25   25  # Copyright 2018, Joyent, Inc.
  26   26  #
  27      -# lib/pkcs11/pkcs11_softtoken/Makefile.com
  28      -#
       27 +# Copyright (c) 2018, Joyent, Inc.
  29   28  
  30   29  LIBRARY = pkcs11_softtoken.a
  31   30  VERS= .1
  32   31  
  33   32  LCL_OBJECTS = \
  34   33          softGeneral.o           \
  35   34          softSlotToken.o \
  36   35          softSession.o           \
  37   36          softObject.o            \
  38   37          softDigest.o            \
↓ open down ↓ 90 lines elided ↑ open up ↑
 129  128  
 130  129  CFLAGS  +=      $(CCVERBOSE)
 131  130  
 132  131  CERRWARN +=     -_gcc=-Wno-unused-label
 133  132  CERRWARN +=     -_gcc=-Wno-parentheses
 134  133  CERRWARN +=     -_gcc=-Wno-uninitialized
 135  134  CERRWARN +=     -_gcc=-Wno-type-limits
 136  135  CERRWARN +=     -_gcc=-Wno-unused-variable
 137  136  CERRWARN +=     -_gcc=-Wno-empty-body
 138  137  
      138 +# not linted
      139 +SMATCH=off
      140 +
 139  141  CPPFLAGS += -I$(AESDIR) -I$(BLOWFISHDIR) -I$(ARCFOURDIR) -I$(DESDIR) \
 140  142              -I$(DHDIR) -I$(DSADIR) -I$(ECCDIR) -I$(SRC)/common/crypto \
 141  143              -I$(MPIDIR) -I$(RSADIR) -I$(RNGDIR) \
 142  144              -I$(SHA1DIR) -I$(SHA2DIR) -I$(SRCDIR) \
 143  145              -I$(BIGNUMDIR) -I$(PADDIR) -D_POSIX_PTHREAD_SEMANTICS \
 144  146              -DMP_API_COMPATIBLE -DNSS_ECC_MORE_THAN_SUITE_B
 145  147  
 146  148  LINTFLAGS64 += -errchk=longptr64
 147  149  
 148  150  ROOTLIBDIR=     $(ROOT)/usr/lib/security
↓ open down ↓ 31 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX