Print this page
10080 smatch Makefile changes for usr/src/cmd
*** 19,30 ****
# CDDL HEADER END
#
#
# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
#
! # usr/src/cmd/cmd-inet/lib/nwamd/Makefile
! #
# Needed for ROOTFS_LIBDIR definition
include ../../../../lib/Makefile.lib
PROG= nwamd
--- 19,29 ----
# CDDL HEADER END
#
#
# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
#
! # Copyright (c) 2018, Joyent, Inc.
# Needed for ROOTFS_LIBDIR definition
include ../../../../lib/Makefile.lib
PROG= nwamd
*** 58,67 ****
--- 57,69 ----
CERRWARN += -_gcc=-Wno-uninitialized
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-switch
CERRWARN += -_gcc=-Wno-unused-label
+ # not linted
+ SMATCH=off
+
#
# Instrument with CTF data to ease debugging.
#
CTFCONVERT_HOOK = && $(CTFCONVERT_O)
CTFMERGE_HOOK = && $(CTFMERGE) -L VERSION -o $@ $(OBJS)