1## Process this file with automake to create Makefile.in
2##
3## Copyright (C) 2000-2010, 2013, 2016, 2017 Red Hat, Inc.
4## This file is part of elfutils.
5##
6## This file is free software; you can redistribute it and/or modify
7## it under the terms of either
8##
9##   * 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
22## 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.
25##
26## 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/>.
29##
30include $(top_srcdir)/config/eu.am
31if BUILD_STATIC
32AM_CFLAGS += $(fpic_CFLAGS)
33endif
34AM_CPPFLAGS += -I$(srcdir)/../libelf -I$(srcdir)/../libdw -I$(srcdir)/../libasm
35VERSION = 1
36
37noinst_LIBRARIES = libebl.a libebl_pic.a
38
39libebl_a_SOURCES = eblopenbackend.c eblclosebackend.c eblreloctypename.c \
40		   eblsegmenttypename.c eblsectiontypename.c \
41		   eblmachineflagname.c eblsymboltypename.c \
42		   ebldynamictagname.c eblsectionname.c \
43		   eblsymbolbindingname.c eblbackendname.c eblosabiname.c \
44		   eblmachineflagcheck.c eblmachinesectionflagcheck.c \
45		   eblreloctypecheck.c eblrelocvaliduse.c \
46		   eblrelocsimpletype.c ebldynamictagcheck.c \
47		   eblcorenotetypename.c eblobjnotetypename.c eblcorenote.c \
48		   eblobjnote.c ebldebugscnp.c eblgotpcreloccheck.c \
49		   eblcopyrelocp.c eblsectionstripp.c eblelfclass.c \
50		   eblelfdata.c eblelfmachine.c ebl_check_special_symbol.c \
51		   eblbsspltp.c eblretval.c eblreginfo.c eblnonerelocp.c \
52		   eblrelativerelocp.c eblsysvhashentrysize.c eblauxvinfo.c \
53		   eblcheckobjattr.c ebl_check_special_section.c \
54		   eblabicfi.c eblstother.c eblinitreg.c \
55		   ebldwarftoregno.c eblnormalizepc.c eblunwind.c \
56		   eblresolvesym.c eblcheckreloctargettype.c \
57		   ebl_data_marker_symbol.c
58
59libebl_pic_a_SOURCES =
60am_libebl_pic_a_OBJECTS = $(libebl_a_SOURCES:.c=.os)
61
62noinst_HEADERS = libebl.h libeblP.h ebl-hooks.h
63
64MOSTLYCLEANFILES = $(am_libebl_pic_a_OBJECTS)
65