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= repquota ATTMK= $(LIBPROG)
@@ -36,9 +37,12 @@ CPPFLAGS += -D_LARGEFILE64_SOURCE CERRWARN += -_gcc=-Wno-type-limits CERRWARN += -_gcc=-Wno-uninitialized +# not linted +SMATCH=off + lint: lint_PROG $(ROOTUSRSBIN)/$(LIBPROG): -$(RM) $@; $(SYMLINK) $(LINKVALUE) $@