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

@@ -21,10 +21,11 @@
 
 #
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 LIBRARY =       librstp.a
 VERS =          .1
 OBJECTS =       edge.o migrate.o p2p.o pcost.o port.o portinfo.o rolesel.o \
                 roletrns.o statmch.o stp_in.o stpm.o stpmgmt.o sttrans.o \

@@ -42,10 +43,13 @@
 LDLIBS +=       -lc
 
 CFLAGS +=       $(CCVERBOSE)
 CPPFLAGS +=     -I$(SRCDIR) -D__SUN__ -D__STP_INTERNAL__
 
+# not linted
+SMATCH=off
+
 .KEEP_STATE:
 
 all: $(LIBS)
 
 lint: lintcheck