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 JAVAFLAGS = -source 1.6 -target 1.6 -Xlint:-deprecation,-options 84 85 MSGDIR= $(ROOT)/usr/share/lib/locale/com/sun/dhcpmgr/client 86 MSGDIRS = $(ROOT)/usr/share/lib/locale \ 87 $(ROOT)/usr/share/lib/locale/com \ 88 $(ROOT)/usr/share/lib/locale/com/sun \ 89 $(ROOT)/usr/share/lib/locale/com/sun/dhcpmgr \ 90 $(MSGDIR) 91 92 MSGFILES= ResourceBundle.properties \ 93 OptionDescriptions.properties 94 MSGS= $(MSGFILES:%=$(MSGDIR)/%) 95 96 CLEANFILES= *.class 97 CLOBBERFILES= 98 99 .KEEP_STATE: 100 101 all: $(CLASSFILES) $(SUBDIRS) 102 103 install: all $(SUBDIRS) 104 105 _msg: $(MSGDIRS) $(MSGS) $(SUBDIRS) 106 107 $(MSGDIR)/%: % 108 $(INS.file) 109 110 $(MSGDIRS): 111 $(INS.dir) 112 113 lint: 114 115 clean: $(SUBDIRS) FRC 116 $(RM) $(CLEANFILES) 117 118 clobber: clean 119 120 $(SUBDIRS): FRC 121 @cd $@; pwd; $(MAKE) $(TARGET) 122 123 FRC: