summaryrefslogtreecommitdiff
path: root/src/Makefile_Eina.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile_Eina.am')
-rw-r--r--src/Makefile_Eina.am408
1 files changed, 0 insertions, 408 deletions
diff --git a/src/Makefile_Eina.am b/src/Makefile_Eina.am
deleted file mode 100644
index 40ef392..0000000
--- a/src/Makefile_Eina.am
+++ /dev/null
@@ -1,408 +0,0 @@
1
2### Library
3
4lib_LTLIBRARIES += lib/eina/libeina.la
5
6installed_einamainheadersdir = $(includedir)/eina-@VMAJ@
7dist_installed_einamainheaders_DATA = \
8lib/eina/Eina.h \
9lib/eina/eina_config.h
10
11installed_einaheadersdir = $(includedir)/eina-@VMAJ@/eina
12dist_installed_einaheaders_DATA = \
13lib/eina/eina_promise.h \
14lib/eina/eina_safety_checks.h \
15lib/eina/eina_error.h \
16lib/eina/eina_debug.h \
17lib/eina/eina_debug_private.h \
18lib/eina/eina_log.h \
19lib/eina/eina_inline_log.x \
20lib/eina/eina_fp.h \
21lib/eina/eina_inline_f32p32.x \
22lib/eina/eina_inline_f16p16.x \
23lib/eina/eina_inline_f8p24.x \
24lib/eina/eina_inline_fp.x \
25lib/eina/eina_hash.h \
26lib/eina/eina_inline_hash.x \
27lib/eina/eina_lalloc.h \
28lib/eina/eina_clist.h \
29lib/eina/eina_inline_clist.x \
30lib/eina/eina_inarray.h \
31lib/eina/eina_inlist.h \
32lib/eina/eina_inline_inlist.x \
33lib/eina/eina_list.h \
34lib/eina/eina_file.h \
35lib/eina/eina_inline_file.x \
36lib/eina/eina_mempool.h \
37lib/eina/eina_module.h \
38lib/eina/eina_rectangle.h \
39lib/eina/eina_types.h \
40lib/eina/eina_array.h \
41lib/eina/eina_counter.h \
42lib/eina/eina_inline_array.x \
43lib/eina/eina_magic.h \
44lib/eina/eina_stringshare.h \
45lib/eina/eina_binshare.h \
46lib/eina/eina_binbuf.h \
47lib/eina/eina_ustringshare.h \
48lib/eina/eina_inline_stringshare.x \
49lib/eina/eina_inline_ustringshare.x \
50lib/eina/eina_inline_list.x \
51lib/eina/eina_accessor.h \
52lib/eina/eina_convert.h \
53lib/eina/eina_rbtree.h \
54lib/eina/eina_benchmark.h \
55lib/eina/eina_inline_rbtree.x \
56lib/eina/eina_inline_mempool.x \
57lib/eina/eina_inline_rectangle.x \
58lib/eina/eina_inline_trash.x \
59lib/eina/eina_thread.h \
60lib/eina/eina_trash.h \
61lib/eina/eina_iterator.h \
62lib/eina/eina_main.h \
63lib/eina/eina_cpu.h \
64lib/eina/eina_inline_cpu.x \
65lib/eina/eina_sched.h \
66lib/eina/eina_tiler.h \
67lib/eina/eina_hamster.h \
68lib/eina/eina_matrixsparse.h \
69lib/eina/eina_inline_tiler.x \
70lib/eina/eina_str.h \
71lib/eina/eina_inline_str.x \
72lib/eina/eina_strbuf.h \
73lib/eina/eina_ustrbuf.h \
74lib/eina/eina_unicode.h \
75lib/eina/eina_quadtree.h \
76lib/eina/eina_simple_xml_parser.h \
77lib/eina/eina_lock.h \
78lib/eina/eina_prefix.h \
79lib/eina/eina_refcount.h \
80lib/eina/eina_mmap.h \
81lib/eina/eina_xattr.h \
82lib/eina/eina_value.h \
83lib/eina/eina_inline_value.x \
84lib/eina/eina_value_util.h \
85lib/eina/eina_inline_value_util.x \
86lib/eina/eina_inline_lock_barrier.x \
87lib/eina/eina_inline_lock_posix.x \
88lib/eina/eina_tmpstr.h \
89lib/eina/eina_alloca.h \
90lib/eina/eina_cow.h \
91lib/eina/eina_inline_unicode.x \
92lib/eina/eina_thread_queue.h \
93lib/eina/eina_matrix.h \
94lib/eina/eina_quad.h \
95lib/eina/eina_crc.h \
96lib/eina/eina_inline_crc.x \
97lib/eina/eina_evlog.h \
98lib/eina/eina_util.h \
99lib/eina/eina_inline_util.x \
100lib/eina/eina_quaternion.h \
101lib/eina/eina_vector.h \
102lib/eina/eina_inline_vector.x \
103lib/eina/eina_bezier.h \
104lib/eina/eina_safepointer.h \
105lib/eina/eina_inline_safepointer.x \
106lib/eina/eina_slice.h \
107lib/eina/eina_inline_slice.x \
108lib/eina/eina_inline_modinfo.x \
109lib/eina/eina_freeq.h \
110lib/eina/eina_slstr.h \
111lib/eina/eina_vpath.h
112
113
114lib_eina_libeina_la_SOURCES = \
115lib/eina/eina_abi.c \
116lib/eina/eina_accessor.c \
117lib/eina/eina_array.c \
118lib/eina/eina_benchmark.c \
119lib/eina/eina_binbuf.c \
120lib/eina/eina_binshare.c \
121lib/eina/eina_convert.c \
122lib/eina/eina_counter.c \
123lib/eina/eina_cow.c \
124lib/eina/eina_cpu.c \
125lib/eina/eina_crc.c \
126lib/eina/eina_debug.c \
127lib/eina/eina_debug_bt.c \
128lib/eina/eina_debug_bt_file.c \
129lib/eina/eina_debug_chunk.c \
130lib/eina/eina_debug_thread.c \
131lib/eina/eina_debug_cpu.c \
132lib/eina/eina_debug_timer.c \
133lib/eina/eina_error.c \
134lib/eina/eina_evlog.c \
135lib/eina/eina_file_common.h \
136lib/eina/eina_file_common.c \
137lib/eina/eina_fp.c \
138lib/eina/eina_hamster.c \
139lib/eina/eina_hash.c \
140lib/eina/eina_inarray.c \
141lib/eina/eina_inlist.c \
142lib/eina/eina_iterator.c \
143lib/eina/eina_lalloc.c \
144lib/eina/eina_list.c \
145lib/eina/eina_lock.c \
146lib/eina/eina_log.c \
147lib/eina/eina_magic.c \
148lib/eina/eina_main.c \
149lib/eina/eina_matrix.c \
150lib/eina/eina_matrixsparse.c \
151lib/eina/eina_mempool.c \
152lib/eina/eina_mmap.c \
153lib/eina/eina_module.c \
154lib/eina/eina_prefix.c \
155lib/eina/eina_promise.c \
156lib/eina/eina_promise_private.h \
157lib/eina/eina_quad.c \
158lib/eina/eina_quadtree.c \
159lib/eina/eina_rbtree.c \
160lib/eina/eina_rectangle.c \
161lib/eina/eina_safety_checks.c \
162lib/eina/eina_sched.c \
163lib/eina/eina_share_common.c \
164lib/eina/eina_simple_xml_parser.c \
165lib/eina/eina_str.c \
166lib/eina/eina_strbuf.c \
167lib/eina/eina_strbuf_common.c \
168lib/eina/eina_stringshare.c \
169lib/eina/eina_thread.c \
170lib/eina/eina_thread_queue.c \
171lib/eina/eina_tiler.c \
172lib/eina/eina_tmpstr.c \
173lib/eina/eina_unicode.c \
174lib/eina/eina_ustrbuf.c \
175lib/eina/eina_ustringshare.c \
176lib/eina/eina_util.c \
177lib/eina/eina_value.c \
178lib/eina/eina_value_util.c \
179lib/eina/eina_xattr.c \
180lib/eina/eina_private.h \
181lib/eina/eina_share_common.h \
182lib/eina/eina_strbuf_common.h \
183lib/eina/eina_quaternion.c \
184lib/eina/eina_bezier.c \
185lib/eina/eina_safepointer.c \
186lib/eina/eina_freeq.c \
187lib/eina/eina_slstr.c \
188lib/eina/eina_vpath.c \
189lib/eina/eina_vpath_xdg.c
190
191
192if HAVE_WIN32
193lib_eina_libeina_la_SOURCES += lib/eina/eina_file_win32.c
194else
195lib_eina_libeina_la_SOURCES += lib/eina/eina_file.c
196endif
197
198EINA_MODULE_COMMON_CFLAGS = \
199@EINA_CFLAGS@ \
200@VALGRIND_CFLAGS@
201
202if EINA_STATIC_BUILD_CHAINED_POOL
203lib_eina_libeina_la_SOURCES += modules/eina/mp/chained_pool/eina_chained_mempool.c
204else
205einampchainedpooldir = $(libdir)/eina/modules/mp/chained_pool/$(MODULE_ARCH)
206einampchainedpool_LTLIBRARIES = modules/eina/mp/chained_pool/chained_pool_module.la
207
208# Workaround for broken parallel install support in automake (relink issue)
209# http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7328
210install_einampchainedpoolLTLIBRARIES = install-einampchainedpoolLTLIBRARIES
211$(install_einampchainedpoolLTLIBRARIES): install-libLTLIBRARIES
212
213modules_eina_mp_chained_pool_chained_pool_module_la_CFLAGS = $(EINA_MODULE_COMMON_CFLAGS) -DEFL_BUILD
214modules_eina_mp_chained_pool_chained_pool_module_la_LIBADD = @USE_EINA_LIBS@
215modules_eina_mp_chained_pool_chained_pool_module_la_DEPENDENCIES = @USE_EINA_INTERNAL_LIBS@
216modules_eina_mp_chained_pool_chained_pool_module_la_LDFLAGS = -module @EFL_LTMODULE_FLAGS@
217modules_eina_mp_chained_pool_chained_pool_module_la_LIBTOOLFLAGS = --tag=disable-static
218modules_eina_mp_chained_pool_chained_pool_module_la_SOURCES = modules/eina/mp/chained_pool/eina_chained_mempool.c
219endif
220
221if EINA_STATIC_BUILD_ONE_BIG
222lib_eina_libeina_la_SOURCES += modules/eina/mp/one_big/eina_one_big.c
223else
224einamponebigdir = $(libdir)/eina/modules/mp/one_big/$(MODULE_ARCH)
225einamponebig_LTLIBRARIES = modules/eina/mp/one_big/one_big_module.la
226
227# Workaround for broken parallel install support in automake (relink issue)
228# http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7328
229install_einamponebigLTLIBRARIES = install-einamponebigLTLIBRARIES
230$(install_einamponebigLTLIBRARIES): install-libLTLIBRARIES
231
232modules_eina_mp_one_big_one_big_module_la_CFLAGS = $(EINA_MODULE_COMMON_CFLAGS) -DEFL_BUILD
233modules_eina_mp_one_big_one_big_module_la_LIBADD = @USE_EINA_LIBS@
234modules_eina_mp_one_big_one_big_module_la_DEPENDENCIES = @USE_EINA_INTERNAL_LIBS@
235modules_eina_mp_one_big_one_big_module_la_LDFLAGS = -module @EFL_LTMODULE_FLAGS@
236modules_eina_mp_one_big_one_big_module_la_LIBTOOLFLAGS = --tag=disable-static
237modules_eina_mp_one_big_one_big_module_la_SOURCES = modules/eina/mp/one_big/eina_one_big.c
238endif
239
240if EINA_STATIC_BUILD_PASS_THROUGH
241lib_eina_libeina_la_SOURCES += modules/eina/mp/pass_through/eina_pass_through.c
242else
243einamppassthroughdir = $(libdir)/eina/modules/mp/pass_through/$(MODULE_ARCH)
244einamppassthrough_LTLIBRARIES = modules/eina/mp/pass_through/pass_through_module.la
245
246# Workaround for broken parallel install support in automake (relink issue)
247# http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7328
248install_einamppassthroughLTLIBRARIES = install-einamppassthroughLTLIBRARIES
249$(install_einamppassthroughLTLIBRARIES): install-libLTLIBRARIES
250
251modules_eina_mp_pass_through_pass_through_module_la_CFLAGS = $(EINA_MODULE_COMMON_CFLAGS) -DEFL_BUILD
252modules_eina_mp_pass_through_pass_through_module_la_LIBADD = @USE_EINA_LIBS@
253modules_eina_mp_pass_through_pass_through_module_la_DEPENDENCIES = @USE_EINA_INTERNAL_LIBS@
254modules_eina_mp_pass_through_pass_through_module_la_LDFLAGS = -module @EFL_LTMODULE_FLAGS@
255modules_eina_mp_pass_through_pass_through_module_la_LIBTOOLFLAGS = --tag=disable-static
256modules_eina_mp_pass_through_pass_through_module_la_SOURCES = modules/eina/mp/pass_through/eina_pass_through.c
257endif
258
259lib_eina_libeina_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
260@EINA_CFLAGS@ \
261@UNWIND_CFLAGS@ \
262-DPACKAGE_BIN_DIR=\"$(bindir)\" \
263-DPACKAGE_LIB_DIR=\"$(libdir)\" \
264-DPACKAGE_DATA_DIR=\"$(datadir)/eina\" \
265-DEFL_BUILD \
266@VALGRIND_CFLAGS@
267
268lib_eina_libeina_la_LIBADD = @EINA_LIBS@ @UNWIND_LIBS@
269lib_eina_libeina_la_DEPENDENCIES = @EINA_INTERNAL_LIBS@
270lib_eina_libeina_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@
271
272### Binaries
273
274bin_PROGRAMS += bin/eina/eina_btlog/eina_btlog
275
276bin_eina_eina_btlog_eina_btlog_SOURCES = bin/eina/eina_btlog/eina_btlog.c
277bin_eina_eina_btlog_eina_btlog_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
278-DPACKAGE_BIN_DIR=\"$(bindir)\" \
279-DPACKAGE_LIB_DIR=\"$(libdir)\" \
280-DPACKAGE_DATA_DIR=\"$(datadir)/eina\" \
281@EINA_CFLAGS@
282
283bin_eina_eina_btlog_eina_btlog_LDADD = @USE_EINA_LIBS@
284bin_eina_eina_btlog_eina_btlog_DEPENDENCIES = @USE_EINA_INTERNAL_LIBS@
285
286bin_PROGRAMS += bin/eina/eina_modinfo/eina_modinfo
287
288bin_eina_eina_modinfo_eina_modinfo_SOURCES = bin/eina/eina_modinfo/eina_modinfo.c
289bin_eina_eina_modinfo_eina_modinfo_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
290-DPACKAGE_BIN_DIR=\"$(bindir)\" \
291-DPACKAGE_LIB_DIR=\"$(libdir)\" \
292-DPACKAGE_DATA_DIR=\"$(datadir)/eina\" \
293@EINA_CFLAGS@
294
295bin_eina_eina_modinfo_eina_modinfo_LDADD = @USE_EINA_LIBS@
296bin_eina_eina_modinfo_eina_modinfo_DEPENDENCIES = @USE_EINA_INTERNAL_LIBS@
297
298### Script
299
300# disabled because its a pretty useless script that forces python as a
301# a dependency and doesn't parse anything efl or test apps produce
302# bin_SCRIPTS += scripts/eina/eina-bench-cmp
303
304### Unit tests
305
306if EFL_ENABLE_TESTS
307
308check_PROGRAMS += tests/eina/eina_suite tests/eina/cxx_compile_test
309TESTS += tests/eina/eina_suite
310
311tests_eina_eina_suite_SOURCES = \
312tests/efl_check.h \
313tests/eina/eina_suite.c \
314tests/eina/eina_suite.h \
315tests/eina/eina_test_abi.c \
316tests/eina/eina_test_fp.c \
317tests/eina/eina_test_ustringshare.c \
318tests/eina/eina_test_ustr.c \
319tests/eina/eina_test_binshare.c \
320tests/eina/eina_test_binbuf.c \
321tests/eina/eina_test_inarray.c \
322tests/eina/eina_test_array.c \
323tests/eina/eina_test_clist.c \
324tests/eina/eina_test_error.c \
325tests/eina/eina_test_sched.c \
326tests/eina/eina_test_log.c \
327tests/eina/eina_test_magic.c \
328tests/eina/eina_test_inlist.c \
329tests/eina/eina_test_main.c \
330tests/eina/eina_test_counter.c \
331tests/eina/eina_test_lalloc.c \
332tests/eina/eina_test_hash.c \
333tests/eina/eina_test_iterator.c \
334tests/eina/eina_test_accessor.c \
335tests/eina/eina_test_module.c \
336tests/eina/eina_test_convert.c \
337tests/eina/eina_test_rbtree.c \
338tests/eina/eina_test_file.c \
339tests/eina/eina_test_benchmark.c \
340tests/eina/eina_test_mempool.c \
341tests/eina/eina_test_rectangle.c \
342tests/eina/eina_test_list.c \
343tests/eina/eina_test_matrixsparse.c \
344tests/eina/eina_test_tiler.c \
345tests/eina/eina_test_strbuf.c \
346tests/eina/eina_test_str.c \
347tests/eina/eina_test_quadtree.c \
348tests/eina/eina_test_simple_xml_parser.c \
349tests/eina/eina_test_value.c \
350tests/eina/eina_test_cow.c \
351tests/eina/eina_test_barrier.c \
352tests/eina/eina_test_tmpstr.c \
353tests/eina/eina_test_trash.c \
354tests/eina/eina_test_lock.c \
355tests/eina/eina_test_xattr.c \
356tests/eina/eina_test_crc.c \
357tests/eina/eina_test_quad.c \
358tests/eina/eina_test_matrix.c \
359tests/eina/eina_test_quaternion.c \
360tests/eina/eina_test_vector.c \
361tests/eina/eina_test_bezier.c \
362tests/eina/eina_test_safepointer.c \
363tests/eina/eina_test_slice.c \
364tests/eina/eina_test_freeq.c \
365tests/eina/eina_test_slstr.c \
366tests/eina/eina_test_vpath.c \
367tests/eina/eina_test_debug.c
368
369tests_eina_eina_suite_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
370-DTESTS_WD=\"`pwd`\" \
371-DTESTS_SRC_DIR=\"$(top_srcdir)/src/tests/eina\" \
372-DPACKAGE_BUILD_DIR=\"$(abs_top_builddir)/\" \
373-DTESTS_BUILD_DIR=\"$(top_builddir)/src/tests/eina\" \
374@CHECK_CFLAGS@ \
375@EINA_CFLAGS@
376tests_eina_eina_suite_LDADD = @CHECK_LIBS@ @USE_EINA_LIBS@
377tests_eina_eina_suite_DEPENDENCIES = @USE_EINA_INTERNAL_LIBS@
378
379tests_eina_cxx_compile_test_SOURCES = tests/eina/cxx_compile_test.cxx
380tests_eina_cxx_compile_test_CPPFLAGS = -I$(top_builddir)/src/lib/efl @EINA_CFLAGS@
381tests_eina_cxx_compile_test_LDADD = @USE_EINA_LIBS@
382tests_eina_cxx_compile_test_DEPENDENCIES = @USE_EINA_INTERNAL_LIBS@
383
384check_LTLIBRARIES = tests/eina/module_dummy.la
385
386tests_eina_module_dummy_la_SOURCES = tests/eina/eina_test_module_dummy.c
387tests_eina_module_dummy_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
388-DPACKAGE_BUILD_DIR=\"$(abs_top_builddir)/\" \
389@CHECK_CFLAGS@ \
390@EINA_CFLAGS@
391tests_eina_module_dummy_la_LIBADD = @USE_EINA_LIBS@
392tests_eina_module_dummy_la_DEPENDENCIES = @USE_EINA_INTERNAL_LIBS@
393tests_eina_module_dummy_la_LDFLAGS = -module @EFL_LTMODULE_FLAGS@
394tests_eina_module_dummy_la_LIBTOOLFLAGS = --tag=disable-static
395
396endif
397
398EXTRA_DIST2 += \
399lib/eina/eina_strbuf_template_c.x \
400lib/eina/eina_binbuf_template_c.x \
401lib/eina/eina_inline_private.h \
402lib/eina/eina_internal.h \
403tests/eina/sample.gpx \
404tests/eina/eina_suite.x \
405lib/eina/eina_config.h.in \
406tests/eina/eina_test_stringshare.c \
407tests/eina/eina_test_util.c \
408$(bin_SCRIPTS)