Print this page
10079 smatch Makefile changes for usr/src/lib
*** 20,29 ****
--- 20,30 ----
#
#
#
# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
+ # Copyright (c) 2018, Joyent, Inc.
LIBRARY = libshare_nfs.a
VERS = .1
NFSLIB_DIR = $(SRC)/cmd/fs.d/nfs/lib
*** 51,60 ****
--- 52,64 ----
CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-uninitialized
CPPFLAGS += -D_REENTRANT -I$(NFSLIB_DIR) \
-I$(ADJUNCT_PROTO)/usr/include/libxml2 -I$(SRCDIR)/../common
+ # not linted
+ SMATCH=off
+
.KEEP_STATE:
all: $(LIBS)
install: all