1*98f4f4f6Sjv#
2*98f4f4f6Sjv# CDDL HEADER START
3*98f4f4f6Sjv#
4*98f4f4f6Sjv# The contents of this file are subject to the terms of the
5*98f4f4f6Sjv# Common Development and Distribution License (the "License").
6*98f4f4f6Sjv# You may not use this file except in compliance with the License.
7*98f4f4f6Sjv#
8*98f4f4f6Sjv# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*98f4f4f6Sjv# or http://www.opensolaris.org/os/licensing.
10*98f4f4f6Sjv# See the License for the specific language governing permissions
11*98f4f4f6Sjv# and limitations under the License.
12*98f4f4f6Sjv#
13*98f4f4f6Sjv# When distributing Covered Code, include this CDDL HEADER in each
14*98f4f4f6Sjv# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*98f4f4f6Sjv# If applicable, add the following below this CDDL HEADER, with the
16*98f4f4f6Sjv# fields enclosed by brackets "[]" replaced with your own identifying
17*98f4f4f6Sjv# information: Portions Copyright [yyyy] [name of copyright owner]
18*98f4f4f6Sjv#
19*98f4f4f6Sjv# CDDL HEADER END
20*98f4f4f6Sjv#
21*98f4f4f6Sjv#
22*98f4f4f6Sjv# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
23*98f4f4f6Sjv#
24*98f4f4f6Sjv
25*98f4f4f6SjvPROG =		s10_replacefile
26*98f4f4f6SjvPROGS =		$(PROG)
27*98f4f4f6SjvOBJS =		s10_replacefile
28*98f4f4f6Sjv
29*98f4f4f6Sjvall:		$(PROG)
30*98f4f4f6Sjv
31*98f4f4f6Sjvinclude ../Makefile.s10
32*98f4f4f6Sjvinclude $(SRC)/cmd/Makefile.cmd
33*98f4f4f6Sjv
34*98f4f4f6Sjv# override the install directory
35*98f4f4f6SjvROOTBIN =	$(ROOTBRANDDIR)
36*98f4f4f6SjvCLOBBERFILES =	$(OBJS) $(ROOTPROGS)
37*98f4f4f6Sjv
38*98f4f4f6SjvUTSBASE =	$(SRC)/uts
39*98f4f4f6Sjv
40*98f4f4f6SjvCFLAGS +=	$(CCVERBOSE)
41*98f4f4f6SjvCPPFLAGS +=	-D_REENTRANT
42*98f4f4f6Sjv
43*98f4f4f6Sjv.KEEP_STATE:
44*98f4f4f6Sjv
45*98f4f4f6Sjvinstall:	all $(ROOTPROGS)
46*98f4f4f6Sjv
47*98f4f4f6Sjvclean:
48*98f4f4f6Sjv		$(RM) $(PROG) $(OBJS)
49*98f4f4f6Sjv
50*98f4f4f6Sjv
51*98f4f4f6Sjvinclude $(SRC)/cmd/Makefile.targ
52