Print this page
10080 smatch Makefile changes for usr/src/cmd
*** 20,31 ****
#
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! # ident "%Z%%M% %I% %E% SMI"
! #
include $(SRC)/cmd/Makefile.cmd
PROG_BIN = $(ROOTLIB)/abi/$(PROG)
.PRECIOUS: $(PROG)
--- 20,30 ----
#
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! # Copyright (c) 2018, Joyent, Inc.
include $(SRC)/cmd/Makefile.cmd
PROG_BIN = $(ROOTLIB)/abi/$(PROG)
.PRECIOUS: $(PROG)
*** 38,47 ****
--- 37,49 ----
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -I$(U_BASE) -I..
LDFLAGS += -L$(U_DIR)
LINTFLAGS += -xsuF -errtags=yes
+ # not linted
+ SMATCH=off
+
LDLIBS += -l$(U_LIB) -lgen
LINTLIBS = -L$(U_DIR) -l$(U_LIB)
SRCS = $(OBJECTS:%.o=../%.c)