Imported Upstream version 0.155
[platform/upstream/elfutils.git] / Makefile.am
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 ##
6 ## This file is part of elfutils.
7 ##
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
14 ## WITHOUT ANY WARRANTY; without even the implied warranty of
15 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 ## GNU General Public License for more details.
17 ##
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/>.
20 ##
21 ACLOCAL_AMFLAGS = -I m4
22
23 pkginclude_HEADERS = version.h
24
25 # Add doc back when we have some real content.
26 SUBDIRS = config m4 lib libelf libebl libdwfl libdw libcpu libasm backends \
27           src po tests
28
29 EXTRA_DIST = elfutils.spec GPG-KEY NOTES CONTRIBUTING \
30              COPYING COPYING-GPLV2 COPYING-LGPLV3
31
32 # 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.
35 DISTCHECK_CONFIGURE_FLAGS = \
36         --libdir=`echo $(libdir) | sed "s,^$(exec_prefix),$$dc_install_base,"`\
37         CC="$(CC)"
38
39 distcheck-hook:
40         chmod -R u+w $(distdir)
41
42 rpm: dist
43         rpmbuild -ts --sign elfutils-@PACKAGE_VERSION@.tar.bz2
44
45 # Tell version 3.79 and up of GNU make to not build goals in this
46 # directory in parallel.
47 .NOTPARALLEL: