Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
6ea2385360e9e2167e65f9286447da9eea189457Tinderbox User# CDDL HEADER START
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont# The contents of this file are subject to the terms of the
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont# Common Development and Distribution License (the "License").
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont# You may not use this file except in compliance with the License.
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont# See the License for the specific language governing permissions
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont# and limitations under the License.
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont# When distributing Covered Code, include this CDDL HEADER in each
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont# If applicable, add the following below this CDDL HEADER, with the
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User# fields enclosed by brackets "[]" replaced with your own identifying
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# information: Portions Copyright [yyyy] [name of copyright owner]
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# CDDL HEADER END
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# Use is subject to license terms.
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis DupontLOBJS= file.o elf_read32.o elf_read64.o magicutils.o
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis DupontSRCS= file.c elf_read.c magicutils.c $(ELFCAP)/elfcap.c
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont# The debug binary can be built using the flag
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# -D COPTFLAG=-g CGLOBALSTATIC=
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont# This will avoid the multiple symbols definition error
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# for static global variables in elf_read32.o and elf_read64.o