diff --git a/src/bin/e_fm/.gitignore b/src/bin/e_fm/.gitignore new file mode 100644 index 000000000..d98d93431 --- /dev/null +++ b/src/bin/e_fm/.gitignore @@ -0,0 +1,4 @@ +/e_fm_shared_codec.c +/e_fm_shared_device.c +/e_user.c + diff --git a/src/bin/e_fm/Makefile.am b/src/bin/e_fm/Makefile.am index 2a9a9ce6c..dba628a97 100644 --- a/src/bin/e_fm/Makefile.am +++ b/src/bin/e_fm/Makefile.am @@ -34,13 +34,17 @@ if HAVE_EEZE_MOUNT AM_CFLAGS += @EEZE_CFLAGS@ @EET_CFLAGS@ LIBS += @EEZE_LIBS@ @EET_LIBS@ eeze_s = \ -../e_prefix.c \ 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 \ @@ -48,9 +52,11 @@ e_fm_main.c \ e_fm_ipc.c \ $(udisks_s) \ $(eeze_s) \ -../e_fm_shared_codec.c \ -../e_fm_shared_device.c \ -../e_user.c \ -../e_sha1.c +$(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@