summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2010-02-15 15:57:03 -0800
committerRoland McGrath <roland@redhat.com>2010-02-15 15:57:03 -0800
commit22359e265395fd2f8267190ef97f5417770e6206 (patch)
treea5503a61fed410b3585d6d9bbc3cd5852668c80f /lib
parentbf96347e884ee37eee3fdacdf2a616f6856e1e49 (diff)
Clean up and consolidate automake magic to reduce duplication and to work with --disable-dependency-tracking.
Diffstat (limited to 'lib')
-rw-r--r--lib/ChangeLog4
-rw-r--r--lib/Makefile.am13
2 files changed, 8 insertions, 9 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog
index 73f8e73a..089747aa 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,3 +1,7 @@
+2010-02-15 Roland McGrath <roland@redhat.com>
+
+ * Makefile.am: Use config/eu.am for common stuff.
+
2009-08-09 Roland McGrath <roland@redhat.com>
* eu-config.h (OLD_VERSION, NEW_VERSION, COMPAT_VERSION): New macros.
diff --git a/lib/Makefile.am b/lib/Makefile.am
index b95d3e3b..50d55c56 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -1,6 +1,6 @@
## Process this file with automake to create Makefile.in
##
-## Copyright (C) 1996-2001, 2002, 2004, 2005, 2008 Red Hat, Inc.
+## Copyright (C) 1996-2010 Red Hat, Inc.
## This file is part of Red Hat elfutils.
##
## Red Hat elfutils is free software; you can redistribute it and/or modify
@@ -24,14 +24,9 @@
## Network licensing program, please visit www.openinventionnetwork.com
## <http://www.openinventionnetwork.com>.
##
-DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H
-if MUDFLAP
-AM_CFLAGS = -fmudflap
-else
-AM_CFLAGS =
-endif
-AM_CFLAGS += -fpic -Wall -Wshadow -Werror -Wunused -Wextra $($(*F)_CFLAGS)
-INCLUDES = -I$(srcdir)/../libelf -I..
+include $(top_srcdir)/config/eu.am
+AM_CFLAGS += -fpic
+INCLUDES += -I$(srcdir)/../libelf
noinst_LIBRARIES = libeu.a