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