Print this page
10080 smatch Makefile changes for usr/src/cmd

@@ -1,9 +1,10 @@
 #
 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 PROG= krb5kdc
 MANIFEST=       krb5kdc.xml
 
 OBJS    = \

@@ -54,10 +55,13 @@
 CERRWARN += -_gcc=-Wno-unused-function
 CERRWARN += -_gcc=-Wno-type-limits
 CERRWARN += -_gcc=-Wno-implicit-function-declaration
 CERRWARN += -_gcc=-Wno-parentheses
 
+# not linted
+SMATCH=off
+
 LDFLAGS += $(KRUNPATH) $(KERBRUNPATH)
 LDLIBS += -L$(ROOT_KLIBDIR) -L$(KRB5LIB) \
           -lmech_krb5 -lkdb -lkadm5srv -lnsl -lsocket -lbsm -lc
 
 .KEEP_STATE: