Print this page
    
4174 Torch the old and unmaintained Sun-dhcp
Reviewed by: Josef Sipek <jeffpc@josefsipek.net>
Reviewed by: Garrett D'Amore <garrett@damore.org>
Approved by: Dan McDonald <danmcd@omniti.com>
    
      
        | Split | 
	Close | 
      
      | Expand all | 
      | Collapse all | 
    
    
          --- old/usr/src/cmd/initpkg/init.d/Makefile
          +++ new/usr/src/cmd/initpkg/init.d/Makefile
   1    1  #
   2    2  # CDDL HEADER START
   3    3  #
   4    4  # The contents of this file are subject to the terms of the
   5    5  # Common Development and Distribution License (the "License").
   6    6  # You may not use this file except in compliance with the License.
   7    7  #
   8    8  # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9    9  # or http://www.opensolaris.org/os/licensing.
  10   10  # See the License for the specific language governing permissions
  11   11  # and limitations under the License.
  12   12  #
  13   13  # When distributing Covered Code, include this CDDL HEADER in each
  
    | 
      ↓ open down ↓ | 
    13 lines elided | 
    
      ↑ open up ↑ | 
  
  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   21  
  22   22  #
  23   23  # Copyright (c) 1990, 2010, Oracle and/or its affiliates. All rights reserved.
       24 +# Copyright 2014 Garrett D'Amore <garrett@damore.org>
  24   25  #
  25   26  
  26   27  include         ../../Makefile.cmd
  27   28  
  28   29  sparc_PROG=
  29   30  i386_PROG=
  30   31  
  31   32  PROG=           \
  32   33          README          \
  33   34          cachefs.daemon  \
  34   35          devlinks        \
  35      -        dhcp            \
  36   36          drvconfig       \
  37   37          ldap.client     \
  38   38          nfs.server      \
  39   39          nscd            \
  40   40          sendmail        \
  41   41          slpd            \
  42   42          sysetup         \
  43   43          uucp            \
  44   44          $($(MACH)_PROG)
  45   45  
  46   46  
  47   47  OTHERPROG=      README.rcS README.rc2 README.rc3
  48   48  
  49   49  ROOTETCINITD=           $(ROOTETC)/init.d
  50   50  ROOTETCRCSD=            $(ROOTETC)/rcS.d
  51   51  ROOTETCRC0D=            $(ROOTETC)/rc0.d
  52   52  ROOTETCRC1D=            $(ROOTETC)/rc1.d
  53   53  ROOTETCRC2D=            $(ROOTETC)/rc2.d
  54   54  ROOTETCRC3D=            $(ROOTETC)/rc3.d
  55   55  
  56   56  DIRS=   $(ROOTETCINITD) \
  57   57          $(ROOTETCRCSD) \
  58   58          $(ROOTETCRC0D) \
  59   59          $(ROOTETCRC1D) \
  60   60          $(ROOTETCRC2D) \
  61   61          $(ROOTETCRC3D)
  62   62  
  63   63  ROOTETCINITDPROG=       $(PROG:%=$(ROOTETCINITD)/%)
  64   64  
  65   65  DIRMODE = 0755
  66   66  FILEMODE = 0744
  67   67  $(ROOTETCINITD)/README :=       FILEMODE = 0644
  68   68  $(ROOTETCRCSD)/README :=        FILEMODE = 0644
  69   69  $(ROOTETCRC2D)/README :=        FILEMODE = 0644
  70   70  $(ROOTETCRC3D)/README :=        FILEMODE = 0644
  71   71  
  72   72  .KEEP_STATE:
  73   73  
  74   74  all:            $(PROG)
  75   75  
  76   76  # Don't re-install directories already installed by Targetdirs
  77   77  #$(DIRS):
  78   78  #               $(INS.dir)
  79   79  
  80   80  $(ROOTETCINITD)/%:      %
  81   81                  $(INS.file)
  82   82  
  83   83  $(ROOTETCRCSD)/%:       %.rcS
  84   84                  $(INS.rename)
  85   85  
  86   86  $(ROOTETCRC2D)/%:       %.rc2
  87   87                  $(INS.rename)
  88   88  
  89   89  $(ROOTETCRC3D)/%:       %.rc3
  90   90                  $(INS.rename)
  91   91  
  92   92  install:        all $(ROOTETCINITDPROG) \
  93   93                  $(ROOTETCRCSD)/README \
  94   94                  $(ROOTETCRC2D)/README \
  95   95                  $(ROOTETCRC3D)/README
  96   96  
  97   97  lint:
  98   98  
  99   99  clean:
 100  100  
 101  101  clobber:
  
    | 
      ↓ open down ↓ | 
    56 lines elided | 
    
      ↑ open up ↑ | 
  
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX