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

@@ -20,10 +20,11 @@
 #
 #
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 LIBRARY=        libMPAPI.a
 VERS=           .1
 OBJECTS=        mpapi.o mpapi-sun.o
 

@@ -45,10 +46,13 @@
 
 CERRWARN +=     -_gcc=-Wno-type-limits
 CERRWARN +=     -_gcc=-Wno-unused-variable
 CERRWARN +=     -_gcc=-Wno-uninitialized
 
+# not linted
+SMATCH=off
+
 ROOTETC =       $(ROOT)/etc
 CONFDIR =       ../common
 CONFFILE =      $(CONFDIR)/mpapi.conf
 IETCFILES =     $(CONFFILE:$(CONFDIR)/%=$(ROOTETC)/%)
 $(IETCFILES) := FILEMODE = 0644