summaryrefslogtreecommitdiff
path: root/libctf/Makefile.am
diff options
context:
space:
mode:
authorNick Alcock <nick.alcock@oracle.com>2019-04-24 11:49:48 +0100
committerNick Alcock <nick.alcock@oracle.com>2019-05-28 17:09:41 +0100
commit0e65dfbaf3a0299e4837216a103c28625d4b4f1d (patch)
tree6ffb36930e49bc51b44fa83d95c053adec44cd5a /libctf/Makefile.am
parenta30b3e182aad25f94de6412efd5d78f7805fb4d3 (diff)
libctf: build system
This ties libctf into the build system, and makes binutils depend on it (used by the next commits). * Makefile.def (host_modules): Add libctf. * Makefile.def (dependencies): Likewise. libctf depends on zlib, libiberty, and bfd. * Makefile.in: Regenerated. * configure.ac (host_libs): Add libctf. * configure: Regenerated. libctf/ * Makefile.am: New. * Makefile.in: Regenerated. * config.h.in: Likewise. * aclocal.m4: Likewise. * configure: Likewise.
Diffstat (limited to 'libctf/Makefile.am')
-rw-r--r--libctf/Makefile.am31
1 files changed, 31 insertions, 0 deletions
diff --git a/libctf/Makefile.am b/libctf/Makefile.am
new file mode 100644
index 0000000000..5fe2c95901
--- /dev/null
+++ b/libctf/Makefile.am
@@ -0,0 +1,31 @@
+## Process this file with automake to produce Makefile.in.
+#
+# Copyright (C) 2019 Free Software Foundation, Inc.
+#
+# This file is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING. If not see
+# <http://www.gnu.org/licenses/>.
+#
+
+ACLOCAL_AMFLAGS = -I .. -I ../config
+
+AUTOMAKE_OPTIONS = foreign no-texinfo.tex
+
+AM_CPPFLAGS = -D_GNU_SOURCE -I$(top_srcdir) -I$(top_srcdir)/../include -I$(top_srcdir)/../bfd -I../bfd
+AM_CFLAGS = -std=gnu99 @ac_libctf_warn_cflags@ @warn@ @c_warn@ @WARN_PEDANTIC@ @WERROR@
+
+noinst_LIBRARIES = libctf.a
+
+libctf_a_SOURCES = ctf-archive.c ctf-dump.c ctf-create.c ctf-decl.c ctf-error.c \
+ ctf-hash.c ctf-labels.c ctf-lookup.c ctf-open.c ctf-open-bfd.c \
+ ctf-subr.c ctf-types.c ctf-util.c