Print this page
10080 smatch Makefile changes for usr/src/cmd

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/fs.d/smbclnt/smbiod-svc/Makefile
          +++ new/usr/src/cmd/fs.d/smbclnt/smbiod-svc/Makefile
↓ 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  #
  23   23  # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
  24   24  #
       25 +# Copyright (c) 2018, Joyent, Inc.
  25   26  
  26      -#
  27      -# cmd/fs.d/smbclnt/smbiod-svc/Makefile
  28      -#
  29      -
  30   27  FSTYPE=         smbfs
  31   28  TYPEPROG=       smbiod-svc
  32   29  
  33   30  include         ../../Makefile.fstype
  34   31  
  35   32  OBJS=   $(TYPEPROG).o
  36   33  SRCS=   $(TYPEPROG).c
  37   34  POFILE= $(TYPEPROG).po
  38   35  
  39   36  CFLAGS += $(CCVERBOSE)
  40   37  CSTD= $(CSTD_GNU99)
  41   38  
  42   39  CPPFLAGS += -I$(SRC)/lib/libsmbfs \
  43   40          -I$(SRC)/uts/common/smbclnt -I$(SRC)/uts/common
  44   41  
       42 +# not linted
       43 +SMATCH=off
       44 +
  45   45  # Debugging
  46   46  ${NOT_RELEASE_BUILD} CPPFLAGS += -DDEBUG
  47   47  
  48   48  all:    $(TYPEPROG)
  49   49  
  50   50  catalog:        $(POFILE)
  51   51  
  52   52  lint:   lint_SRCS
  53   53  
  54   54  clean:
  55   55          $(RM) $(OBJS) $(POFILE)
  56   56  
  57   57  .KEEP_STATE:
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX