Print this page
2989 Eliminate use of LOGNAME_MAX in ON
1166 useradd have warning with name more 8 chars

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/oamuser/user/Makefile
          +++ new/usr/src/cmd/oamuser/user/Makefile
↓ open down ↓ 10 lines elided ↑ open up ↑
  11   11  # and limitations under the License.
  12   12  #
  13   13  # When distributing Covered Code, include this CDDL HEADER in each
  14   14  # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  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 +# Copyright (c) 2013 Gary Mills
  21   22  #
  22   23  # Copyright (c) 1990, 2010, Oracle and/or its affiliates. All rights reserved.
  23   24  #
  24   25  # cmd/oamuser/user/Makefile
  25   26  #
  26   27  
       28 +DEFAULTFILES= useradd.dfl
       29 +
  27   30  include ../../Makefile.cmd
  28   31  
  29   32  GREP=           grep
  30   33  
  31   34  USERADD=        useradd
  32   35  USERDEL=        userdel
  33   36  USERMOD=        usermod
  34   37  ROLEADD=        roleadd
  35   38  ROLEDEL=        roledel
  36   39  ROLEMOD=        rolemod
↓ open down ↓ 58 lines elided ↑ open up ↑
  95   98  all:            $(PRODUCT)
  96   99  
  97  100  $(PROG):        $$(OBJS) $$(LIBS)
  98  101          $(LINK.c) $(OBJS) -o $@ $(LIBS) $(LDLIBS)
  99  102          $(POST_PROCESS)
 100  103  
 101  104  $(USERADD):     $(ADD_OBJ)
 102  105  $(USERMOD):     $(MOD_OBJ)
 103  106  $(USERDEL):     $(DEL_OBJ)
 104  107  
 105      -install:        all .WAIT $(ROOTSKEL) $(INSSBINPROG) $(INSSKELFILE)
      108 +install:        all $(ROOTETCDEFAULTFILES) .WAIT \
      109 +                        $(ROOTSKEL) $(INSSBINPROG) $(INSSKELFILE)
 106  110                  $(RM) $(ROOTUSRSBIN)/$(ROLEADD)
 107  111                  $(LN) $(ROOTUSRSBIN)/$(USERADD) $(ROOTUSRSBIN)/$(ROLEADD)
 108  112                  $(RM) $(ROOTUSRSBIN)/$(ROLEDEL)
 109  113                  $(LN) $(ROOTUSRSBIN)/$(USERDEL) $(ROOTUSRSBIN)/$(ROLEDEL)
 110  114                  $(RM) $(ROOTUSRSBIN)/$(ROLEMOD)
 111  115                  $(LN) $(ROOTUSRSBIN)/$(USERMOD) $(ROOTUSRSBIN)/$(ROLEMOD)
 112  116  
 113  117  clean:
 114  118          $(RM) $(OBJECTS)
 115  119  
 116  120  lint:   lint_SRCS
 117  121  
 118  122  include ../../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX