Print this page
10080 smatch Makefile changes for usr/src/cmd
*** 21,30 ****
--- 21,31 ----
#
#
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+ # Copyright (c) 2018, Joyent, Inc.
FSTYPE= ufs
LIBPROG= newfs
OTHERINSTALL= $(ROOTUSRSBIN)/$(LIBPROG)
*** 36,45 ****
--- 37,49 ----
LDLIBS += -ladm -lefi
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-uninitialized
+ # not linted
+ SMATCH=off
+
OBJS= $(LIBPROG).o $(FSLIB)
SRCS= $(LIBPROG).c $(FSLIBSRC)
$(LIBPROG): $(OBJS)
$(LINK.c) -o $@ $(OBJS) $(LDLIBS)