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