blob: 7a65eb91fe97a266cf81ffc2277e523ef78e84dc [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
Jose E. Marchesi133509f2015-10-05 17:36:30 +020031AM_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 \
Ulf Hermanne22cc802017-02-16 12:32:02 +010038 color.c printversion.c
Ulrich Drepperb08d5a82005-07-26 05:00:05 +000039
Akihiko Odaki60b2bf12016-10-11 23:06:48 +090040noinst_HEADERS = fixedsizehash.h libeu.h system.h dynamicsizehash.h list.h \
Ulf Hermanne22cc802017-02-16 12:32:02 +010041 md5.h sha1.h eu-config.h color.h printversion.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