Print this page
10080 smatch Makefile changes for usr/src/cmd
@@ -19,10 +19,11 @@
# CDDL HEADER END
#
#
# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
#
+# Copyright (c) 2018, Joyent, Inc.
PROG = idmap
CLIENTOBJS = idmap.o idmap_engine.o namemaps.o
# idmap_clnt.o
CLIENTSRCS = $(CLIENTOBJS:%.o=%.c)
@@ -39,10 +40,13 @@
CERRWARN += -_gcc=-Wno-char-subscripts
CERRWARN += -_gcc=-Wno-unused-function
CERRWARN += -_gcc=-Wno-uninitialized
CERRWARN += -_gcc=-Wno-address
+# not linted
+SMATCH=off
+
POFILE = $(PROG)_all.po
LDLIBS += -lidmap -ladutils -lsldap -lldap
FILEMODE = 0555
INCS += -I. \