Print this page
10079 smatch Makefile changes for usr/src/lib
*** 21,30 ****
--- 21,31 ----
#
# 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,51 ****
--- 43,55 ----
LDLIBS += -lc
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -I$(SRCDIR) -D__SUN__ -D__STP_INTERNAL__
+ # not linted
+ SMATCH=off
+
.KEEP_STATE:
all: $(LIBS)
lint: lintcheck