1 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2019 Free Software Foundation, Inc.
5 # This file is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2 of the License, or
8 # (at your option) any later version.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program; see the file COPYING. If not see
17 # <http://www.gnu.org/licenses/>.
20 ACLOCAL_AMFLAGS = -I .. -I ../config
22 AUTOMAKE_OPTIONS = foreign no-texinfo.tex
24 # This is where we get zlib from. zlibdir is -L../zlib and zlibinc is
25 # -I../zlib, unless we were configured with --with-system-zlib, in which
26 # case both are empty.
30 AM_CPPFLAGS = -D_GNU_SOURCE -I$(top_srcdir) -I$(top_srcdir)/../include -I$(top_srcdir)/../bfd -I../bfd
31 AM_CFLAGS = -std=gnu99 @ac_libctf_warn_cflags@ @warn@ @c_warn@ @WARN_PEDANTIC@ @WERROR@ $(ZLIBINC)
33 noinst_LIBRARIES = libctf.a
35 libctf_a_SOURCES = ctf-archive.c ctf-dump.c ctf-create.c ctf-decl.c ctf-error.c \
36 ctf-hash.c ctf-labels.c ctf-lookup.c ctf-open.c ctf-open-bfd.c \
37 ctf-subr.c ctf-types.c ctf-util.c
39 libctf_a_SOURCES += ctf-qsort_r.c