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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libfdisk/Makefile.com
          +++ new/usr/src/lib/libfdisk/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 2009 Sun Microsystems, Inc.  All rights reserved.
  23   23  # Use is subject to license terms.
  24   24  #
  25      -#
       25 +# Copyright (c) 2018, Joyent, Inc.
  26   26  
  27   27  LIBRARY= libfdisk.a
  28   28  VERS= .1
  29   29  
  30   30  OBJECTS=        libfdisk.o
  31   31  
  32   32  # include library definitions
  33   33  include ../../Makefile.lib
  34   34  
  35   35  # install this library in the root filesystem
↓ open down ↓ 11 lines elided ↑ open up ↑
  47   47  CFLAGS += -D_LARGEFILE64_SOURCE
  48   48  CFLAGS += -D_FILE_OFFSET_BITS=64
  49   49  CFLAGS64 += -D_LARGEFILE64_SOURCE
  50   50  CFLAGS64 += -D_FILE_OFFSET_BITS=64
  51   51  
  52   52  LINTFLAGS +=    -erroff=E_BAD_PTR_CAST_ALIGN
  53   53  LINTFLAGS64 +=    -erroff=E_BAD_PTR_CAST_ALIGN
  54   54  
  55   55  CERRWARN +=     -_gcc=-Wno-uninitialized
  56   56  
       57 +# not linted
       58 +SMATCH=off
       59 +
  57   60  .KEEP_STATE:
  58   61  
  59   62  all: $(LIBS)
  60   63  
  61   64  lint: lintcheck
  62   65  
  63   66  pics/%.o: ../common/%.c
  64   67          $(COMPILE.c) -o $@ $<
  65   68          $(POST_PROCESS_O)
  66   69  
  67   70  # include library targets
  68   71  include ../../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX