Print this page
10079 smatch Makefile changes for usr/src/lib
*** 20,32 ****
#
#
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! #
! # usr/src/lib/hal/libhal-storage/Makefile.com
! #
LIBRARY = libhal-storage.a
VERS = .1.0.0
VERS_MAJ = .1
OBJECTS = libhal-storage.o
--- 20,30 ----
#
#
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! # Copyright (c) 2018, Joyent, Inc.
LIBRARY = libhal-storage.a
VERS = .1.0.0
VERS_MAJ = .1
OBJECTS = libhal-storage.o
*** 45,54 ****
--- 43,54 ----
CFLAGS64 += -_gcc=-Wno-deprecated-declarations
CPPFLAGS += -DGETTEXT_PACKAGE=\"$(HAL_GETTEXT_PACKAGE)\" -DENABLE_NLS
CPPFLAGS += -DPACKAGE_LOCALE_DIR=\"/usr/lib/locale\"
CPPFLAGS += -I$(ROOT)/usr/include/hal
+ SMOFF += all_func_returns
+
ROOTMAJLINK = $(ROOTLIBDIR)/$(LIBRARY:.a=.so)$(VERS_MAJ)
ROOTMAJLINK64 = $(ROOTLIBDIR64)/$(LIBRARY:.a=.so)$(VERS_MAJ)
.KEEP_STATE: