xref: /titanic_41/usr/src/cmd/lvm/Makefile (revision 2eeaed14a5e2ed9bd811643ad5bffc3510ca0310)
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, Version 1.0 only
6# (the "License").  You may not use this file except in compliance
7# with the License.
8#
9# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10# or http://www.opensolaris.org/os/licensing.
11# See the License for the specific language governing permissions
12# and limitations under the License.
13#
14# When distributing Covered Code, include this CDDL HEADER in each
15# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16# If applicable, add the following below this CDDL HEADER, with the
17# fields enclosed by brackets "[]" replaced with your own identifying
18# information: Portions Copyright [yyyy] [name of copyright owner]
19#
20# CDDL HEADER END
21#
22#
23# Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
24# Use is subject to license terms.
25#
26# ident	"%Z%%M%	%I%	%E% SMI"
27#
28# Makefile definitions for volume management
29#
30#
31# cmd/lvm/Makefile
32#
33
34include ../Makefile.cmd
35
36SUBDIRS   = md_monitord util rpc.metad rpc.metamhd rpc.metamedd etc
37SUBDIRS  += rpc.mdcommd metassist
38POSUBDIRS = md_monitord util rpc.metad rpc.mdcommd metassist
39
40CAT=	cat
41
42#
43# for messaging catalog
44#
45POFILE= SUNW_MD.po
46POFILES= $(POSUBDIRS:%=%/%p.po)
47
48all :=		TARGET= all
49install :=	TARGET= install
50clean :=	TARGET= clean
51clobber :=	TARGET= clobber
52lint :=		TARGET= lint
53cstyle :=	TARGET= cstyle
54_msg :=		TARGET= catalog
55
56.KEEP_STATE:
57
58all install cstyle lint: $(SUBDIRS)
59
60clean: $(SUBDIRS)
61	$(RM) $(POFILES)
62
63clobber: $(SUBDIRS)
64	$(RM) $(POFILE)
65
66$(SUBDIRS): FRC
67	@cd $@; pwd; $(MAKE) $(TARGET)
68
69$(POFILE): $(POFILES)
70	$(BUILDPO.pofiles)
71
72_msg:   $(POSUBDIRS) .WAIT $(MSGDOMAINPOFILE)
73
74FRC:
75
76include $(SRC)/Makefile.msg.targ
77