10079 smatch Makefile changes for usr/src/lib
@@ -20,10 +20,11 @@ # # # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # +# Copyright (c) 2018, Joyent, Inc. LIBRARY= libstmf.a VERS= .1 OBJECTS= stmf.o store.o
@@ -41,10 +42,13 @@ LDLIBS += -lc -lnvpair -lscf -lm CPPFLAGS += $(INCS) -D_REENTRANT CERRWARN += -_gcc=-Wno-unused-label +# not linted +SMATCH=off + $(LINTLIB) := SRCS= $(SRCDIR)/$(LINTSRC) .KEEP_STATE: all: $(LIBS)