summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2016-04-13 16:07:33 -0700
committerCedric BAIL <cedric@osg.samsung.com>2016-04-14 15:52:50 -0700
commit41f68ac0d34f7379df1fa279b141232848dc834d (patch)
treee74bda7b4e01dcdc778f105fbcc6151f90ce9e40
parent4c921204575a8bc96d9449810ab963d0461c6152 (diff)
eina: make it possible to build the library alone.
-rw-r--r--configure.ac1
-rw-r--r--src/lib/eina/Makefile.am205
2 files changed, 206 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 63daaf68d8..5ff72cadbe 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5484,6 +5484,7 @@ doc/previews/Makefile
5484doc/widgets/Makefile 5484doc/widgets/Makefile
5485src/Makefile 5485src/Makefile
5486src/lib/evil/Makefile 5486src/lib/evil/Makefile
5487src/lib/eina/Makefile
5487src/benchmarks/eina/Makefile 5488src/benchmarks/eina/Makefile
5488src/benchmarks/eo/Makefile 5489src/benchmarks/eo/Makefile
5489src/benchmarks/evas/Makefile 5490src/benchmarks/evas/Makefile
diff --git a/src/lib/eina/Makefile.am b/src/lib/eina/Makefile.am
new file mode 100644
index 0000000000..d247179595
--- /dev/null
+++ b/src/lib/eina/Makefile.am
@@ -0,0 +1,205 @@
1
2### Library
3
4lib_LTLIBRARIES = libeina.la
5
6installed_einamainheadersdir = $(includedir)/eina-@VMAJ@
7dist_installed_einamainheaders_DATA = \
8Eina.h \
9eina_config.h
10
11installed_einaheadersdir = $(includedir)/eina-@VMAJ@/eina
12dist_installed_einaheaders_DATA = \
13eina_safety_checks.h \
14eina_error.h \
15eina_log.h \
16eina_inline_log.x \
17eina_fp.h \
18eina_inline_f32p32.x \
19eina_inline_f16p16.x \
20eina_inline_f8p24.x \
21eina_inline_fp.x \
22eina_hash.h \
23eina_inline_hash.x \
24eina_lalloc.h \
25eina_clist.h \
26eina_inline_clist.x \
27eina_inarray.h \
28eina_inlist.h \
29eina_inline_inlist.x \
30eina_list.h \
31eina_file.h \
32eina_inline_file.x \
33eina_mempool.h \
34eina_module.h \
35eina_rectangle.h \
36eina_types.h \
37eina_array.h \
38eina_counter.h \
39eina_inline_array.x \
40eina_magic.h \
41eina_stringshare.h \
42eina_binshare.h \
43eina_binbuf.h \
44eina_ustringshare.h \
45eina_inline_stringshare.x \
46eina_inline_ustringshare.x \
47eina_inline_list.x \
48eina_accessor.h \
49eina_convert.h \
50eina_rbtree.h \
51eina_benchmark.h \
52eina_inline_rbtree.x \
53eina_inline_mempool.x \
54eina_inline_rectangle.x \
55eina_inline_trash.x \
56eina_thread.h \
57eina_trash.h \
58eina_iterator.h \
59eina_main.h \
60eina_cpu.h \
61eina_inline_cpu.x \
62eina_sched.h \
63eina_tiler.h \
64eina_hamster.h \
65eina_matrixsparse.h \
66eina_inline_tiler.x \
67eina_str.h \
68eina_inline_str.x \
69eina_strbuf.h \
70eina_ustrbuf.h \
71eina_unicode.h \
72eina_quadtree.h \
73eina_simple_xml_parser.h \
74eina_lock.h \
75eina_prefix.h \
76eina_refcount.h \
77eina_mmap.h \
78eina_xattr.h \
79eina_value.h \
80eina_inline_value.x \
81eina_value_util.h \
82eina_inline_value_util.x \
83eina_inline_lock_barrier.x \
84eina_inline_lock_posix.x \
85eina_tmpstr.h \
86eina_alloca.h \
87eina_cow.h \
88eina_inline_unicode.x \
89eina_thread_queue.h \
90eina_matrix.h \
91eina_quad.h \
92eina_crc.h \
93eina_inline_crc.x \
94eina_evlog.h \
95eina_util.h \
96eina_quaternion.h \
97eina_vector.h \
98eina_inline_vector.x \
99eina_promise.h \
100eina_bezier.h
101
102libeina_la_SOURCES = \
103eina_abi.c \
104eina_accessor.c \
105eina_array.c \
106eina_benchmark.c \
107eina_binbuf.c \
108eina_binshare.c \
109eina_convert.c \
110eina_counter.c \
111eina_cow.c \
112eina_cpu.c \
113eina_crc.c \
114eina_debug.c \
115eina_debug_bt.c \
116eina_debug_bt_file.c \
117eina_debug_chunk.c \
118eina_debug_monitor.c \
119eina_debug_proto.c \
120eina_debug_thread.c \
121eina_error.c \
122eina_evlog.c \
123eina_file_common.h \
124eina_file_common.c \
125eina_fp.c \
126eina_hamster.c \
127eina_hash.c \
128eina_inarray.c \
129eina_inlist.c \
130eina_iterator.c \
131eina_lalloc.c \
132eina_list.c \
133eina_log.c \
134eina_magic.c \
135eina_main.c \
136eina_matrix.c \
137eina_matrixsparse.c \
138eina_mempool.c \
139eina_mmap.c \
140eina_module.c \
141eina_prefix.c \
142eina_quad.c \
143eina_quadtree.c \
144eina_rbtree.c \
145eina_rectangle.c \
146eina_safety_checks.c \
147eina_sched.c \
148eina_share_common.c \
149eina_simple_xml_parser.c \
150eina_str.c \
151eina_strbuf.c \
152eina_strbuf_common.c \
153eina_stringshare.c \
154eina_thread.c \
155eina_thread_queue.c \
156eina_tiler.c \
157eina_tmpstr.c \
158eina_unicode.c \
159eina_ustrbuf.c \
160eina_ustringshare.c \
161eina_util.c \
162eina_value.c \
163eina_value_util.c \
164eina_xattr.c \
165eina_debug.h \
166eina_private.h \
167eina_share_common.h \
168eina_strbuf_common.h \
169eina_quaternion.c \
170eina_promise.c \
171eina_bezier.c
172
173if HAVE_WIN32
174libeina_la_SOURCES += eina_file_win32.c
175else
176libeina_la_SOURCES += eina_file.c
177endif
178
179EINA_MODULE_COMMON_CFLAGS = \
180@EINA_CFLAGS@ \
181@VALGRIND_CFLAGS@
182
183if EINA_STATIC_BUILD_CHAINED_POOL
184libeina_la_SOURCES += ../../modules/eina/mp/chained_pool/eina_chained_mempool.c
185endif
186
187if EINA_STATIC_BUILD_ONE_BIG
188libeina_la_SOURCES += ../../modules/eina/mp/one_big/eina_one_big.c
189endif
190
191if EINA_STATIC_BUILD_PASS_THROUGH
192libeina_la_SOURCES += ../../modules/eina/mp/pass_through/eina_pass_through.c
193endif
194
195libeina_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
196@EINA_CFLAGS@ \
197@UNWIND_CFLAGS@ \
198-DPACKAGE_BIN_DIR=\"$(bindir)\" \
199-DPACKAGE_LIB_DIR=\"$(libdir)\" \
200-DPACKAGE_DATA_DIR=\"$(datadir)/eina\" \
201@VALGRIND_CFLAGS@
202
203libeina_la_LIBADD = @EINA_SUBBUILD_LIBS@ @UNWIND_LIBS@
204libeina_la_DEPENDENCIES = @EINA_SUBBUILD_INTERNAL_LIBS@
205libeina_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@