blob: ec4477b7b117914c13bd83f94ad9092bed969ff1 [file] [log] [blame]
Ben Cheng25b3c042013-11-20 14:45:36 -08001## Process this file with automake to create Makefile.in
2##
Elliott Hughes03333822015-02-18 22:19:45 -08003## Copyright (C) 2000-2010, 2013 Red Hat, Inc.
4## This file is part of elfutils.
Ben Cheng25b3c042013-11-20 14:45:36 -08005##
Elliott Hughes03333822015-02-18 22:19:45 -08006## This file is free software; you can redistribute it and/or modify
7## it under the terms of either
Ben Cheng25b3c042013-11-20 14:45:36 -08008##
Elliott Hughes03333822015-02-18 22:19:45 -08009## * 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
Ben Cheng25b3c042013-11-20 14:45:36 -080022## 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##
Elliott Hughes03333822015-02-18 22:19:45 -080026## 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/>.
Ben Cheng25b3c042013-11-20 14:45:36 -080029##
30include $(top_srcdir)/config/eu.am
31AM_CFLAGS += -fpic
Elliott Hughes03333822015-02-18 22:19:45 -080032AM_CPPFLAGS += -I$(srcdir)/../libelf -I$(srcdir)/../libdw -I$(srcdir)/../libasm
Ben Cheng25b3c042013-11-20 14:45:36 -080033VERSION = 1
34LIBEBL_SUBDIR = @LIBEBL_SUBDIR@
35
36lib_LIBRARIES = libebl.a
37
38pkginclude_HEADERS = libebl.h
39
40gen_SOURCES = eblopenbackend.c eblclosebackend.c eblstrtab.c \
41 eblreloctypename.c eblsegmenttypename.c \
42 eblsectiontypename.c eblmachineflagname.c \
43 eblsymboltypename.c ebldynamictagname.c eblsectionname.c \
44 eblobjecttypename.c eblsymbolbindingname.c \
45 eblbackendname.c eblshflagscombine.c eblwstrtab.c \
46 eblgstrtab.c eblosabiname.c \
47 eblmachineflagcheck.c eblmachinesectionflagcheck.c \
48 eblreloctypecheck.c eblrelocvaliduse.c eblrelocsimpletype.c \
49 ebldynamictagcheck.c eblcorenotetypename.c eblobjnotetypename.c \
50 eblcorenote.c eblobjnote.c ebldebugscnp.c \
51 eblgotpcreloccheck.c eblcopyrelocp.c eblsectionstripp.c \
52 eblelfclass.c eblelfdata.c eblelfmachine.c \
53 ebl_check_special_symbol.c eblbsspltp.c eblretval.c \
54 eblreginfo.c eblnonerelocp.c eblrelativerelocp.c \
55 eblsysvhashentrysize.c eblauxvinfo.c eblcheckobjattr.c \
56 ebl_check_special_section.c ebl_syscall_abi.c eblabicfi.c \
Elliott Hughes03333822015-02-18 22:19:45 -080057 eblstother.c eblinitreg.c ebldwarftoregno.c eblnormalizepc.c \
58 eblunwind.c eblresolvesym.c eblcheckreloctargettype.c
Ben Cheng25b3c042013-11-20 14:45:36 -080059
60libebl_a_SOURCES = $(gen_SOURCES)
61
62noinst_HEADERS = libeblP.h ebl-hooks.h
63
64CLEANFILES += $(am_libebl_pic_a_OBJECTS)