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>

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/cmd-inet/usr.lib/Makefile
          +++ new/usr/src/cmd/cmd-inet/usr.lib/Makefile
↓ 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) 1996, 2010, Oracle and/or its affiliates. All rights reserved.
       24 +# Copyright 2014 Garrett D'Amore <garrett@damore.org>
  24   25  #
  25   26  
  26      -SUBDIRS=        bridged dhcp dsvclockd ilbd in.chargend in.daytimed \
  27      -                in.discardd in.echod in.dhcpd in.mpathd in.ndpd \
       27 +SUBDIRS=        bridged ilbd in.chargend in.daytimed \
       28 +                in.discardd in.echod in.mpathd in.ndpd \
  28   29                  in.ripngd in.timed inetd mdnsd ncaconfd pppoe \
  29   30                  slpd vrrpd wanboot wpad
  30   31  
  31      -MSGSUBDIRS=     dsvclockd ilbd in.dhcpd inetd ncaconfd vrrpd wanboot
       32 +MSGSUBDIRS=     ilbd inetd ncaconfd vrrpd wanboot
  32   33  
  33   34  include ../../Makefile.cmd
  34   35  include ./Makefile.lib
  35   36  
  36      -POFILES=        dsvclockd/dsvclockd.po in.dhcpd/in.dhcpd.po \
  37      -                inetd/inetd.po ncaconfd/ncaconfd.po vrrpd/vrrpd.po \
       37 +POFILES=        inetd/inetd.po ncaconfd/ncaconfd.po vrrpd/vrrpd.po \
  38   38                  wanboot/wanboot.po
  39   39  POFILE=         usr.lib.po
  40   40  
  41   41  all:=           TARGET= all
  42   42  install:=       TARGET= install
  43   43  clean:=         TARGET= clean
  44   44  clobber:=       TARGET= clobber
  45   45  lint:=          TARGET= lint
  46   46  _msg:=          TARGET= _msg
  47   47  
  48   48  .KEEP_STATE:
  49   49  
  50   50  all clean clobber lint: $(SUBDIRS)
  51   51  
  52   52  install: $(SUBDIRS)
  53   53          -$(RM) $(ROOTLIBINET)/in.iked
  54   54          -$(LN) $(ISAEXEC) $(ROOTLIBINET)/in.iked
  55   55  
  56   56  
  57      -_msg: $(MSGSUBDIRS) 
       57 +_msg: $(MSGSUBDIRS)
  58   58  
  59      -#
  60      -# The reason this rule checks for the existence of the
  61      -# Makefile is that some of the directories do not exist
  62      -# in our exportable source builds or in OpenSolaris.
  63      -#
  64   59  $(SUBDIRS): FRC
  65      -        @if [ -f $@/Makefile  ]; then \
  66      -                cd $@; pwd; $(MAKE) $(TARGET); \
  67      -        else \
  68      -                true; \
  69      -        fi
       60 +        @cd $@; pwd; $(MAKE) $(MFLAGS) $(TARGET)
  70   61  
  71   62  FRC:
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX