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