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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/oamuser/user/Makefile
          +++ new/usr/src/cmd/oamuser/user/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  #
  22   22  # Copyright (c) 1990, 2010, Oracle and/or its affiliates. All rights reserved.
  23   23  # Copyright (c) 2013 RackTop Systems.
  24   24  # Copyright (c) 2013 Gary Mills
  25   25  #
  26      -# cmd/oamuser/user/Makefile
  27      -#
       26 +# Copyright (c) 2018, Joyent, Inc.
  28   27  
  29   28  DEFAULTFILES= useradd.dfl
  30   29  
  31   30  include ../../Makefile.cmd
  32   31  
  33   32  GREP=           grep
  34   33  
  35   34  USERADD=        useradd
  36   35  USERDEL=        userdel
  37   36  USERMOD=        usermod
↓ open down ↓ 31 lines elided ↑ open up ↑
  69   68  HERE=           .
  70   69  LINTFLAGS=      -u
  71   70  
  72   71  ROOTSKEL=       $(ROOTETC)/skel
  73   72  INSSBINPROG=    $(SBINPROG:%=$(ROOTUSRSBIN)/%)
  74   73  INSSKELFILE=    $(SKELFILE:%=$(ROOTSKEL)/%)
  75   74  
  76   75  CPPFLAGS=       -I$(HERE) -I$(LOCAL) $(CPPFLAGS.master)
  77   76  CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
  78   77  
       78 +# not linted
       79 +SMATCH=off
       80 +
  79   81  $(INSSBINPROG)  := FILEMODE = 0555
  80   82  $(INSSYSADMPROG):= FILEMODE = 0500
  81   83  $(INSSKELFILE)  := FILEMODE = 0644
  82   84  
  83   85  $(USERADD) :=   OBJS = $(ADD_OBJ)
  84   86  $(USERADD) :=   LIBS = $(LIBUSRGRP)
  85   87  $(USERADD) :=   LDLIBS += -lcmdutils
  86   88  
  87   89  $(USERDEL) :=   OBJS = $(DEL_OBJ)
  88   90  $(USERDEL) :=   LIBS = $(LIBUSRGRP)
↓ open down ↓ 33 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX