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

@@ -20,10 +20,12 @@
 #
 #
 # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
+#
 # Message catalog requires no special processing because messages
 # only occur in ./nl.c, not in ../expr/compile.c.
 
 PROG= nl
 XPG4PROG= nl

@@ -38,10 +40,14 @@
 
 LDLIBS += -lgen
 CFLAGS += $(CCVERBOSE)
 CERRWARN += -_gcc=-Wno-uninitialized
 CERRWARN += -_gcc=-Wno-unused-variable
+
+# not linted
+SMATCH=off
+
 $(XPG4):= CPPFLAGS += -DXPG4
 
 MAPFILE.INT =   ../expr/mapfile-intf
 LDFLAGS +=      $(MAPFILE.INT:%=-M%)