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

@@ -19,12 +19,11 @@
 # CDDL HEADER END
 #
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-# Makefile for KMF Plugins
-#
+# Copyright (c) 2018, Joyent, Inc.
 
 LIBRARY=        kmf_pkcs11.a
 VERS=           .1
 
 PKCS11_COBJECTS = pkcs11_spi.o

@@ -53,10 +52,13 @@
                         -I$(ADJUNCT_PROTO)/usr/include/libxml2 -I$(BIGNUMDIR)
 LINTFLAGS64     +=      -errchk=longptr64
 
 CERRWARN        +=      -_gcc=-Wno-unused-label
 
+# not linted
+SMATCH=off
+
 PICS=   $(OBJECTS:%=pics/%)
 
 LDLIBS  +=      $(PKCS11LIBS)
 
 ROOTLIBDIR=     $(ROOTFS_LIBDIR)/crypto