10079 smatch Makefile changes for usr/src/lib
@@ -20,11 +20,11 @@ # # # Copyright 2007 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" +# Copyright (c) 2018, Joyent, Inc. LIBRARY= libdiskstatus.a VERS= .1 OBJECTS= libdiskstatus.o \
@@ -42,10 +42,13 @@ INCS += -I$(SRCDIR) LDLIBS += -lc -lnvpair CPPFLAGS += $(INCS) +# not linted +SMATCH=off + $(LINTLIB) := SRCS= $(SRCDIR)/$(LINTSRC) .KEEP_STATE: all: $(LIBS)