The Android Open Source Project | 593c365 | 2008-10-21 07:00:00 -0700 | [diff] [blame^] | 1 | ## 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 | ## |
| 19 | DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H |
| 20 | AM_CFLAGS = -Wall $(if $($(*F)_no_Werror),,-Werror) $(picflag) |
| 21 | if !MUDFLAP |
| 22 | picflag = -fpic |
| 23 | endif |
| 24 | INCLUDES = -I$(srcdir)/../libelf -I.. |
| 25 | |
| 26 | noinst_LIBRARIES = libeu.a |
| 27 | |
| 28 | libeu_a_SOURCES = xstrdup.c xstrndup.c xmalloc.c next_prime.c crc32.c |
| 29 | |
| 30 | noinst_HEADERS = fixedsizehash.h system.h dynamicsizehash.h list.h |
| 31 | EXTRA_DIST = dynamicsizehash.c |
| 32 | |
| 33 | # XXX gcc has a bug in that it generates warnings for internal symbols. |
| 34 | if MUDFLAP |
| 35 | xmalloc_no_Werror = yes |
| 36 | crc32_no_Werror = yes |
| 37 | endif |