1## Makefile.am for libdwelf library subdirectory in elfutils. 2## 3## Process this file with automake to create Makefile.in 4## 5## Copyright (C) 2014, 2015 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)/../libelf -I$(srcdir)/../libdw \ 34 -I$(srcdir)/../libdwfl -I$(srcdir)/../libebl 35VERSION = 1 36 37noinst_LIBRARIES = libdwelf.a libdwelf_pic.a 38 39pkginclude_HEADERS = libdwelf.h 40noinst_HEADERS = libdwelfP.h 41 42libdwelf_a_SOURCES = dwelf_elf_gnu_debuglink.c dwelf_dwarf_gnu_debugaltlink.c \ 43 dwelf_elf_gnu_build_id.c dwelf_scn_gnu_compressed_size.c \ 44 dwelf_strtab.c dwelf_elf_begin.c \ 45 dwelf_elf_e_machine_string.c 46 47libdwelf = $(libdw) 48 49libdw = ../libdw/libdw.so 50libelf = ../libelf/libelf.so 51libebl = ../libebl/libebl.a 52libeu = ../lib/libeu.a 53 54libdwelf_pic_a_SOURCES = 55am_libdwelf_pic_a_OBJECTS = $(libdwelf_a_SOURCES:.c=.os) 56 57CLEANFILES += $(am_libdwelf_pic_a_OBJECTS) 58