Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 1 | ## Process this file with automake to create Makefile.in |
| 2 | ## Configure input file for elfutils. |
| 3 | ## |
Mark Wielaard | 193396a | 2015-12-31 22:08:23 +0100 | [diff] [blame] | 4 | ## Copyright (C) 1996-2006, 2008, 2009, 2015 Red Hat, Inc. |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 5 | ## |
Mark Wielaard | de2ed97 | 2012-06-05 17:15:16 +0200 | [diff] [blame] | 6 | ## This file is part of elfutils. |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 7 | ## |
Mark Wielaard | de2ed97 | 2012-06-05 17:15:16 +0200 | [diff] [blame] | 8 | ## 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 Drepper | 361df7d | 2006-04-04 21:38:57 +0000 | [diff] [blame] | 14 | ## WITHOUT ANY WARRANTY; without even the implied warranty of |
Mark Wielaard | de2ed97 | 2012-06-05 17:15:16 +0200 | [diff] [blame] | 15 | ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 16 | ## GNU General Public License for more details. |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 17 | ## |
Mark Wielaard | de2ed97 | 2012-06-05 17:15:16 +0200 | [diff] [blame] | 18 | ## 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 Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 20 | ## |
| 21 | ACLOCAL_AMFLAGS = -I m4 |
| 22 | |
Mark Wielaard | 193396a | 2015-12-31 22:08:23 +0100 | [diff] [blame] | 23 | # automake already tells which subdir is being entered. |
| 24 | # Don't make make repeat. |
| 25 | AM_MAKEFLAGS = --no-print-directory |
| 26 | |
Roland McGrath | fbc7245 | 2008-12-16 17:03:03 -0800 | [diff] [blame] | 27 | pkginclude_HEADERS = version.h |
| 28 | |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 29 | # Add doc back when we have some real content. |
Mark Wielaard | 9380297 | 2014-04-11 23:52:47 +0200 | [diff] [blame] | 30 | SUBDIRS = config m4 lib libelf libebl libdwelf libdwfl libdw libcpu libasm \ |
| 31 | backends src po tests |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 32 | |
Mark Wielaard | de2ed97 | 2012-06-05 17:15:16 +0200 | [diff] [blame] | 33 | EXTRA_DIST = elfutils.spec GPG-KEY NOTES CONTRIBUTING \ |
| 34 | COPYING COPYING-GPLV2 COPYING-LGPLV3 |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 35 | |
Roland McGrath | 9365d2c | 2005-11-18 23:55:47 +0000 | [diff] [blame] | 36 | # 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 Wielaard | e3e3ee2 | 2012-10-01 16:14:12 +0200 | [diff] [blame] | 39 | # Run all tests under valgrind. |
Mark Wielaard | 2b250b7 | 2015-05-21 23:36:51 +0200 | [diff] [blame] | 40 | AM_DISTCHECK_CONFIGURE_FLAGS = \ |
Roland McGrath | 9365d2c | 2005-11-18 23:55:47 +0000 | [diff] [blame] | 41 | --libdir=`echo $(libdir) | sed "s,^$(exec_prefix),$$dc_install_base,"`\ |
Mark Wielaard | 2b250b7 | 2015-05-21 23:36:51 +0200 | [diff] [blame] | 42 | --enable-valgrind --enable-sanitize-undefined \ |
Roland McGrath | 9365d2c | 2005-11-18 23:55:47 +0000 | [diff] [blame] | 43 | CC="$(CC)" |
| 44 | |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 45 | distcheck-hook: |
| 46 | chmod -R u+w $(distdir) |
| 47 | |
| 48 | rpm: dist |
Ulrich Drepper | 01f7370 | 2009-01-22 23:32:11 -0800 | [diff] [blame] | 49 | rpmbuild -ts --sign elfutils-@PACKAGE_VERSION@.tar.bz2 |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 50 | |
| 51 | # Tell version 3.79 and up of GNU make to not build goals in this |
| 52 | # directory in parallel. |
| 53 | .NOTPARALLEL: |