# HG changeset patch # User Mike Miller # Date 1378360169 14400 # Node ID f0e3d3de5c2202829c86c4675975ca7de4f2a199 # Parent bc018154e46a0ce4547b71e4c5c0d267e6236b96 build: Enable subdir-objects Automake option project-wide * configure.ac (AM_INIT_AUTOMAKE): Add subdir-objects option to enable it project-wide to simplify and anticipate future Automake defaults. * libgui/Makefile.am, libinterp/Makefile.am, liboctave/Makefile.am, liboctave/cruft/Makefile.am, scripts/Makefile.am (AUTOMAKE_OPTIONS): Delete. diff -r bc018154e46a -r f0e3d3de5c22 configure.ac --- a/configure.ac Thu Sep 05 01:37:46 2013 -0400 +++ b/configure.ac Thu Sep 05 01:49:29 2013 -0400 @@ -41,7 +41,7 @@ AC_CONFIG_AUX_DIR([build-aux]) AC_CONFIG_MACRO_DIR([m4]) -AM_INIT_AUTOMAKE([1.11 tar-ustar]) +AM_INIT_AUTOMAKE([1.11 tar-ustar subdir-objects]) ## Add the option to enable silent rules, available since Automake 1.11 ## and included by default starting with Automake 1.13. diff -r bc018154e46a -r f0e3d3de5c22 libgui/Makefile.am --- a/libgui/Makefile.am Thu Sep 05 01:37:46 2013 -0400 +++ b/libgui/Makefile.am Thu Sep 05 01:49:29 2013 -0400 @@ -20,8 +20,6 @@ include $(top_srcdir)/build-aux/common.mk -AUTOMAKE_OPTIONS = subdir-objects - MOC_CPPFLAGS = octlib_LTLIBRARIES = liboctgui.la diff -r bc018154e46a -r f0e3d3de5c22 libinterp/Makefile.am --- a/libinterp/Makefile.am Thu Sep 05 01:37:46 2013 -0400 +++ b/libinterp/Makefile.am Thu Sep 05 01:49:29 2013 -0400 @@ -20,8 +20,6 @@ include $(top_srcdir)/build-aux/common.mk -AUTOMAKE_OPTIONS = subdir-objects - ## Search local directories before those specified by the user. AM_CPPFLAGS = \ -I$(top_srcdir)/liboctave/cruft/misc \ diff -r bc018154e46a -r f0e3d3de5c22 liboctave/Makefile.am --- a/liboctave/Makefile.am Thu Sep 05 01:37:46 2013 -0400 +++ b/liboctave/Makefile.am Thu Sep 05 01:49:29 2013 -0400 @@ -20,8 +20,6 @@ include $(top_srcdir)/build-aux/common.mk -AUTOMAKE_OPTIONS = subdir-objects - ## Run cruft dir with stand-alone Makefile. ## Eventually this will use module.mk syntax. SUBDIRS = cruft diff -r bc018154e46a -r f0e3d3de5c22 liboctave/cruft/Makefile.am --- a/liboctave/cruft/Makefile.am Thu Sep 05 01:37:46 2013 -0400 +++ b/liboctave/cruft/Makefile.am Thu Sep 05 01:49:29 2013 -0400 @@ -20,8 +20,6 @@ include $(top_srcdir)/build-aux/common.mk -AUTOMAKE_OPTIONS = subdir-objects - ## Search local directories before those specified by the user. AM_CPPFLAGS = \ -I$(top_builddir)/libgnu -I$(top_srcdir)/libgnu diff -r bc018154e46a -r f0e3d3de5c22 scripts/Makefile.am --- a/scripts/Makefile.am Thu Sep 05 01:37:46 2013 -0400 +++ b/scripts/Makefile.am Thu Sep 05 01:49:29 2013 -0400 @@ -20,8 +20,6 @@ include $(top_srcdir)/build-aux/common.mk -AUTOMAKE_OPTIONS = subdir-objects - EXTRA_DIST = CLEANFILES =