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

@@ -19,10 +19,11 @@
 # CDDL HEADER END
 #
 # Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 PROG =  pktool
 
 OBJS =  pktool.o \
         common.o \

@@ -53,10 +54,13 @@
 
 CFLAGS += $(CCVERBOSE) -DDEBUG
 CERRWARN += -_gcc=-Wno-uninitialized
 CERRWARN += -_gcc=-Wno-unused-label
 
+# not linted, too much mess, but it should be
+SMATCH=off
+
 LDLIBS +=  -lkmf -lpkcs11 -lcryptoutil 
 
 .KEEP_STATE:
 
 all : $(PROG)