1da0c48c4Sopenharmony_ci## Makefile.am for libdwelf library subdirectory in elfutils.
2da0c48c4Sopenharmony_ci##
3da0c48c4Sopenharmony_ci## Process this file with automake to create Makefile.in
4da0c48c4Sopenharmony_ci##
5da0c48c4Sopenharmony_ci## Copyright (C) 2014, 2015 Red Hat, Inc.
6da0c48c4Sopenharmony_ci## This file is part of elfutils.
7da0c48c4Sopenharmony_ci##
8da0c48c4Sopenharmony_ci## This file is free software; you can redistribute it and/or modify
9da0c48c4Sopenharmony_ci## it under the terms of either
10da0c48c4Sopenharmony_ci##
11da0c48c4Sopenharmony_ci##   * the GNU Lesser General Public License as published by the Free
12da0c48c4Sopenharmony_ci##     Software Foundation; either version 3 of the License, or (at
13da0c48c4Sopenharmony_ci##     your option) any later version
14da0c48c4Sopenharmony_ci##
15da0c48c4Sopenharmony_ci## or
16da0c48c4Sopenharmony_ci##
17da0c48c4Sopenharmony_ci##   * the GNU General Public License as published by the Free
18da0c48c4Sopenharmony_ci##     Software Foundation; either version 2 of the License, or (at
19da0c48c4Sopenharmony_ci##     your option) any later version
20da0c48c4Sopenharmony_ci##
21da0c48c4Sopenharmony_ci## or both in parallel, as here.
22da0c48c4Sopenharmony_ci##
23da0c48c4Sopenharmony_ci## elfutils is distributed in the hope that it will be useful, but
24da0c48c4Sopenharmony_ci## WITHOUT ANY WARRANTY; without even the implied warranty of
25da0c48c4Sopenharmony_ci## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
26da0c48c4Sopenharmony_ci## General Public License for more details.
27da0c48c4Sopenharmony_ci##
28da0c48c4Sopenharmony_ci## You should have received copies of the GNU General Public License and
29da0c48c4Sopenharmony_ci## the GNU Lesser General Public License along with this program.  If
30da0c48c4Sopenharmony_ci## not, see <http://www.gnu.org/licenses/>.
31da0c48c4Sopenharmony_ci##
32da0c48c4Sopenharmony_ciinclude $(top_srcdir)/config/eu.am
33da0c48c4Sopenharmony_ciAM_CPPFLAGS += -I$(srcdir)/../libelf -I$(srcdir)/../libdw \
34da0c48c4Sopenharmony_ci	       -I$(srcdir)/../libdwfl -I$(srcdir)/../libebl
35da0c48c4Sopenharmony_ciVERSION = 1
36da0c48c4Sopenharmony_ci
37da0c48c4Sopenharmony_cinoinst_LIBRARIES = libdwelf.a libdwelf_pic.a
38da0c48c4Sopenharmony_ci
39da0c48c4Sopenharmony_cipkginclude_HEADERS = libdwelf.h
40da0c48c4Sopenharmony_cinoinst_HEADERS = libdwelfP.h
41da0c48c4Sopenharmony_ci
42da0c48c4Sopenharmony_cilibdwelf_a_SOURCES = dwelf_elf_gnu_debuglink.c dwelf_dwarf_gnu_debugaltlink.c \
43da0c48c4Sopenharmony_ci		     dwelf_elf_gnu_build_id.c dwelf_scn_gnu_compressed_size.c \
44da0c48c4Sopenharmony_ci		     dwelf_strtab.c dwelf_elf_begin.c \
45da0c48c4Sopenharmony_ci		     dwelf_elf_e_machine_string.c
46da0c48c4Sopenharmony_ci
47da0c48c4Sopenharmony_cilibdwelf = $(libdw)
48da0c48c4Sopenharmony_ci
49da0c48c4Sopenharmony_cilibdw = ../libdw/libdw.so
50da0c48c4Sopenharmony_cilibelf = ../libelf/libelf.so
51da0c48c4Sopenharmony_cilibebl = ../libebl/libebl.a
52da0c48c4Sopenharmony_cilibeu = ../lib/libeu.a
53da0c48c4Sopenharmony_ci
54da0c48c4Sopenharmony_cilibdwelf_pic_a_SOURCES =
55da0c48c4Sopenharmony_ciam_libdwelf_pic_a_OBJECTS = $(libdwelf_a_SOURCES:.c=.os)
56da0c48c4Sopenharmony_ci
57da0c48c4Sopenharmony_ciCLEANFILES += $(am_libdwelf_pic_a_OBJECTS)
58