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

@@ -20,10 +20,11 @@
 #
 #
 # Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
 # Copyright 2014 Nexenta Systems, Inc.  All rights reserved.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 LIBRARY= libsmb.a
 VERS= .1
 
 OBJS_SHARED =                   \

@@ -86,10 +87,13 @@
 CPPFLAGS +=     -Dsyslog=smb_syslog
 CERRWARN +=     -_gcc=-Wno-uninitialized
 CERRWARN +=     -_gcc=-Wno-char-subscripts
 CERRWARN +=     -_gcc=-Wno-switch
 
+# not linted
+SMATCH=off
+
 SRCS=   $(OBJS_COMMON:%.o=$(SRCDIR)/%.c)        \
         $(OBJS_SHARED:%.o=$(SRC)/common/smbsrv/%.c)
 
 include ../../Makefile.targ
 include ../../../Makefile.targ