diff options
author | Gustavo Sverzut Barbieri <barbieri@gmail.com> | 2012-12-06 13:38:34 +0000 |
---|---|---|
committer | Gustavo Sverzut Barbieri <barbieri@gmail.com> | 2012-12-06 13:38:34 +0000 |
commit | 62bb4646c9fee3f535c3810a7cdba114043d14d4 (patch) | |
tree | fad3ac78c2163cb5ebebb916c5ca52e3ed5f4ef0 /src/Makefile_Ecore_File.am | |
parent | 6a5eaacc6ada22808ec8515ef2b414883f4f59fe (diff) |
efl/ecore_file: refactor to be more like eio in providing backends.
instead of the previous mess, just define the functions with common
names and call the backend that was compiled in, similar to what eio
does.
also do not be silent on errors, use eina_safety_checks to issue warnings.
SVN revision: 80360
Diffstat (limited to '')
-rw-r--r-- | src/Makefile_Ecore_File.am | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/src/Makefile_Ecore_File.am b/src/Makefile_Ecore_File.am index 2172245342..4f0f150ba1 100644 --- a/src/Makefile_Ecore_File.am +++ b/src/Makefile_Ecore_File.am | |||
@@ -11,12 +11,22 @@ lib_ecore_file_libecore_file_la_SOURCES = \ | |||
11 | lib/ecore_file/ecore_file.c \ | 11 | lib/ecore_file/ecore_file.c \ |
12 | lib/ecore_file/ecore_file_download.c \ | 12 | lib/ecore_file/ecore_file_download.c \ |
13 | lib/ecore_file/ecore_file_monitor.c \ | 13 | lib/ecore_file/ecore_file_monitor.c \ |
14 | lib/ecore_file/ecore_file_monitor_inotify.c \ | ||
15 | lib/ecore_file/ecore_file_monitor_poll.c \ | ||
16 | lib/ecore_file/ecore_file_monitor_win32.c \ | ||
17 | lib/ecore_file/ecore_file_path.c \ | 14 | lib/ecore_file/ecore_file_path.c \ |
18 | lib/ecore_file/ecore_file_private.h | 15 | lib/ecore_file/ecore_file_private.h |
19 | 16 | ||
17 | if HAVE_INOTIFY | ||
18 | lib_ecore_file_libecore_file_la_SOURCES += \ | ||
19 | lib/ecore_file/ecore_file_monitor_inotify.c | ||
20 | else | ||
21 | if HAVE_NOTIFY_WIN32 | ||
22 | lib_ecore_file_libecore_file_la_SOURCES += \ | ||
23 | lib/ecore_file/ecore_file_monitor_win32.c | ||
24 | else | ||
25 | lib_ecore_file_libecore_file_la_SOURCES += \ | ||
26 | lib/ecore_file/ecore_file_monitor_poll.c | ||
27 | endif | ||
28 | endif | ||
29 | |||
20 | lib_ecore_file_libecore_file_la_CPPFLAGS = \ | 30 | lib_ecore_file_libecore_file_la_CPPFLAGS = \ |
21 | -I$(top_srcdir)/src/lib/eina \ | 31 | -I$(top_srcdir)/src/lib/eina \ |
22 | -I$(top_srcdir)/src/lib/eo \ | 32 | -I$(top_srcdir)/src/lib/eo \ |