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

@@ -20,10 +20,11 @@
 #
 #
 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 COMMONOBJS=     plugin_common.o
 OBJECTS=        $(PLUG_OBJS) $(COMMONOBJS)
 
 include $(SRC)/lib/Makefile.lib

@@ -30,10 +31,13 @@
 
 CPPFLAGS +=     -I$(SRC)/lib/libsasl/include
 
 CERRWARN +=     -_gcc=-Wno-uninitialized
 
+# not linted
+SMATCH=off
+
 LIBS =          $(DYNLIB)
 SRCS=           $(PLUG_OBJS:%.o=../%.c) \
                 $(COMMONOBJS:%.o=$(SRC)/lib/libsasl/plugin/%.c)
 LDLIBS +=       -lsocket -lc $(PLUG_LIBS)