Print this page
10080 smatch Makefile changes for usr/src/cmd
*** 21,30 ****
--- 21,31 ----
#
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+ # Copyright (c) 2018, Joyent, Inc.
PROG= captoinfo
OBJS= captoinfo.o otermcap.o
SRCS= $(OBJS:%.o=%.c)
*** 34,43 ****
--- 35,47 ----
LDFLAGS += $(MAPFILE.INT:%=-M%)
LDLIBS += -lcurses
CPPFLAGS += -I../../lib/libcurses/screen
CERRWARN += -_gcc=-Wno-parentheses
+ # code is a mess right now
+ SMATCH=off
+
.KEEP_STATE:
all: $(PROG)
$(PROG): $(OBJS) $(MAPFILE.INT)