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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libproc/Makefile.com
          +++ new/usr/src/lib/libproc/Makefile.com
↓ open down ↓ 15 lines elided ↑ open up ↑
  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) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
  23   23  # Copyright 2012 DEY Storage Systems, Inc.  All rights reserved.
  24   24  # Copyright (c) 2013 by Delphix. All rights reserved.
  25   25  #
       26 +# Copyright (c) 2018, Joyent, Inc.
  26   27  
  27   28  LIBRARY = libproc.a
  28   29  VERS = .1
  29   30  
  30   31  CMNOBJS =       \
  31   32          P32ton.o        \
  32   33          Pcontrol.o      \
  33   34          Pcore.o         \
  34   35          Pexecname.o     \
  35   36          Pfdinfo.o       \
↓ open down ↓ 56 lines elided ↑ open up ↑
  92   93  $(LINTLIB) :=   SRCS = $(SRCDIR)/$(LINTSRC)
  93   94  
  94   95  CFLAGS +=       $(CCVERBOSE)
  95   96  CPPFLAGS +=     -I$(SRCDIR)
  96   97  
  97   98  CERRWARN +=     -_gcc=-Wno-uninitialized
  98   99  CERRWARN +=     -_gcc=-Wno-parentheses
  99  100  CERRWARN +=     -_gcc=-Wno-type-limits
 100  101  CERRWARN +=     -_gcc=-Wno-unused-label
 101  102  
      103 +# not linted
      104 +SMATCH=off
      105 +
 102  106  # All interfaces are interposable, therefore don't allow direct binding to
 103  107  # libproc.  Disable libproc from directly binding to itself, but allow libperl
 104  108  # to directly bind to its dependencies (ie. map -Bdirect -> -zdirect).  Ensure
 105  109  # lazy loading is established (which is enabled automatically with -Bdirect).
 106  110  BDIRECT =
 107  111  DYNFLAGS +=     $(BNODIRECT) $(ZDIRECT) $(ZLAZYLOAD)
 108  112  
 109  113  .KEEP_STATE:
 110  114  
 111  115  all: $(LIBS)
↓ open down ↓ 13 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX