blob: b34d5440a0c30fd88c33a8326d46c04f2539a407 [file] [log] [blame]
Ulrich Drepperb08d5a82005-07-26 05:00:05 +00001## 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##
18DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H
19if MUDFLAP
20AM_CFLAGS = -fmudflap
21else
22AM_CFLAGS =
23endif
24AM_CFLAGS += -fpic -Wall -Wshadow -Werror -Wunused -Wextra $($(*F)_CFLAGS)
25INCLUDES = -I$(srcdir)/../libelf -I..
26
27noinst_LIBRARIES = libeu.a
28
29libeu_a_SOURCES = xstrdup.c xstrndup.c xmalloc.c next_prime.c \
30 crc32.c crc32_file.c
31
32noinst_HEADERS = fixedsizehash.h system.h dynamicsizehash.h list.h
33EXTRA_DIST = dynamicsizehash.c
34
Ulrich Drepper47be7952005-08-07 04:41:39 +000035if !GPROF
Ulrich Drepperb08d5a82005-07-26 05:00:05 +000036xmalloc_CFLAGS = -ffunction-sections
Ulrich Drepper47be7952005-08-07 04:41:39 +000037endif