From 22359e265395fd2f8267190ef97f5417770e6206 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 15 Feb 2010 15:57:03 -0800 Subject: Clean up and consolidate automake magic to reduce duplication and to work with --disable-dependency-tracking. --- lib/ChangeLog | 4 ++++ lib/Makefile.am | 13 ++++--------- 2 files changed, 8 insertions(+), 9 deletions(-) (limited to 'lib') 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 + + * Makefile.am: Use config/eu.am for common stuff. + 2009-08-09 Roland McGrath * 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 ## . ## -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 -- cgit v1.2.3