1fcf3ce44SJohn Forte# CDDL HEADER START 2fcf3ce44SJohn Forte# 3fcf3ce44SJohn Forte# The contents of this file are subject to the terms of the 4fcf3ce44SJohn Forte# Common Development and Distribution License (the "License"). 5fcf3ce44SJohn Forte# You may not use this file except in compliance with the License. 6fcf3ce44SJohn Forte# 7fcf3ce44SJohn Forte# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 8fcf3ce44SJohn Forte# or http://www.opensolaris.org/os/licensing. 9fcf3ce44SJohn Forte# See the License for the specific language governing permissions 10fcf3ce44SJohn Forte# and limitations under the License. 11fcf3ce44SJohn Forte# 12fcf3ce44SJohn Forte# When distributing Covered Code, include this CDDL HEADER in each 13fcf3ce44SJohn Forte# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 14fcf3ce44SJohn Forte# If applicable, add the following below this CDDL HEADER, with the 15fcf3ce44SJohn Forte# fields enclosed by brackets "[]" replaced with your own identifying 16fcf3ce44SJohn Forte# information: Portions Copyright [yyyy] [name of copyright owner] 17fcf3ce44SJohn Forte# 18fcf3ce44SJohn Forte# CDDL HEADER END 19fcf3ce44SJohn Forte# 20fcf3ce44SJohn Forte# 21a1e9eea0SSrikanth, Ramana# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 22fcf3ce44SJohn Forte# Use is subject to license terms. 23fcf3ce44SJohn Forte# 24fcf3ce44SJohn Forte 25fcf3ce44SJohn Forteinclude ../../../Makefile.cmd 26fcf3ce44SJohn Forteinclude ../../Makefile.com 27fcf3ce44SJohn Forte 28fcf3ce44SJohn ForteSHFILES = sv sv.cluster 29fcf3ce44SJohn ForteROOTINIT_D = $(ROOTETC)/init.d 30fcf3ce44SJohn Forte 31fcf3ce44SJohn ForteFILEMODE = 0744 32fcf3ce44SJohn Forte 33*fb6c52f1SSrikanth, RamanaROOTINIT_DPROG1 = $(ROOTINIT_D)/sv 34*fb6c52f1SSrikanth, RamanaROOTINIT_DPROG2 = $(ROOTINIT_D)/sv.cluster 35fcf3ce44SJohn Forte 36fcf3ce44SJohn Forte.KEEP_STATE: 37fcf3ce44SJohn Forte 38fcf3ce44SJohn Forteall: $(SHFILES) 39fcf3ce44SJohn Forte 40*fb6c52f1SSrikanth, Ramanainstall: all $(ROOTINIT_DPROG1) $(ROOTINIT_DPROG2) $(CLUSTERSBINDIR) \ 41*fb6c52f1SSrikanth, Ramana $(CLUSTERLIBSTOPDIR) $(CLUSTERLIBSTARTDIR) $(ROOTLIBSVCMETHOD) 42fcf3ce44SJohn Forte -$(RM) $(CLUSTERLIBDSCFGSTOPDIR)/10sv 43fcf3ce44SJohn Forte -$(RM) $(CLUSTERLIBDSCFGSTARTDIR)/15sv 44a1e9eea0SSrikanth, Ramana -$(RM) $(CLUSTERSBINDIR)/sv 45a1e9eea0SSrikanth, Ramana -$(RM) $(ROOTLIBSVCMETHOD)/svc-sv 46fcf3ce44SJohn Forte -$(SYMLINK) ../../../sbin/sv $(CLUSTERLIBDSCFGSTOPDIR)/10sv 47fcf3ce44SJohn Forte -$(SYMLINK) ../../../sbin/sv $(CLUSTERLIBDSCFGSTARTDIR)/15sv 48a1e9eea0SSrikanth, Ramana $(LN) $(ROOTINIT_D)/sv $(ROOTLIBSVCMETHOD)/svc-sv 49*fb6c52f1SSrikanth, Ramana $(CP) $(ROOTINIT_D)/sv.cluster $(CLUSTERSBINDIR)/sv 50fcf3ce44SJohn Forte 51*fb6c52f1SSrikanth, Ramana$(ROOTINIT_DPROG1): sv 52*fb6c52f1SSrikanth, Ramana $(INS.file) sv 53*fb6c52f1SSrikanth, Ramana 54*fb6c52f1SSrikanth, Ramana$(ROOTINIT_DPROG2): sv.cluster 55*fb6c52f1SSrikanth, Ramana $(INS.file) sv.cluster 56fcf3ce44SJohn Forte 57fcf3ce44SJohn Forte$(CLUSTERLIBSTOPDIR): 58fcf3ce44SJohn Forte $(INS.dir) 59fcf3ce44SJohn Forte 60fcf3ce44SJohn Forte$(CLUSTERLIBSTARTDIR): 61fcf3ce44SJohn Forte $(INS.dir) 62fcf3ce44SJohn Forte 63fcf3ce44SJohn Fortelint: 64fcf3ce44SJohn Forte 65fcf3ce44SJohn Forteclean: 66fcf3ce44SJohn Forte $(RM) $(SHFILES) 67fcf3ce44SJohn Forte 68fcf3ce44SJohn Forteclobber: clean 69*fb6c52f1SSrikanth, Ramana $(RM) $(ROOTINIT_DPROG1) $(ROOTINIT_DPROG2) 70