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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libuutil/Makefile.com
          +++ new/usr/src/lib/libuutil/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) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
  23   23  #
       24 +# Copyright (c) 2018, Joyent, Inc.
  24   25  
  25   26  LIBRARY =       libuutil.a
  26   27  VERS =          .1
  27   28  
  28   29  OBJECTS = \
  29   30          avl.o \
  30   31          uu_alloc.o \
  31   32          uu_avl.o \
  32   33          uu_dprintf.o \
  33   34          uu_ident.o \
↓ open down ↓ 32 lines elided ↑ open up ↑
  66   67  $(LINTLIB):=    SRCS = $(SRCDIR)/$(LINTSRC)
  67   68  LDLIBS +=       -lc
  68   69  
  69   70  AVLDIR =        ../../../common/avl
  70   71  
  71   72  CFLAGS +=       $(CCVERBOSE)
  72   73  CPPFLAGS +=     -I$(SRCDIR) -I../../common/inc
  73   74  LINTFLAGS +=    -erroff=E_GLOBAL_COULD_BE_STATIC2
  74   75  LINTFLAGS64 +=  -erroff=E_GLOBAL_COULD_BE_STATIC2
  75   76  
       77 +SMOFF += signed
       78 +
  76   79  MY_NATIVE_CPPFLAGS = -DNATIVE_BUILD -I$(SRCDIR)
  77   80  MY_NATIVE_LDLIBS = -lc
  78   81  
  79   82  $(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG
  80   83  
  81   84  .KEEP_STATE:
  82   85  
  83   86  all: $(LIBS) $(NOT_NATIVE)
  84   87  
  85   88  lint: $(LINTLIB) globallint
↓ open down ↓ 15 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX