summaryrefslogtreecommitdiff
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
parentae08c6e721899d44c0202abe772d600078e908b9 (diff)
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 49df4a5..b4755b9 100644
--- a/src/Makefile_Eeze.am
+++ b/src/Makefile_Eeze.am
@@ -9,7 +9,8 @@ installed_eezemainheadersdir = $(includedir)/eeze-@VMAJ@
9dist_installed_eezemainheaders_DATA = \ 9dist_installed_eezemainheaders_DATA = \
10lib/eeze/Eeze.h \ 10lib/eeze/Eeze.h \
11lib/eeze/Eeze_Net.h \ 11lib/eeze/Eeze_Net.h \
12lib/eeze/Eeze_Sensor.h 12lib/eeze/Eeze_Sensor.h \
13lib/eeze/Eeze_Disk.h
13 14
14# libeeze.la 15# libeeze.la
15lib_eeze_libeeze_la_SOURCES = \ 16lib_eeze_libeeze_la_SOURCES = \
@@ -23,15 +24,13 @@ lib/eeze/eeze_udev_private.c \
23lib/eeze/eeze_udev_private.h \ 24lib/eeze/eeze_udev_private.h \
24lib/eeze/eeze_udev_syspath.c \ 25lib/eeze/eeze_udev_syspath.c \
25lib/eeze/eeze_udev_walk.c \ 26lib/eeze/eeze_udev_walk.c \
26lib/eeze/eeze_udev_watch.c 27lib/eeze/eeze_udev_watch.c \
27
28if HAVE_EEZE_MOUNT
29lib_eeze_libeeze_la_SOURCES += \
30lib/eeze/eeze_disk.c \ 28lib/eeze/eeze_disk.c \
31lib/eeze/eeze_disk_udev.c \ 29lib/eeze/eeze_disk_udev.c \
32lib/eeze/eeze_disk_mount.c \ 30lib/eeze/eeze_disk_mount.c \
33lib/eeze/eeze_disk_private.h 31lib/eeze/eeze_disk_private.h
34dist_installed_eezemainheaders_DATA += lib/eeze/Eeze_Disk.h 32
33if HAVE_EEZE_MOUNT
35if EEZE_LIBMOUNT_BEFORE_219 34if EEZE_LIBMOUNT_BEFORE_219
36lib_eeze_libeeze_la_SOURCES += lib/eeze/eeze_disk_libmount_old.c 35lib_eeze_libeeze_la_SOURCES += lib/eeze/eeze_disk_libmount_old.c
37else 36else
@@ -41,6 +40,8 @@ else
41lib_eeze_libeeze_la_SOURCES += lib/eeze/eeze_disk_libmount.c 40lib_eeze_libeeze_la_SOURCES += lib/eeze/eeze_disk_libmount.c
42endif 41endif
43endif 42endif
43else
44lib_eeze_libeeze_la_SOURCES += lib/eeze/eeze_disk_dummy.c
44endif 45endif
45 46
46lib_eeze_libeeze_la_CPPFLAGS = \ 47lib_eeze_libeeze_la_CPPFLAGS = \