Print this page
10080 smatch Makefile changes for usr/src/cmd
*** 20,29 ****
--- 20,31 ----
#
#
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+ # Copyright (c) 2018, Joyent, Inc.
+ #
# Message catalog requires no special processing because messages
# only occur in ./nl.c, not in ../expr/compile.c.
PROG= nl
XPG4PROG= nl
*** 38,47 ****
--- 40,53 ----
LDLIBS += -lgen
CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-uninitialized
CERRWARN += -_gcc=-Wno-unused-variable
+
+ # not linted
+ SMATCH=off
+
$(XPG4):= CPPFLAGS += -DXPG4
MAPFILE.INT = ../expr/mapfile-intf
LDFLAGS += $(MAPFILE.INT:%=-M%)