xref: /illumos-gate/usr/src/cmd/sdpadm/Makefile (revision 24fe0b3bf671e123467ce1df0b67cadd3614c8e4)
174e20cfeSnh145002#
274e20cfeSnh145002# CDDL HEADER START
374e20cfeSnh145002#
474e20cfeSnh145002# The contents of this file are subject to the terms of the
574e20cfeSnh145002# Common Development and Distribution License (the "License").
674e20cfeSnh145002# You may not use this file except in compliance with the License.
774e20cfeSnh145002#
874e20cfeSnh145002# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
974e20cfeSnh145002# or http://www.opensolaris.org/os/licensing.
1074e20cfeSnh145002# See the License for the specific language governing permissions
1174e20cfeSnh145002# and limitations under the License.
1274e20cfeSnh145002#
1374e20cfeSnh145002# When distributing Covered Code, include this CDDL HEADER in each
1474e20cfeSnh145002# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1574e20cfeSnh145002# If applicable, add the following below this CDDL HEADER, with the
1674e20cfeSnh145002# fields enclosed by brackets "[]" replaced with your own identifying
1774e20cfeSnh145002# information: Portions Copyright [yyyy] [name of copyright owner]
1874e20cfeSnh145002#
1974e20cfeSnh145002# CDDL HEADER END
2074e20cfeSnh145002#
2174e20cfeSnh145002#
22*bc98fec6SLida.Horn# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
2374e20cfeSnh145002# Use is subject to license terms.
2474e20cfeSnh145002#
2574e20cfeSnh145002
2674e20cfeSnh145002PROG= sdpadm
2774e20cfeSnh145002
2874e20cfeSnh145002ETCFILES = sdp.conf
2974e20cfeSnh145002ROOTETC = $(ROOT)/etc
3074e20cfeSnh145002
3174e20cfeSnh145002FILEMODE = 0555
3274e20cfeSnh145002
3374e20cfeSnh145002ROOTETCFILES= $(ETCFILES:%=$(ROOTETC)/%)
3474e20cfeSnh145002$(ROOTETCFILES) := FILEMODE= 644
3574e20cfeSnh145002
36*bc98fec6SLida.Horninclude ../Makefile.cmd
37*bc98fec6SLida.Horn
38*bc98fec6SLida.HornCFLAGS	+= $(CCVERBOSE)
3974e20cfeSnh145002
4074e20cfeSnh145002.KEEP_STATE:
4174e20cfeSnh145002
4274e20cfeSnh145002all: $(PROG) $(ETCFILES)
4374e20cfeSnh145002
4474e20cfeSnh145002install: all $(ROOTUSRSBINPROG) $(ROOTETCFILES)
4574e20cfeSnh145002
4674e20cfeSnh145002clean:
4774e20cfeSnh145002
48*bc98fec6SLida.Hornlint:	lint_PROG
4974e20cfeSnh145002
50*bc98fec6SLida.Horninclude ../Makefile.targ
51