Print this page
10079 smatch Makefile changes for usr/src/lib
*** 20,29 ****
--- 20,30 ----
#
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+ # Copyright (c) 2018, Joyent, Inc.
LIBRARY= libdevinfo.a
VERS= .1
OBJECTS= devfsinfo.o devinfo.o devinfo_prop_decode.o devinfo_devlink.o \
*** 41,50 ****
--- 42,54 ----
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -I..
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-uninitialized
+ # not linted
+ SMATCH=off
+
.KEEP_STATE:
all: $(LIBS)
lint: lintcheck