10080 smatch Makefile changes for usr/src/cmd
@@ -19,10 +19,11 @@ # CDDL HEADER END # # # Copyright (c) 1992, 2010, Oracle and/or its affiliates. All rights reserved. # +# Copyright (c) 2018, Joyent, Inc. PROG = auditd MANIFEST = auditd.xml SVCMETHOD = svc-auditd
@@ -37,10 +38,12 @@ CPPFLAGS += -D_REENTRANT CPPFLAGS += -I$(LIBBSM) -I$(AUDITD) CERRWARN += -_gcc=-Wno-parentheses +SMOFF += macros + LDLIBS += -lbsm -lsecdb OBJS = auditd.o doorway.o queue.o SRCS = $(OBJS:%.o=%.c)