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 (the "License").
   6 # You may not use this file except in compliance with the License.
   7 #
   8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9 # or http://www.opensolaris.org/os/licensing.
  10 # See the License for the specific language governing permissions
  11 # and limitations under the License.
  12 #
  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 #
  22 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  23 # Use is subject to license terms.
  24 #
  25 # cmd/cmd-inet/usr.sadm/dhcpmgr/com/sun/dhcpmgr/client/Makefile
  26 #
  27 
  28 # Place high-level classes first in order to minimize build time.
  29 CLASSFILES =    DhcpmgrApplet.class \
  30                 AddressView.class \
  31                 OptionView.class \
  32                 MacroView.class \
  33                 RelayView.class \
  34                 CreateMacroDialog.class \
  35                 DeleteMacroDialog.class \
  36                 CreateOptionDialog.class \
  37                 DeleteOptionDialog.class \
  38                 CreateAddressDialog.class \
  39                 DeleteAddressDialog.class \
  40                 AddressWizard.class \
  41                 ModifyAddressesDialog.class \
  42                 ReleaseAddressDialog.class \
  43                 DisableServiceDialog.class \
  44                 ConfigureRelayDialog.class \
  45                 ConfigureChoiceDialog.class \
  46                 ConfigWizard.class \
  47                 ServerOptionsDialog.class \
  48                 DeleteNetworksDialog.class \
  49                 UnconfigureDialog.class \
  50                 ExportWizard.class \
  51                 ImportWizard.class \
  52                 ConvertWizard.class \
  53                 DSWizard.class \
  54                 SUNWModule.class \
  55                 DSModule.class \
  56                 DSModuleListener.class \
  57                 DSModuleEvent.class \
  58                 MacroNameField.class \
  59                 OptionNameField.class \
  60                 DhcptabNameField.class \
  61                 SelectOptionDialog.class \
  62                 DataManager.class \
  63                 MultipleOperationDialog.class \
  64                 DhcpmgrDialog.class \
  65                 ViewMacroDialog.class \
  66                 ErrorTable.class \
  67                 ResourceStrings.class
  68 
  69 SUBDIRS =       SUNWbinfiles SUNWfiles
  70 
  71 all     :=      TARGET= all
  72 install :=      TARGET= install
  73 clean   :=      TARGET= clean
  74 clobber :=      TARGET= clobber
  75 lint    :=      TARGET= lint
  76 _msg    :=      TARGET= _msg
  77 
  78 include         $(SRC)/Makefile.master
  79 
  80 CLASSPATH=      $(SRC)/cmd/cmd-inet/usr.sadm/dhcpmgr
  81 
  82 JAVAFILES =     $(CLASSFILES:.class=.java)
  83 
  84 MSGDIR=         $(ROOT)/usr/share/lib/locale/com/sun/dhcpmgr/client
  85 MSGDIRS =       $(ROOT)/usr/share/lib/locale \
  86                 $(ROOT)/usr/share/lib/locale/com \
  87                 $(ROOT)/usr/share/lib/locale/com/sun \
  88                 $(ROOT)/usr/share/lib/locale/com/sun/dhcpmgr \
  89                 $(MSGDIR)
  90 
  91 MSGFILES=       ResourceBundle.properties \
  92                 OptionDescriptions.properties
  93 MSGS=           $(MSGFILES:%=$(MSGDIR)/%)
  94 
  95 CLEANFILES=     *.class
  96 CLOBBERFILES=
  97 
  98 .KEEP_STATE:
  99 
 100 all: $(CLASSFILES) $(SUBDIRS)
 101 
 102 install: all $(SUBDIRS)
 103 
 104 _msg: $(MSGDIRS) $(MSGS) $(SUBDIRS)
 105 
 106 $(MSGDIR)/%: %
 107         $(INS.file)
 108 
 109 $(MSGDIRS):
 110         $(INS.dir)
 111 
 112 lint:
 113 
 114 clean: $(SUBDIRS) FRC
 115         $(RM) $(CLEANFILES)
 116 
 117 clobber: clean
 118 
 119 $(SUBDIRS):     FRC
 120         @cd $@; pwd; $(MAKE) $(TARGET)
 121 
 122 FRC: