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