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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/fs.d/smbclnt/smbutil/Makefile
          +++ new/usr/src/cmd/fs.d/smbclnt/smbutil/Makefile
↓ open down ↓ 16 lines elided ↑ open up ↑
  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 2009 Sun Microsystems, Inc.  All rights reserved.
  24   24  # Use is subject to license terms.
  25   25  #
  26   26  # Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
       27 +# Copyright (c) 2018, Joyent, Inc.
  27   28  #
  28   29  
  29   30  #
  30   31  # cmd/fs.d/smbclnt/smbutil/Makefile
  31   32  #
  32   33  
  33   34  PROG=           smbutil
  34   35  
  35   36  OBJS=   smbutil.o discon.o info.o login.o lookup.o print.o status.o view.o \
  36   37          shares_rap.o shares_rpc.o srvsvc1_clnt.o srvsvc1_ndr.o
↓ open down ↓ 8 lines elided ↑ open up ↑
  45   46  CLEANFILES +=  srvsvc1_ndr.c
  46   47  CLOBBERFILES+=  $(POFILE) $(POFILES)
  47   48  
  48   49  CSTD= $(CSTD_GNU99)
  49   50  
  50   51  LDLIBS += -lmlrpc -lsmbfs -lnsl
  51   52  
  52   53  CPPFLAGS += -I$(SRC)/lib/libsmbfs \
  53   54          -I$(SRC)/uts/common/smbclnt -I$(SRC)/uts/common
  54   55  
       56 +# not linted
       57 +SMATCH=off
       58 +
  55   59  # Debugging
  56   60  ${NOT_RELEASE_BUILD} CPPFLAGS += -DDEBUG
  57   61  
  58   62  # uncomment these for dbx debugging
  59   63  #COPTFLAG = -g
  60   64  #CTF_FLAGS =
  61   65  #CTFCONVERT_O=
  62   66  #CTFMERGE_LIB=
  63   67  
  64   68  # disable some of the less important lint
↓ open down ↓ 31 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX