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