aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile_Ecore_File.am
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2012-12-06 13:38:34 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2012-12-06 13:38:34 +0000
commit62bb4646c9fee3f535c3810a7cdba114043d14d4 (patch)
treefad3ac78c2163cb5ebebb916c5ca52e3ed5f4ef0 /src/Makefile_Ecore_File.am
parentefl: common inotify checks, simplified. (diff)
downloadefl-62bb4646c9fee3f535c3810a7cdba114043d14d4.tar.gz
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 'src/Makefile_Ecore_File.am')
-rw-r--r--src/Makefile_Ecore_File.am16
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 = \
lib/ecore_file/ecore_file.c \
lib/ecore_file/ecore_file_download.c \
lib/ecore_file/ecore_file_monitor.c \
-lib/ecore_file/ecore_file_monitor_inotify.c \
-lib/ecore_file/ecore_file_monitor_poll.c \
-lib/ecore_file/ecore_file_monitor_win32.c \
lib/ecore_file/ecore_file_path.c \
lib/ecore_file/ecore_file_private.h
+if HAVE_INOTIFY
+lib_ecore_file_libecore_file_la_SOURCES += \
+lib/ecore_file/ecore_file_monitor_inotify.c
+else
+if HAVE_NOTIFY_WIN32
+lib_ecore_file_libecore_file_la_SOURCES += \
+lib/ecore_file/ecore_file_monitor_win32.c
+else
+lib_ecore_file_libecore_file_la_SOURCES += \
+lib/ecore_file/ecore_file_monitor_poll.c
+endif
+endif
+
lib_ecore_file_libecore_file_la_CPPFLAGS = \
-I$(top_srcdir)/src/lib/eina \
-I$(top_srcdir)/src/lib/eo \