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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/fs.d/nfs/mount/Makefile
          +++ new/usr/src/cmd/fs.d/nfs/mount/Makefile
↓ open down ↓ 11 lines elided ↑ open up ↑
  12   12  #
  13   13  # When distributing Covered Code, include this CDDL HEADER in each
  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  # Copyright (c) 1990, 2010, Oracle and/or its affiliates. All rights reserved.
  22      -# Copyright 2017, Joyent, Inc. All rights reserved.
       22 +# Copyright 2018, Joyent, Inc. All rights reserved.
  23   23  #
  24   24  # cmd/fs.d/nfs/mount/Makefile
  25   25  
  26   26  FSTYPE=         nfs
  27   27  LIBPROG=        mount
  28   28  ROOTFS_PROG=    $(LIBPROG)
  29   29  
  30   30  # duplicate ROOTLIBFSTYPE value needed for installation rule
  31   31  # we must define this before including Makefile.fstype
  32   32  ROOTLIBFSTYPE = $(ROOT)/usr/lib/fs/$(FSTYPE)
↓ open down ↓ 10 lines elided ↑ open up ↑
  43   43  
  44   44  UNCHECKED_HDRS= webnfs.h
  45   45  
  46   46  CERRWARN += -_gcc=-Wno-parentheses
  47   47  CERRWARN += -_gcc=-Wno-switch
  48   48  CERRWARN += -_gcc=-Wno-unused-variable
  49   49  CERRWARN += -_gcc=-Wno-uninitialized
  50   50  CERRWARN += -_gcc=-Wno-address
  51   51  CERRWARN += -_gcc=-Wno-unused-function
  52   52  
       53 +# unknown type for func
       54 +SMATCH=off
       55 +
  53   56  #
  54   57  # Message catalog
  55   58  #
  56   59  POFILE= mount.po
  57   60  
  58   61  LDLIBS += -lrpcsvc -lnsl -lsocket -lscf
  59   62  CPPFLAGS += -I. -I../.. -I../lib
  60   63  CFLAGS += $(CCVERBOSE)
  61   64  
  62   65  nfs_sec.o :=    CPPFLAGS += -DWNFS_SEC_NEGO
↓ open down ↓ 61 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX