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

@@ -20,10 +20,11 @@
 #
 #
 # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 # Copyright (c) 2016, Chris Fraire <cfraire@me.com>.
+# Copyright (c) 2018, Joyent, Inc.
 #
 
 PROG    = dhcpagent
 ROOTFS_PROG = $(PROG)
 DEFAULTFILES = dhcpagent.dfl

@@ -39,10 +40,13 @@
 XGETFLAGS += -a -x dhcpagent.xcl
 
 CERRWARN += -_gcc=-Wno-switch
 CERRWARN += -_gcc=-Wno-parentheses
 
+# not linted
+SMATCH=off
+
 #
 # to compile a debug version, do a `make COPTFLAG="-g -XO0"'
 #
 
 CPPFLAGS  += -D_XOPEN_SOURCE=500 -D__EXTENSIONS__