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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libsqlite/Makefile.com
          +++ new/usr/src/lib/libsqlite/Makefile.com
   1    1  #
   2    2  # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
   3    3  # Use is subject to license terms.
   4    4  # Copyright 2015 Igor Kozhukhov <ikozhukhov@gmail.com>
   5    5  # Copyright 2016 Nexenta Systems, Inc.  All rights reserved.
        6 +# Copyright (c) 2018, Joyent, Inc.
   6    7  #
   7    8  
   8    9  # Make the SO name unlikely to conflict with any other
   9   10  # libsqlite that might also be found on the system.
  10   11  LIBRARY = libsqlite-sys.a
  11   12  
  12   13  VERS = .2.8.15
  13   14  OBJECTS = \
  14   15          attach.o        \
  15   16          auth.o          \
↓ open down ↓ 76 lines elided ↑ open up ↑
  92   93          $(SRCDIR)/trigger.c
  93   94  
  94   95  MYCPPFLAGS = -D_REENTRANT -DTHREADSAFE=1 -DHAVE_USLEEP=1 -I. -I.. -I$(SRCDIR)
  95   96  CPPFLAGS += $(MYCPPFLAGS)
  96   97  
  97   98  CERRWARN += -_gcc=-Wno-implicit-function-declaration
  98   99  CERRWARN += -_gcc=-Wno-uninitialized
  99  100  CERRWARN += -_gcc=-Wno-unused-function
 100  101  CERRWARN += -_gcc=-Wno-unused-label
 101  102  
      103 +# not linted
      104 +SMATCH=off
      105 +
 102  106  MAPFILES = ../mapfile-sqlite
 103  107  
 104  108  # headers generated here
 105  109  GENHDR = opcodes.h parse.h
 106  110  
 107  111  # Header files used by all library source files.
 108  112  #
 109  113  HDR = \
 110  114          $(GENHDR) \
 111  115          $(SRCDIR)/btree.h       \
↓ open down ↓ 182 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX