Print this page
10080 smatch Makefile changes for usr/src/cmd

@@ -19,10 +19,11 @@
 # CDDL HEADER END
 #
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 LIBRARY =       libnfs_basic.a
 VERS =          .1
 
 LIBOBJS =       libnfs_basic.o

@@ -42,10 +43,13 @@
 LDLIBS +=       -lc -lnsl
 
 CFLAGS +=       $(CCVERBOSE)
 CPPFLAGS +=     -D_REENTRANT -I$(SRC)/cmd/fs.d/nfs/lib
 
+# not linted
+SMATCH=off
+
 .KEEP_STATE:
 
 all: $(LIBS)
 
 install: $(ROOTLIBDIR) $(ROOTLIBDIR64) all