Blame Makefile.am

Packit Service 97d2fb
## Process this file with automake to create Makefile.in
Packit Service 97d2fb
## Configure input file for elfutils.
Packit Service 97d2fb
##
Packit Service 97d2fb
## Copyright (C) 1996-2006, 2008, 2009, 2015 Red Hat, Inc.
Packit Service 97d2fb
##
Packit Service 97d2fb
## This file is part of elfutils.
Packit Service 97d2fb
##
Packit Service 97d2fb
## This file is free software; you can redistribute it and/or modify
Packit Service 97d2fb
## it under the terms of the GNU General Public License as published by
Packit Service 97d2fb
## the Free Software Foundation; either version 3 of the License, or
Packit Service 97d2fb
## (at your option) any later version.
Packit Service 97d2fb
##
Packit Service 97d2fb
## elfutils is distributed in the hope that it will be useful, but
Packit Service 97d2fb
## WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service 97d2fb
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit Service 97d2fb
## GNU General Public License for more details.
Packit Service 97d2fb
##
Packit Service 97d2fb
## You should have received a copy of the GNU General Public License
Packit Service 97d2fb
## along with this program.  If not, see <http://www.gnu.org/licenses/>.
Packit Service 97d2fb
##
Packit Service 97d2fb
ACLOCAL_AMFLAGS = -I m4
Packit Service 97d2fb
Packit Service 97d2fb
# automake already tells which subdir is being entered.
Packit Service 97d2fb
# Don't make make repeat.
Packit Service 97d2fb
AM_MAKEFLAGS = --no-print-directory
Packit Service 97d2fb
Packit Service 97d2fb
pkginclude_HEADERS = version.h
Packit Service 97d2fb
Packit Service 97d2fb
SUBDIRS = config m4 lib libelf libcpu backends libebl libdwelf libdwfl libdw \
Packit Service 97d2fb
	  libasm debuginfod src po doc tests
Packit Service 97d2fb
Packit Service 97d2fb
EXTRA_DIST = elfutils.spec GPG-KEY NOTES CONTRIBUTING \
Packit Service 97d2fb
	     COPYING COPYING-GPLV2 COPYING-LGPLV3
Packit Service 97d2fb
Packit Service 97d2fb
# Make sure the test install uses lib64 when $LIB will yield lib64.
Packit Service 97d2fb
# Make sure the test build uses the same compiler, which on e.g. ppc64
Packit Service 97d2fb
# determines which platform we are actually testing.
Packit Service 97d2fb
# Run all tests under valgrind.
Packit Service 97d2fb
AM_DISTCHECK_CONFIGURE_FLAGS = \
Packit Service 97d2fb
	--libdir=`echo $(libdir) | sed "s,^$(exec_prefix),$$dc_install_base,"`\
Packit Service 97d2fb
	--enable-valgrind --enable-sanitize-undefined \
Packit Service 97d2fb
	CC="$(CC)"
Packit Service 97d2fb
Packit Service 97d2fb
distcheck-hook:
Packit Service 97d2fb
	chmod -R u+w $(distdir)
Packit Service 97d2fb
Packit Service 97d2fb
rpm: dist
Packit Service 97d2fb
	rpmbuild -ts --sign elfutils-@PACKAGE_VERSION@.tar.bz2
Packit Service 97d2fb
Packit Service 97d2fb
# Tell version 3.79 and up of GNU make to not build goals in this
Packit Service 97d2fb
# directory in parallel.
Packit Service 97d2fb
.NOTPARALLEL: