xref: /illumos-gate/usr/src/tools/elfextract/Makefile (revision 88e55da9244bc48e3b3ad957a29e4be71309adcd)
1ae115bc7Smrj#
2ae115bc7Smrj# CDDL HEADER START
3ae115bc7Smrj#
4ae115bc7Smrj# The contents of this file are subject to the terms of the
5ae115bc7Smrj# Common Development and Distribution License (the "License").
6ae115bc7Smrj# You may not use this file except in compliance with the License.
7ae115bc7Smrj#
8ae115bc7Smrj# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9ae115bc7Smrj# or http://www.opensolaris.org/os/licensing.
10ae115bc7Smrj# See the License for the specific language governing permissions
11ae115bc7Smrj# and limitations under the License.
12ae115bc7Smrj#
13ae115bc7Smrj# When distributing Covered Code, include this CDDL HEADER in each
14ae115bc7Smrj# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15ae115bc7Smrj# If applicable, add the following below this CDDL HEADER, with the
16ae115bc7Smrj# fields enclosed by brackets "[]" replaced with your own identifying
17ae115bc7Smrj# information: Portions Copyright [yyyy] [name of copyright owner]
18ae115bc7Smrj#
19ae115bc7Smrj# CDDL HEADER END
20ae115bc7Smrj#
21ae115bc7Smrj
22ae115bc7Smrj#
23ae115bc7Smrj# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
24ae115bc7Smrj# Use is subject to license terms.
25ae115bc7Smrj#
26*88e55da9SAndrew Stormont# Copyright 2018 RackTop Systems.
27*88e55da9SAndrew Stormont#
28ae115bc7Smrj
29ae115bc7SmrjPROG	= elfextract
30ae115bc7Smrj
31ae115bc7Smrjinclude ../Makefile.tools
32ae115bc7Smrj
337014882cSRichard LoweCERRWARN += -_gcc=-Wno-unused-variable
347014882cSRichard LoweCERRWARN += -_gcc=-Wno-implicit-function-declaration
35ae115bc7Smrj
36ae115bc7Smrj.KEEP_STATE:
37ae115bc7Smrj
38ae115bc7Smrjall: $(PROG)
39ae115bc7Smrj
40ae115bc7Smrjinstall: all .WAIT $(ROOTONBLDMACHPROG)
41ae115bc7Smrj
42ae115bc7Smrjclean:
43ae115bc7Smrj	$(RM) elfextract
44ae115bc7Smrj
45ae115bc7Smrjinclude ../Makefile.targ
46