Following compile time warning was observed:
[ 23s] Makefile.am:16: warning: source file 'src/network-wifi-intf.c' is in a subdirectory,
[ 23s] Makefile.am:16: but option 'subdir-objects' is disabled
[ 23s] automake: warning: possible forward-incompatibility.
[ 23s] automake: At least a source file is in a subdirectory, but the 'subdir-objects'
[ 23s] automake: automake option hasn't been enabled. For now, the corresponding output
[ 23s] automake: object file(s) will be placed in the top-level directory. However,
[ 23s] automake: this behaviour will change in future Automake versions: they will
[ 23s] automake: unconditionally cause object files to be placed in the same subdirectory
[ 23s] automake: of the corresponding sources.
[ 23s] automake: You are advised to start using 'subdir-objects' option throughout your
[ 23s] automake: project, to avoid future incompatibilities.
This patch adds subdir-objects option to Automake.
Change-Id: I49229f025fbbb2db3e942dd792073924afab9a54
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
AC_PREREQ(2.61)
AC_INIT(FULL-PACKAGE-NAME, VERSION, BUG-REPORT-ADDRESS)
-AM_INIT_AUTOMAKE(src, 1.0)
+AM_INIT_AUTOMAKE([foreign subdir-objects color-tests])
AC_CONFIG_HEADER([config.h])
AC_CONFIG_MACRO_DIR([m4])