1*e71ca95cSGerald Jelinek#
2*e71ca95cSGerald Jelinek# CDDL HEADER START
3*e71ca95cSGerald Jelinek#
4*e71ca95cSGerald Jelinek# The contents of this file are subject to the terms of the
5*e71ca95cSGerald Jelinek# Common Development and Distribution License (the "License").
6*e71ca95cSGerald Jelinek# You may not use this file except in compliance with the License.
7*e71ca95cSGerald Jelinek#
8*e71ca95cSGerald Jelinek# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*e71ca95cSGerald Jelinek# or http://www.opensolaris.org/os/licensing.
10*e71ca95cSGerald Jelinek# See the License for the specific language governing permissions
11*e71ca95cSGerald Jelinek# and limitations under the License.
12*e71ca95cSGerald Jelinek#
13*e71ca95cSGerald Jelinek# When distributing Covered Code, include this CDDL HEADER in each
14*e71ca95cSGerald Jelinek# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*e71ca95cSGerald Jelinek# If applicable, add the following below this CDDL HEADER, with the
16*e71ca95cSGerald Jelinek# fields enclosed by brackets "[]" replaced with your own identifying
17*e71ca95cSGerald Jelinek# information: Portions Copyright [yyyy] [name of copyright owner]
18*e71ca95cSGerald Jelinek#
19*e71ca95cSGerald Jelinek# CDDL HEADER END
20*e71ca95cSGerald Jelinek#
21*e71ca95cSGerald Jelinek
22*e71ca95cSGerald Jelinek#
23*e71ca95cSGerald Jelinek# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
24*e71ca95cSGerald Jelinek# Use is subject to license terms.
25*e71ca95cSGerald Jelinek#
26*e71ca95cSGerald Jelinek
27*e71ca95cSGerald JelinekPROGS =		attach clone detach image_install p2v poststate prestate \
28*e71ca95cSGerald Jelinek		s10_boot uninstall
29*e71ca95cSGerald JelinekXMLDOCS=	config.xml platform.xml smf_disable.lst pkgrm.lst common.ksh \
30*e71ca95cSGerald Jelinek		version
31*e71ca95cSGerald JelinekUSERFILES=	smf_disable.conf pkgrm.conf
32*e71ca95cSGerald JelinekTEMPLATES =	SUNWsolaris10.xml
33*e71ca95cSGerald JelinekCLOBBERFILES=	$(ROOTPROGS) $(ROOTXMLDOCS) $(ROOTTEMPLATES) $(ETCUSER)
34*e71ca95cSGerald Jelinek
35*e71ca95cSGerald Jelinekinclude $(SRC)/cmd/Makefile.cmd
36*e71ca95cSGerald Jelinekinclude ../Makefile.s10
37*e71ca95cSGerald Jelinek
38*e71ca95cSGerald Jelinek.KEEP_STATE:
39*e71ca95cSGerald Jelinek
40*e71ca95cSGerald Jelinekall:	$(PROGS)
41*e71ca95cSGerald Jelinek
42*e71ca95cSGerald JelinekPOFILES =	$(PROGS:%=%.po) common.po
43*e71ca95cSGerald JelinekPOFILE =	s10_zone.po
44*e71ca95cSGerald Jelinek
45*e71ca95cSGerald Jelinek$(POFILE): $(POFILES)
46*e71ca95cSGerald Jelinek	$(RM) $@
47*e71ca95cSGerald Jelinek	$(CAT) $(POFILES) > $@
48*e71ca95cSGerald Jelinek
49*e71ca95cSGerald Jelinekinstall: $(PROGS) $(ROOTPROGS) $(ROOTXMLDOCS) $(ROOTTEMPLATES) $(ETCUSER)
50*e71ca95cSGerald Jelinek
51*e71ca95cSGerald Jelineklint:
52*e71ca95cSGerald Jelinek
53*e71ca95cSGerald Jelinekclean:
54*e71ca95cSGerald Jelinek	-$(RM) $(PROGS) $(POFILES) $(POFILE)
55*e71ca95cSGerald Jelinek
56*e71ca95cSGerald Jelinekinclude $(SRC)/cmd/Makefile.targ
57