blob: 43a13582509075a61105dc671dd953ad98ca30f6 [file] [log] [blame]
The Android Open Source Project593c3652008-10-21 07:00:00 -07001## Process this file with automake to create Makefile.in
2## Configure input file for elfutils.
3##
4## Copyright (C) 1996-2001, 2002, 2004 Red Hat, Inc.
5##
6## This program is free software; you can redistribute it and/or modify
7## it under the terms of the GNU General Public License as published by
8## the Free Software Foundation, version 2.
9##
10## This program is distributed in the hope that it will be useful,
11## but WITHOUT ANY WARRANTY; without even the implied warranty of
12## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13## GNU General Public License for more details.
14##
15## You should have received a copy of the GNU General Public License
16## along with this program; if not, write to the Free Software Foundation,
17## Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18##
19DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H
20AM_CFLAGS = -Wall $(if $($(*F)_no_Werror),,-Werror) $(picflag)
21if !MUDFLAP
22picflag = -fpic
23endif
24INCLUDES = -I$(srcdir)/../libelf -I..
25
26noinst_LIBRARIES = libeu.a
27
28libeu_a_SOURCES = xstrdup.c xstrndup.c xmalloc.c next_prime.c crc32.c
29
30noinst_HEADERS = fixedsizehash.h system.h dynamicsizehash.h list.h
31EXTRA_DIST = dynamicsizehash.c
32
33# XXX gcc has a bug in that it generates warnings for internal symbols.
34if MUDFLAP
35xmalloc_no_Werror = yes
36crc32_no_Werror = yes
37endif