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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/fs.d/autofs/Makefile
          +++ new/usr/src/cmd/fs.d/autofs/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) 1992, 2010, Oracle and/or its affiliates. All rights reserved.
  24   24  # Copyright 2015 RackTop Systems.
       25 +# Copyright (c) 2018, Joyent, Inc.
  25   26  #
  26   27  
  27   28  FSTYPE=         autofs
  28   29  AUTO=           automount
  29   30  MOUNT=          mount
  30   31  VERS=           .2
  31   32  DFSHARES=       dfshares
  32   33  SHARE=          share
  33   34  UNSHARE=        unshare
  34   35  LIBPROG=        $(AUTO) $(MOUNT) $(DFSHARES) $(SHARE) $(UNSHARE)
↓ open down ↓ 56 lines elided ↑ open up ↑
  91   92  CPPFLAGS=       -I. -I.. -I../nfs/lib $(CPPFLAGS.master) -D_REENTRANT  \
  92   93                          $(MALLOC_DEBUG)
  93   94  
  94   95  CERRWARN +=     -_gcc=-Wno-parentheses
  95   96  CERRWARN +=     -_gcc=-Wno-unused-variable
  96   97  CERRWARN +=     -_gcc=-Wno-switch
  97   98  CERRWARN +=     -_gcc=-Wno-uninitialized
  98   99  CERRWARN +=     -_gcc=-Wno-unused-label
  99  100  CERRWARN +=     -_gcc=-Wno-unused-function
 100  101  
      102 +# not linted
      103 +SMATCH=off
      104 +
 101  105  OBJS=           $(AUTOOBJS) $(MOUNTOBJS) $(TYPEOBJS) \
 102  106                  $(SHAREOBJS) $(UNSHAREOBJS)
 103  107  
 104  108  AUTOSRCS=       automount.c $(COMMON:%.o=%.c) $(FSLIBSRC)
 105  109  MOUNTSRCS=      mount.c $(FSLIBSRC)
 106  110  TYPESRCS=       $(LOCAL:%.o=%.c) $(COMMON:%.o=%.c) \
 107  111                  ../nfs/lib/replica.c ../nfs/lib/nfs_sec.c \
 108  112                  ../nfs/lib/nfs_subr.c $(FSLIBSRC) ../nfs/lib/selfcheck.c \
 109  113                  ../nfs/lib/nfs_resolve.c ../nfs/lib/smfcfg.c
 110  114  SHARESRCS=      $(SHARE:%=%.c)
↓ open down ↓ 107 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX