xref: /onnv-gate/usr/src/cmd/dodatadm/Makefile (revision 10207:87c40ea3fc4b)
19567SBill.Taylor@Sun.COM#
29567SBill.Taylor@Sun.COM# CDDL HEADER START
39567SBill.Taylor@Sun.COM#
49567SBill.Taylor@Sun.COM# The contents of this file are subject to the terms of the
59567SBill.Taylor@Sun.COM# Common Development and Distribution License (the "License").
69567SBill.Taylor@Sun.COM# You may not use this file except in compliance with the License.
79567SBill.Taylor@Sun.COM#
89567SBill.Taylor@Sun.COM# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
99567SBill.Taylor@Sun.COM# or http://www.opensolaris.org/os/licensing.
109567SBill.Taylor@Sun.COM# See the License for the specific language governing permissions
119567SBill.Taylor@Sun.COM# and limitations under the License.
129567SBill.Taylor@Sun.COM#
139567SBill.Taylor@Sun.COM# When distributing Covered Code, include this CDDL HEADER in each
149567SBill.Taylor@Sun.COM# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
159567SBill.Taylor@Sun.COM# If applicable, add the following below this CDDL HEADER, with the
169567SBill.Taylor@Sun.COM# fields enclosed by brackets "[]" replaced with your own identifying
179567SBill.Taylor@Sun.COM# information: Portions Copyright [yyyy] [name of copyright owner]
189567SBill.Taylor@Sun.COM#
199567SBill.Taylor@Sun.COM# CDDL HEADER END
209567SBill.Taylor@Sun.COM#
219567SBill.Taylor@Sun.COM#
22*10207SJames.McPherson@Sun.COM# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
239567SBill.Taylor@Sun.COM# Use is subject to license terms.
249567SBill.Taylor@Sun.COM#
259567SBill.Taylor@Sun.COM# cmd/dodatadm/Makefile
269567SBill.Taylor@Sun.COM
279567SBill.Taylor@Sun.COMSCRIPT =	dodatadm.udaplt
289567SBill.Taylor@Sun.COM
299567SBill.Taylor@Sun.COMinclude $(SRC)/cmd/Makefile.cmd
309567SBill.Taylor@Sun.COM
319567SBill.Taylor@Sun.COMSTARTDATADM= $(ROOTETC)/rc2.d/S81dodatadm.udaplt
329567SBill.Taylor@Sun.COM
339567SBill.Taylor@Sun.COMINITD= $(ROOTETC)/init.d
349567SBill.Taylor@Sun.COMRC2D= $(ROOTETC)/rc2.d
359567SBill.Taylor@Sun.COMDIRS= $(INITD) $(RC2D)
369567SBill.Taylor@Sun.COM
379567SBill.Taylor@Sun.COMFILEMODE= 0744
389567SBill.Taylor@Sun.COM
399567SBill.Taylor@Sun.COMETCINITPROG=	$(SCRIPT:%=$(INITD)/%)
409567SBill.Taylor@Sun.COM
419567SBill.Taylor@Sun.COM.KEEP_STATE:
429567SBill.Taylor@Sun.COM
439567SBill.Taylor@Sun.COMall: $(SCRIPT)
449567SBill.Taylor@Sun.COM
459567SBill.Taylor@Sun.COMinstall: all $(DIRS) $(ETCINITPROG) ln_PROG
469567SBill.Taylor@Sun.COM
479567SBill.Taylor@Sun.COM$(INITD)/% : % $(INITD)
489567SBill.Taylor@Sun.COM	$(INS.file)
499567SBill.Taylor@Sun.COM
509567SBill.Taylor@Sun.COM$(DIRS):
519567SBill.Taylor@Sun.COM	$(INS.dir)
529567SBill.Taylor@Sun.COM
539567SBill.Taylor@Sun.COMln_PROG : $(ETCINITPROG)
549567SBill.Taylor@Sun.COM	-$(RM) $(STARTDATADM)
559567SBill.Taylor@Sun.COM	$(LN) $(INITD)/$(SCRIPT) $(STARTDATADM)
569567SBill.Taylor@Sun.COM
579567SBill.Taylor@Sun.COMclean:
589567SBill.Taylor@Sun.COM
599567SBill.Taylor@Sun.COMlint:
609567SBill.Taylor@Sun.COM
619567SBill.Taylor@Sun.COMinclude $(SRC)/cmd/Makefile.targ
62