Print this page
10079 smatch Makefile changes for usr/src/lib
*** 20,29 ****
--- 20,30 ----
#
#
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+ # Copyright (c) 2018, Joyent, Inc.
LIBRARY = libpapi-common.a
VERS = .0
OBJECTS = attribute.o common.o library.o list.o misc.o status.o uri.o
*** 41,50 ****
--- 42,54 ----
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -I$(SRCDIR)
CERRWARN += -_gcc=-Wno-switch
+ # not linted
+ SMATCH=off
+
MAPFILES = $(SRCDIR)/mapfile
LDLIBS += -lc -lsocket -lnsl
.KEEP_STATE: