summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2016-04-14 15:38:22 -0700
committerCedric BAIL <cedric@osg.samsung.com>2016-04-14 16:07:32 -0700
commit192a966e60347615fca58b74e47ea2ff01b4dca5 (patch)
treebcf210ddc472b0c19623fb98121058249da01fb8
parent561b14f0c7b4e2ef68498b5f437a55d0299bb789 (diff)
ecore: make it possible to build the library alone.
-rw-r--r--configure.ac1
-rw-r--r--src/lib/ecore/Makefile.am87
2 files changed, 88 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 62eb45690f..5357eb703c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5489,6 +5489,7 @@ src/lib/emile/Makefile
5489src/lib/eet/Makefile 5489src/lib/eet/Makefile
5490src/lib/eo/Makefile 5490src/lib/eo/Makefile
5491src/lib/efl/Makefile 5491src/lib/efl/Makefile
5492src/lib/ecore/Makefile
5492src/lib/edje/Makefile 5493src/lib/edje/Makefile
5493src/benchmarks/eina/Makefile 5494src/benchmarks/eina/Makefile
5494src/benchmarks/eo/Makefile 5495src/benchmarks/eo/Makefile
diff --git a/src/lib/ecore/Makefile.am b/src/lib/ecore/Makefile.am
new file mode 100644
index 0000000000..73eed3e3a5
--- /dev/null
+++ b/src/lib/ecore/Makefile.am
@@ -0,0 +1,87 @@
1EOLIAN_FLAGS = -I$(srcdir)
2
3include ../../Makefile_Eolian_Subbuild_Helper.am
4
5### Library
6
7ecore_eolian_files_legacy = \
8 ecore_timer.eo \
9 ecore_poller.eo \
10 ecore_job.eo \
11 ecore_exe.eo \
12 ecore_idler.eo \
13 ecore_idle_enterer.eo \
14 ecore_idle_exiter.eo \
15 ecore_animator.eo
16
17ecore_eolian_files = \
18 $(ecore_eolian_files_legacy) \
19 ecore_mainloop.eo \
20 ecore_parent.eo
21
22ecore_eolian_type_files = \
23 ecore_types.eot
24
25ecore_eolian_c = $(ecore_eolian_files:%.eo=%.eo.c)
26ecore_eolian_h = $(ecore_eolian_files:%.eo=%.eo.h) \
27 $(ecore_eolian_files_legacy:%.eo=%.eo.legacy.h) \
28 $(ecore_eolian_type_files:%.eot=%.eot.h)
29
30BUILT_SOURCES = $(ecore_eolian_c) \
31 $(ecore_eolian_h)
32
33ecoreeolianfilesdir = $(datadir)/eolian/include/ecore-@VMAJ@
34ecoreeolianfiles_DATA = $(ecore_eolian_files) \
35 $(ecore_eolian_type_files)
36
37lib_LTLIBRARIES = libecore.la
38
39installed_ecoremainheadersdir = $(includedir)/ecore-@VMAJ@
40dist_installed_ecoremainheaders_DATA = \
41Ecore.h \
42Ecore_Common.h \
43Ecore_Legacy.h \
44Ecore_Eo.h \
45Ecore_Getopt.h
46
47nodist_installed_ecoremainheaders_DATA = $(ecore_eolian_h)
48
49libecore_la_SOURCES = \
50ecore.c \
51ecore_alloc.c \
52ecore_anim.c \
53ecore_app.c \
54ecore_events.c \
55ecore_getopt.c \
56ecore_glib.c \
57ecore_idle_enterer.c \
58ecore_idle_exiter.c \
59ecore_idler.c \
60ecore_job.c \
61ecore_main.c \
62ecore_pipe.c \
63ecore_poller.c \
64ecore_time.c \
65ecore_timer.c \
66ecore_thread.c \
67ecore_thread_promise.c \
68ecore_throttle.c \
69ecore_exe.c \
70ecore_exe_private.h \
71ecore_private.h
72
73if HAVE_WIN32
74libecore_la_SOURCES += ecore_exe_win32.c
75else
76libecore_la_SOURCES += ecore_signal.c ecore_exe_posix.c
77endif
78
79libecore_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
80-DPACKAGE_BIN_DIR=\"$(bindir)\" \
81-DPACKAGE_LIB_DIR=\"$(libdir)\" \
82-DPACKAGE_DATA_DIR=\"$(datadir)/ecore\" \
83-DPACKAGE_BUILD_DIR=\"$(abs_top_builddir)\" \
84@ECORE_CFLAGS@
85libecore_la_LIBADD = @ECORE_SUBBUILD_LIBS@ @EVIL_SUBBUILD_LIBS@
86libecore_la_DEPENDENCIES = @ECORE_SUBBUILD_INTERNAL_LIBS@
87libecore_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@