xref: /titanic_41/usr/src/cmd/dodatadm/Makefile (revision 24fe0b3bf671e123467ce1df0b67cadd3614c8e4)
1b76c1459SBill Taylor#
2b76c1459SBill Taylor# CDDL HEADER START
3b76c1459SBill Taylor#
4b76c1459SBill Taylor# The contents of this file are subject to the terms of the
5b76c1459SBill Taylor# Common Development and Distribution License (the "License").
6b76c1459SBill Taylor# You may not use this file except in compliance with the License.
7b76c1459SBill Taylor#
8b76c1459SBill Taylor# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9b76c1459SBill Taylor# or http://www.opensolaris.org/os/licensing.
10b76c1459SBill Taylor# See the License for the specific language governing permissions
11b76c1459SBill Taylor# and limitations under the License.
12b76c1459SBill Taylor#
13b76c1459SBill Taylor# When distributing Covered Code, include this CDDL HEADER in each
14b76c1459SBill Taylor# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15b76c1459SBill Taylor# If applicable, add the following below this CDDL HEADER, with the
16b76c1459SBill Taylor# fields enclosed by brackets "[]" replaced with your own identifying
17b76c1459SBill Taylor# information: Portions Copyright [yyyy] [name of copyright owner]
18b76c1459SBill Taylor#
19b76c1459SBill Taylor# CDDL HEADER END
20b76c1459SBill Taylor#
21b76c1459SBill Taylor#
22*24fe0b3bSjmcp# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
23b76c1459SBill Taylor# Use is subject to license terms.
24b76c1459SBill Taylor#
25b76c1459SBill Taylor# cmd/dodatadm/Makefile
26b76c1459SBill Taylor
27b76c1459SBill TaylorSCRIPT =	dodatadm.udaplt
28b76c1459SBill Taylor
29b76c1459SBill Taylorinclude $(SRC)/cmd/Makefile.cmd
30b76c1459SBill Taylor
31b76c1459SBill TaylorSTARTDATADM= $(ROOTETC)/rc2.d/S81dodatadm.udaplt
32b76c1459SBill Taylor
33b76c1459SBill TaylorINITD= $(ROOTETC)/init.d
34b76c1459SBill TaylorRC2D= $(ROOTETC)/rc2.d
35b76c1459SBill TaylorDIRS= $(INITD) $(RC2D)
36b76c1459SBill Taylor
37b76c1459SBill TaylorFILEMODE= 0744
38b76c1459SBill Taylor
39b76c1459SBill TaylorETCINITPROG=	$(SCRIPT:%=$(INITD)/%)
40b76c1459SBill Taylor
41b76c1459SBill Taylor.KEEP_STATE:
42b76c1459SBill Taylor
43b76c1459SBill Taylorall: $(SCRIPT)
44b76c1459SBill Taylor
45b76c1459SBill Taylorinstall: all $(DIRS) $(ETCINITPROG) ln_PROG
46b76c1459SBill Taylor
47b76c1459SBill Taylor$(INITD)/% : % $(INITD)
48b76c1459SBill Taylor	$(INS.file)
49b76c1459SBill Taylor
50b76c1459SBill Taylor$(DIRS):
51b76c1459SBill Taylor	$(INS.dir)
52b76c1459SBill Taylor
53b76c1459SBill Taylorln_PROG : $(ETCINITPROG)
54b76c1459SBill Taylor	-$(RM) $(STARTDATADM)
55b76c1459SBill Taylor	$(LN) $(INITD)/$(SCRIPT) $(STARTDATADM)
56b76c1459SBill Taylor
57b76c1459SBill Taylorclean:
58b76c1459SBill Taylor
59b76c1459SBill Taylorlint:
60b76c1459SBill Taylor
61b76c1459SBill Taylorinclude $(SRC)/cmd/Makefile.targ
62