xref: /titanic_44/usr/src/cmd/avs/sdbc/etc/Makefile (revision 24fe0b3bf671e123467ce1df0b67cadd3614c8e4)
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#
21*a1e9eea0SSrikanth, Ramana# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
22fcf3ce44SJohn Forte# Use is subject to license terms.
23fcf3ce44SJohn Forte#
24fcf3ce44SJohn Forte# cmd/ns/sdbc/etc/Makefile
25fcf3ce44SJohn Forte
26fcf3ce44SJohn Forteinclude ../../../Makefile.cmd
27*a1e9eea0SSrikanth, Ramanainclude ../../Makefile.com
28fcf3ce44SJohn Forte
29fcf3ce44SJohn ForteINITPROGS = scm
30fcf3ce44SJohn ForteBINPROGS = dscfg_reconfigure.cluster
31fcf3ce44SJohn ForteSHFILES = $(INITPROGS) $(BINPROGS)
32fcf3ce44SJohn ForteROOTINIT_D = $(ROOTETC)/init.d
33fcf3ce44SJohn Forte
34fcf3ce44SJohn ForteROOTBINPROGS= $(BINPROGS:%=$(ROOTBIN)/%)
35fcf3ce44SJohn ForteROOTINITPROGS= $(INITPROGS:%=$(ROOTINIT_D)/%)
36fcf3ce44SJohn Forte
37fcf3ce44SJohn Forte# scm is mode 744, dscfg_reconfigure.cluster is mode 555
38fcf3ce44SJohn Forte$(ROOTINITPROGS) := FILEMODE= 744
39fcf3ce44SJohn Forte$(ROOTBINPROGS) := FILEMODE= 555
40fcf3ce44SJohn Forte
41fcf3ce44SJohn Forte.KEEP_STATE:
42fcf3ce44SJohn Forte
43fcf3ce44SJohn Forteall:	$(SHFILES) $(INITPROGS) $(BINPROGS)
44fcf3ce44SJohn Forte
45*a1e9eea0SSrikanth, Ramanainstall: $(ROOTBINPROGS) $(ROOTINITPROGS) $(ROOTLIBSVCMETHOD) $(CLUSTERSBINDIR)
46*a1e9eea0SSrikanth, Ramana	-$(RM) $(ROOTLIBSVCMETHOD)/svc-scm
47*a1e9eea0SSrikanth, Ramana	-$(RM) $(CLUSTERSBINDIR)/dscfg_reconfigure
48*a1e9eea0SSrikanth, Ramana	$(LN) $(ROOTINIT_D)/scm $(ROOTLIBSVCMETHOD)/svc-scm
49*a1e9eea0SSrikanth, Ramana	$(LN) $(ROOTBIN)/$(BINPROGS) $(CLUSTERSBINDIR)/dscfg_reconfigure
50fcf3ce44SJohn Forte
51fcf3ce44SJohn Forte$(ROOTINIT_D)/%: %
52fcf3ce44SJohn Forte	$(INS.file)
53fcf3ce44SJohn Forte
54fcf3ce44SJohn Forteclean:
55fcf3ce44SJohn Forte	$(RM) $(SHFILES)
56fcf3ce44SJohn Forte
57fcf3ce44SJohn Forteclobber: clean
58fcf3ce44SJohn Forte	$(RM) $(ROOTBINPROGS) $(ROOTINITPROGS)
59fcf3ce44SJohn Forte
60fcf3ce44SJohn Fortelint:
61fcf3ce44SJohn Forte
62fcf3ce44SJohn ForteFRC:
63