xref: /titanic_41/usr/src/cmd/dlstat/Makefile (revision 0dc2366f7b9f9f36e10909b1e95edbf2a261c2ac)
1*0dc2366fSVenugopal Iyer#
2*0dc2366fSVenugopal Iyer# CDDL HEADER START
3*0dc2366fSVenugopal Iyer#
4*0dc2366fSVenugopal Iyer# The contents of this file are subject to the terms of the
5*0dc2366fSVenugopal Iyer# Common Development and Distribution License (the "License").
6*0dc2366fSVenugopal Iyer# You may not use this file except in compliance with the License.
7*0dc2366fSVenugopal Iyer#
8*0dc2366fSVenugopal Iyer# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*0dc2366fSVenugopal Iyer# or http://www.opensolaris.org/os/licensing.
10*0dc2366fSVenugopal Iyer# See the License for the specific language governing permissions
11*0dc2366fSVenugopal Iyer# and limitations under the License.
12*0dc2366fSVenugopal Iyer#
13*0dc2366fSVenugopal Iyer# When distributing Covered Code, include this CDDL HEADER in each
14*0dc2366fSVenugopal Iyer# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*0dc2366fSVenugopal Iyer# If applicable, add the following below this CDDL HEADER, with the
16*0dc2366fSVenugopal Iyer# fields enclosed by brackets "[]" replaced with your own identifying
17*0dc2366fSVenugopal Iyer# information: Portions Copyright [yyyy] [name of copyright owner]
18*0dc2366fSVenugopal Iyer#
19*0dc2366fSVenugopal Iyer# CDDL HEADER END
20*0dc2366fSVenugopal Iyer#
21*0dc2366fSVenugopal Iyer#
22*0dc2366fSVenugopal Iyer# Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
23*0dc2366fSVenugopal Iyer# Use is subject to license terms.
24*0dc2366fSVenugopal Iyer#
25*0dc2366fSVenugopal Iyer#
26*0dc2366fSVenugopal Iyer
27*0dc2366fSVenugopal IyerPROG= dlstat
28*0dc2366fSVenugopal Iyer
29*0dc2366fSVenugopal IyerROOTFS_PROG=	$(PROG)
30*0dc2366fSVenugopal Iyer
31*0dc2366fSVenugopal Iyerinclude ../Makefile.cmd
32*0dc2366fSVenugopal Iyer
33*0dc2366fSVenugopal IyerXGETFLAGS += -a -x $(PROG).xcl
34*0dc2366fSVenugopal IyerLDLIBS += -L$(ROOT)/lib
35*0dc2366fSVenugopal IyerLDLIBS += -ldladm -linetutil
36*0dc2366fSVenugopal Iyer
37*0dc2366fSVenugopal Iyer.KEEP_STATE:
38*0dc2366fSVenugopal Iyer
39*0dc2366fSVenugopal Iyerall: $(ROOTFS_PROG)
40*0dc2366fSVenugopal Iyer
41*0dc2366fSVenugopal Iyerinstall: all $(ROOTSBINPROG)
42*0dc2366fSVenugopal Iyer	$(RM) $(ROOTUSRSBINPROG)
43*0dc2366fSVenugopal Iyer	-$(SYMLINK) ../../sbin/$(PROG) $(ROOTUSRSBINPROG)
44*0dc2366fSVenugopal Iyer
45*0dc2366fSVenugopal Iyerclean:
46*0dc2366fSVenugopal Iyer
47*0dc2366fSVenugopal Iyerlint:	lint_PROG
48*0dc2366fSVenugopal Iyer
49*0dc2366fSVenugopal Iyerinclude ../Makefile.targ
50