Print this page
10079 smatch Makefile changes for usr/src/lib
@@ -21,11 +21,11 @@
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
# Copyright 2016 Nexenta Systems, Inc.
-#
+# Copyright (c) 2018, Joyent, Inc.
LIBRARY = libdiskmgt.a
VERS = .1
OBJECTS = alias.o \
assoc_types.o \
@@ -63,10 +63,13 @@
CERRWARN += -_gcc=-Wno-switch
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-uninitialized
CPPFLAGS += -D_REENTRANT -I$(SRC)/lib/libdiskmgt/common
+# not linted
+SMATCH=off
+
.KEEP_STATE:
all: $(LIBS)
lint: lintcheck