Print this page
10080 smatch Makefile changes for usr/src/cmd
@@ -20,10 +20,11 @@
#
#
# Copyright (c) 1992, 2010, Oracle and/or its affiliates. All rights reserved.
# Copyright 2015 RackTop Systems.
+# Copyright (c) 2018, Joyent, Inc.
#
FSTYPE= autofs
AUTO= automount
MOUNT= mount
@@ -96,10 +97,13 @@
CERRWARN += -_gcc=-Wno-switch
CERRWARN += -_gcc=-Wno-uninitialized
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += -_gcc=-Wno-unused-function
+# not linted
+SMATCH=off
+
OBJS= $(AUTOOBJS) $(MOUNTOBJS) $(TYPEOBJS) \
$(SHAREOBJS) $(UNSHAREOBJS)
AUTOSRCS= automount.c $(COMMON:%.o=%.c) $(FSLIBSRC)
MOUNTSRCS= mount.c $(FSLIBSRC)