cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=968dcaae343bc93a522ea8750858a98a5d534001

commit 968dcaae343bc93a522ea8750858a98a5d534001
Author: Cedric BAIL <ced...@osg.samsung.com>
Date:   Thu Apr 14 16:18:19 2016 -0700

    eio: make it possible to build the library alone.
---
 configure.ac            |  1 +
 src/lib/eio/Makefile.am | 61 +++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+)

diff --git a/configure.ac b/configure.ac
index a2a424a..0f5f14b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5491,6 +5491,7 @@ src/lib/eo/Makefile
 src/lib/efl/Makefile
 src/lib/ector/Makefile
 src/lib/ecore/Makefile
+src/lib/eio/Makefile
 src/lib/edje/Makefile
 src/benchmarks/eina/Makefile
 src/benchmarks/eo/Makefile
diff --git a/src/lib/eio/Makefile.am b/src/lib/eio/Makefile.am
new file mode 100644
index 0000000..489161c
--- /dev/null
+++ b/src/lib/eio/Makefile.am
@@ -0,0 +1,61 @@
+EOLIAN_FLAGS = -I$(srcdir)
+
+include ../../Makefile_Eolian_Subbuild_Helper.am
+
+### Library
+
+EIO_EOS = eio_model.eo
+
+EIO_EOS_H =  $(EIO_EOS:%.eo=%.eo.h)
+EIO_EOS_C =  $(EIO_EOS:%.eo=%.eo.c)
+
+BUILT_SOURCES = $(EIO_EOS_C) $(EIO_EOS_H)
+
+eioeolianfilesdir = $(datadir)/eolian/include/eio-@VMAJ@
+eioeolianfiles_DATA = $(EIO_EOS)
+
+lib_LTLIBRARIES = libeio.la
+
+installed_eiomainheadersdir = $(includedir)/eio-@VMAJ@
+
+dist_installed_eiomainheaders_DATA = Eio.h eio_inline_helper.x
+nodist_installed_eiomainheaders_DATA = $(EIO_EOS_H)
+
+libeio_la_SOURCES = \
+eio_dir.c \
+eio_eet.c \
+eio_file.c \
+eio_main.c \
+eio_map.c \
+eio_monitor.c \
+eio_monitor_poll.c \
+eio_single.c \
+eio_xattr.c \
+eio_model.c \
+eio_model_private.h \
+eio_private.h \
+eio_model.h
+
+if HAVE_INOTIFY
+libeio_la_SOURCES += eio_monitor_inotify.c
+else
+if HAVE_NOTIFY_WIN32
+libeio_la_SOURCES += eio_monitor_win32.c
+else
+if HAVE_NOTIFY_COCOA
+libeio_la_SOURCES += eio_monitor_cocoa.c
+else
+if HAVE_NOTIFY_KEVENT
+libeio_la_SOURCES += eio_monitor_kevent.c
+endif
+endif
+endif
+endif
+
+libeio_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl @EIO_CFLAGS@
+libeio_la_LIBADD = @EIO_SUBBUILD_LIBS@
+libeio_la_DEPENDENCIES = @EIO_SUBBUILD_INTERNAL_LIBS@
+libeio_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@
+if HAVE_NOTIFY_COCOA
+libeio_la_LDFLAGS += -framework CoreServices
+endif

-- 


Reply via email to