xref: /titanic_41/usr/src/tools/chk4ubin/Makefile (revision b31b5de1357c915fe7dab4d9646d9d84f9fe69bc)
1*b31b5de1SJerry Gilliam#
2*b31b5de1SJerry Gilliam# CDDL HEADER START
3*b31b5de1SJerry Gilliam#
4*b31b5de1SJerry Gilliam# The contents of this file are subject to the terms of the
5*b31b5de1SJerry Gilliam# Common Development and Distribution License (the "License").
6*b31b5de1SJerry Gilliam# You may not use this file except in compliance with the License.
7*b31b5de1SJerry Gilliam#
8*b31b5de1SJerry Gilliam# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*b31b5de1SJerry Gilliam# or http://www.opensolaris.org/os/licensing.
10*b31b5de1SJerry Gilliam# See the License for the specific language governing permissions
11*b31b5de1SJerry Gilliam# and limitations under the License.
12*b31b5de1SJerry Gilliam#
13*b31b5de1SJerry Gilliam# When distributing Covered Code, include this CDDL HEADER in each
14*b31b5de1SJerry Gilliam# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*b31b5de1SJerry Gilliam# If applicable, add the following below this CDDL HEADER, with the
16*b31b5de1SJerry Gilliam# fields enclosed by brackets "[]" replaced with your own identifying
17*b31b5de1SJerry Gilliam# information: Portions Copyright [yyyy] [name of copyright owner]
18*b31b5de1SJerry Gilliam#
19*b31b5de1SJerry Gilliam# CDDL HEADER END
20*b31b5de1SJerry Gilliam#
21*b31b5de1SJerry Gilliam
22*b31b5de1SJerry Gilliam#
23*b31b5de1SJerry Gilliam# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
24*b31b5de1SJerry Gilliam# Use is subject to license terms.
25*b31b5de1SJerry Gilliam#
26*b31b5de1SJerry Gilliam
27*b31b5de1SJerry Gilliaminclude	../Makefile.tools
28*b31b5de1SJerry Gilliam
29*b31b5de1SJerry GilliamPROG	= chk4ubin
30*b31b5de1SJerry Gilliam
31*b31b5de1SJerry GilliamLDLIBS += -lelf
32*b31b5de1SJerry Gilliam
33*b31b5de1SJerry GilliamLINTFLAGS += -ux
34*b31b5de1SJerry Gilliam
35*b31b5de1SJerry Gilliam.KEEP_STATE:
36*b31b5de1SJerry Gilliam
37*b31b5de1SJerry Gilliamall: $(PROG)
38*b31b5de1SJerry Gilliam
39*b31b5de1SJerry Gilliaminstall: all .WAIT $(ROOTONBLDMACHPROG)
40*b31b5de1SJerry Gilliam
41*b31b5de1SJerry Gilliamlint:	lint_PROG
42*b31b5de1SJerry Gilliam
43*b31b5de1SJerry Gilliamclean:
44*b31b5de1SJerry Gilliam	$(RM) $(PROG)
45*b31b5de1SJerry Gilliam
46*b31b5de1SJerry Gilliaminclude ../Makefile.targ
47