summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2016-04-14 15:35:34 -0700
committerCedric BAIL <cedric@osg.samsung.com>2016-04-14 16:07:32 -0700
commit561b14f0c7b4e2ef68498b5f437a55d0299bb789 (patch)
treebf862e86ccb4e2411c5e79c00935bf654cd87ea6
parent055b98a1d406f3055e2508e1ced494eafece0cd7 (diff)
edje: make it possible to build the library alone.
-rw-r--r--configure.ac1
-rw-r--r--src/lib/edje/Makefile.am82
2 files changed, 83 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index a2f1bfd431..62eb45690f 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/edje/Makefile
5492src/benchmarks/eina/Makefile 5493src/benchmarks/eina/Makefile
5493src/benchmarks/eo/Makefile 5494src/benchmarks/eo/Makefile
5494src/benchmarks/evas/Makefile 5495src/benchmarks/evas/Makefile
diff --git a/src/lib/edje/Makefile.am b/src/lib/edje/Makefile.am
new file mode 100644
index 0000000000..54d6a33a1d
--- /dev/null
+++ b/src/lib/edje/Makefile.am
@@ -0,0 +1,82 @@
1EOLIAN_FLAGS = -I$(srcdir)
2
3include ../../Makefile_Eolian_Subbuild_Helper.am
4
5### Library
6
7edje_eolian_files = \
8 edje_object.eo \
9 edje_edit.eo
10
11edje_eolian_type_files = \
12 edje_types.eot
13
14edje_eolian_c = $(edje_eolian_files:%.eo=%.eo.c)
15edje_eolian_h = $(edje_eolian_files:%.eo=%.eo.h) \
16 $(edje_eolian_files:%.eo=%.eo.legacy.h) \
17 $(edje_eolian_type_files:%.eot=%.eot.h)
18
19BUILT_SOURCES = $(edje_eolian_c) \
20 $(edje_eolian_h)
21
22edjeeolianfilesdir = $(datadir)/eolian/include/edje-@VMAJ@
23edjeeolianfiles_DATA = $(edje_eolian_files) \
24 $(edje_eolian_type_files)
25
26lib_LTLIBRARIES = libedje.la
27
28EDJE_COMMON_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
29-I$(top_builddir) \
30-I$(top_srcdir)/src/lib/edje \
31-I$(top_builddir)/src/lib/edje \
32-DPACKAGE_BIN_DIR=\"$(bindir)\" \
33-DPACKAGE_LIB_DIR=\"$(libdir)\" \
34-DPACKAGE_DATA_DIR=\"$(datadir)/edje\" \
35-DPACKAGE_BUILD_DIR=\"$(abs_top_builddir)\" \
36-DPACKAGE_SRC_DIR=\"$(abs_top_srcdir)\" \
37@EDJE_CFLAGS@
38
39installed_edjemainheadersdir = $(includedir)/edje-@VMAJ@
40dist_installed_edjemainheaders_DATA = \
41Edje.h \
42Edje_Common.h \
43Edje_Eo.h \
44Edje_Legacy.h \
45Edje_Edit.h
46
47nodist_installed_edjemainheaders_DATA = $(edje_eolian_h)
48
49libedje_la_SOURCES = \
50edje_private.h \
51edje_convert.h \
52edje_box_layout.c \
53edje_cache.c \
54edje_calc.c \
55edje_callbacks.c \
56edje_data.c \
57edje_edit.c \
58edje_embryo.c \
59edje_entry.c \
60edje_external.c \
61edje_load.c \
62edje_lua.c \
63edje_lua2.c \
64edje_lua_script_only.c \
65edje_main.c \
66edje_match.c \
67edje_message_queue.c \
68edje_misc.c \
69edje_module.c \
70edje_multisense.c \
71edje_program.c \
72edje_smart.c \
73edje_text.c \
74edje_textblock_styles.c \
75edje_util.c \
76edje_var.c \
77edje_signal.c
78
79libedje_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl $(EDJE_COMMON_CPPFLAGS)
80libedje_la_LIBADD = @EDJE_SUBBUILD_LIBS@
81libedje_la_DEPENDENCIES = @EDJE_SUBBUILD_INTERNAL_LIBS@
82libedje_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@