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

@@ -22,10 +22,11 @@
 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
 # Copyright 2014 Nexenta Systems, Inc.  All rights reserved.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 LIBRARY =       libfksmbsrv.a
 VERS =          .1
 
 OBJS_LOCAL = \

@@ -213,10 +214,13 @@
 CPPFLAGS += -DDEBUG
 
 CERRWARN += -_gcc=-Wno-parentheses
 CERRWARN += -_gcc=-Wno-switch
 
+# not linted
+SMATCH=off
+
 SRCS=   $(OBJS_LOCAL:%.o=$(SRCDIR)/%.c) \
         $(OBJS_FS_SMBSRV:%.o=$(SRC)/uts/common/fs/smbsrv/%.c) \
         $(OBJS_CMN_SMBSRV:%.o=$(SRC)/common/smbsrv/%.c)
 
 all: