aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile_Eeze.am
diff options
context:
space:
mode:
authorCedric Bail <cedric.bail@free.fr>2013-03-10 14:35:41 +0900
committerCedric Bail <cedric.bail@free.fr>2013-03-10 15:58:29 +0900
commit12ceb717ea64105bbebfb45737fa8448ed721f83 (patch)
treec7356021c2f15d135313662339fd20d8f3b51beb /src/Makefile_Eeze.am
parentevas evas_focus.c: simplified the source. (diff)
downloadefl-12ceb717ea64105bbebfb45737fa8448ed721f83.tar.gz
eeze: add a dummy implementation for when libmount is not available.
This implementation doesn't replace libmount, it just provide an empty piece of code that will always fail to do anything. It does simplify Eeze building and use by third party by always providing the API.
Diffstat (limited to 'src/Makefile_Eeze.am')
-rw-r--r--src/Makefile_Eeze.am13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/Makefile_Eeze.am b/src/Makefile_Eeze.am
index 49df4a565e..b4755b9b1f 100644
--- a/src/Makefile_Eeze.am
+++ b/src/Makefile_Eeze.am
@@ -9,7 +9,8 @@ installed_eezemainheadersdir = $(includedir)/eeze-@VMAJ@
dist_installed_eezemainheaders_DATA = \
lib/eeze/Eeze.h \
lib/eeze/Eeze_Net.h \
-lib/eeze/Eeze_Sensor.h
+lib/eeze/Eeze_Sensor.h \
+lib/eeze/Eeze_Disk.h
# libeeze.la
lib_eeze_libeeze_la_SOURCES = \
@@ -23,15 +24,13 @@ lib/eeze/eeze_udev_private.c \
lib/eeze/eeze_udev_private.h \
lib/eeze/eeze_udev_syspath.c \
lib/eeze/eeze_udev_walk.c \
-lib/eeze/eeze_udev_watch.c
-
-if HAVE_EEZE_MOUNT
-lib_eeze_libeeze_la_SOURCES += \
+lib/eeze/eeze_udev_watch.c \
lib/eeze/eeze_disk.c \
lib/eeze/eeze_disk_udev.c \
lib/eeze/eeze_disk_mount.c \
lib/eeze/eeze_disk_private.h
-dist_installed_eezemainheaders_DATA += lib/eeze/Eeze_Disk.h
+
+if HAVE_EEZE_MOUNT
if EEZE_LIBMOUNT_BEFORE_219
lib_eeze_libeeze_la_SOURCES += lib/eeze/eeze_disk_libmount_old.c
else
@@ -41,6 +40,8 @@ else
lib_eeze_libeeze_la_SOURCES += lib/eeze/eeze_disk_libmount.c
endif
endif
+else
+lib_eeze_libeeze_la_SOURCES += lib/eeze/eeze_disk_dummy.c
endif
lib_eeze_libeeze_la_CPPFLAGS = \