Print this page
10079 smatch Makefile changes for usr/src/lib

@@ -19,12 +19,12 @@
 # CDDL HEADER END
 #
 #
 # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
 # Copyright (c) 2016, Chris Fraire <cfraire@me.com>.
+# Copyright (c) 2018, Joyent, Inc.
 #
-#
 
 LIBRARY = libipadm.a
 VERS    = .1
 OBJECTS = libipadm.o ipadm_prop.o ipadm_persist.o ipadm_addr.o ipadm_if.o \
           ipadm_ndpd.o ipadm_ngz.o

@@ -44,10 +44,13 @@
 CFLAGS +=       $(CCVERBOSE)
 CERRWARN +=     -_gcc=-Wno-switch
 CERRWARN +=     -_gcc=-Wno-uninitialized
 CPPFLAGS +=     -I$(SRCDIR) -D_REENTRANT
 
+# not linted
+SMATCH=off
+
 .KEEP_STATE:
 
 all:            $(LIBS)
 
 lint:           lintcheck