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