Print this page
10080 smatch Makefile changes for usr/src/cmd
*** 20,33 ****
#
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
- #
- # cmd/cmd-inet/usr.sbin/ipqosconf/Makefile
-
PROG= ipqosconf
OBJS= ipqosconf.o
SRCS= $(OBJS:%.o=%.c)
HDRS= ipqosconf.h
--- 20,31 ----
#
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+ # Copyright (c) 2018, Joyent, Inc.
PROG= ipqosconf
OBJS= ipqosconf.o
SRCS= $(OBJS:%.o=%.c)
HDRS= ipqosconf.h
*** 53,62 ****
--- 51,63 ----
CPPFLAGS += -D__EXTENSIONS__
CERRWARN += -_gcc=-Wno-switch
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-uninitialized
+ # not linted
+ SMATCH=off
+
LDLIBS += -lsocket -lnsl -lnvpair -lipp
.KEEP_STATE:
.INIT: $(HDRS)