Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
6665N/A#
6665N/A# CDDL HEADER START
6665N/A#
6665N/A# The contents of this file are subject to the terms of the
6665N/A# Common Development and Distribution License (the "License").
6665N/A# You may not use this file except in compliance with the License.
6665N/A#
6665N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6665N/A# or http://www.opensolaris.org/os/licensing.
6665N/A# See the License for the specific language governing permissions
6665N/A# and limitations under the License.
6665N/A#
6665N/A# When distributing Covered Code, include this CDDL HEADER in each
6665N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6665N/A# If applicable, add the following below this CDDL HEADER, with the
6665N/A# fields enclosed by brackets "[]" replaced with your own identifying
6665N/A# information: Portions Copyright [yyyy] [name of copyright owner]
6665N/A#
6665N/A# CDDL HEADER END
6665N/A#
6665N/A#
6665N/A# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
6665N/A#
6665N/A
6665N/AMANIFEST = zonestat.xml
6665N/ASVCMETHOD = svc-zonestat
6665N/APROG = zonestatd
6665N/A
6665N/Ainclude ../../Makefile.cmd
6665N/A
6665N/AROOTCMDDIR = $(ROOTLIB)/zones
6665N/AROOTMANIFESTDIR = $(ROOTSVCSYSTEM)
6665N/A
6665N/ASRCS = zonestatd.c
6665N/A
6665N/ACPPFLAGS += -I/usr/include/libxml2
6665N/ALDLIBS += -lkstat -lpool -lexacct -lscf \
6665N/A -lcontract -lcmdutils -lumem
6665N/A
6665N/ALINTFLAGS += -u
6665N/ACERRWARN += -_gcc=-Wno-parentheses
6665N/ACERRWARN += -_gcc=-Wno-unused-label
6665N/ACERRWARN += -_gcc=-Wno-uninitialized
6665N/A
6665N/AOBJS = $(SRCS:%.c=%.o)
6665N/A
6665N/A.KEEP_STATE:
6665N/A
6665N/A.PARALLEL:
all: $(PROG)
install: all $(ROOTCMD) $(ROOTMANIFEST) $(ROOTSVCMETHOD)
check: $(CHKMANIFEST)
clean:
$(RM) $(OBJS)
lint: lint_PROG
include ../../Makefile.targ