1e11c3f44Smeem#
2e11c3f44Smeem# CDDL HEADER START
3e11c3f44Smeem#
4e11c3f44Smeem# The contents of this file are subject to the terms of the
5e11c3f44Smeem# Common Development and Distribution License (the "License").
6e11c3f44Smeem# You may not use this file except in compliance with the License.
7e11c3f44Smeem#
8e11c3f44Smeem# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9e11c3f44Smeem# or http://www.opensolaris.org/os/licensing.
10e11c3f44Smeem# See the License for the specific language governing permissions
11e11c3f44Smeem# and limitations under the License.
12e11c3f44Smeem#
13e11c3f44Smeem# When distributing Covered Code, include this CDDL HEADER in each
14e11c3f44Smeem# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15e11c3f44Smeem# If applicable, add the following below this CDDL HEADER, with the
16e11c3f44Smeem# fields enclosed by brackets "[]" replaced with your own identifying
17e11c3f44Smeem# information: Portions Copyright [yyyy] [name of copyright owner]
18e11c3f44Smeem#
19e11c3f44Smeem# CDDL HEADER END
20e11c3f44Smeem#
21e11c3f44Smeem# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
22e11c3f44Smeem# Use is subject to license terms.
23e11c3f44Smeem#
24e11c3f44Smeem
25e11c3f44SmeemPROG = ipmpstat
26e11c3f44SmeemROOTFS_PROG = $(PROG)
27e11c3f44SmeemROOTUSRSBINLINKS = $(PROG:%=$(ROOTUSRSBIN)/%)
28e11c3f44Smeem
29e11c3f44Smeeminclude $(SRC)/cmd/Makefile.cmd
30e11c3f44Smeem
31bd0ce624SYuri PankovCSTD = $(CSTD_GNU99)
32*d3b5f563SJohn LevonCERRWARN += $(CNOWARN_UNINIT)
33e96f8419SYuri PankovLDLIBS += -lipmp -lsocket -lsysevent -lnvpair -lofmt
34e11c3f44SmeemXGETFLAGS += -a -x $(PROG).xcl
35e11c3f44Smeem
36e11c3f44Smeem.KEEP_STATE:
37e11c3f44Smeem
38e11c3f44Smeemall:		$(PROG)
39e11c3f44Smeem
40e11c3f44Smeeminstall:	all $(ROOTSBINPROG) $(ROOTUSRSBINLINKS)
41e11c3f44Smeem
42e11c3f44Smeemclean:
43e11c3f44Smeem
44e11c3f44Smeemlint:		lint_PROG
45e11c3f44Smeem
46e11c3f44Smeem$(ROOTUSRSBINLINKS):
47e11c3f44Smeem	-$(RM) $@; $(SYMLINK) ../../sbin/$(@F) $@
48e11c3f44Smeem
49e11c3f44Smeeminclude $(SRC)/cmd/Makefile.targ
50