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

@@ -21,12 +21,11 @@
 
 #
 # Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-#
-# cmd/cmd-inet/usr.sbin/nwamadm/Makefile
+# Copyright (c) 2018, Joyent, Inc.
 
 PROG= nwamadm
 
 include ../../../Makefile.cmd
 

@@ -34,10 +33,13 @@
 LDLIBS +=       -lofmt -linetutil -lnsl -lnwam -lumem -lscf
 
 CERRWARN += -_gcc=-Wno-switch
 CERRWARN += -_gcc=-Wno-uninitialized
 
+# not linted
+SMATCH=off
+
 .KEEP_STATE:
 
 all: $(PROG) 
 
 install: all $(ROOTUSRSBINPROG)