blob: 97bf7329cc4c1eb1b0d4e5cae9bd3323df94d68f [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
Ulf Hermann07737582017-08-18 12:41:11 +020031AM_CFLAGS += $(fpic_CFLAGS)
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 \
Mark Wielaarda5c72412017-10-16 16:16:12 +020037 crc32.c crc32_file.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 \
Jonathon Anderson77b66a72019-08-25 10:01:51 -050041 eu-config.h color.h printversion.h bpf.h \
Srđan Milaković99c5ba42019-11-04 10:39:35 -060042 atomics.h stdatomic-fbsd.h dynamicsizehash_concurrent.h
43EXTRA_DIST = dynamicsizehash.c dynamicsizehash_concurrent.c
Ulrich Drepperb08d5a82005-07-26 05:00:05 +000044
Ulrich Drepper47be7952005-08-07 04:41:39 +000045if !GPROF
Ulrich Drepperb08d5a82005-07-26 05:00:05 +000046xmalloc_CFLAGS = -ffunction-sections
Ulrich Drepper47be7952005-08-07 04:41:39 +000047endif