1 ## Makefile.am for libdwelf library subdirectory in elfutils.
3 ## Process this file with automake to create Makefile.in
5 ## Copyright (C) 2014, 2015 Red Hat, Inc.
6 ## This file is part of elfutils.
8 ## This file is free software; you can redistribute it and/or modify
9 ## it under the terms of either
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
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
21 ## or both in parallel, as here.
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.
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/>.
32 include $(top_srcdir)/config/eu.am
33 AM_CPPFLAGS += -I$(srcdir)/../libelf -I$(srcdir)/../libdw \
34 -I$(srcdir)/../libdwfl -I$(srcdir)/../libebl
37 noinst_LIBRARIES = libdwelf.a libdwelf_pic.a
39 pkginclude_HEADERS = libdwelf.h
40 noinst_HEADERS = libdwelfP.h
42 libdwelf_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
47 libdw = ../libdw/libdw.so
48 libelf = ../libelf/libelf.so
49 libebl = ../libebl/libebl.a
50 libeu = ../lib/libeu.a
52 libdwelf_pic_a_SOURCES =
53 am_libdwelf_pic_a_OBJECTS = $(libdwelf_a_SOURCES:.c=.os)
55 CLEANFILES += $(am_libdwelf_pic_a_OBJECTS)