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