1## Process this file with automake to create Makefile.in
2## Configure input file for elfutils.
3##
4## Copyright (C) 1996-2002, 2003, 2004, 2005, 2006, 2008, 2009 Red Hat, Inc.
5## This file is part of Red Hat elfutils.
6##
7## Red Hat elfutils is free software; you can redistribute it and/or modify
8## it under the terms of the GNU General Public License as published by the
9## Free Software Foundation; version 2 of the License.
10##
11## Red Hat elfutils is distributed in the hope that it will be useful, but
12## WITHOUT ANY WARRANTY; without even the implied warranty of
13## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14## General Public License for more details.
15##
16## You should have received a copy of the GNU General Public License along
17## with Red Hat elfutils; if not, write to the Free Software Foundation,
18## Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA.
19##
20## Red Hat elfutils is an included package of the Open Invention Network.
21## An included package of the Open Invention Network is a package for which
22## Open Invention Network licensees cross-license their patents.  No patent
23## license is granted, either expressly or impliedly, by designation as an
24## included package.  Should you wish to participate in the Open Invention
25## Network licensing program, please visit www.openinventionnetwork.com
26## <http://www.openinventionnetwork.com>.
27##
28ACLOCAL_AMFLAGS = -I m4
29
30pkginclude_HEADERS = version.h
31
32# Add doc back when we have some real content.
33SUBDIRS = config m4 lib libelf libebl libdwfl libdw libcpu libasm backends \
34	  src po tests
35
36EXTRA_DIST = elfutils.spec GPG-KEY NOTES EXCEPTION
37
38# Make sure the test install uses lib64 when $LIB will yield lib64.
39# Make sure the test build uses the same compiler, which on e.g. ppc64
40# determines which platform we are actually testing.
41DISTCHECK_CONFIGURE_FLAGS = \
42	--libdir=`echo $(libdir) | sed "s,^$(exec_prefix),$$dc_install_base,"`\
43	CC="$(CC)"
44
45distcheck-hook:
46	chmod -R u+w $(distdir)
47
48rpm: dist
49	rpmbuild -ts --sign elfutils-@PACKAGE_VERSION@.tar.bz2
50
51# Tell version 3.79 and up of GNU make to not build goals in this
52# directory in parallel.
53.NOTPARALLEL:
54