Makefile revision a1e9eea083a8f257157edb8a1efb5bbd300eb4bf
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# CDDL HEADER START
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# The contents of this file are subject to the terms of the
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# Common Development and Distribution License (the "License").
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# You may not use this file except in compliance with the License.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# or http://www.opensolaris.org/os/licensing.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# See the License for the specific language governing permissions
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# and limitations under the License.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# When distributing Covered Code, include this CDDL HEADER in each
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# If applicable, add the following below this CDDL HEADER, with the
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# fields enclosed by brackets "[]" replaced with your own identifying
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# information: Portions Copyright [yyyy] [name of copyright owner]
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# CDDL HEADER END
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
42d159821800ff240cc201c8fe07f575b9e8a62bGordon Ross# Use is subject to license terms.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlowinclude ../../../Makefile.cmd
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Rossinclude ../../Makefile.com
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlowPROG1 = rdc
4bff34e37def8a90f9194d81bc345c52ba20086athurlowPROG2 = rdcfinish
4bff34e37def8a90f9194d81bc345c52ba20086athurlowPROG3 = rdc.cluster
4bff34e37def8a90f9194d81bc345c52ba20086athurlowSHFILES = $(PROG1) $(PROG2) $(PROG3)
4bff34e37def8a90f9194d81bc345c52ba20086athurlowROOTINIT_D = $(ROOTETC)/init.d
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlowOWNER = root
4bff34e37def8a90f9194d81bc345c52ba20086athurlowGROUP = sys
4bff34e37def8a90f9194d81bc345c52ba20086athurlowFILEMODE = 0744
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
42d159821800ff240cc201c8fe07f575b9e8a62bGordon RossROOTETCFILES= $(ETCFILES:%=$(ROOTETC)/%)
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon RossROOTINIT_DPROG1 = $(ROOTINIT_D)/$(PROG1)
4bff34e37def8a90f9194d81bc345c52ba20086athurlowROOTINIT_DPROG2 = $(ROOTINIT_D)/$(PROG2)
42d159821800ff240cc201c8fe07f575b9e8a62bGordon RossROOTINIT_DPROG3 = $(ROOTINIT_D)/$(PROG3)
42d159821800ff240cc201c8fe07f575b9e8a62bGordon Ross
4bff34e37def8a90f9194d81bc345c52ba20086athurlow.KEEP_STATE:
7014882c6a3672fd0e5d60200af8643ae53c5928Richard Lowe
7014882c6a3672fd0e5d60200af8643ae53c5928Richard Loweall: $(SHFILES) $(ETCFILES) $(INITFILES)
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlowinstall: $(ROOTINIT_DPROG1) $(ROOTINIT_DPROG2) $(ROOTINIT_DPROG3) $(ROOTLIBSVCMETHOD) $(CLUSTERSBINDIR)
4d925e45f2d17c86a15eae2ebe7d463b2c96cb0eGordon Ross -$(RM) $(CLUSTERLIBDSCFGSTOPDIR)/15rdc
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross -$(RM) $(CLUSTERLIBDSCFGSTARTDIR)/10rdc
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross -$(RM) $(ROOTLIBSVCMETHOD)/svc-rdc
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross -$(RM) $(ROOTLIBSVCMETHOD)/svc-rdcsyncd
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross -$(RM) $(CLUSTERSBINDIR)/rdc
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross -$(SYMLINK) ../../../sbin/rdc $(CLUSTERLIBDSCFGSTOPDIR)/15rdc
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross -$(SYMLINK) ../../../sbin/rdc $(CLUSTERLIBDSCFGSTARTDIR)/10rdc
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross $(LN) $(ROOTINIT_D)/rdc $(ROOTLIBSVCMETHOD)/svc-rdc
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross $(LN) $(ROOTINIT_D)/rdcfinish $(ROOTLIBSVCMETHOD)/svc-rdcsyncd
4bff34e37def8a90f9194d81bc345c52ba20086athurlow $(LN) $(ROOTINIT_D)/rdc.cluster $(CLUSTERSBINDIR)/rdc
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlow$(ROOTINIT_DPROG1): $(PROG1)
4bff34e37def8a90f9194d81bc345c52ba20086athurlow $(INS.file) $(PROG1)
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlow$(ROOTINIT_DPROG2): $(PROG2)
4bff34e37def8a90f9194d81bc345c52ba20086athurlow $(INS.file) $(PROG2)
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlow$(ROOTINIT_DPROG3): $(PROG3)
4bff34e37def8a90f9194d81bc345c52ba20086athurlow $(INS.file) $(PROG3)
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlowclean:
4bff34e37def8a90f9194d81bc345c52ba20086athurlow $(RM) $(SHFILES)
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlowclobber: clean
lint: