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/common/Makefile
  29 #
  30 
  31 # Place high-level classes first to minimize build time
  32 CLASSFILES =    ExportController.class \
  33                 ImportController.class \
  34                 ResourceStrings.class
  35 
  36 include         $(SRC)/Makefile.master
  37 
  38 CLASSPATH=      $(SRC)/cmd/cmd-inet/usr.sadm/dhcpmgr
  39 
  40 JAVAFILES =     $(CLASSFILES:.class=.java)
  41 
  42 MSGDIR=         $(ROOT)/usr/share/lib/locale/com/sun/dhcpmgr/common
  43 MSGDIRS =       $(ROOT)/usr/share/lib/locale \
  44                 $(ROOT)/usr/share/lib/locale/com \
  45                 $(ROOT)/usr/share/lib/locale/com/sun \
  46                 $(ROOT)/usr/share/lib/locale/com/sun/dhcpmgr \
  47                 $(MSGDIR)
  48 
  49 MSGFILES=       ResourceBundle.properties
  50 MSGS=           $(MSGFILES:%=$(MSGDIR)/%)
  51 
  52 CLEANFILES=     *.class
  53 CLOBBERFILES=
  54 
  55 .KEEP_STATE:
  56 
  57 all: $(CLASSFILES)
  58 
  59 install: all
  60 
  61 _msg: $(MSGDIRS) $(MSGS)
  62 
  63 $(MSGDIR)/%: %
  64         $(INS.file)
  65 
  66 $(MSGDIRS):
  67         $(INS.dir)
  68 
  69 lint:
  70 
  71 clean: FRC
  72         $(RM) $(CLEANFILES)
  73 
  74 clobber: clean
  75 
  76 FRC: