10080 smatch Makefile changes for usr/src/cmd
@@ -20,10 +20,11 @@ # CDDL HEADER END # # # Copyright (c) 1989 by Sun Microsystems, Inc. # +# Copyright (c) 2018, Joyent, Inc. PROG= look DATADIR= dict DATA= words
@@ -35,10 +36,13 @@ #DIRS= $(ROOTLIB) $(ROOTDATADIR) DIRS= $(ROOTDATADIR) CERRWARN += -_gcc=-Wno-implicit-function-declaration +# not linted +SMATCH=off + FILEMODE= 755 $(ROOTDATADIR)/$(DATA):= FILEMODE=444 .KEEP_STATE: