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

@@ -22,11 +22,11 @@
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
 # Copyright (c) 1990 Mentat Inc.
 #
-# cmd/cmd-inet/usr.bin/netstat/Makefile
+# Copyright (c) 2018, Joyent, Inc.
 
 PROG=           netstat
 
 LOCALOBJS=      netstat.o unix.o
 COMMONOBJS=     compat.o

@@ -48,10 +48,13 @@
 CPPFLAGS += -DNDEBUG -I$(CMDINETCOMMONDIR) -I$(STATCOMMONDIR)
 CERRWARN += -_gcc=-Wno-uninitialized
 CERRWARN += -_gcc=-Wno-parentheses
 LDLIBS += -ldhcpagent -lsocket -lnsl -lkstat -ltsnet -ltsol
 
+# not linted
+SMATCH=off
+
 .KEEP_STATE:
 
 all: $(PROG) $(NPROG) 
 
 ROOTPROG=   $(PROG:%=$(ROOTBIN)/%)