Print this page
10080 smatch Makefile changes for usr/src/cmd
@@ -20,10 +20,11 @@
#
#
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+# Copyright (c) 2018, Joyent, Inc.
PROG = ftp
DEFAULTFILES = ftp.dfl
OBJS = cmds.o cmdtab.o ftp.o getpass.o glob.o main.o pclose.o \
@@ -42,10 +43,13 @@
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-clobbered
CERRWARN += -_gcc=-Wno-uninitialized
CERRWARN += -_gcc=-Wno-address
+# not linted
+SMATCH=off
+
LDLIBS += -lsocket -lnsl -lgss
# ftp defines its own delete and glob - localize all symbols to prevent a
# name clash.
LDFLAGS += $(MAPFILE.NGB:%=-M%)