[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 04/11] build: enable subdir-objects Automake option globally
From: |
Stefano Lattarini |
Subject: |
[PATCH 04/11] build: enable subdir-objects Automake option globally |
Date: |
Thu, 30 Aug 2012 18:53:16 +0200 |
That option is enabled unconditionally in Automake-NG, and enabling
it also for mainline Automake will help to ensure no unexpected
incompatibilities is introduced in a potential port to Automake-NG.
Moreover, if we have a source file 'sub/foo.c', having it compiled
in 'sub/foo.o' rather than in 'foo.o' is undeniably cleaner and more
natural.
* configure.ac (AM_INIT_AUTOMAKE): Add 'subdir-objects'.
* libparted/fs/Makefile.am (AUTOMAKE_OPTIONS): No need to declare
'subdir-objects' explicitly now.
Copyright-paperwork-exempt: yes
---
configure.ac | 3 ++-
libparted/fs/Makefile.am | 2 --
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index 1444279..49ef75c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -52,7 +52,8 @@ AC_SUBST([LT_CURRENT])
AC_SUBST([LT_REVISION])
AC_SUBST([LT_AGE])
-AM_INIT_AUTOMAKE([1.11 no-dist-gzip dist-xz color-tests parallel-tests])
+AM_INIT_AUTOMAKE([1.11 no-dist-gzip dist-xz color-tests parallel-tests
+ subdir-objects])
AM_SILENT_RULES([yes]) # make --enable-silent-rules the default.
AC_CANONICAL_HOST
diff --git a/libparted/fs/Makefile.am b/libparted/fs/Makefile.am
index 7fe364a..064f11a 100644
--- a/libparted/fs/Makefile.am
+++ b/libparted/fs/Makefile.am
@@ -3,8 +3,6 @@
#
# This file may be modified and/or distributed without restriction.
-AUTOMAKE_OPTIONS = subdir-objects
-
partedincludedir = -I$(top_builddir)/include -I$(top_srcdir)/include
AM_CFLAGS = $(WARN_CFLAGS)
- [PATCH 00/11] various minor cleanup to the build system, Stefano Lattarini, 2012/08/30
- [PATCH 01/11] build: prefer $(AM_CPPFLAGS) over $(INCLUDES), Stefano Lattarini, 2012/08/30
- [PATCH 02/11] build: don't list files with unknown suffix in _SOURCES, Stefano Lattarini, 2012/08/30
- [PATCH 03/11] build: prefer pattern rules over suffix rules, Stefano Lattarini, 2012/08/30
- [PATCH 05/11] tests: prefer AM_TESTS_ENVIRONMENT over TESTS_ENVIRONMENT, Stefano Lattarini, 2012/08/30
- [PATCH 07/11] build: require Automake >= 1.11.6, Stefano Lattarini, 2012/08/30
- [PATCH 06/11] tests: remove unused AM_TESTS_ENVIRONMENT entries, Stefano Lattarini, 2012/08/30
- [PATCH 09/11] maint: tighten per version requirement, Stefano Lattarini, 2012/08/30
- [PATCH 04/11] build: enable subdir-objects Automake option globally,
Stefano Lattarini <=
- [PATCH 08/11] maint: make Autoconf version requirement consistent, Stefano Lattarini, 2012/08/30
- [PATCH 11/11] gitignore: reorder as forced by ./bootstrap, Stefano Lattarini, 2012/08/30
- [PATCH 10/11] bootstrap: update to latest, from gnulib, Stefano Lattarini, 2012/08/30
- Re: [PATCH 00/11] various minor cleanup to the build system, Jim Meyering, 2012/08/30