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