blob: 2ff444e7bf1d9eccbf4230871ec8f38876d9dfe2 [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##
Mark Wielaard193396a2015-12-31 22:08:23 +01004## Copyright (C) 1996-2006, 2008, 2009, 2015 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
Mark Wielaard193396a2015-12-31 22:08:23 +010023# automake already tells which subdir is being entered.
24# Don't make make repeat.
25AM_MAKEFLAGS = --no-print-directory
26
Roland McGrathfbc72452008-12-16 17:03:03 -080027pkginclude_HEADERS = version.h
28
Ulrich Drepperb08d5a82005-07-26 05:00:05 +000029# Add doc back when we have some real content.
Mark Wielaard93802972014-04-11 23:52:47 +020030SUBDIRS = config m4 lib libelf libebl libdwelf libdwfl libdw libcpu libasm \
31 backends src po tests
Ulrich Drepperb08d5a82005-07-26 05:00:05 +000032
Mark Wielaardde2ed972012-06-05 17:15:16 +020033EXTRA_DIST = elfutils.spec GPG-KEY NOTES CONTRIBUTING \
34 COPYING COPYING-GPLV2 COPYING-LGPLV3
Ulrich Drepperb08d5a82005-07-26 05:00:05 +000035
Roland McGrath9365d2c2005-11-18 23:55:47 +000036# Make sure the test install uses lib64 when $LIB will yield lib64.
37# Make sure the test build uses the same compiler, which on e.g. ppc64
38# determines which platform we are actually testing.
Mark Wielaarde3e3ee22012-10-01 16:14:12 +020039# Run all tests under valgrind.
Mark Wielaard2b250b72015-05-21 23:36:51 +020040AM_DISTCHECK_CONFIGURE_FLAGS = \
Roland McGrath9365d2c2005-11-18 23:55:47 +000041 --libdir=`echo $(libdir) | sed "s,^$(exec_prefix),$$dc_install_base,"`\
Mark Wielaard2b250b72015-05-21 23:36:51 +020042 --enable-valgrind --enable-sanitize-undefined \
Roland McGrath9365d2c2005-11-18 23:55:47 +000043 CC="$(CC)"
44
Ulrich Drepperb08d5a82005-07-26 05:00:05 +000045distcheck-hook:
46 chmod -R u+w $(distdir)
47
48rpm: dist
Ulrich Drepper01f73702009-01-22 23:32:11 -080049 rpmbuild -ts --sign elfutils-@PACKAGE_VERSION@.tar.bz2
Ulrich Drepperb08d5a82005-07-26 05:00:05 +000050
51# Tell version 3.79 and up of GNU make to not build goals in this
52# directory in parallel.
53.NOTPARALLEL: