1## Makefile.am for libdwfl library subdirectory in elfutils. 2## 3## Process this file with automake to create Makefile.in 4## 5## Copyright (C) 2005-2010, 2013 Red Hat, Inc. 6## This file is part of elfutils. 7## 8## This file is free software; you can redistribute it and/or modify 9## it under the terms of either 10## 11## * the GNU Lesser General Public License as published by the Free 12## Software Foundation; either version 3 of the License, or (at 13## your option) any later version 14## 15## or 16## 17## * the GNU General Public License as published by the Free 18## Software Foundation; either version 2 of the License, or (at 19## your option) any later version 20## 21## or both in parallel, as here. 22## 23## elfutils is distributed in the hope that it will be useful, but 24## WITHOUT ANY WARRANTY; without even the implied warranty of 25## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 26## General Public License for more details. 27## 28## You should have received copies of the GNU General Public License and 29## the GNU Lesser General Public License along with this program. If 30## not, see <http://www.gnu.org/licenses/>. 31## 32include $(top_srcdir)/config/eu.am 33AM_CPPFLAGS += -I$(srcdir) -I$(srcdir)/../libelf -I$(srcdir)/../libebl \ 34 -I$(srcdir)/../libdw -I$(srcdir)/../libdwelf -I$(srcdir)/../debuginfod 35VERSION = 1 36 37noinst_LIBRARIES = libdwfl.a 38noinst_LIBRARIES += libdwfl_pic.a 39 40pkginclude_HEADERS = libdwfl.h 41 42 43libdwfl_a_SOURCES = dwfl_begin.c dwfl_end.c dwfl_error.c dwfl_version.c \ 44 dwfl_module.c dwfl_report_elf.c relocate.c \ 45 dwfl_module_build_id.c dwfl_module_report_build_id.c \ 46 derelocate.c offline.c segment.c \ 47 dwfl_module_info.c dwfl_getmodules.c dwfl_getdwarf.c \ 48 dwfl_module_getdwarf.c dwfl_module_getelf.c \ 49 dwfl_validate_address.c \ 50 argp-std.c find-debuginfo.c \ 51 dwfl_build_id_find_elf.c \ 52 dwfl_build_id_find_debuginfo.c \ 53 linux-kernel-modules.c linux-proc-maps.c \ 54 dwfl_addrmodule.c dwfl_addrdwarf.c \ 55 cu.c dwfl_module_nextcu.c dwfl_nextcu.c dwfl_cumodule.c \ 56 dwfl_module_addrdie.c dwfl_addrdie.c \ 57 lines.c dwfl_lineinfo.c dwfl_line_comp_dir.c \ 58 dwfl_linemodule.c dwfl_linecu.c dwfl_dwarf_line.c \ 59 dwfl_getsrclines.c dwfl_onesrcline.c \ 60 dwfl_module_getsrc.c dwfl_getsrc.c \ 61 dwfl_module_getsrc_file.c \ 62 libdwfl_crc32.c libdwfl_crc32_file.c \ 63 elf-from-memory.c \ 64 dwfl_module_dwarf_cfi.c dwfl_module_eh_cfi.c \ 65 dwfl_module_getsym.c \ 66 dwfl_module_addrname.c dwfl_module_addrsym.c \ 67 dwfl_module_return_value_location.c \ 68 dwfl_module_register_names.c \ 69 dwfl_segment_report_module.c \ 70 link_map.c core-file.c open.c image-header.c \ 71 dwfl_frame.c frame_unwind.c dwfl_frame_pc.c \ 72 linux-pid-attach.c linux-core-attach.c dwfl_frame_regs.c \ 73 gzip.c debuginfod-client.c 74 75if BZLIB 76libdwfl_a_SOURCES += bzip2.c 77endif 78if LZMA 79libdwfl_a_SOURCES += lzma.c 80endif 81if ZSTD 82libdwfl_a_SOURCES += zstd.c 83endif 84 85libdwfl = $(libdw) 86libdw = ../libdw/libdw.so 87libelf = ../libelf/libelf.so 88libebl = ../libebl/libebl.a 89libeu = ../lib/libeu.a 90 91libdwfl_pic_a_SOURCES = 92am_libdwfl_pic_a_OBJECTS = $(libdwfl_a_SOURCES:.c=.os) 93 94noinst_HEADERS = libdwflP.h 95 96CLEANFILES += $(am_libdwfl_pic_a_OBJECTS) 97