enlightenment/src/bin/e_fm/Makefile.am

63 lines
1.2 KiB
Makefile
Raw Normal View History

MAINTAINERCLEANFILES = Makefile.in
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
2013-10-15 06:46:09 -07:00
AUTOMAKE_OPTIONS = subdir-objects
AM_CFLAGS = \
-I$(top_builddir) \
-I$(top_builddir)/src/bin \
-I$(top_srcdir) \
-I$(top_srcdir)/src/bin \
@e_cflags@ \
@cf_cflags@ \
@VALGRIND_CFLAGS@ \
@EDJE_DEF@ \
-DPACKAGE_BIN_DIR=\"@PACKAGE_BIN_DIR@\" \
-DPACKAGE_LIB_DIR=\"@PACKAGE_LIB_DIR@\" \
-DPACKAGE_DATA_DIR=\"@PACKAGE_DATA_DIR@\" \
-DLOCALE_DIR=\"@LOCALE_DIR@\" \
-DPACKAGE_SYSCONF_DIR=\"@PACKAGE_SYSCONF_DIR@\"
internal_bindir = $(libdir)/enlightenment/utils
internal_bin_PROGRAMS = \
enlightenment_fm
if HAVE_UDISKS_MOUNT
udisks_s = \
e_fm_main_udisks.h \
2013-06-20 08:36:33 -07:00
e_fm_main_udisks.c \
e_fm_main_udisks2.h \
e_fm_main_udisks2.c
else
udisks_s =
endif
if HAVE_EEZE_MOUNT
AM_CFLAGS += @EEZE_CFLAGS@ @EET_CFLAGS@
LIBS += @EEZE_LIBS@ @EET_LIBS@
eeze_s = \
e_fm_main_eeze.h \
e_fm_main_eeze.c
else
eeze_s =
endif
shared_sources = \
e_fm_shared_codec.c \
e_fm_shared_device.c \
e_user.c
enlightenment_fm_SOURCES = \
e_fm_main.h \
e_fm_ipc.h \
e_fm_main.c \
e_fm_ipc.c \
$(udisks_s) \
$(eeze_s) \
$(shared_sources)
$(shared_sources): %.c: $(abs_top_srcdir)/src/bin/%.c
$(AM_V_GEN) $(LN_S) -f $< $@
CLEANFILES = $(shared_sources)
enlightenment_fm_LDADD = @E_FM_LIBS@