Print this page
10080 smatch Makefile changes for usr/src/cmd
@@ -21,10 +21,11 @@
#
# 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,10 +35,13 @@
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)