xref: /illumos-gate/usr/src/cmd/lgrpinfo/Makefile (revision c6402783)
1*c6402783Sakolb#
2*c6402783Sakolb# CDDL HEADER START
3*c6402783Sakolb#
4*c6402783Sakolb# The contents of this file are subject to the terms of the
5*c6402783Sakolb# Common Development and Distribution License (the "License").
6*c6402783Sakolb# You may not use this file except in compliance with the License.
7*c6402783Sakolb#
8*c6402783Sakolb# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*c6402783Sakolb# or http://www.opensolaris.org/os/licensing.
10*c6402783Sakolb# See the License for the specific language governing permissions
11*c6402783Sakolb# and limitations under the License.
12*c6402783Sakolb#
13*c6402783Sakolb# When distributing Covered Code, include this CDDL HEADER in each
14*c6402783Sakolb# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*c6402783Sakolb# If applicable, add the following below this CDDL HEADER, with the
16*c6402783Sakolb# fields enclosed by brackets "[]" replaced with your own identifying
17*c6402783Sakolb# information: Portions Copyright [yyyy] [name of copyright owner]
18*c6402783Sakolb#
19*c6402783Sakolb# CDDL HEADER END
20*c6402783Sakolb#
21*c6402783Sakolb
22*c6402783Sakolb#
23*c6402783Sakolb# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
24*c6402783Sakolb# Use is subject to license terms.
25*c6402783Sakolb#
26*c6402783Sakolb# ident	"%Z%%M%	%I%	%E% SMI"
27*c6402783Sakolb#
28*c6402783Sakolb
29*c6402783SakolbPROG=	lgrpinfo
30*c6402783Sakolb
31*c6402783Sakolbinclude ../Makefile.cmd
32*c6402783Sakolb
33*c6402783SakolbOWNER = root
34*c6402783SakolbGROUP = sys
35*c6402783Sakolb
36*c6402783SakolbTARGET= all
37*c6402783Sakolb
38*c6402783Sakolb.KEEP_STATE:
39*c6402783Sakolb
40*c6402783Sakolball: $(PROG)
41*c6402783Sakolb
42*c6402783Sakolbinstall: all .WAIT $(ROOTPROG)
43*c6402783Sakolb
44*c6402783Sakolbclean:
45*c6402783Sakolb
46*c6402783Sakolb%: %.pl
47*c6402783Sakolb	$(SED) -e "s@TEXT_DOMAIN@\"$(TEXT_DOMAIN)\"@" $< > $@
48*c6402783Sakolb
49*c6402783Sakolb$(ROOTBINPROG): $(PROG)
50*c6402783Sakolb	$(INS.file)
51*c6402783Sakolb
52*c6402783Sakolb$(PROG).po: $(PROG).pl
53*c6402783Sakolb	$(XGETTEXT) -d $(PROG) $(PROG).pl
54*c6402783Sakolb
55*c6402783Sakolblint:
56*c6402783Sakolb
57*c6402783Sakolbinclude ../Makefile.targ
58