10079 smatch Makefile changes for usr/src/lib
@@ -20,10 +20,11 @@ # # # Copyright 2008 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # +# Copyright (c) 2018, Joyent, Inc. LIBRARY= libbsdmalloc.a VERS= .1 OBJECTS= \
@@ -51,10 +52,13 @@ CFLAGS += $(CCVERBOSE) CPPFLAGS += -D_REENTRANT DYNFLAGS += $(ZINTERPOSE) LDLIBS += -lc +# not linted +SMATCH=off + .KEEP_STATE: lint: $(LINT.c) $(SRCS) $(LDLIBS)