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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/oamuser/group/Makefile
          +++ new/usr/src/cmd/oamuser/group/Makefile
↓ open down ↓ 15 lines elided ↑ open up ↑
  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 2009 Sun Microsystems, Inc.  All rights reserved.
  22   22  # Use is subject to license terms.
  23   23  #
  24   24  # Copyright (c) 2013 RackTop Systems.
  25   25  #
  26      -# cmd/oamuser/group/Makefile
  27      -#
       26 +# Copyright (c) 2018, Joyent, Inc.
  28   27  
  29   28  include ../../Makefile.cmd
  30   29  
  31   30  GROUPADD=       groupadd
  32   31  GROUPDEL=       groupdel
  33   32  GROUPMOD=       groupmod
  34   33  
  35   34  SBINPROG=       $(GROUPADD)   $(GROUPDEL)   $(GROUPMOD)
  36   35  
  37   36  PROG=           $(SBINPROG)
↓ open down ↓ 9 lines elided ↑ open up ↑
  47   46  LIBUSRGRP=      $(LIBDIR)/lib.a
  48   47  LOCAL=          ../inc
  49   48  HERE=           .
  50   49  LINTFLAGS=      -u
  51   50  
  52   51  INSSBINPROG=    $(SBINPROG:%=$(ROOTUSRSBIN)/%)
  53   52  
  54   53  CPPFLAGS=       -I$(HERE) -I$(LOCAL) $(CPPFLAGS.master)
  55   54  FILEMODE=       0555
  56   55  
       56 +# not linted
       57 +SMATCH=off
       58 +
  57   59  $(GROUPADD) :=  OBJS = $(ADD_OBJ)
  58   60  $(GROUPADD) :=  LDLIBS += $(LIBUSRGRP) -lcmdutils
  59   61  
  60   62  $(GROUPDEL) :=  OBJS = $(DEL_OBJ)
  61   63  $(GROUPDEL) :=  LDLIBS += $(LIBUSRGRP)
  62   64  
  63   65  $(GROUPMOD) :=  OBJS = $(MOD_OBJ)
  64   66  $(GROUPMOD) :=  LDLIBS += $(LIBUSRGRP)
  65   67  
  66   68  all:            $(PROG)
↓ open down ↓ 17 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX