summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2016-04-14 16:18:19 -0700
committerCedric BAIL <cedric@osg.samsung.com>2016-04-14 16:18:19 -0700
commit968dcaae343bc93a522ea8750858a98a5d534001 (patch)
treea0b223b9615970fad0b5553570263833100a4469
parent847fb931c290f1d9a5779352f065955b617ec1fe (diff)
eio: make it possible to build the library alone.
-rw-r--r--configure.ac1
-rw-r--r--src/lib/eio/Makefile.am61
2 files changed, 62 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index a2a424a573..0f5f14b144 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5491,6 +5491,7 @@ src/lib/eo/Makefile
5491src/lib/efl/Makefile 5491src/lib/efl/Makefile
5492src/lib/ector/Makefile 5492src/lib/ector/Makefile
5493src/lib/ecore/Makefile 5493src/lib/ecore/Makefile
5494src/lib/eio/Makefile
5494src/lib/edje/Makefile 5495src/lib/edje/Makefile
5495src/benchmarks/eina/Makefile 5496src/benchmarks/eina/Makefile
5496src/benchmarks/eo/Makefile 5497src/benchmarks/eo/Makefile
diff --git a/src/lib/eio/Makefile.am b/src/lib/eio/Makefile.am
new file mode 100644
index 0000000000..489161c55a
--- /dev/null
+++ b/src/lib/eio/Makefile.am
@@ -0,0 +1,61 @@
1EOLIAN_FLAGS = -I$(srcdir)
2
3include ../../Makefile_Eolian_Subbuild_Helper.am
4
5### Library
6
7EIO_EOS = eio_model.eo
8
9EIO_EOS_H = $(EIO_EOS:%.eo=%.eo.h)
10EIO_EOS_C = $(EIO_EOS:%.eo=%.eo.c)
11
12BUILT_SOURCES = $(EIO_EOS_C) $(EIO_EOS_H)
13
14eioeolianfilesdir = $(datadir)/eolian/include/eio-@VMAJ@
15eioeolianfiles_DATA = $(EIO_EOS)
16
17lib_LTLIBRARIES = libeio.la
18
19installed_eiomainheadersdir = $(includedir)/eio-@VMAJ@
20
21dist_installed_eiomainheaders_DATA = Eio.h eio_inline_helper.x
22nodist_installed_eiomainheaders_DATA = $(EIO_EOS_H)
23
24libeio_la_SOURCES = \
25eio_dir.c \
26eio_eet.c \
27eio_file.c \
28eio_main.c \
29eio_map.c \
30eio_monitor.c \
31eio_monitor_poll.c \
32eio_single.c \
33eio_xattr.c \
34eio_model.c \
35eio_model_private.h \
36eio_private.h \
37eio_model.h
38
39if HAVE_INOTIFY
40libeio_la_SOURCES += eio_monitor_inotify.c
41else
42if HAVE_NOTIFY_WIN32
43libeio_la_SOURCES += eio_monitor_win32.c
44else
45if HAVE_NOTIFY_COCOA
46libeio_la_SOURCES += eio_monitor_cocoa.c
47else
48if HAVE_NOTIFY_KEVENT
49libeio_la_SOURCES += eio_monitor_kevent.c
50endif
51endif
52endif
53endif
54
55libeio_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl @EIO_CFLAGS@
56libeio_la_LIBADD = @EIO_SUBBUILD_LIBS@
57libeio_la_DEPENDENCIES = @EIO_SUBBUILD_INTERNAL_LIBS@
58libeio_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@
59if HAVE_NOTIFY_COCOA
60libeio_la_LDFLAGS += -framework CoreServices
61endif