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

@@ -19,11 +19,11 @@
 # CDDL HEADER END
 #
 #
 # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
 #
-#
+# Copyright (c) 2018, Joyent, Inc.
 
 LIBRARY =       libshare_autofs.a
 VERS =          .1
 AUTOFSSMFLIB_DIR = $(SRC)/cmd/fs.d/nfs/lib
 

@@ -47,10 +47,14 @@
 #add nfs/lib directory as part of the include path
 CFLAGS +=       $(CCVERBOSE)
 CERRWARN +=     -_gcc=-Wno-switch
 CERRWARN +=     -_gcc=-Wno-unused-variable
 CERRWARN +=     -_gcc=-Wno-uninitialized
+
+# not linted
+SMATCH=off
+
 CPPFLAGS +=     -D_REENTRANT -I$(AUTOFSSMFLIB_DIR) \
                         -I$(ADJUNCT_PROTO)/usr/include/libxml2 \
                         -I$(SRCDIR)../common
 
 .KEEP_STATE: