From c8a624cc85630796c245852fc7c60fc2d5874d37 Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Tue, 15 Oct 2013 10:46:09 -0300 Subject: [PATCH] build: Enable subdir-objects option in e_fm Sadly we can't globally enable subdir-objects due to gettext choking on it so enable at least where it's necessary. Remove the following warning from build: src/bin/e_fm/Makefile.am:40: warning: source file '../e_prefix.c' is in a subdirectory, src/bin/e_fm/Makefile.am:40: 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. src/bin/e_fm/Makefile.am:43: warning: source file '../e_fm_shared_codec.c' is in a subdirectory, src/bin/e_fm/Makefile.am:43: but option 'subdir-objects' is disabled src/bin/e_fm/Makefile.am:43: warning: source file '../e_fm_shared_device.c' is in a subdirectory, src/bin/e_fm/Makefile.am:43: but option 'subdir-objects' is disabled src/bin/e_fm/Makefile.am:43: warning: source file '../e_user.c' is in a subdirectory, src/bin/e_fm/Makefile.am:43: but option 'subdir-objects' is disabled src/bin/e_fm/Makefile.am:43: warning: source file '../e_sha1.c' is in a subdirectory, src/bin/e_fm/Makefile.am:43: but option 'subdir-objects' is disabled --- src/bin/e_fm/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/e_fm/Makefile.am b/src/bin/e_fm/Makefile.am index 083839c73..2a9a9ce6c 100644 --- a/src/bin/e_fm/Makefile.am +++ b/src/bin/e_fm/Makefile.am @@ -1,4 +1,5 @@ MAINTAINERCLEANFILES = Makefile.in +AUTOMAKE_OPTIONS = subdir-objects AM_CFLAGS = \ -I$(top_builddir) \