Print this page
10080 smatch Makefile changes for usr/src/cmd
*** 20,30 ****
#
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! # cmd/swap/Makefile.com
PROG= swap
OBJS= $(PROG).o
SRCS= $(OBJS:%.o=../%.c)
--- 20,30 ----
#
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! # Copyright (c) 2018, Joyent, Inc.
PROG= swap
OBJS= $(PROG).o
SRCS= $(OBJS:%.o=../%.c)
*** 33,42 ****
--- 33,45 ----
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -D_LARGEFILE64_SOURCE
CFLAGS64 += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-uninitialized
+ # not linted
+ SMATCH=off
+
FILEMODE=02555
CLEANFILES += $(OBJS)
.KEEP_STATE: