[libdvbpsi-devel] [PATCH] src/Makefile.am: fix automake 1.14 "option 'subdir-objects' is disabled" warning
Michael Ira Krufky
mkrufky at linuxtv.org
Sun Jan 25 03:03:26 CET 2015
Fix the following warning when using automake-1.14
automake-1.14: warning: possible forward-incompatibility.
automake-1.14: At least a source file is in a subdirectory, but the
'subdir-objects'
automake-1.14: automake option hasn't been enabled. For now, the
corresponding output
automake-1.14: object file(s) will be placed in the top-level
directory. However,
automake-1.14: this behaviour will change in future Automake versions: they will
automake-1.14: unconditionally cause object files to be placed in the
same subdirectory
automake-1.14: of the corresponding sources.
automake-1.14: You are advised to start using 'subdir-objects' option
throughout your
automake-1.14: project, to avoid future incompatibilities.
src/Makefile.am:130: warning: source file 'tables/???.c' is in a subdirectory,
src/Makefile.am:130: but option 'subdir-objects' is disabled
src/Makefile.am:130: warning: source file 'tables/atsc_???.c' is in a
subdirectory,
src/Makefile.am:130: but option 'subdir-objects' is disabled
src/Makefile.am:77: warning: source file 'descriptors/dr_??.c' is in a
subdirectory,
src/Makefile.am:77: but option 'subdir-objects' is disabled
Signed-off-by: Michael Ira Krufky <mkrufky at linuxtv.org>
---
src/Makefile.am | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/Makefile.am b/src/Makefile.am
index 43011bc..d29b022 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,5 +1,7 @@
## Process this file with automake to produce Makefile.in
+AUTOMAKE_OPTIONS = subdir-objects
+
pkgincludedir = $(includedir)/dvbpsi
lib_LTLIBRARIES = libdvbpsi.la
More information about the libdvbpsi-devel
mailing list