Print this page
10079 smatch Makefile changes for usr/src/lib

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/scsi/libsmp/Makefile.com
          +++ new/usr/src/lib/scsi/libsmp/Makefile.com
↓ open down ↓ 14 lines elided ↑ open up ↑
  15   15  # If applicable, add the following below this CDDL HEADER, with the
  16   16  # fields enclosed by brackets "[]" replaced with your own identifying
  17   17  # information: Portions Copyright [yyyy] [name of copyright owner]
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  
  22   22  #
  23   23  # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
  24   24  #
       25 +# Copyright (c) 2018, Joyent, Inc.
  25   26  
  26   27  LIBRARY = libsmp.a
  27   28  VERS = .1
  28   29  
  29   30  OBJECTS = \
  30   31          smp_engine.o \
  31   32          smp_errno.o \
  32   33          smp_plugin.o \
  33   34          smp_subr.o
  34   35  
↓ open down ↓ 2 lines elided ↑ open up ↑
  37   38  
  38   39  SRCS = $(OBJECTS:%.o=../common/%.c)
  39   40  CSTD = $(CSTD_GNU99)
  40   41  CPPFLAGS += -I../common -I. -D_REENTRANT
  41   42  $(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG
  42   43  CFLAGS += $(CCVERBOSE)
  43   44  
  44   45  CERRWARN += -_gcc=-Wno-type-limits
  45   46  CERRWARN += -_gcc=-Wno-uninitialized
  46   47  
       48 +SMOFF += all_func_returns
       49 +
  47   50  LDLIBS += \
  48   51          -lumem \
  49   52          -lc
  50   53  LIBS =          $(DYNLIB) $(LINTLIB)
  51   54  ROOTLIBDIR =    $(ROOTSCSILIBDIR)
  52   55  ROOTLIBDIR64 =  $(ROOTSCSILIBDIR)/$(MACH64)
  53   56  
  54   57  CLEANFILES += \
  55   58          ../common/smp_errno.c
  56   59  
↓ open down ↓ 17 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX