65e6b5b471141177a48473610ba3c6ec18a598fc
[platform/upstream/elfutils.git] / libebl / Makefile.am
1 ## Process this file with automake to create Makefile.in
2 ##
3 ## Copyright (C) 2000-2010 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 ##
30 include $(top_srcdir)/config/eu.am
31 AM_CFLAGS += -fpic
32 INCLUDES += -I$(srcdir)/../libelf -I$(srcdir)/../libdw -I$(srcdir)/../libasm
33 VERSION = 1
34 LIBEBL_SUBDIR = @LIBEBL_SUBDIR@
35
36 lib_LIBRARIES = libebl.a
37
38 pkginclude_HEADERS = libebl.h
39
40 gen_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 \
57               eblstother.c
58
59 libebl_a_SOURCES = $(gen_SOURCES)
60
61 noinst_HEADERS = libeblP.h ebl-hooks.h
62
63 CLEANFILES += $(am_libebl_pic_a_OBJECTS)