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

@@ -21,10 +21,11 @@
 
 #
 # Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 PROG=           pvs
 
 include         $(SRC)/cmd/Makefile.cmd
 include         $(SRC)/cmd/sgs/Makefile.com

@@ -46,10 +47,13 @@
 LDLIBS +=       $(LDDBGLIBDIR) $(LDDBG_LIB) $(ELFLIBDIR) -lelf \
                     $(CONVLIBDIR) $(CONV_LIB)
 LINTFLAGS +=    -x
 LINTFLAGS64 +=  -x
 
+# not linted
+SMATCH=off
+
 BLTDEFS=        msg.h
 BLTDATA=        msg.c
 BLTMESG=        $(SGSMSGDIR)/pvs
 
 BLTFILES=       $(BLTDEFS) $(BLTDATA) $(BLTMESG)