Print this page
10080 smatch Makefile changes for usr/src/cmd
@@ -22,10 +22,11 @@
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# Copyright 2013 Nexenta Systems, Inc. All rights reserved.
+# Copyright (c) 2018, Joyent, Inc.
#
#
# cmd/fs.d/smbclnt/smbutil/Makefile
#
@@ -50,10 +51,13 @@
LDLIBS += -lmlrpc -lsmbfs -lnsl
CPPFLAGS += -I$(SRC)/lib/libsmbfs \
-I$(SRC)/uts/common/smbclnt -I$(SRC)/uts/common
+# not linted
+SMATCH=off
+
# Debugging
${NOT_RELEASE_BUILD} CPPFLAGS += -DDEBUG
# uncomment these for dbx debugging
#COPTFLAG = -g