Print this page
10063 basic support for smatch
10153 checkpaths shouldn't check packaging exceptions

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/ipcs/Makefile
          +++ new/usr/src/cmd/ipcs/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  #
  28      -# cmd/ipcs/Makefile
  29      -#
       26 +# Copyright (c) 2018, Joyent, Inc.
  30   27  
  31   28  PROG=           ipcs
  32   29  XPG4PROG=       $(PROG)
  33   30  
  34   31  include ../Makefile.cmd
  35   32  
  36   33  LINTFLAGS +=    -erroff=E_NAME_USED_NOT_DEF2
  37   34  CFLAGS +=       $(CCVERBOSE)
  38   35  LDLIBS +=       -lproject
  39   36  
       37 +# main() too hairy
       38 +SMATCH =        off
       39 +
  40   40  .KEEP_STATE:
  41   41  
  42   42  all: $(PROG)
  43   43  
  44   44  install: all $(ROOTXPG4PROG)
  45   45  
  46   46  $(ROOTXPG4PROG):        $(ROOTPROG)
  47   47          -$(RM) $(ROOTXPG4PROG)
  48   48          -$(LN) -s ../../bin/$(PROG) $(ROOTXPG4PROG)
  49   49  
  50   50  clean:
  51   51  
  52   52  lint:   lint_PROG
  53   53  
  54   54  include ../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX