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.
 
 LIBRARY= libkdb_ldap.a
 VERS= .1
 
 LIBKLDAP_OBJS= \

@@ -74,10 +75,14 @@
                 -DUSE_KADM5_API_VERSION=2
 
 CFLAGS +=       $(CCVERBOSE) -I..
 CERRWARN +=     -_gcc=-Wno-parentheses
 CERRWARN +=     -_gcc=-Wno-unused-function
+
+# not linted
+SMATCH=off
+
 DYNFLAGS +=     $(KRUNPATH) $(KERBRUNPATH) $(KMECHLIB)
 LDLIBS +=       -L $(ROOTLIBDIR) -lkadm5srv -lc -lnsl -lldap
 
 .KEEP_STATE: