Print this page
11972 resync smatch

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/udapl/libdat/Makefile.com
          +++ new/usr/src/lib/udapl/libdat/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  # Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  23   23  # Use is subject to license terms.
  24   24  #
       25 +# Copyright 2019 Joyent, Inc.
       26 +#
  25   27  
  26   28  LIBRARY=        libdat.a
  27   29  VERS=           .1
  28   30  
  29   31  OBJECTS =       \
  30   32          dat_dictionary.o \
  31   33          dat_init.o \
  32   34          dat_dr.o \
  33   35          dat_osd.o \
  34   36          dat_sr.o \
  35   37          dat_strerror.o \
  36   38          dat_api.o \
  37   39          udat.o  \
  38   40          udat_api.o \
  39   41          udat_sr_parser.o
  40   42  
  41   43  include ../../../Makefile.lib
  42   44  
  43      -LIBS =  $(DYNLIB) $(LINTLIB)
       45 +LIBS =  $(DYNLIB)
  44   46  LDLIBS += -lc
  45   47  
  46   48  SRCDIR =        ../common
  47   49  
  48   50  CPPFLAGS +=     -I../include
  49   51  CFLAGS +=       $(CCVERBOSE)
  50      -LINTFLAGS +=    -DDEBUG
  51      -LINTFLAGS64 +=  -DDEBUG
  52      -$(LINTLIB):=    SRCS = $(SRCDIR)/$(LINTSRC)
  53   52  
  54   53  CERRWARN +=     -_gcc=-Wno-type-limits
  55   54  
       55 +# false positive
       56 +SMOFF += signed
       57 +
  56   58  $(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG
  57   59  
  58   60  .KEEP_STATE:
  59   61  
  60   62  all: $(LIBS)
  61   63  
  62   64  debug: all
  63   65  
  64      -lint: lintcheck
  65      -
  66   66  include ../../../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX