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

@@ -1,10 +1,11 @@
 #
 #
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 ROUTEDPROG=     in.routed
 ROUTEDOBJS=     common.o if.o input.o main.o output.o parms.o radix.o \
                 rdisc.o table.o trace.o
 ROUTEDSRCS=     $(ROUTEDOBJS:.o=.c)

@@ -37,10 +38,13 @@
 
 CPPFLAGS +=     $(_D_XOPEN_EXTN)
 CFLAGS +=       $(CCVERBOSE)
 CERRWARN +=     -_gcc=-Wno-parentheses
 CERRWARN +=     -_gcc=-Wno-uninitialized
+# not linted
+SMATCH=off
+
 LDLIBS +=       -lxnet -lmd -lsocket
 CLEAN_FILES +=  $(ROUTEDOBJS) $(RTQUERYOBJS)
 CLOBBERFILES += $(ROUTEDPROG) $(RTQUERYPROG)
 #
 # Message catalog