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 = rmmount
LOCAL_OBJS = rmmount.o
RMVOLMGR_OBJS = rmm_common.o vold.o
OBJS = $(LOCAL_OBJS) $(RMVOLMGR_OBJS)
@@ -45,10 +46,13 @@
CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-function
CERRWARN += -_gcc=-Wno-uninitialized
+# not linted
+SMATCH=off
+
.KEEP_STATE:
all: $(PROG)
$(PROG): $(OBJS)