Print this page
10080 smatch Makefile changes for usr/src/cmd
@@ -20,10 +20,11 @@
#
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+# Copyright (c) 2018, Joyent, Inc.
PROG = rpc.smserverd
OBJS = smediad.o smediad_err.o myaudit.o smed_svc.o smed_xdr.o
SRCS = $(OBJS:%.o=%.c)
lint := SRCS = smediad.c smediad_err.c myaudit.c
@@ -45,10 +46,14 @@
CPPFLAGS += -D_REENTRANT
CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-uninitialized
CERRWARN += -_gcc=-Wno-unused-variable
+
+# not linted
+SMATCH=off
+
LINTFLAGS += -u
.KEEP_STATE:
all: $(PROG)