Print this page
10079 smatch Makefile changes for usr/src/lib
@@ -21,11 +21,11 @@
#
# Copyright 2015 Gary Mills
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#
+# Copyright (c) 2018, Joyent, Inc.
LIBRARY= libnisdb.a
VERS= .2
PROTOCOL_DIR= $(ROOT)/include/rpcsvc
YPTOL_DIR= ./yptol
@@ -163,10 +163,13 @@
# Correcting these might alter logic
CERRWARN += -_gcc=-Wno-uninitialized
CERRWARN += -_gcc=-Wno-switch
+# not linted
+SMATCH=off
+
# Extra includes, from yp, for yptol files.
CPPFLAGS += -I$(SRC)/cmd/ypcmd
# Need the path to nis_clnt.h
CLNT_PICS = pics/db_entry_c_xdr.o pics/ldap_xdr.o pics/db_mindex_c_xdr.o