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= gencat OBJS= gencat.o SRCS= $(OBJS:%.o=%.c)
@@ -31,10 +32,13 @@ include ../Makefile.cmd CERRWARN += -_gcc=-Wno-implicit-function-declaration CERRWARN += -_gcc=-Wno-unused-value +# not linted +SMATCH=off + .KEEP_STATE: all: $(PROG) $(PROG): $(OBJS)