Print this page
10080 smatch Makefile changes for usr/src/cmd
*** 22,32 ****
#
#
# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! #
TABLEDIR = ../praudit
PROG = auditreduce
SRCS = main.c option.c proc.c time.c token.c regex2.c $(TABLEDIR)/toktable.c
--- 22,32 ----
#
#
# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! # Copyright (c) 2018, Joyent, Inc.
TABLEDIR = ../praudit
PROG = auditreduce
SRCS = main.c option.c proc.c time.c token.c regex2.c $(TABLEDIR)/toktable.c
*** 42,51 ****
--- 42,54 ----
LDLIBS += -lnsl -lbsm -lscf -ltsol
CERRWARN += -_gcc=-Wno-uninitialized
CERRWARN += -_gcc=-Wno-parentheses
+ # false positives / need cleanup
+ SMOFF += indenting,no_if_block,strcpy_overflow
+
.KEEP_STATE:
all: $(PROG)
install: all $(ROOTUSRSBINPROG)