Print this page
10080 smatch Makefile changes for usr/src/cmd
@@ -19,10 +19,11 @@
# CDDL HEADER END
#
#
# Copyright (c) 1995, 2010, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2018, Joyent, Inc.
#
LIBRARY= ldprof.a
VERS= .1
COMOBJS= profile.o
@@ -45,10 +46,12 @@
-I$(SRC)/common/sgsrtcid \
-I$(SRCBASE)/uts/$(ARCH)/sys \
$(CPPFLAGS.master) -I$(ELFCAP)
CFLAGS += $(C_PICFLAGS)
+SMOFF += indenting
+
lint := ZRECORD =
LDLIBS += $(ZRECORD) -lmapmalloc -lc $(DLLIB)
LINTFLAGS += -u -erroff=E_NAME_DECL_NOT_USED_DEF2
LINTFLAGS64 += -u -erroff=E_NAME_DECL_NOT_USED_DEF2