Makefile revision a192e900f6d2b0e1a822e3252c0dfd795ed49d76
94N/A#
94N/A# CDDL HEADER START
94N/A#
94N/A# The contents of this file are subject to the terms of the
94N/A# Common Development and Distribution License (the "License").
94N/A# You may not use this file except in compliance with the License.
94N/A#
94N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
94N/A# or http://www.opensolaris.org/os/licensing.
94N/A# See the License for the specific language governing permissions
94N/A# and limitations under the License.
94N/A#
94N/A# When distributing Covered Code, include this CDDL HEADER in each
94N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
94N/A# If applicable, add the following below this CDDL HEADER, with the
94N/A# fields enclosed by brackets "[]" replaced with your own identifying
94N/A# information: Portions Copyright [yyyy] [name of copyright owner]
94N/A#
94N/A# CDDL HEADER END
94N/A#
94N/A#
94N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
5723N/A# Use is subject to license terms.
94N/A#
94N/A# ident "%Z%%M% %I% %E% SMI"
94N/A#
94N/A# Makefile for logical volume management
94N/A#
5723N/A#
5723N/A# cmd/lvm/util/Makefile
618N/A
94N/Ainclude ../../Makefile.cmd
94N/A
844N/APROGS= \
5723N/A medstat \
94N/A metaclear \
1273N/A metadb \
94N/A metadetach \
5723N/A metadevadm \
3661N/A metahs \
3996N/A metainit \
3996N/A metaoffline \
3996N/A metaonline \
94N/A metaparam \
94N/A metarecover \
94N/A metarename \
94N/A metareplace \
94N/A metaroot \
94N/A metaset \
94N/A metastat \
94N/A metasync \
94N/A metattach \
94N/A metaimport \
94N/A metaclust
94N/A
94N/AGROWFSSCRIPT = growfs
94N/A
94N/AMANIFEST= metainit.xml \
181N/A metasync.xml
94N/A
94N/ASVCMETHOD= svc-metainit \
181N/A svc-metasync
94N/A
3996N/AROOTMANIFESTDIR= $(ROOTSVCSYSTEM)
5723N/A
SCRIPTS = \
$(GROWFSSCRIPT)
CLOBBERFILES = growfs
SRCS = $(PROGS:%=%.c)
include ../Makefile.lvm
SUBDIRS= $(MACH)
metainit.i := CPPFLAGS += -I$(SRC)/lib/lvm/libmeta/common/hdrs
MSGFILES= $(SRCS:%.c=%.i)
POFILE= utilp.po
all := TARGET = all
install := TARGET = install
clean := TARGET = clean
clobber := TARGET = clobber
lint := TARGET = lint
.KEEP_STATE:
all: $(SCRIPTS) $(SUBDIRS)
catalog: $(POFILE)
$(POFILE): $(MSGFILES)
$(BUILDPO.msgfiles)
GROWFSFILE= $(GROWFSSCRIPT:%=$(ROOTUSRSBIN)/%)
clobber lint: $(SUBDIRS)
check: $(CHKMANIFEST)
clean: $(SUBDIRS)
$(RM) $(MSGFILES)
install: $(SCRIPTS) $(GROWFSFILE) $(ROOTSVCMETHOD) $(ROOTMANIFEST) $(SUBDIRS)
$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
include ../../Makefile.targ
include $(SRC)/Makefile.msg.targ