summaryrefslogtreecommitdiff
path: root/usr/src/cmd/kvmstat/Makefile
diff options
context:
space:
mode:
authorBryan Cantrill <bryan@joyent.com>2011-05-18 22:22:17 -0700
committerBryan Cantrill <bryan@joyent.com>2011-05-18 22:22:17 -0700
commit3e646e0631f0b03c8c85c750b07173e0e0a84670 (patch)
tree4117327bf478622af08fc1558c0f087d7a595749 /usr/src/cmd/kvmstat/Makefile
parent12efe8ab3bd78342e495e23092b865da2675075f (diff)
downloadillumos-joyent-3e646e0631f0b03c8c85c750b07173e0e0a84670.tar.gz
HVM-212 add kvmstat for monitoring of KVM statistics
Diffstat (limited to 'usr/src/cmd/kvmstat/Makefile')
-rw-r--r--usr/src/cmd/kvmstat/Makefile41
1 files changed, 41 insertions, 0 deletions
diff --git a/usr/src/cmd/kvmstat/Makefile b/usr/src/cmd/kvmstat/Makefile
new file mode 100644
index 0000000000..2b3cce0eee
--- /dev/null
+++ b/usr/src/cmd/kvmstat/Makefile
@@ -0,0 +1,41 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+# Copyright (c) 2011, Joyent, Inc. All rights reserved.
+#
+
+PROG= kvmstat
+
+include ../Makefile.cmd
+
+LDLIBS += -lkstat
+
+.KEEP_STATE:
+
+all: $(PROG)
+
+install: all $(ROOTPROG)
+
+clean:
+ $(RM) $(PROG)
+
+lint: lint_PROG
+
+include ../Makefile.targ