Print this page
10080 smatch Makefile changes for usr/src/cmd
*** 19,28 ****
--- 19,29 ----
# 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,54 ****
--- 46,57 ----
-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