Print this page
10080 smatch Makefile changes for usr/src/cmd
@@ -21,10 +21,11 @@
#
# Copyright 2015 Nexenta Systems, Inc. All rights reserved.
# Copyright (c) 1990, 2010, Oracle and/or its affiliates. All rights reserved.
#
+# Copyright (c) 2018, Joyent, Inc.
FSTYPE = nfs
TYPEPROG = mountd
ATTMK = $(TYPEPROG)
@@ -42,10 +43,13 @@
CPPFLAGS += -D_REENTRANT -I../lib
CERRWARN += -_gcc=-Wno-uninitialized
CERRWARN += -_gcc=-Wno-switch
+# not linted
+SMATCH=off
+
$(TYPEPROG): $(OBJS)
$(COMPILE.d) -s $(DSRC) -o $(DOBJ) $(OBJS)
$(LINK.c) -o $@ $(DOBJ) $(OBJS) $(LDLIBS)
$(POST_PROCESS)