Print this page
10080 smatch Makefile changes for usr/src/cmd
*** 21,30 ****
--- 21,31 ----
#
# 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,51 ****
--- 43,55 ----
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)