Makefile revision a1e9eea083a8f257157edb8a1efb5bbd300eb4bf
10139N/A# CDDL HEADER START
10139N/A#
13666N/A# The contents of this file are subject to the terms of the
10139N/A# Common Development and Distribution License (the "License").
10139N/A# You may not use this file except in compliance with the License.
10139N/A#
10139N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10139N/A# or http://www.opensolaris.org/os/licensing.
10139N/A# See the License for the specific language governing permissions
10139N/A# and limitations under the License.
10139N/A#
10139N/A# When distributing Covered Code, include this CDDL HEADER in each
10139N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
10139N/A# If applicable, add the following below this CDDL HEADER, with the
10139N/A# fields enclosed by brackets "[]" replaced with your own identifying
10139N/A# information: Portions Copyright [yyyy] [name of copyright owner]
10139N/A#
10139N/A# CDDL HEADER END
10139N/A#
10139N/A#
10139N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
10139N/A# Use is subject to license terms.
10139N/A#
10139N/A
10139N/Ainclude ../../../Makefile.cmd
10139N/Ainclude ../../Makefile.com
10139N/A
10139N/ASHFILES = sv sv.cluster
10139N/AROOTINIT_D = $(ROOTETC)/init.d
10139N/A
10139N/AOWNER = root
10139N/AGROUP = sys
10139N/AFILEMODE = 0744
10139N/A
10139N/AROOTINIT_DPROGS = $(SHFILES:%=$(ROOTINIT_D)/%)
10139N/A
10139N/A.KEEP_STATE:
10139N/A
10139N/Aall: $(SHFILES)
10139N/A
10139N/A
10139N/Ainstall: $(ROOTINIT_DPROGS) $(CLUSTERSBINDIR) $(CLUSTERLIBSTOPDIR) \
10139N/A $(CLUSTERLIBSTARTDIR) $(ROOTLIBSVCMETHOD)
10139N/A -$(RM) $(CLUSTERLIBDSCFGSTOPDIR)/10sv
10139N/A -$(RM) $(CLUSTERLIBDSCFGSTARTDIR)/15sv
10139N/A -$(RM) $(CLUSTERSBINDIR)/sv
10139N/A -$(RM) $(ROOTLIBSVCMETHOD)/svc-sv
10139N/A -$(SYMLINK) ../../../sbin/sv $(CLUSTERLIBDSCFGSTOPDIR)/10sv
10139N/A -$(SYMLINK) ../../../sbin/sv $(CLUSTERLIBDSCFGSTARTDIR)/15sv
10139N/A $(LN) $(ROOTINIT_D)/sv $(ROOTLIBSVCMETHOD)/svc-sv
10139N/A $(LN) $(ROOTINIT_D)/sv.cluster $(CLUSTERSBINDIR)/sv
10139N/A
10139N/A$(ROOTINIT_D)/%: %
10139N/A $(INS.file)
10139N/A
10139N/A$(CLUSTERLIBSTOPDIR):
10139N/A $(INS.dir)
10139N/A
10139N/A$(CLUSTERLIBSTARTDIR):
10139N/A $(INS.dir)
10139N/A
10139N/Alint:
10139N/A
10139N/Aclean:
10139N/A $(RM) $(SHFILES)
10139N/A
10139N/Aclobber: clean
10139N/A $(RM) $(ROOTINIT_DPROGS)
10139N/A