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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/brand/shared/librtld_db/Makefile.com
          +++ new/usr/src/lib/brand/shared/librtld_db/Makefile.com
↓ open down ↓ 13 lines elided ↑ open up ↑
  14   14  # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  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  # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
  23   23  #
       24 +# Copyright (c) 2018, Joyent, Inc.
  24   25  
  25   26  include $(SRC)/lib/Makefile.lib
  26   27  
  27   28  LIBRARY =       $(BRAND)_librtld_db.a
  28   29  VERS    =       .1
  29   30  
  30   31  CSRCS =         $(COBJS:%o=$(BRAND_SHARED)/librtld_db/common/%c)
  31   32  SRCS  =         $(CSRCS)
  32   33  
  33   34  SRCDIR =        $(BRAND_SHARED)/librtld_db/common
↓ open down ↓ 11 lines elided ↑ open up ↑
  45   46  #
  46   47  DYNFLAGS +=     $(VERSREF) -M$(BRAND_SHARED)/librtld_db/common/mapfile-vers
  47   48  LIBS =          $(DYNLIB)
  48   49  LDLIBS +=       -lc -lrtld_db
  49   50  CFLAGS +=       $(CCVERBOSE)
  50   51  CPPFLAGS +=     -D_REENTRANT \
  51   52                          -I$(SRC)/cmd/sgs/librtld_db/common \
  52   53                          -I$(SRC)/cmd/sgs/include \
  53   54                          -I$(SRC)/cmd/sgs/include/$(MACH)
  54   55  
       56 +# not linted
       57 +SMATCH=off
       58 +
  55   59  ROOTLIBDIR =    $(ROOT)/usr/lib/brand/$(BRAND)
  56   60  ROOTLIBDIR64 =  $(ROOT)/usr/lib/brand/$(BRAND)/$(MACH64)
  57   61  
  58   62  #
  59   63  # The top level Makefiles define define TEXT_DOMAIN.  But librtld_db.so.1
  60   64  # isn't internationalized and this library won't be either.  The only
  61   65  # messages that this library can generate are messages used for debugging
  62   66  # the operation of the library itself.
  63   67  #
  64   68  DTEXTDOM =
↓ open down ↓ 12 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX