Print this page
11506 smatch resync
@@ -22,10 +22,12 @@
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# Copyright 2015 RackTop Systems.
#
+# Copyright 2019 Joyent, Inc.
+#
MYPROG = svc.configd
MYOBJS = \
backend.o \
configd.o \
@@ -58,13 +60,16 @@
CERRWARN += -_gcc=-Wno-type-limits
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-unused-function
CERRWARN += -_gcc=-Wno-uninitialized
+
+# strange false positive
+SMOFF += free
+
MYLDLIBS = -lumem -luutil
LDLIBS += -lsecdb -lbsm $(MYLDLIBS)
-LINTFLAGS += -errtags -erroff=E_BAD_FORMAT_ARG_TYPE2 -erroff=E_NAME_DEF_NOT_USED2
CLOBBERFILES += $(MYPROG:%=%-native)
LIBUUTIL = $(SRC)/lib/libuutil
LIBSCF = $(SRC)/lib/libscf
@@ -123,12 +128,8 @@
clean: FRC
$(RM) $(MYOBJS) $(MYOBJS:%.o=%-native.o)
clobber:
-lint: lint_SRCS
-
-lint_SRCS:
-
include ../../Makefile.targ
FRC: