Print this page
10080 smatch Makefile changes for usr/src/cmd
*** 6,16 ****
#
# A full copy of the text of the CDDL should have accompanied this
# source. A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#
! # Copyright 2016 Joyent, Inc.
#
LIBRARY = acpi.a
include $(SRC)/lib/Makefile.lib
--- 6,16 ----
#
# A full copy of the text of the CDDL should have accompanied this
# source. A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#
! # Copyright (c) 2018, Joyent, Inc.
#
LIBRARY = acpi.a
include $(SRC)/lib/Makefile.lib
*** 19,28 ****
--- 19,31 ----
utnonansi.o utprint.o utxferror.o
SRCS = $(OBJECTS:.o=.c)
CERRWARN += -_gcc=-Wno-unused-function
+ # needs work
+ SMOFF=all_func_returns
+
CPPFLAGS += -I$(SRC)/uts/intel/sys/acpi -DACPI_APPLICATION
LDLIBS += -lc
HSONAME=