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