fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# CDDL HEADER START
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# The contents of this file are subject to the terms of the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Common Development and Distribution License (the "License").
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# You may not use this file except in compliance with the License.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# or http://www.opensolaris.org/os/licensing.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# See the License for the specific language governing permissions
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# and limitations under the License.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# When distributing Covered Code, include this CDDL HEADER in each
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# If applicable, add the following below this CDDL HEADER, with the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# fields enclosed by brackets "[]" replaced with your own identifying
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# information: Portions Copyright [yyyy] [name of copyright owner]
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# CDDL HEADER END
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
a1e9eea083a8f257157edb8a1efb5bbd300eb4bfSrikanth, Ramana# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Use is subject to license terms.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# cmd/ns/sdbc/etc/Makefile
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteinclude ../../../Makefile.cmd
a1e9eea083a8f257157edb8a1efb5bbd300eb4bfSrikanth, Ramanainclude ../../Makefile.com
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteINITPROGS = scm
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteBINPROGS = dscfg_reconfigure.cluster
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteSHFILES = $(INITPROGS) $(BINPROGS)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteROOTINIT_D = $(ROOTETC)/init.d
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteROOTBINPROGS= $(BINPROGS:%=$(ROOTBIN)/%)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteROOTINITPROGS= $(INITPROGS:%=$(ROOTINIT_D)/%)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# scm is mode 744, dscfg_reconfigure.cluster is mode 555
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte$(ROOTINITPROGS) := FILEMODE= 744
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte$(ROOTBINPROGS) := FILEMODE= 555
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte.KEEP_STATE:
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteall: $(SHFILES) $(INITPROGS) $(BINPROGS)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
a1e9eea083a8f257157edb8a1efb5bbd300eb4bfSrikanth, Ramanainstall: $(ROOTBINPROGS) $(ROOTINITPROGS) $(ROOTLIBSVCMETHOD) $(CLUSTERSBINDIR)
a1e9eea083a8f257157edb8a1efb5bbd300eb4bfSrikanth, Ramana -$(RM) $(ROOTLIBSVCMETHOD)/svc-scm
a1e9eea083a8f257157edb8a1efb5bbd300eb4bfSrikanth, Ramana -$(RM) $(CLUSTERSBINDIR)/dscfg_reconfigure
a1e9eea083a8f257157edb8a1efb5bbd300eb4bfSrikanth, Ramana $(LN) $(ROOTINIT_D)/scm $(ROOTLIBSVCMETHOD)/svc-scm
a1e9eea083a8f257157edb8a1efb5bbd300eb4bfSrikanth, Ramana $(LN) $(ROOTBIN)/$(BINPROGS) $(CLUSTERSBINDIR)/dscfg_reconfigure
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte$(ROOTINIT_D)/%: %
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte $(INS.file)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteclean:
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte $(RM) $(SHFILES)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteclobber: clean
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte $(RM) $(ROOTBINPROGS) $(ROOTINITPROGS)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortelint:
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteFRC: