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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/pkcs11/libsoftcrypto/amd64/Makefile
          +++ new/usr/src/lib/pkcs11/libsoftcrypto/amd64/Makefile
↓ 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  #
  23   23  # Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
  24   24  # Copyright 2017 Jason King
  25   25  # Copyright (c) 2018, Joyent, Inc.
  26   26  #
       27 +# Copyright (c) 2018, Joyent, Inc.
  27   28  
  28   29  LIBRARY =       libsoftcrypto.a
  29   30  VERS =          .1
  30   31  
  31   32  include         ../Makefile.com
  32   33  
  33   34  AES_PSM_OBJS =  aes_amd64.o aes_intel.o aeskey.o
  34   35  ARCFOUR_PSM_OBJS = arcfour-x86_64.o
  35   36  BIGNUM_PSM_OBJS = bignum_amd64.o bignum_amd64_asm.o
  36   37  MODES_PSM_OBJS = gcm_intel.o
  37   38  
  38   39  include         $(SRC)/lib/Makefile.lib
  39   40  include         $(SRC)/lib/Makefile.lib.64
  40   41  
  41   42  CERRWARN +=     -_gcc=-Wno-type-limits
  42   43  CERRWARN +=     -_gcc=-Wno-parentheses
  43   44  CERRWARN +=     -_gcc=-Wno-uninitialized
  44   45  
       46 +# not linted
       47 +SMATCH=off
       48 +
  45   49  AES_PSM_SRC =   $(AES_DIR)/$(MACH64)/aes_amd64.s \
  46   50                  $(AES_DIR)/$(MACH64)/aes_intel.s \
  47   51                  $(AES_DIR)/$(MACH64)/aeskey.c
  48   52  ARCFOUR_PSM_SRC = arcfour-x86_64.s
  49   53  BIGNUM_PSM_SRC = $(BIGNUM_DIR)/$(MACH64)/bignum_amd64.c \
  50   54                  $(BIGNUM_DIR)/$(MACH64)/bignum_amd64_asm.s
  51   55  
  52   56  MODES_PSM_SRC = $(MODES_DIR)/$(MACH64)/gcm_intel.s
  53   57  
  54   58  # Sources need to be redefined after Makefile.lib inclusion.
↓ open down ↓ 53 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX