Print this page
10080 smatch Makefile changes for usr/src/cmd
*** 20,30 ****
--- 20,32 ----
#
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+ # Copyright (c) 2018, Joyent, Inc.
+
FSTYPE = nfs
TYPEPROG = nfsmapid
TESTPROG = nfsmapid_test
ATTMK = $(TYPEPROG)
*** 42,51 ****
--- 44,56 ----
CERRWARN += -_gcc=-Wno-implicit-function-declaration
CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-uninitialized
+ # not linted
+ SMATCH=off
+
all: $(TYPEPROG) $(TESTPROG)
$(TYPEPROG): $(OBJS) $(DSRC)
$(COMPILE.d) -s $(DSRC) -o $(DOBJ) $(OBJS)
$(LINK.c) $(ZIGNORE) -o $@ $(DOBJ) $(OBJS) $(LDLIBS)