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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/fs.d/nfs/nfslog/Makefile
          +++ new/usr/src/cmd/fs.d/nfs/nfslog/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  # Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  23   23  # Use is subject to license terms.
  24   24  #
       25 +# Copyright (c) 2018, Joyent, Inc.
  25   26  
  26   27  FSTYPE=         nfs
  27   28  TYPEPROG=       nfslogd
  28   29  ATTMK=          $(TYPEPROG)
  29   30  DEFAULTFILES=   nfslogd.dfl
  30   31  
  31   32  include         ../../Makefile.fstype
  32   33  
  33   34  COMMON=         nfslog_config.o nfslogtab.o
  34   35  LOCAL=          process_buffer.o fhtab.o nfslogd.o nfslog_elf.o \
  35   36                  nfslog_trans.o nfslog_ipaddr.o readbuf.o dbtab.o \
  36   37                  nfs_log_xdr.o buffer_list.o
  37   38  OBJS=           $(LOCAL) $(COMMON)
  38   39  SRCS=           $(LOCAL:%.o=%.c) $(COMMON:%.o=../lib/%.c)
  39   40  LDLIBS +=       -lsocket -lnsl
  40   41  CFLAGS +=       $(CCVERBOSE)
  41   42  CERRWARN +=     -_gcc=-Wno-parentheses
  42   43  CERRWARN +=     -_gcc=-Wno-uninitialized
  43   44  CERRWARN +=     -_gcc=-Wno-switch
  44   45  CERRWARN +=     -_gcc=-Wno-type-limits
       46 +
       47 +# not linted
       48 +SMATCH=off
       49 +
  45   50  CPPFLAGS +=     -D_FILE_OFFSET_BITS=64
  46   51  
  47   52  #
  48   53  # Message catalog
  49   54  #
  50   55  POFILE= nfslog.po
  51   56  
  52   57  catalog:        $(POFILE)
  53   58  
  54   59  $(POFILE):      $(SRCS)
↓ open down ↓ 23 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX