Print this page
10080 smatch Makefile changes for usr/src/cmd

*** 20,30 **** # # # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # ! # cmd/fs.d/nfs/nfsstat/Makefile PROG= nfsstat include ../../../Makefile.cmd --- 20,30 ---- # # # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # ! # Copyright (c) 2018, Joyent, Inc. PROG= nfsstat include ../../../Makefile.cmd
*** 40,49 **** --- 40,53 ---- SRCS += $(STAT_COMMON_SRCS) OBJS += $(STAT_COMMON_OBJS) CPPFLAGS += -I$(STATCOMMONDIR) CERRWARN += -_gcc=-Wno-parentheses + + # not linted + SMATCH=off + LDLIBS += -lkstat -lnsl $(PROG): $(OBJS) $(LINK.c) -o $@ $(LDLIBS) $(OBJS) $(POST_PROCESS)