xref: /titanic_41/usr/src/cmd/lvm/rpc.metad/Makefile (revision f6e214c7418f43af38bd8c3a557e3d0a1d311cfa)
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 2006 Sun Microsystems, Inc.  All rights reserved.
23# Use is subject to license terms.
24#
25#ident	"%Z%%M%	%I%	%E% SMI"
26#
27# Makefile for logical volume management
28#
29# cmd/lvm/rpc.metad/Makefile
30
31PROG= rpc.metad
32MANIFEST=	meta.xml
33
34include ../../Makefile.cmd
35include ../Makefile.lvm
36
37ROOTMANIFESTDIR=	$(ROOTSVCNETWORKRPC)
38
39SUBDIRS=        $(MACH)
40
41SRCS=	metad_freeresult.c metad_init.c metad_svc_subr.c
42
43POFILES= $(SRCS:%.c=%.po)
44POFILE= rpc.metadp.po
45
46all     :=      TARGET = all
47install :=      TARGET = install
48clean   :=      TARGET = clean
49clobber :=      TARGET = clobber
50lint    :=      TARGET = lint
51
52.KEEP_STATE:
53
54all:    $(SUBDIRS)
55
56catalog:	$(POFILE)
57
58$(POFILE): $(POFILES)
59	$(RM) $@
60	cat $(POFILES) > $(POFILE)
61
62clean:	$(SUBDIRS)
63	$(RM) metad_svc.c *.po
64
65lint:     $(SUBDIRS)
66
67install:        $(SUBDIRS) $(ROOTMANIFEST)
68
69check:	$(CHKMANIFEST)
70
71$(SUBDIRS):     FRC
72	@cd $@; pwd; $(MAKE) $(TARGET)
73
74FRC:
75
76include ../../Makefile.targ
77