Brian Silverman | 8649792 | 2018-02-10 19:28:39 -0500 | [diff] [blame] | 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 | ## |
| 32 | include $(top_srcdir)/config/eu.am |
| 33 | AM_CPPFLAGS += -I$(srcdir)/../libelf -I$(srcdir)/../libdw \ |
| 34 | -I$(srcdir)/../libdwfl -I$(srcdir)/../libebl |
| 35 | VERSION = 1 |
| 36 | |
| 37 | noinst_LIBRARIES = libdwelf.a libdwelf_pic.a |
| 38 | |
| 39 | pkginclude_HEADERS = libdwelf.h |
| 40 | noinst_HEADERS = libdwelfP.h |
| 41 | |
| 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 \ |
| 44 | dwelf_strtab.c |
| 45 | |
| 46 | libdwelf = $(libdw) |
| 47 | |
| 48 | libdw = ../libdw/libdw.so |
| 49 | libelf = ../libelf/libelf.so |
| 50 | libebl = ../libebl/libebl.a |
| 51 | libeu = ../lib/libeu.a |
| 52 | |
| 53 | libdwelf_pic_a_SOURCES = |
| 54 | am_libdwelf_pic_a_OBJECTS = $(libdwelf_a_SOURCES:.c=.os) |
| 55 | |
| 56 | CLEANFILES += $(am_libdwelf_pic_a_OBJECTS) |