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

@@ -1,10 +1,10 @@
 #
 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-#
+# Copyright (c) 2018, Joyent, Inc.
 
 PROG= klist
 
 OUTPUT_OPTION = -I. 
 

@@ -26,10 +26,13 @@
 
 LDFLAGS += $(KRUNPATH)
 LDLIBS += $(KMECHLIB)
 CERRWARN += -_gcc=-Wno-unused-function
 
+# not linted
+SMATCH=off
+
 $(GPROGS) := CPPFLAGS += -DSYSV -DSunOS=50 
 
 .KEEP_STATE:
 
 all: $(PROG)