1 ## Makefile.am for libdwfl library subdirectory in elfutils.
3 ## Process this file with automake to create Makefile.in
5 ## Copyright (C) 2005-2010 Red Hat, Inc.
6 ## This file is part of Red Hat elfutils.
8 ## Red Hat elfutils is free software; you can redistribute it and/or modify
9 ## it under the terms of the GNU General Public License as published by the
10 ## Free Software Foundation; version 2 of the License.
12 ## Red Hat elfutils is distributed in the hope that it will be useful, but
13 ## WITHOUT ANY WARRANTY; without even the implied warranty of
14 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 ## General Public License for more details.
17 ## You should have received a copy of the GNU General Public License along
18 ## with Red Hat elfutils; if not, write to the Free Software Foundation,
19 ## Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA.
21 ## Red Hat elfutils is an included package of the Open Invention Network.
22 ## An included package of the Open Invention Network is a package for which
23 ## Open Invention Network licensees cross-license their patents. No patent
24 ## license is granted, either expressly or impliedly, by designation as an
25 ## included package. Should you wish to participate in the Open Invention
26 ## Network licensing program, please visit www.openinventionnetwork.com
27 ## <http://www.openinventionnetwork.com>.
29 include $(top_srcdir)/config/eu.am
30 INCLUDES += -I$(srcdir) -I$(srcdir)/../libelf -I$(srcdir)/../libebl \
34 noinst_LIBRARIES = libdwfl.a
36 noinst_LIBRARIES += libdwfl_pic.a
39 pkginclude_HEADERS = libdwfl.h
41 libdwfl_a_SOURCES = dwfl_begin.c dwfl_end.c dwfl_error.c dwfl_version.c \
42 dwfl_module.c dwfl_report_elf.c relocate.c \
43 dwfl_module_build_id.c dwfl_module_report_build_id.c \
44 derelocate.c offline.c segment.c \
45 dwfl_module_info.c dwfl_getmodules.c dwfl_getdwarf.c \
46 dwfl_module_getdwarf.c dwfl_module_getelf.c \
47 dwfl_validate_address.c \
48 argp-std.c find-debuginfo.c \
49 dwfl_build_id_find_elf.c \
50 dwfl_build_id_find_debuginfo.c \
51 linux-kernel-modules.c linux-proc-maps.c \
52 dwfl_addrmodule.c dwfl_addrdwarf.c \
53 cu.c dwfl_module_nextcu.c dwfl_nextcu.c dwfl_cumodule.c \
54 dwfl_module_addrdie.c dwfl_addrdie.c \
55 lines.c dwfl_lineinfo.c dwfl_line_comp_dir.c \
56 dwfl_linemodule.c dwfl_linecu.c dwfl_dwarf_line.c \
57 dwfl_getsrclines.c dwfl_onesrcline.c \
58 dwfl_module_getsrc.c dwfl_getsrc.c \
59 dwfl_module_getsrc_file.c \
60 libdwfl_crc32.c libdwfl_crc32_file.c \
62 dwfl_module_dwarf_cfi.c dwfl_module_eh_cfi.c \
63 dwfl_module_getsym.c \
64 dwfl_module_addrname.c dwfl_module_addrsym.c \
65 dwfl_module_return_value_location.c \
66 dwfl_module_register_names.c \
67 dwfl_segment_report_module.c \
68 link_map.c core-file.c open.c image-header.c
71 libdwfl_a_SOURCES += gzip.c
74 libdwfl_a_SOURCES += bzip2.c
77 libdwfl_a_SOURCES += lzma.c
81 libdwfl = libdwfl.a $(libdw) $(libebl) $(libelf) $(libeu)
82 libdw = ../libdw/libdw.a
83 libelf = ../libelf/libelf.a
86 libdw = ../libdw/libdw.so
87 libelf = ../libelf/libelf.so
89 libebl = ../libebl/libebl.a
90 libeu = ../lib/libeu.a
93 libdwfl_pic_a_SOURCES =
94 am_libdwfl_pic_a_OBJECTS = $(libdwfl_a_SOURCES:.c=.os)
97 noinst_HEADERS = libdwflP.h
99 CLEANFILES += $(am_libdwfl_pic_a_OBJECTS)