1efd4c9b6SSteve Lawrence# 2efd4c9b6SSteve Lawrence# CDDL HEADER START 3efd4c9b6SSteve Lawrence# 4efd4c9b6SSteve Lawrence# The contents of this file are subject to the terms of the 5efd4c9b6SSteve Lawrence# Common Development and Distribution License (the "License"). 6efd4c9b6SSteve Lawrence# You may not use this file except in compliance with the License. 7efd4c9b6SSteve Lawrence# 8efd4c9b6SSteve Lawrence# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9efd4c9b6SSteve Lawrence# or http://www.opensolaris.org/os/licensing. 10efd4c9b6SSteve Lawrence# See the License for the specific language governing permissions 11efd4c9b6SSteve Lawrence# and limitations under the License. 12efd4c9b6SSteve Lawrence# 13efd4c9b6SSteve Lawrence# When distributing Covered Code, include this CDDL HEADER in each 14efd4c9b6SSteve Lawrence# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15efd4c9b6SSteve Lawrence# If applicable, add the following below this CDDL HEADER, with the 16efd4c9b6SSteve Lawrence# fields enclosed by brackets "[]" replaced with your own identifying 17efd4c9b6SSteve Lawrence# information: Portions Copyright [yyyy] [name of copyright owner] 18efd4c9b6SSteve Lawrence# 19efd4c9b6SSteve Lawrence# CDDL HEADER END 20efd4c9b6SSteve Lawrence# 21efd4c9b6SSteve Lawrence# 22efd4c9b6SSteve Lawrence# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. 23efd4c9b6SSteve Lawrence# 24efd4c9b6SSteve Lawrence 25efd4c9b6SSteve LawrenceMANIFEST = zonestat.xml 26efd4c9b6SSteve LawrenceSVCMETHOD = svc-zonestat 27efd4c9b6SSteve LawrencePROG = zonestatd 28efd4c9b6SSteve Lawrence 29efd4c9b6SSteve Lawrenceinclude ../../Makefile.cmd 30efd4c9b6SSteve Lawrence 31efd4c9b6SSteve LawrenceROOTCMDDIR = $(ROOTLIB)/zones 32efd4c9b6SSteve LawrenceROOTMANIFESTDIR = $(ROOTSVCSYSTEM) 33efd4c9b6SSteve Lawrence 34efd4c9b6SSteve LawrenceSRCS = zonestatd.c 35efd4c9b6SSteve Lawrence 36*494f7e12SKeith M WesolowskiCPPFLAGS += -I$(ADJUNCT_PROTO)/usr/include/libxml2 37efd4c9b6SSteve LawrenceLDLIBS += -lkstat -lpool -lexacct -lscf \ 38efd4c9b6SSteve Lawrence -lcontract -lcmdutils -lumem 39efd4c9b6SSteve Lawrence 40efd4c9b6SSteve LawrenceLINTFLAGS += -u 417014882cSRichard LoweCERRWARN += -_gcc=-Wno-parentheses 427014882cSRichard LoweCERRWARN += -_gcc=-Wno-unused-label 437014882cSRichard LoweCERRWARN += -_gcc=-Wno-uninitialized 44efd4c9b6SSteve Lawrence 45efd4c9b6SSteve LawrenceOBJS = $(SRCS:%.c=%.o) 46efd4c9b6SSteve Lawrence 47efd4c9b6SSteve Lawrence.KEEP_STATE: 48efd4c9b6SSteve Lawrence 49efd4c9b6SSteve Lawrence.PARALLEL: 50efd4c9b6SSteve Lawrence 51efd4c9b6SSteve Lawrenceall: $(PROG) 52efd4c9b6SSteve Lawrence 53efd4c9b6SSteve Lawrenceinstall: all $(ROOTCMD) $(ROOTMANIFEST) $(ROOTSVCMETHOD) 54efd4c9b6SSteve Lawrence 55efd4c9b6SSteve Lawrencecheck: $(CHKMANIFEST) 56efd4c9b6SSteve Lawrence 57efd4c9b6SSteve Lawrenceclean: 58efd4c9b6SSteve Lawrence $(RM) $(OBJS) 59efd4c9b6SSteve Lawrence 60efd4c9b6SSteve Lawrencelint: lint_PROG 61efd4c9b6SSteve Lawrence 62efd4c9b6SSteve Lawrenceinclude ../../Makefile.targ 63