xref: /illumos-gate/usr/src/cmd/tsol/Makefile (revision ddb365bfc9e868ad24ccdcb0dc91af18b10df082)
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
69_msg	:=	TARGET = _msg
70
71.KEEP_STATE:
72
73.PARALLEL:	$(SUBDIRS)
74
75all install clean clobber: $(SUBDIRS)
76
77$(POFILE): $(MSGSUBDIRS)
78	$(RM) $(POFILE)
79	$(CAT) $(POFILES) > $(POFILE)
80
81$(SUBDIRS): FRC
82	@cd $@; pwd; $(MAKE) $(TARGET)
83
84FRC:
85
86include Makefile.targ
87