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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libofmt/Makefile.com
          +++ new/usr/src/lib/libofmt/Makefile.com
↓ open down ↓ 3 lines elided ↑ open up ↑
   4    4  # You may only use this file in accordance with the terms of version
   5    5  # 1.0 of the CDDL.
   6    6  #
   7    7  # A full copy of the text of the CDDL should have accompanied this
   8    8  # source.  A copy of the CDDL is also available via the Internet at
   9    9  # http://www.illumos.org/license/CDDL.
  10   10  #
  11   11  
  12   12  #
  13   13  # Copyright 2017 Nexenta Systems, Inc.
       14 +# Copyright (c) 2018, Joyent, Inc.
  14   15  #
  15   16  
  16   17  LIBRARY=        libofmt.a
  17   18  VERS=           .1
  18   19  
  19   20  OBJECTS=        ofmt.o
  20   21  
  21   22  include         $(SRC)/lib/Makefile.lib
  22   23  include         $(SRC)/lib/Makefile.rootfs
  23   24  
  24   25  SRCDIR=         ../common
  25   26  
  26   27  LIBS=           $(DYNLIB) $(LINTLIB)
  27   28  SRCS=           $(SRCDIR)/ofmt.c
  28   29  
  29   30  $(LINTLIB)      := SRCS = $(SRCDIR)/$(LINTSRC)
  30   31  LDLIBS +=       -lc
  31   32  
       33 +SMOFF += kmalloc_wrong_size
       34 +
  32   35  .KEEP_STATE:
  33   36  
  34   37  all:            $(LIBS)
  35   38  
  36   39  lint:           lintcheck
  37   40  
  38   41  include         $(SRC)/lib/Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX