Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 1 | ## Process this file with automake to create Makefile.in |
| 2 | ## |
| 3 | ## Copyright (C) 1996-2001, 2002, 2004, 2005 Red Hat, Inc. |
| 4 | ## |
| 5 | ## This program is free software; you can redistribute it and/or modify |
| 6 | ## it under the terms of the GNU General Public License as published by |
| 7 | ## the Free Software Foundation, version 2. |
| 8 | ## |
| 9 | ## This program is distributed in the hope that it will be useful, |
| 10 | ## but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 | ## GNU General Public License for more details. |
| 13 | ## |
| 14 | ## You should have received a copy of the GNU General Public License |
| 15 | ## along with this program; if not, write to the Free Software Foundation, |
| 16 | ## Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| 17 | ## |
| 18 | DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H |
| 19 | if MUDFLAP |
| 20 | AM_CFLAGS = -fmudflap |
| 21 | else |
| 22 | AM_CFLAGS = |
| 23 | endif |
| 24 | AM_CFLAGS += -fpic -Wall -Wshadow -Werror -Wunused -Wextra $($(*F)_CFLAGS) |
| 25 | INCLUDES = -I$(srcdir)/../libelf -I.. |
| 26 | |
| 27 | noinst_LIBRARIES = libeu.a |
| 28 | |
| 29 | libeu_a_SOURCES = xstrdup.c xstrndup.c xmalloc.c next_prime.c \ |
| 30 | crc32.c crc32_file.c |
| 31 | |
| 32 | noinst_HEADERS = fixedsizehash.h system.h dynamicsizehash.h list.h |
| 33 | EXTRA_DIST = dynamicsizehash.c |
| 34 | |
Ulrich Drepper | 47be795 | 2005-08-07 04:41:39 +0000 | [diff] [blame] | 35 | if !GPROF |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 36 | xmalloc_CFLAGS = -ffunction-sections |
Ulrich Drepper | 47be795 | 2005-08-07 04:41:39 +0000 | [diff] [blame] | 37 | endif |