1 #
   2 # CDDL HEADER START
   3 #
   4 # The contents of this file are subject to the terms of the
   5 # Common Development and Distribution License, Version 1.0 only
   6 # (the "License").  You may not use this file except in compliance
   7 # with the License.
   8 #
   9 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
  10 # or http://www.opensolaris.org/os/licensing.
  11 # See the License for the specific language governing permissions
  12 # and limitations under the License.
  13 #
  14 # When distributing Covered Code, include this CDDL HEADER in each
  15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  16 # If applicable, add the following below this CDDL HEADER, with the
  17 # fields enclosed by brackets "[]" replaced with your own identifying
  18 # information: Portions Copyright [yyyy] [name of copyright owner]
  19 #
  20 # CDDL HEADER END
  21 #
  22 #
  23 #ident  "%Z%%M% %I%     %E% SMI"
  24 #
  25 # Copyright 2001-2002 Sun Microsystems, Inc.  All rights reserved.
  26 # Use is subject to license terms.
  27 #
  28 # cmd/cmd-inet/usr.sadm/dhcpmgr/com/sun/dhcpmgr/cli/dhtadm/Makefile
  29 #
  30 
  31 # Place high-level classes first to minimize build time.
  32 CLASSFILES =    DhtAdm.class \
  33                 AddEntry.class \
  34                 CreateTable.class \
  35                 DeleteEntry.class \
  36                 DhtAdmBatch.class \
  37                 DisplayTable.class \
  38                 ModifyEntry.class \
  39                 RemoveTable.class \
  40                 DhtAdmFunction.class \
  41                 ResourceStrings.class
  42 
  43 include         $(SRC)/Makefile.master
  44 
  45 CLASSPATH=      $(SRC)/cmd/cmd-inet/usr.sadm/dhcpmgr
  46 
  47 JAVAFILES =     $(CLASSFILES:.class=.java)
  48 
  49 MSGDIR=         $(ROOT)/usr/share/lib/locale/com/sun/dhcpmgr/cli/dhtadm
  50 MSGDIRS =       $(ROOT)/usr/share/lib/locale \
  51                 $(ROOT)/usr/share/lib/locale/com \
  52                 $(ROOT)/usr/share/lib/locale/com/sun \
  53                 $(ROOT)/usr/share/lib/locale/com/sun/dhcpmgr \
  54                 $(ROOT)/usr/share/lib/locale/com/sun/dhcpmgr/cli \
  55                 $(MSGDIR)
  56 
  57 MSGFILES=       ResourceBundle.properties
  58 MSGS=           $(MSGFILES:%=$(MSGDIR)/%)
  59 
  60 CLEANFILES=     *.class
  61 CLOBBERFILES=
  62 
  63 .KEEP_STATE:
  64 
  65 all: $(CLASSFILES)
  66 
  67 install: all
  68 
  69 _msg: $(MSGDIRS) $(MSGS)
  70 
  71 $(MSGDIR)/%: %
  72         $(INS.file)
  73 
  74 $(MSGDIRS):
  75         $(INS.dir)
  76 
  77 lint:
  78 
  79 clean:
  80         $(RM) $(CLEANFILES)
  81 
  82 clobber: clean