diff options
author | Cedric BAIL <cedric@osg.samsung.com> | 2016-04-14 16:18:19 -0700 |
---|---|---|
committer | Cedric BAIL <cedric@osg.samsung.com> | 2016-04-14 16:18:19 -0700 |
commit | 968dcaae343bc93a522ea8750858a98a5d534001 (patch) | |
tree | a0b223b9615970fad0b5553570263833100a4469 /src/lib/eio | |
parent | 847fb931c290f1d9a5779352f065955b617ec1fe (diff) | |
download | efl-968dcaae343bc93a522ea8750858a98a5d534001.tar.gz |
eio: make it possible to build the library alone.
Diffstat (limited to 'src/lib/eio')
-rw-r--r-- | src/lib/eio/Makefile.am | 61 |
1 files changed, 61 insertions, 0 deletions
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 @@ +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 |