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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/fs.d/nfs/clear_locks/Makefile
          +++ new/usr/src/cmd/fs.d/nfs/clear_locks/Makefile
↓ open down ↓ 12 lines elided ↑ open up ↑
  13   13  #
  14   14  # When distributing Covered Code, include this CDDL HEADER in each
  15   15  # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  16   16  # If applicable, add the following below this CDDL HEADER, with the
  17   17  # fields enclosed by brackets "[]" replaced with your own identifying
  18   18  # information: Portions Copyright [yyyy] [name of copyright owner]
  19   19  #
  20   20  # CDDL HEADER END
  21   21  #
  22   22  #
  23      -#ident  "%Z%%M% %I%     %E% SMI"
  24      -#
  25   23  # Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
  26   24  # Use is subject to license terms.
  27   25  #
       26 +# Copyright (c) 2018, Joyent, Inc.
  28   27  
  29   28  PROG= clear_locks
  30   29  
  31   30  include         ../../../Makefile.cmd
  32   31  
  33   32  LDLIBS          +=      -lrpcsvc -lnsl
  34   33  
  35   34  #
  36   35  # Message catalog
  37   36  #
↓ open down ↓ 7 lines elided ↑ open up ↑
  45   44  $(POFILE):      clear_locks.c
  46   45          $(RM) $@
  47   46          $(COMPILE.cpp) clear_locks.c   > $(POFILE).i
  48   47          $(XGETTEXT) $(XGETFLAGS)        $(POFILE).i
  49   48          sed "/^domain/d"        messages.po     > $@
  50   49          $(RM) messages.po $(POFILE).i
  51   50  
  52   51  
  53   52  CFLAGS          +=      $(CCVERBOSE)
  54   53  
       54 +# not linted
       55 +SMATCH=off
       56 +
  55   57  .KEEP_STATE:
  56   58  
  57      -all: $(PROG) 
       59 +all: $(PROG)
  58   60  
  59   61  install: all $(ROOTUSRSBINPROG)
  60   62  
  61   63  clean:
  62   64  
  63   65  lint:   lint_PROG
  64   66  
  65   67  include ../../../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX