Makefile revision 2b24ab6b3865caeede9eeb9db6b83e1d89dcd1ea
5321N/A#
5321N/A# CDDL HEADER START
5321N/A#
5321N/A# The contents of this file are subject to the terms of the
5321N/A# Common Development and Distribution License (the "License").
5321N/A# You may not use this file except in compliance with the License.
5321N/A#
5321N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5321N/A# or http://www.opensolaris.org/os/licensing.
5321N/A# See the License for the specific language governing permissions
5321N/A# and limitations under the License.
5321N/A#
5321N/A# When distributing Covered Code, include this CDDL HEADER in each
5321N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5321N/A# If applicable, add the following below this CDDL HEADER, with the
5321N/A# fields enclosed by brackets "[]" replaced with your own identifying
5321N/A# information: Portions Copyright [yyyy] [name of copyright owner]
5321N/A#
5321N/A# CDDL HEADER END
5321N/A#
5680N/A
5680N/A#
5323N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
5321N/A# Use is subject to license terms.
5321N/A#
5641N/A
5814N/APROG= zoneadm
5321N/AMANIFEST= zones.xml resource-mgmt.xml
5348N/ASVCMETHOD= svc-zones svc-resource-mgmt
5348N/A
5348N/Ainclude ../Makefile.cmd
5641N/A
5348N/AROOTMANIFESTDIR= $(ROOTSVCSYSTEM)
6662N/A
6662N/AOBJS= zoneadm.o zfs.o
6662N/ASRCS = $(OBJS:.o=.c)
6662N/APOFILE=zoneadm_all.po
5321N/APOFILES= $(OBJS:%.o=%.po)
6662N/A
6662N/ALDLIBS += -lzonecfg -lsocket -lgen -lpool -lzfs -luuid -lnvpair -lbrand -ldladm
6662N/A
5321N/A.KEEP_STATE:
5321N/A
6662N/Aall: $(PROG)
5641N/A
5641N/A$(PROG): $(OBJS)
5641N/A $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
5641N/A $(POST_PROCESS)
5641N/A
5641N/Ainstall: all $(ROOTUSRSBINPROG) $(ROOTMANIFEST) $(ROOTSVCMETHOD)
5641N/A
5641N/Acheck: $(PROG).c $(CHKMANIFEST)
5641N/A $(CSTYLE) -pP $(SRCS:%=%)
5641N/A
5321N/A$(POFILE): $(POFILES)
5641N/A $(RM) $@
5641N/A $(CAT) $(POFILES) > $@
5641N/A
5641N/Aclean:
5641N/A $(RM) $(OBJS) $(POFILES)
5641N/A
5641N/Alint: lint_SRCS
5641N/A
5641N/Ainclude ../Makefile.targ
5641N/A