10080 smatch Makefile changes for usr/src/cmd
@@ -21,10 +21,11 @@ # # # Copyright (c) 1989,1996, by Sun Microsystems, Inc. # All rights reserved. # +# Copyright (c) 2018, Joyent, Inc. FSTYPE= ufs LIBPROG= tunefs ATTMK= $(LIBPROG)
@@ -37,10 +38,13 @@ CPPFLAGS += -D_LARGEFILE64_SOURCE CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-uninitialized +# not linted +SMATCH=off + lint: lint_PROG $(ROOTUSRSBIN)/$(LIBPROG): FRC -$(RM) $@; $(SYMLINK) $(LINKVALUE) $@