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

@@ -18,10 +18,11 @@
 #
 # CDDL HEADER END
 #
 # Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 PROG=           ilbadm
 
 OBJS =  ilbadm.o ilbadm_sg.o ilbadm_rules.o ilbadm_hc.o
 OBJS += ilbadm_subr.o ilbadm_import.o ilbadm_nat.o ilbadm_stats.o

@@ -37,10 +38,13 @@
 
 CERRWARN +=     -_gcc=-Wno-switch
 CERRWARN +=     -_gcc=-Wno-parentheses
 CERRWARN +=     -_gcc=-Wno-uninitialized
 
+# not linted
+SMATCH=off
+
 CSTD =  $(CSTD_GNU99)
 
 POFILES =       $(OBJS:%.o=%.po)
 POFILE =        $(PROG)_all.po