xref: /illumos-gate/usr/src/cmd/kvmstat/Makefile (revision 55fea89dcaa64928bed4327112404dcb3e07b79f)
1*7aa76ffcSBryan Cantrill#
2*7aa76ffcSBryan Cantrill# CDDL HEADER START
3*7aa76ffcSBryan Cantrill#
4*7aa76ffcSBryan Cantrill# The contents of this file are subject to the terms of the
5*7aa76ffcSBryan Cantrill# Common Development and Distribution License (the "License").
6*7aa76ffcSBryan Cantrill# You may not use this file except in compliance with the License.
7*7aa76ffcSBryan Cantrill#
8*7aa76ffcSBryan Cantrill# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*7aa76ffcSBryan Cantrill# or http://www.opensolaris.org/os/licensing.
10*7aa76ffcSBryan Cantrill# See the License for the specific language governing permissions
11*7aa76ffcSBryan Cantrill# and limitations under the License.
12*7aa76ffcSBryan Cantrill#
13*7aa76ffcSBryan Cantrill# When distributing Covered Code, include this CDDL HEADER in each
14*7aa76ffcSBryan Cantrill# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*7aa76ffcSBryan Cantrill# If applicable, add the following below this CDDL HEADER, with the
16*7aa76ffcSBryan Cantrill# fields enclosed by brackets "[]" replaced with your own identifying
17*7aa76ffcSBryan Cantrill# information: Portions Copyright [yyyy] [name of copyright owner]
18*7aa76ffcSBryan Cantrill#
19*7aa76ffcSBryan Cantrill# CDDL HEADER END
20*7aa76ffcSBryan Cantrill#
21*7aa76ffcSBryan Cantrill# Copyright (c) 2011, Joyent, Inc. All rights reserved.
22*7aa76ffcSBryan Cantrill#
23*7aa76ffcSBryan Cantrill
24*7aa76ffcSBryan CantrillPROG= kvmstat
25*7aa76ffcSBryan Cantrill
26*7aa76ffcSBryan Cantrillinclude ../Makefile.cmd
27*7aa76ffcSBryan Cantrill
28*7aa76ffcSBryan CantrillLDLIBS += -lkstat
29*7aa76ffcSBryan Cantrill
30*7aa76ffcSBryan Cantrill.KEEP_STATE:
31*7aa76ffcSBryan Cantrill
32*7aa76ffcSBryan Cantrillall: $(PROG)
33*7aa76ffcSBryan Cantrill
34*7aa76ffcSBryan Cantrillinstall: all $(ROOTPROG)
35*7aa76ffcSBryan Cantrill
36*7aa76ffcSBryan Cantrillclean:
37*7aa76ffcSBryan Cantrill	$(RM) $(PROG)
38*7aa76ffcSBryan Cantrill
39*7aa76ffcSBryan Cantrilllint:	lint_PROG
40*7aa76ffcSBryan Cantrill
41*7aa76ffcSBryan Cantrillinclude ../Makefile.targ
42