10080 smatch Makefile changes for usr/src/cmd
@@ -20,12 +20,11 @@ # # # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# cmd/lp/client/lpset/Makefile -# +# Copyright (c) 2018, Joyent, Inc. include ../Makefile.sp PROG= lpset
@@ -37,10 +36,14 @@ FILEMODE= 04511 CPPFLAGS += -I$(NPRTINC) CERRWARN += -_gcc=-Wno-implicit-function-declaration + +# not linted +SMATCH=off + LDLIBS += $(LIBNPRT) -lsecdb .KEEP_STATE: all: $(PROG)