10080 smatch Makefile changes for usr/src/cmd
@@ -21,10 +21,11 @@ # # # Copyright 2004 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # +# Copyright (c) 2018, Joyent, Inc. PROG= tput include ../Makefile.cmd
@@ -33,10 +34,13 @@ CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-parentheses XGETFLAGS += -a -x tput.xcl LDLIBS += -lcurses +# not linted +SMATCH=off + all: $(PROG) install: all $(ROOTPROG) clean: