Makefile revision f4b3ec61df05330d25f55a36b975b4d7519fdeb1
9acbbeaf2a1ffe5c14b244867d427714fab43c5cnn#
9acbbeaf2a1ffe5c14b244867d427714fab43c5cnn# CDDL HEADER START
9acbbeaf2a1ffe5c14b244867d427714fab43c5cnn#
9acbbeaf2a1ffe5c14b244867d427714fab43c5cnn# The contents of this file are subject to the terms of the
9acbbeaf2a1ffe5c14b244867d427714fab43c5cnn# Common Development and Distribution License (the "License").
9acbbeaf2a1ffe5c14b244867d427714fab43c5cnn# You may not use this file except in compliance with the License.
9acbbeaf2a1ffe5c14b244867d427714fab43c5cnn#
9acbbeaf2a1ffe5c14b244867d427714fab43c5cnn# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9acbbeaf2a1ffe5c14b244867d427714fab43c5cnn# or http://www.opensolaris.org/os/licensing.
9acbbeaf2a1ffe5c14b244867d427714fab43c5cnn# See the License for the specific language governing permissions
9acbbeaf2a1ffe5c14b244867d427714fab43c5cnn# and limitations under the License.
9acbbeaf2a1ffe5c14b244867d427714fab43c5cnn#
9acbbeaf2a1ffe5c14b244867d427714fab43c5cnn# When distributing Covered Code, include this CDDL HEADER in each
9acbbeaf2a1ffe5c14b244867d427714fab43c5cnn# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
9acbbeaf2a1ffe5c14b244867d427714fab43c5cnn# If applicable, add the following below this CDDL HEADER, with the
9acbbeaf2a1ffe5c14b244867d427714fab43c5cnn# fields enclosed by brackets "[]" replaced with your own identifying
9acbbeaf2a1ffe5c14b244867d427714fab43c5cnn# information: Portions Copyright [yyyy] [name of copyright owner]
9acbbeaf2a1ffe5c14b244867d427714fab43c5cnn#
9acbbeaf2a1ffe5c14b244867d427714fab43c5cnn# CDDL HEADER END
9acbbeaf2a1ffe5c14b244867d427714fab43c5cnn#
9acbbeaf2a1ffe5c14b244867d427714fab43c5cnn
80e2ca8596e3435bc3b76f3c597833ea0a87f85e#
9acbbeaf2a1ffe5c14b244867d427714fab43c5cnn# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
9acbbeaf2a1ffe5c14b244867d427714fab43c5cnn# Use is subject to license terms.
9acbbeaf2a1ffe5c14b244867d427714fab43c5cnn#
9acbbeaf2a1ffe5c14b244867d427714fab43c5cnn# ident "%Z%%M% %I% %E% SMI"
9acbbeaf2a1ffe5c14b244867d427714fab43c5cnn#
9acbbeaf2a1ffe5c14b244867d427714fab43c5cnn
9acbbeaf2a1ffe5c14b244867d427714fab43c5cnnPROG= zoneadm
9acbbeaf2a1ffe5c14b244867d427714fab43c5cnnMANIFEST= zones.xml resource-mgmt.xml
9acbbeaf2a1ffe5c14b244867d427714fab43c5cnnSVCMETHOD= svc-zones svc-resource-mgmt
9acbbeaf2a1ffe5c14b244867d427714fab43c5cnn
80e2ca8596e3435bc3b76f3c597833ea0a87f85einclude ../Makefile.cmd
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza
9acbbeaf2a1ffe5c14b244867d427714fab43c5cnnROOTMANIFESTDIR= $(ROOTSVCSYSTEM)
9acbbeaf2a1ffe5c14b244867d427714fab43c5cnn
9acbbeaf2a1ffe5c14b244867d427714fab43c5cnnOBJS= zoneadm.o sw_cmp.o zfs.o dlprims.o
9acbbeaf2a1ffe5c14b244867d427714fab43c5cnnSRCS = $(OBJS:.o=.c)
9acbbeaf2a1ffe5c14b244867d427714fab43c5cnnPOFILE=zoneadm_all.po
9acbbeaf2a1ffe5c14b244867d427714fab43c5cnnPOFILES= $(OBJS:%.o=%.po)
9acbbeaf2a1ffe5c14b244867d427714fab43c5cnn
9acbbeaf2a1ffe5c14b244867d427714fab43c5cnnLDLIBS += -lzonecfg -lsocket -lgen -lpool -lbsm -lzfs -luuid -lnvpair -lbrand
9acbbeaf2a1ffe5c14b244867d427714fab43c5cnn
9acbbeaf2a1ffe5c14b244867d427714fab43c5cnn.KEEP_STATE:
9acbbeaf2a1ffe5c14b244867d427714fab43c5cnn
9acbbeaf2a1ffe5c14b244867d427714fab43c5cnnall: $(PROG)
9acbbeaf2a1ffe5c14b244867d427714fab43c5cnn
9acbbeaf2a1ffe5c14b244867d427714fab43c5cnn$(PROG): $(OBJS)
9acbbeaf2a1ffe5c14b244867d427714fab43c5cnn $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
9acbbeaf2a1ffe5c14b244867d427714fab43c5cnn $(POST_PROCESS)
9acbbeaf2a1ffe5c14b244867d427714fab43c5cnn
9acbbeaf2a1ffe5c14b244867d427714fab43c5cnninstall: all $(ROOTUSRSBINPROG) $(ROOTMANIFEST) $(ROOTSVCMETHOD)
check: $(PROG).c $(CHKMANIFEST)
$(CSTYLE) -pP $(SRCS:%=%)
$(POFILE): $(POFILES)
$(RM) $@
$(CAT) $(POFILES) > $@
clean:
$(RM) $(OBJS) $(POFILES)
lint: lint_SRCS
include ../Makefile.targ