[at-spi2-core] dbind/Makefile.am: specify subdir-objects automake option



commit 3c083b9bbb9a710c923c5d3a49c1ff8ce55f651c
Author: Thomas Petazzoni <thomas petazzoni free-electrons com>
Date:   Wed Jun 25 22:01:38 2014 +0200

    dbind/Makefile.am: specify subdir-objects automake option
    
    As recommended during autoreconf:
    
    dbind/Makefile.am:1:   while processing Libtool library 'libdbind.la'
    dbind/Makefile.am:23: warning: source file '../atspi/atspi-gmain.c' is in a subdirectory,
    dbind/Makefile.am:23: but option 'subdir-objects' is disabled
    automake: warning: possible forward-incompatibility.
    automake: At least a source file is in a subdirectory, but the 'subdir-objects'
    automake: automake option hasn't been enabled.  For now, the corresponding output
    automake: object file(s) will be placed in the top-level directory.  However,
    automake: this behaviour will change in future Automake versions: they will
    automake: unconditionally cause object files to be placed in the same subdirectory
    automake: of the corresponding sources.
    automake: You are advised to start using 'subdir-objects' option throughout your
    automake: project, to avoid future incompatibilities.
    
    Signed-off-by: Thomas Petazzoni <thomas petazzoni free-electrons com>

 dbind/Makefile.am |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/dbind/Makefile.am b/dbind/Makefile.am
index f037e56..79a6509 100644
--- a/dbind/Makefile.am
+++ b/dbind/Makefile.am
@@ -1,3 +1,6 @@
+# We build atspi-gmain.c which is located in a different directory.
+AUTOMAKE_OPTIONS = subdir-objects
+
 noinst_LTLIBRARIES = libdbind.la
 
 AM_CPPFLAGS = \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]