xref: /illumos-gate/usr/src/cmd/tsol/Makefile (revision 56ffda17)
1f875b4ebSrica#
2f875b4ebSrica# CDDL HEADER START
3f875b4ebSrica#
4f875b4ebSrica# The contents of this file are subject to the terms of the
5f875b4ebSrica# Common Development and Distribution License (the "License").
6f875b4ebSrica# You may not use this file except in compliance with the License.
7f875b4ebSrica#
8f875b4ebSrica# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9f875b4ebSrica# or http://www.opensolaris.org/os/licensing.
10f875b4ebSrica# See the License for the specific language governing permissions
11f875b4ebSrica# and limitations under the License.
12f875b4ebSrica#
13f875b4ebSrica# When distributing Covered Code, include this CDDL HEADER in each
14f875b4ebSrica# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15f875b4ebSrica# If applicable, add the following below this CDDL HEADER, with the
16f875b4ebSrica# fields enclosed by brackets "[]" replaced with your own identifying
17f875b4ebSrica# information: Portions Copyright [yyyy] [name of copyright owner]
18f875b4ebSrica#
19f875b4ebSrica# CDDL HEADER END
20f875b4ebSrica#
21f875b4ebSrica#
22f875b4ebSrica# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
23f875b4ebSrica# Use is subject to license terms.
24f875b4ebSrica#
25f875b4ebSrica# cmd/tsol/Makefile
26f875b4ebSrica#
27f875b4ebSrica
28f875b4ebSricainclude ../Makefile.cmd
29f875b4ebSrica
30f875b4ebSricaSUBDIRS =		\
31f875b4ebSrica	atohexlabel	\
32f875b4ebSrica	getlabel	\
33f875b4ebSrica	demo		\
34f875b4ebSrica	misc		\
35f875b4ebSrica	zones		\
36f875b4ebSrica	labeld		\
37f875b4ebSrica	updatehome	\
38f875b4ebSrica	plabel		\
39f875b4ebSrica	setlabel	\
40f875b4ebSrica	tnchkdb		\
41f875b4ebSrica	tninfo		\
42f875b4ebSrica	tnctl		\
43f875b4ebSrica	tnd		\
44f875b4ebSrica	tsol-zones	\
45f875b4ebSrica	getzonepath	\
46f875b4ebSrica	hextoalabel	\
47f875b4ebSrica	lslabels
48f875b4ebSrica
49f875b4ebSrica
50f875b4ebSricaMSGSUBDIRS =		\
51f875b4ebSrica	getlabel	\
52f875b4ebSrica	setlabel	\
53f875b4ebSrica	tnchkdb		\
54f875b4ebSrica	tninfo		\
55f875b4ebSrica	tnctl		\
56f875b4ebSrica	tnd		\
57f875b4ebSrica	getzonepath
58f875b4ebSrica
59f875b4ebSrica#
60f875b4ebSrica# for messaging catalog
61f875b4ebSrica#
62f875b4ebSricaPOFILE= tsol-cmd.po
63f875b4ebSricaPOFILES= $(MSGSUBDIRS:%=%/%.po)
64f875b4ebSrica
65f875b4ebSricaall	:=	TARGET = all
66f875b4ebSricainstall :=	TARGET = install
67f875b4ebSricaclean	:=	TARGET = clean
68f875b4ebSricaclobber	:=	TARGET = clobber
69f875b4ebSrica_msg	:=	TARGET = _msg
70f875b4ebSrica
71f875b4ebSrica.KEEP_STATE:
72f875b4ebSrica
73f875b4ebSrica.PARALLEL:	$(SUBDIRS)
74f875b4ebSrica
75*56ffda17SRichard Loweall install clean clobber: $(SUBDIRS)
76f875b4ebSrica
77*56ffda17SRichard Lowe$(POFILE): $(MSGSUBDIRS)
78f875b4ebSrica	$(RM) $(POFILE)
79f875b4ebSrica	$(CAT) $(POFILES) > $(POFILE)
80f875b4ebSrica
81f875b4ebSrica$(SUBDIRS): FRC
82f875b4ebSrica	@cd $@; pwd; $(MAKE) $(TARGET)
83f875b4ebSrica
84f875b4ebSricaFRC:
85f875b4ebSrica
86f875b4ebSricainclude Makefile.targ
87