blob: d044a7cbf0d6edad33f7ebe92cd738199d46c28b [file] [log] [blame]
Ulrich Drepperb08d5a82005-07-26 05:00:05 +00001## Process this file with automake to create Makefile.in
2## Configure input file for elfutils.
3##
Ulrich Drepper01f73702009-01-22 23:32:11 -08004## Copyright (C) 1996-2002, 2003, 2004, 2005, 2006, 2008, 2009 Red Hat, Inc.
Ulrich Drepperb08d5a82005-07-26 05:00:05 +00005##
Mark Wielaardde2ed972012-06-05 17:15:16 +02006## This file is part of elfutils.
Ulrich Drepperb08d5a82005-07-26 05:00:05 +00007##
Mark Wielaardde2ed972012-06-05 17:15:16 +02008## This file is free software; you can redistribute it and/or modify
9## it under the terms of the GNU General Public License as published by
10## the Free Software Foundation; either version 3 of the License, or
11## (at your option) any later version.
12##
13## elfutils is distributed in the hope that it will be useful, but
Ulrich Drepper361df7d2006-04-04 21:38:57 +000014## WITHOUT ANY WARRANTY; without even the implied warranty of
Mark Wielaardde2ed972012-06-05 17:15:16 +020015## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16## GNU General Public License for more details.
Ulrich Drepperb08d5a82005-07-26 05:00:05 +000017##
Mark Wielaardde2ed972012-06-05 17:15:16 +020018## You should have received a copy of the GNU General Public License
19## along with this program. If not, see <http://www.gnu.org/licenses/>.
Ulrich Drepperb08d5a82005-07-26 05:00:05 +000020##
21ACLOCAL_AMFLAGS = -I m4
22
Roland McGrathfbc72452008-12-16 17:03:03 -080023pkginclude_HEADERS = version.h
24
Ulrich Drepperb08d5a82005-07-26 05:00:05 +000025# Add doc back when we have some real content.
Mark Wielaard93802972014-04-11 23:52:47 +020026SUBDIRS = config m4 lib libelf libebl libdwelf libdwfl libdw libcpu libasm \
27 backends src po tests
Ulrich Drepperb08d5a82005-07-26 05:00:05 +000028
Mark Wielaardde2ed972012-06-05 17:15:16 +020029EXTRA_DIST = elfutils.spec GPG-KEY NOTES CONTRIBUTING \
30 COPYING COPYING-GPLV2 COPYING-LGPLV3
Ulrich Drepperb08d5a82005-07-26 05:00:05 +000031
Roland McGrath9365d2c2005-11-18 23:55:47 +000032# Make sure the test install uses lib64 when $LIB will yield lib64.
33# Make sure the test build uses the same compiler, which on e.g. ppc64
34# determines which platform we are actually testing.
Mark Wielaarde3e3ee22012-10-01 16:14:12 +020035# Run all tests under valgrind.
Roland McGrath9365d2c2005-11-18 23:55:47 +000036DISTCHECK_CONFIGURE_FLAGS = \
37 --libdir=`echo $(libdir) | sed "s,^$(exec_prefix),$$dc_install_base,"`\
Mark Wielaardbb096d02014-05-03 00:23:06 +020038 --enable-valgrind \
Roland McGrath9365d2c2005-11-18 23:55:47 +000039 CC="$(CC)"
40
Ulrich Drepperb08d5a82005-07-26 05:00:05 +000041distcheck-hook:
42 chmod -R u+w $(distdir)
43
44rpm: dist
Ulrich Drepper01f73702009-01-22 23:32:11 -080045 rpmbuild -ts --sign elfutils-@PACKAGE_VERSION@.tar.bz2
Ulrich Drepperb08d5a82005-07-26 05:00:05 +000046
47# Tell version 3.79 and up of GNU make to not build goals in this
48# directory in parallel.
49.NOTPARALLEL: