Print this page
10080 smatch Makefile changes for usr/src/cmd
@@ -20,12 +20,11 @@
#
#
# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# cmd/sgs/gprof/Makefile.com
-#
+# Copyright (c) 2018, Joyent, Inc.
PROG= gprof
include $(SRC)/cmd/Makefile.cmd
include $(SRC)/cmd/sgs/Makefile.com
@@ -44,10 +43,14 @@
CSTD= $(CSTD_GNU99)
LDLIBS += $(CONVLIBDIR) $(CONV_LIB) $(ELFLIBDIR) -lelf
LINTSRCS = $(SRCS)
LINTFLAGS += -x
CERRWARN += -_gcc=-Wno-uninitialized
+
+# not linted
+SMATCH=off
+
CLEANFILES += $(LINTOUTS)
ROOTLIBBLURB= $(BLURBS:%=$(ROOTSHLIBCCS)/%)
$(ROOTLIBBLURB) := FILEMODE= 444