Print this page
10079 smatch Makefile changes for usr/src/lib
@@ -22,12 +22,11 @@
# Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
#
# Copyright 2010 Nexenta Systems, Inc. All rights reserved.
# Copyright 2018, Joyent, Inc.
#
-# lib/pkcs11/pkcs11_softtoken/Makefile.com
-#
+# Copyright (c) 2018, Joyent, Inc.
LIBRARY = pkcs11_softtoken.a
VERS= .1
LCL_OBJECTS = \
@@ -134,10 +133,13 @@
CERRWARN += -_gcc=-Wno-uninitialized
CERRWARN += -_gcc=-Wno-type-limits
CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-empty-body
+# not linted
+SMATCH=off
+
CPPFLAGS += -I$(AESDIR) -I$(BLOWFISHDIR) -I$(ARCFOURDIR) -I$(DESDIR) \
-I$(DHDIR) -I$(DSADIR) -I$(ECCDIR) -I$(SRC)/common/crypto \
-I$(MPIDIR) -I$(RSADIR) -I$(RNGDIR) \
-I$(SHA1DIR) -I$(SHA2DIR) -I$(SRCDIR) \
-I$(BIGNUMDIR) -I$(PADDIR) -D_POSIX_PTHREAD_SEMANTICS \