Print this page
10080 smatch Makefile changes for usr/src/cmd
@@ -20,10 +20,11 @@
#
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+# Copyright (c) 2018, Joyent, Inc.
PROG = vscand
SRCS = vs_main.c \
vs_eng.c \
vs_icap.c \
@@ -44,10 +45,13 @@
CFLAGS += -D_FILE_OFFSET_BITS=64
$(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG
CERRWARN += -_gcc=-Wno-switch
+# not linted
+SMATCH=off
+
LINTFLAGS += -mu
CSTD = $(CSTD_GNU99)
C99LMODE = -Xc99=%all
MANIFEST = vscan.xml