Makefile revision 36e852a172cba914383d7341c988128b2c667fbd
3952N/A#
3952N/A# CDDL HEADER START
3952N/A#
3952N/A# The contents of this file are subject to the terms of the
3952N/A# Common Development and Distribution License (the "License").
3952N/A# You may not use this file except in compliance with the License.
3952N/A#
3952N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3952N/A# or http://www.opensolaris.org/os/licensing.
3952N/A# See the License for the specific language governing permissions
3952N/A# and limitations under the License.
3952N/A#
3952N/A# When distributing Covered Code, include this CDDL HEADER in each
3952N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3952N/A# If applicable, add the following below this CDDL HEADER, with the
3952N/A# fields enclosed by brackets "[]" replaced with your own identifying
3952N/A# information: Portions Copyright [yyyy] [name of copyright owner]
3952N/A#
3952N/A# CDDL HEADER END
3952N/A#
3952N/A#
3952N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
5223N/A# Use is subject to license terms.
5185N/A#
5185N/A# cmd/cmd-inet/usr.sadm/dhcpmgr/Makefile
5185N/A
3952N/Ainclude $(SRC)/Makefile.master
3952N/A
3952N/ASUBDIRS = com lib bin help
3952N/A
5185N/Aall := TARGET= all
3952N/Ainstall := TARGET= install
3952N/Aclean := TARGET= clean
3952N/Aclobber := TARGET= clobber
3952N/Alint := TARGET= lint
3952N/A_msg := TARGET= _msg
3952N/A
3952N/AGUI_JAR= dhcpmgr.jar
3952N/AGUI_JARFILES= com/sun/dhcpmgr/client/*.class \
3952N/A com/sun/dhcpmgr/ui/*.class \
3952N/A com/sun/dhcpmgr/ui/*.gif \
3952N/A com/sun/dhcpmgr/client/*.properties \
3952N/A com/sun/dhcpmgr/ui/*.properties
3952N/A
3952N/ASERVER_JAR= dhcpsvc.jar
3952N/ASERVER_JARFILES= com/sun/dhcpmgr/server/*.class \
3952N/A com/sun/dhcpmgr/bridge/*.class \
3952N/A com/sun/dhcpmgr/server/*.properties \
3952N/A com/sun/dhcpmgr/bridge/*.properties
5185N/A
4115N/A
5185N/ACLI_JAR= dhcpcli.jar
5185N/ACLI_JARFILES= com/sun/dhcpmgr/cli/*/*.class \
5185N/A com/sun/dhcpmgr/cli/*/*.properties
5185N/A
4115N/ACOMMON_JAR= dhcpcommon.jar
5185N/ACOMMON_JARFILES= com/sun/dhcpmgr/data/*.class \
5185N/A com/sun/dhcpmgr/data/qualifier/*.class \
6006N/A com/sun/dhcpmgr/common/*.class \
5185N/A com/sun/dhcpmgr/data/*.properties \
3952N/A com/sun/dhcpmgr/common/*.properties
5185N/A
4115N/ASUNWFILES_JAR= SUNWfiles.jar
5185N/ASUNWFILES_JARFILES= com/sun/dhcpmgr/client/SUNWfiles/*.class \
5185N/A com/sun/dhcpmgr/client/SUNWfiles/*.properties
5185N/ASUNWFILES_MANIFEST= SUNWfiles.manifest
6006N/A
5185N/ASUNWBINFILES_JAR= SUNWbinfiles.jar
3952N/ASUNWBINFILES_JARFILES= com/sun/dhcpmgr/client/SUNWbinfiles/*.class \
5185N/A com/sun/dhcpmgr/client/SUNWbinfiles/*.properties
6006N/ASUNWBINFILES_MANIFEST= SUNWbinfiles.manifest
3952N/A
6006N/ACLI_JARS=${CLI_JAR} ${SERVER_JAR} ${COMMON_JAR}
6006N/AGUI_JARS=$(GUI_JAR) ${SUNWFILES_JAR} ${SUNWBINFILES_JAR}
3952N/AALL_JARS= ${GUI_JARS} ${CLI_JARS}
4115N/A
3952N/AMANIFEST_FILES= $(SUNWFILES_MANIFEST) $(SUNWBINFILES_MANIFEST)
5185N/A
5185N/AROOTGUIDIR = $(ROOT)/usr/sadm/admin/dhcpmgr
5185N/AROOTCLIDIR = $(ROOT)/usr/lib/inet/dhcp/svcadm
5185N/AROOTDIRS= $(ROOT)/usr/sadm/admin $(ROOTGUIDIR) $(ROOTCLIDIR)
5185N/A
5185N/AROOTCLIFILES = ${CLI_JARS}
5185N/AROOTGUIFILES = ${GUI_JARS}
5185N/AROOTCLIDIRJAR = $(ROOTCLIFILES:%=$(ROOTCLIDIR)/%)
5185N/AROOTGUIDIRJAR = $(ROOTGUIFILES:%=$(ROOTGUIDIR)/%)
5185N/A
5185N/AJAVADOC_PKGS= com.sun.dhcpmgr.client \
5185N/A com.sun.dhcpmgr.ui \
5185N/A com.sun.dhcpmgr.data \
5185N/A com.sun.dhcpmgr.data.qualifier \
5185N/A com.sun.dhcpmgr.server \
5185N/A com.sun.dhcpmgr.bridge \
5185N/A com.sun.dhcpmgr.cli.common \
5185N/A com.sun.dhcpmgr.cli.dhcpconfig \
5185N/A com.sun.dhcpmgr.cli.dhtadm \
5185N/A com.sun.dhcpmgr.cli.pntadm \
5185N/A com.sun.dhcpmgr.common
5185N/A
5185N/AFILEMODE = 0444
3952N/ADIRMODE = 0755
3952N/A
4770N/A.KEEP_STATE:
5185N/A
5185N/Aall: $(SUBDIRS) $(ALL_JARS)
5185N/A
5185N/Ainstall: all $(ROOTDIRS) $(SUBDIRS) $(ROOTCLIDIRJAR) $(ROOTGUIDIRJAR)
5185N/A
5185N/Aclean clobber: $(SUBDIRS)
5185N/A -$(RM) $(MANIFEST_FILES)
5185N/A -$(RM) $(ALL_JARS)
5185N/A
5185N/Alint: lib
5185N/A
5185N/A_msg: $(SUBDIRS)
5185N/A
6006N/Astrip:
5185N/A
5185N/A#
5185N/A# The javadocs target is non-standard; used for creating API reference docs
5185N/A# The javadocs will be placed in $(CODEMGR_WS}/javadocs
5185N/A#
5185N/Ajavadocs:
5185N/A $(RM) -r $(CODEMGR_WS)/$@; mkdir $(CODEMGR_WS)/$@
5185N/A $(JAVADOC) -classpath $(CLASSPATH) -sourcepath . -d $(CODEMGR_WS)/$@ $(JAVADOC_PKGS) -windowtitle "DHCP Administration packages"
5185N/A
5185N/A$(GUI_JAR): FRC
5185N/A $(JAR) cf $@ $(GUI_JARFILES)
5185N/A
5185N/A$(SERVER_JAR): FRC
5185N/A $(JAR) cf $@ $(SERVER_JARFILES)
5185N/A
5185N/A$(CLI_JAR): FRC
6006N/A $(JAR) cf $@ $(CLI_JARFILES)
6006N/A
3952N/A$(COMMON_JAR): FRC
6006N/A $(JAR) cf $@ $(COMMON_JARFILES)
5185N/A
5185N/A$(SUNWFILES_JAR): $(SUNWFILES_MANIFEST) FRC
6006N/A $(JAR) cmf $(SUNWFILES_MANIFEST) $@ $(SUNWFILES_JARFILES)
6006N/A
5185N/A$(SUNWBINFILES_JAR): $(SUNWBINFILES_MANIFEST) FRC
5185N/A $(JAR) cmf $(SUNWBINFILES_MANIFEST) $@ $(SUNWBINFILES_JARFILES)
5185N/A
6006N/A$(SUNWFILES_MANIFEST):
6006N/A @$(ECHO) "Name: com/sun/dhcpmgr/client/SUNWfiles/SUNWfiles.class" > $@;
6006N/A @$(ECHO) "Java-Bean: True" >> $@;
3952N/A
3952N/A$(SUNWBINFILES_MANIFEST):
3952N/A @$(ECHO) "Name: com/sun/dhcpmgr/client/SUNWbinfiles/SUNWbinfiles.class" > $@;
3952N/A @$(ECHO) "Java-Bean: True" >> $@;
3952N/A
5185N/A$(ROOTCLIDIR)/%: %
5185N/A $(INS.file)
5185N/A
5185N/A$(ROOTGUIDIR)/%: %
5185N/A $(INS.file)
5185N/A
5185N/A$(ROOTDIRS):
5185N/A $(INS.dir)
5185N/A
5185N/A$(SUBDIRS): FRC
5223N/A @cd $@; pwd; $(MAKE) $(TARGET)
5223N/A
5223N/AFRC: