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/nfsref/Makefile PROG= nfsref POFILE= nfsref.po --- 20,30 ---- # # # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # ! # Copyright (c) 2018, Joyent, Inc. PROG= nfsref POFILE= nfsref.po
*** 34,43 **** --- 34,46 ---- OBJS= nfsref.o ref_subr.o SRCS= nfsref.c CERRWARN += -_gcc=-Wno-unused-variable + # not linted + SMATCH=off + LDLIBS += -lreparse -lnvpair -lnsl -lumem $(PROG): $(OBJS) $(LINK.c) -o $@ $(LDLIBS) $(OBJS) $(POST_PROCESS)