Makefile revision b76c14595f2dd8b4765b40057467eb8796111fde
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews#
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# CDDL HEADER START
724df78acd95dc0f313bc2b80a099f7ecd48b620Tinderbox User#
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# The contents of this file are subject to the terms of the
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# Common Development and Distribution License (the "License").
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# You may not use this file except in compliance with the License.
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews#
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# or http://www.opensolaris.org/os/licensing.
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# See the License for the specific language governing permissions
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# and limitations under the License.
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews#
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# When distributing Covered Code, include this CDDL HEADER in each
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# If applicable, add the following below this CDDL HEADER, with the
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews#
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# CDDL HEADER END
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews#
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews#
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# Use is subject to license terms.
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews#
dbb012765c735ee0d82dedb116cdc7cf18957814Evan Hunt# cmd/dodatadm/Makefile
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark AndrewsSCRIPT = dodatadm.udaplt
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrewsinclude $(SRC)/cmd/Makefile.cmd
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark AndrewsSTARTDATADM= $(ROOTETC)/rc2.d/S81dodatadm.udaplt
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark AndrewsINITD= $(ROOTETC)/init.d
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark AndrewsRC2D= $(ROOTETC)/rc2.d
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark AndrewsDIRS= $(INITD) $(RC2D)
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark AndrewsFILEMODE= 0744
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark AndrewsOWNER= root
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark AndrewsGROUP= sys
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark AndrewsETCINITPROG= $(SCRIPT:%=$(INITD)/%)
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews
2ae159b376dac23870d8005563c585acf85a4b5aEvan Hunt.KEEP_STATE:
2ae159b376dac23870d8005563c585acf85a4b5aEvan Hunt
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrewsall: $(SCRIPT)
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrewsinstall: all $(DIRS) $(ETCINITPROG) ln_PROG
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews$(INITD)/% : % $(INITD)
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews $(INS.file)
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews$(DIRS):
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews $(INS.dir)
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrewsln_PROG : $(ETCINITPROG)
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews -$(RM) $(STARTDATADM)
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews $(LN) $(INITD)/$(SCRIPT) $(STARTDATADM)
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrewsclean:
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrewslint:
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrewsinclude $(SRC)/cmd/Makefile.targ
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews