blob: 97f295eb7e3b1017b599a70d0a54db3b85863c67 [file] [log] [blame]
Ulrich Drepperb08d5a82005-07-26 05:00:05 +00001## Process this file with automake to create Makefile.in
2##
Ulrich Drepperc6b3d0c2012-01-21 18:14:39 -05003## Copyright (C) 1996-2011 Red Hat, Inc.
Mark Wielaardde2ed972012-06-05 17:15:16 +02004## This file is part of elfutils.
Ulrich Drepperb08d5a82005-07-26 05:00:05 +00005##
Mark Wielaardde2ed972012-06-05 17:15:16 +02006## This file is free software; you can redistribute it and/or modify
7## it under the terms of either
Ulrich Drepperb08d5a82005-07-26 05:00:05 +00008##
Mark Wielaardde2ed972012-06-05 17:15:16 +02009## * the GNU Lesser General Public License as published by the Free
10## Software Foundation; either version 3 of the License, or (at
11## your option) any later version
12##
13## or
14##
15## * the GNU General Public License as published by the Free
16## Software Foundation; either version 2 of the License, or (at
17## your option) any later version
18##
19## or both in parallel, as here.
20##
21## elfutils is distributed in the hope that it will be useful, but
Ulrich Drepper361df7d2006-04-04 21:38:57 +000022## WITHOUT ANY WARRANTY; without even the implied warranty of
23## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
24## General Public License for more details.
Ulrich Drepperb08d5a82005-07-26 05:00:05 +000025##
Mark Wielaardde2ed972012-06-05 17:15:16 +020026## You should have received copies of the GNU General Public License and
27## the GNU Lesser General Public License along with this program. If
28## not, see <http://www.gnu.org/licenses/>.
Ulrich Drepperb08d5a82005-07-26 05:00:05 +000029##
Roland McGrath22359e22010-02-15 15:57:03 -080030include $(top_srcdir)/config/eu.am
31AM_CFLAGS += -fpic
Mark Wielaardcdaaf212013-04-25 16:50:11 -040032AM_CPPFLAGS += -I$(srcdir)/../libelf
Ulrich Drepperb08d5a82005-07-26 05:00:05 +000033
34noinst_LIBRARIES = libeu.a
35
Ulrich Drepperc6b3d0c2012-01-21 18:14:39 -050036libeu_a_SOURCES = xstrdup.c xstrndup.c xmalloc.c next_prime.c \
37 crc32.c crc32_file.c md5.c sha1.c \
38 color.c
Ulrich Drepperb08d5a82005-07-26 05:00:05 +000039
Ulrich Drepperc54785a2008-02-01 18:05:21 +000040noinst_HEADERS = fixedsizehash.h system.h dynamicsizehash.h list.h md5.h \
Roland McGrathb4d6f0f2008-08-25 22:55:17 +000041 sha1.h eu-config.h
Ulrich Drepperb08d5a82005-07-26 05:00:05 +000042EXTRA_DIST = dynamicsizehash.c
43
Ulrich Drepper47be7952005-08-07 04:41:39 +000044if !GPROF
Ulrich Drepperb08d5a82005-07-26 05:00:05 +000045xmalloc_CFLAGS = -ffunction-sections
Ulrich Drepper47be7952005-08-07 04:41:39 +000046endif