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

@@ -20,12 +20,11 @@
 #
 #
 # Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-# ident "%Z%%M% %I%     %E% SMI"
-#
+# Copyright (c) 2018, Joyent, Inc.
 
 LIBS =          $(DYNLIB)
 
 CPPFLAGS +=     -I../inc -I$(SRC)/cmd/smserverd/
 LDLIBS +=       -lc $(PLUGIN_SPECIFIC_LIB)

@@ -41,10 +40,13 @@
 
 CLEANFILES=     $(LINTOUT) $(LINTPLUGIN)
 
 SRCDIR =        ../common
 
+# not linted
+SMATCH=off
+
 LINTFLAGS += -xu
 LINTFLAGS64 += -xu
 $(LINTPLUGIN) :=        SRCS=$(OBJECTS:%.o=../common/%.c)
 $(LINTPLUGIN) :=        LINTFLAGS=-nvx
 $(LINTPLUGIN) :=        TARGET_ARCH=