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 # Copyright 1999-2002 Sun Microsystems, Inc. All rights reserved. 24 # Use is subject to license terms. 25 # 26 # ident "%Z%%M% %I% %E% SMI" 27 # 28 # cmd/cmd-inet/usr.sadm/dhcpmgr/com/sun/dhcpmgr/data/Makefile 29 # 30 31 CONFIG_INTERFACE = DhcpConfigOpts.java 32 33 CLASSFILES = Macro.class \ 34 OptionValueFactory.class \ 35 AsciiOptionValue.class \ 36 BogusOptionValue.class \ 37 BooleanOptionValue.class \ 38 IncludeOptionValue.class \ 39 IPOptionValue.class \ 40 NumberOptionValue.class \ 41 OctetOptionValue.class \ 42 OptionsTable.class \ 43 StandardOptions.class \ 44 Option.class \ 45 DhcptabRecord.class \ 46 DhcpClientRecord.class \ 47 DhcpClientFlagTypes.class \ 48 IPInterface.class \ 49 ExportHeader.class \ 50 Network.class \ 51 IPAddress.class \ 52 DhcpdOptions.class \ 53 DhcpDatastore.class \ 54 DhcpResource.class \ 55 OptionContext.class \ 56 OptionType.class \ 57 ActionError.class \ 58 DhcpClientFlagType.class \ 59 DhcpConfigOpts.class \ 60 ResourceStrings.class \ 61 ValidationException.class 62 63 SUBDIRS = qualifier 64 65 all := TARGET= all 66 install := TARGET= install 67 clean := TARGET= clean 68 clobber := TARGET= clobber 69 lint := TARGET= lint 70 _msg := TARGET= _msg 71 72 include $(SRC)/Makefile.master 73 74 CLASSPATH= $(SRC)/cmd/cmd-inet/usr.sadm/dhcpmgr 75 76 JAVAFILES = $(CLASSFILES:.class=.java) 77 78 MSGDIR= $(ROOT)/usr/share/lib/locale/com/sun/dhcpmgr/data 79 MSGDIRS = $(ROOT)/usr/share/lib/locale \ 80 $(ROOT)/usr/share/lib/locale/com \ 81 $(ROOT)/usr/share/lib/locale/com/sun \ 82 $(ROOT)/usr/share/lib/locale/com/sun/dhcpmgr \ 83 $(MSGDIR) 84 85 MSGFILES= ResourceBundle.properties 86 MSGS= $(MSGFILES:%=$(MSGDIR)/%) 87 88 CLEANFILES= *.class $(CONFIG_INTERFACE) 89 CLOBBERFILES= 90 91 .KEEP_STATE: 92 93 all: $(SUBDIRS) $(CONFIG_INTERFACE) $(CLASSFILES) 94 95 install: $(SUBDIRS) all 96 97 $(CONFIG_INTERFACE): $(SRC)/lib/libdhcpsvc/head/dhcp_svc_confkey.m4 98 $(M4) -Djava $? > $@ 99 100 _msg: $(SUBDIRS) $(MSGDIRS) $(MSGS) 101 102 $(MSGDIR)/%: % 103 $(INS.file) 104 105 $(MSGDIRS): 106 $(INS.dir) 107 108 lint: 109 110 clean: $(SUBDIRS) FRC 111 $(RM) $(CLEANFILES) 112 113 clobber: clean 114 115 $(SUBDIRS): FRC 116 @cd $@; pwd; $(MAKE) $(TARGET) 117 118 FRC: