Print this page
10080 smatch Makefile changes for usr/src/cmd
*** 22,32 ****
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# Copyright (c) 1990 Mentat Inc.
#
! # cmd/cmd-inet/usr.bin/netstat/Makefile
PROG= netstat
LOCALOBJS= netstat.o unix.o
COMMONOBJS= compat.o
--- 22,32 ----
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# Copyright (c) 1990 Mentat Inc.
#
! # Copyright (c) 2018, Joyent, Inc.
PROG= netstat
LOCALOBJS= netstat.o unix.o
COMMONOBJS= compat.o
*** 48,57 ****
--- 48,60 ----
CPPFLAGS += -DNDEBUG -I$(CMDINETCOMMONDIR) -I$(STATCOMMONDIR)
CERRWARN += -_gcc=-Wno-uninitialized
CERRWARN += -_gcc=-Wno-parentheses
LDLIBS += -ldhcpagent -lsocket -lnsl -lkstat -ltsnet -ltsol
+ # not linted
+ SMATCH=off
+
.KEEP_STATE:
all: $(PROG) $(NPROG)
ROOTPROG= $(PROG:%=$(ROOTBIN)/%)