2012-11-01 05:56:52 -07:00
|
|
|
### Library
|
|
|
|
|
2016-03-03 15:02:03 -08:00
|
|
|
include lib/eina/Makefile_File.am
|
|
|
|
|
2012-11-01 05:56:52 -07:00
|
|
|
lib_LTLIBRARIES += lib/eina/libeina.la
|
|
|
|
|
|
|
|
installed_einamainheadersdir = $(includedir)/eina-@VMAJ@
|
|
|
|
dist_installed_einamainheaders_DATA = \
|
|
|
|
lib/eina/Eina.h \
|
|
|
|
lib/eina/eina_config.h
|
|
|
|
|
2016-03-03 15:02:03 -08:00
|
|
|
lib_eina_libeina_la_SOURCES = $(EINA_S)
|
2012-11-01 05:56:52 -07:00
|
|
|
|
2012-12-31 06:42:35 -08:00
|
|
|
EINA_MODULE_COMMON_CFLAGS = \
|
|
|
|
@EINA_CFLAGS@ \
|
|
|
|
@VALGRIND_CFLAGS@
|
|
|
|
|
2016-03-03 15:02:03 -08:00
|
|
|
if !EINA_STATIC_BUILD_CHAINED_POOL
|
2012-11-01 05:56:52 -07:00
|
|
|
einampchainedpooldir = $(libdir)/eina/modules/mp/chained_pool/$(MODULE_ARCH)
|
2012-12-31 06:42:35 -08:00
|
|
|
einampchainedpool_LTLIBRARIES = modules/eina/mp/chained_pool/chained_pool_module.la
|
|
|
|
|
2015-02-26 03:35:50 -08:00
|
|
|
# Workaround for broken parallel install support in automake (relink issue)
|
|
|
|
# http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7328
|
|
|
|
install_einampchainedpoolLTLIBRARIES = install-einampchainedpoolLTLIBRARIES
|
|
|
|
$(install_einampchainedpoolLTLIBRARIES): install-libLTLIBRARIES
|
|
|
|
|
2012-12-31 06:42:35 -08:00
|
|
|
modules_eina_mp_chained_pool_chained_pool_module_la_CFLAGS = $(EINA_MODULE_COMMON_CFLAGS)
|
2013-01-14 14:36:23 -08:00
|
|
|
modules_eina_mp_chained_pool_chained_pool_module_la_LIBADD = @USE_EINA_LIBS@
|
|
|
|
modules_eina_mp_chained_pool_chained_pool_module_la_DEPENDENCIES = @USE_EINA_INTERNAL_LIBS@
|
2012-12-31 06:42:35 -08:00
|
|
|
modules_eina_mp_chained_pool_chained_pool_module_la_LDFLAGS = -module @EFL_LTMODULE_FLAGS@
|
|
|
|
modules_eina_mp_chained_pool_chained_pool_module_la_LIBTOOLFLAGS = --tag=disable-static
|
|
|
|
modules_eina_mp_chained_pool_chained_pool_module_la_SOURCES = modules/eina/mp/chained_pool/eina_chained_mempool.c
|
2012-11-01 05:56:52 -07:00
|
|
|
endif
|
|
|
|
|
2016-03-03 15:02:03 -08:00
|
|
|
if !EINA_STATIC_BUILD_ONE_BIG
|
2012-12-31 06:42:35 -08:00
|
|
|
einamponebigdir = $(libdir)/eina/modules/mp/one_big/$(MODULE_ARCH)
|
|
|
|
einamponebig_LTLIBRARIES = modules/eina/mp/one_big/one_big_module.la
|
|
|
|
|
2015-02-26 03:35:50 -08:00
|
|
|
# Workaround for broken parallel install support in automake (relink issue)
|
|
|
|
# http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7328
|
|
|
|
install_einamponebigLTLIBRARIES = install-einamponebigLTLIBRARIES
|
|
|
|
$(install_einamponebigLTLIBRARIES): install-libLTLIBRARIES
|
|
|
|
|
2012-12-31 06:42:35 -08:00
|
|
|
modules_eina_mp_one_big_one_big_module_la_CFLAGS = $(EINA_MODULE_COMMON_CFLAGS)
|
2013-01-14 14:36:23 -08:00
|
|
|
modules_eina_mp_one_big_one_big_module_la_LIBADD = @USE_EINA_LIBS@
|
|
|
|
modules_eina_mp_one_big_one_big_module_la_DEPENDENCIES = @USE_EINA_INTERNAL_LIBS@
|
2012-12-31 06:42:35 -08:00
|
|
|
modules_eina_mp_one_big_one_big_module_la_LDFLAGS = -module @EFL_LTMODULE_FLAGS@
|
|
|
|
modules_eina_mp_one_big_one_big_module_la_LIBTOOLFLAGS = --tag=disable-static
|
|
|
|
modules_eina_mp_one_big_one_big_module_la_SOURCES = modules/eina/mp/one_big/eina_one_big.c
|
2012-11-01 05:56:52 -07:00
|
|
|
endif
|
|
|
|
|
2016-03-03 15:02:03 -08:00
|
|
|
if !EINA_STATIC_BUILD_PASS_THROUGH
|
2012-12-31 06:42:35 -08:00
|
|
|
einamppassthroughdir = $(libdir)/eina/modules/mp/pass_through/$(MODULE_ARCH)
|
|
|
|
einamppassthrough_LTLIBRARIES = modules/eina/mp/pass_through/pass_through_module.la
|
|
|
|
|
2015-02-26 03:35:50 -08:00
|
|
|
# Workaround for broken parallel install support in automake (relink issue)
|
|
|
|
# http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7328
|
|
|
|
install_einamppassthroughLTLIBRARIES = install-einamppassthroughLTLIBRARIES
|
|
|
|
$(install_einamppassthroughLTLIBRARIES): install-libLTLIBRARIES
|
|
|
|
|
2012-12-31 06:42:35 -08:00
|
|
|
modules_eina_mp_pass_through_pass_through_module_la_CFLAGS = $(EINA_MODULE_COMMON_CFLAGS)
|
2013-01-14 14:36:23 -08:00
|
|
|
modules_eina_mp_pass_through_pass_through_module_la_LIBADD = @USE_EINA_LIBS@
|
|
|
|
modules_eina_mp_pass_through_pass_through_module_la_DEPENDENCIES = @USE_EINA_INTERNAL_LIBS@
|
2012-12-31 06:42:35 -08:00
|
|
|
modules_eina_mp_pass_through_pass_through_module_la_LDFLAGS = -module @EFL_LTMODULE_FLAGS@
|
|
|
|
modules_eina_mp_pass_through_pass_through_module_la_LIBTOOLFLAGS = --tag=disable-static
|
|
|
|
modules_eina_mp_pass_through_pass_through_module_la_SOURCES = modules/eina/mp/pass_through/eina_pass_through.c
|
2012-11-01 05:56:52 -07:00
|
|
|
endif
|
|
|
|
|
2016-03-03 15:02:03 -08:00
|
|
|
lib_eina_libeina_la_CPPFLAGS = $(EINA_FLAGS)
|
2015-12-28 05:22:29 -08:00
|
|
|
lib_eina_libeina_la_LIBADD = @EINA_LIBS@ @UNWIND_LIBS@
|
|
|
|
lib_eina_libeina_la_DEPENDENCIES = @EINA_INTERNAL_LIBS@
|
2012-12-30 14:15:29 -08:00
|
|
|
lib_eina_libeina_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@
|
2012-11-01 05:56:52 -07:00
|
|
|
|
2015-05-04 19:35:16 -07:00
|
|
|
### Binaries
|
|
|
|
|
|
|
|
bin_PROGRAMS += bin/eina/eina_btlog
|
|
|
|
|
|
|
|
bin_eina_eina_btlog_SOURCES = bin/eina/eina_btlog.c
|
|
|
|
bin_eina_eina_btlog_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
|
|
|
|
-DPACKAGE_BIN_DIR=\"$(bindir)\" \
|
|
|
|
-DPACKAGE_LIB_DIR=\"$(libdir)\" \
|
|
|
|
-DPACKAGE_DATA_DIR=\"$(datadir)/eina\" \
|
|
|
|
@EINA_CFLAGS@
|
|
|
|
|
|
|
|
bin_eina_eina_btlog_LDADD = @USE_EINA_LIBS@
|
|
|
|
bin_eina_eina_btlog_DEPENDENCIES = @USE_EINA_INTERNAL_LIBS@
|
|
|
|
|
2012-11-05 06:42:44 -08:00
|
|
|
### Script
|
|
|
|
|
2013-01-04 12:55:12 -08:00
|
|
|
bin_SCRIPTS += scripts/eina/eina-bench-cmp
|
2012-11-05 06:42:44 -08:00
|
|
|
|
2012-11-17 23:12:38 -08:00
|
|
|
### Unit tests
|
|
|
|
|
|
|
|
if EFL_ENABLE_TESTS
|
|
|
|
|
|
|
|
check_PROGRAMS += tests/eina/eina_suite tests/eina/cxx_compile_test
|
2013-01-17 12:11:51 -08:00
|
|
|
TESTS += tests/eina/eina_suite
|
2012-11-17 23:12:38 -08:00
|
|
|
|
|
|
|
tests_eina_eina_suite_SOURCES = \
|
2016-02-04 06:27:32 -08:00
|
|
|
tests/efl_check.h \
|
2012-11-17 23:12:38 -08:00
|
|
|
tests/eina/eina_suite.c \
|
|
|
|
tests/eina/eina_suite.h \
|
2013-10-25 04:16:10 -07:00
|
|
|
tests/eina/eina_test_abi.c \
|
2012-11-17 23:12:38 -08:00
|
|
|
tests/eina/eina_test_fp.c \
|
|
|
|
tests/eina/eina_test_stringshare.c \
|
|
|
|
tests/eina/eina_test_ustringshare.c \
|
|
|
|
tests/eina/eina_test_ustr.c \
|
|
|
|
tests/eina/eina_test_binshare.c \
|
|
|
|
tests/eina/eina_test_binbuf.c \
|
|
|
|
tests/eina/eina_test_inarray.c \
|
|
|
|
tests/eina/eina_test_array.c \
|
|
|
|
tests/eina/eina_test_clist.c \
|
|
|
|
tests/eina/eina_test_error.c \
|
|
|
|
tests/eina/eina_test_sched.c \
|
|
|
|
tests/eina/eina_test_log.c \
|
|
|
|
tests/eina/eina_test_magic.c \
|
|
|
|
tests/eina/eina_test_inlist.c \
|
|
|
|
tests/eina/eina_test_main.c \
|
|
|
|
tests/eina/eina_test_counter.c \
|
|
|
|
tests/eina/eina_test_lalloc.c \
|
|
|
|
tests/eina/eina_test_hash.c \
|
|
|
|
tests/eina/eina_test_iterator.c \
|
|
|
|
tests/eina/eina_test_accessor.c \
|
|
|
|
tests/eina/eina_test_module.c \
|
|
|
|
tests/eina/eina_test_convert.c \
|
|
|
|
tests/eina/eina_test_rbtree.c \
|
|
|
|
tests/eina/eina_test_file.c \
|
|
|
|
tests/eina/eina_test_benchmark.c \
|
|
|
|
tests/eina/eina_test_mempool.c \
|
|
|
|
tests/eina/eina_test_rectangle.c \
|
|
|
|
tests/eina/eina_test_list.c \
|
|
|
|
tests/eina/eina_test_matrixsparse.c \
|
|
|
|
tests/eina/eina_test_tiler.c \
|
|
|
|
tests/eina/eina_test_strbuf.c \
|
|
|
|
tests/eina/eina_test_str.c \
|
|
|
|
tests/eina/eina_test_quadtree.c \
|
|
|
|
tests/eina/eina_test_simple_xml_parser.c \
|
2013-01-08 01:17:56 -08:00
|
|
|
tests/eina/eina_test_value.c \
|
2013-01-08 06:10:33 -08:00
|
|
|
tests/eina/eina_test_cow.c \
|
2013-03-10 18:44:52 -07:00
|
|
|
tests/eina/eina_test_barrier.c \
|
2013-10-16 00:47:21 -07:00
|
|
|
tests/eina/eina_test_tmpstr.c \
|
2014-09-22 05:16:00 -07:00
|
|
|
tests/eina/eina_test_trash.c \
|
2015-03-06 07:19:13 -08:00
|
|
|
tests/eina/eina_test_lock.c \
|
2015-04-22 06:37:32 -07:00
|
|
|
tests/eina/eina_test_xattr.c \
|
2015-05-26 09:31:55 -07:00
|
|
|
tests/eina/eina_test_crc.c \
|
2015-05-28 05:35:55 -07:00
|
|
|
tests/eina/eina_test_quad.c \
|
2015-05-29 08:18:23 -07:00
|
|
|
tests/eina/eina_test_matrix.c \
|
2015-07-11 23:39:09 -07:00
|
|
|
tests/eina/eina_test_quaternion.c \
|
2016-01-13 04:46:49 -08:00
|
|
|
tests/eina/eina_test_vector.c \
|
2015-07-11 23:39:09 -07:00
|
|
|
tests/eina/eina_test_bezier.c
|
2015-03-06 07:19:13 -08:00
|
|
|
|
2013-04-24 07:43:33 -07:00
|
|
|
tests_eina_eina_suite_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
|
2013-03-13 02:02:25 -07:00
|
|
|
-DTESTS_WD=\"`pwd`\" \
|
|
|
|
-DTESTS_SRC_DIR=\"$(top_srcdir)/src/tests/eina\" \
|
2014-07-02 08:09:20 -07:00
|
|
|
-DPACKAGE_BUILD_DIR=\"$(abs_top_builddir)/src/tests/eina\" \
|
2013-03-12 05:46:06 -07:00
|
|
|
-DTESTS_BUILD_DIR=PACKAGE_BUILD_DIR \
|
2012-11-17 23:12:38 -08:00
|
|
|
@CHECK_CFLAGS@ \
|
|
|
|
@EINA_CFLAGS@
|
2013-01-14 14:36:23 -08:00
|
|
|
tests_eina_eina_suite_LDADD = @CHECK_LIBS@ @USE_EINA_LIBS@
|
|
|
|
tests_eina_eina_suite_DEPENDENCIES = @USE_EINA_INTERNAL_LIBS@
|
2012-11-17 23:12:38 -08:00
|
|
|
|
|
|
|
tests_eina_cxx_compile_test_SOURCES = tests/eina/cxx_compile_test.cxx
|
2013-04-24 07:43:33 -07:00
|
|
|
tests_eina_cxx_compile_test_CPPFLAGS = -I$(top_builddir)/src/lib/efl @EINA_CFLAGS@
|
2013-01-14 14:36:23 -08:00
|
|
|
tests_eina_cxx_compile_test_LDADD = @USE_EINA_LIBS@
|
|
|
|
tests_eina_cxx_compile_test_DEPENDENCIES = @USE_EINA_INTERNAL_LIBS@
|
2012-11-17 23:12:38 -08:00
|
|
|
|
2013-01-16 10:28:43 -08:00
|
|
|
check_LTLIBRARIES = tests/eina/module_dummy.la
|
2012-11-17 23:12:38 -08:00
|
|
|
|
|
|
|
tests_eina_module_dummy_la_SOURCES = tests/eina/eina_test_module_dummy.c
|
2013-04-24 07:43:33 -07:00
|
|
|
tests_eina_module_dummy_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
|
2014-07-02 08:09:20 -07:00
|
|
|
-DPACKAGE_BUILD_DIR=\"$(abs_top_builddir)/src/tests/eina\" \
|
2012-11-17 23:12:38 -08:00
|
|
|
@CHECK_CFLAGS@ \
|
2013-01-14 14:36:23 -08:00
|
|
|
@EINA_CFLAGS@
|
|
|
|
tests_eina_module_dummy_la_LIBADD = @USE_EINA_LIBS@
|
|
|
|
tests_eina_module_dummy_la_DEPENDENCIES = @USE_EINA_INTERNAL_LIBS@
|
2012-12-30 17:13:47 -08:00
|
|
|
tests_eina_module_dummy_la_LDFLAGS = -module @EFL_LTMODULE_FLAGS@
|
2012-11-17 23:12:38 -08:00
|
|
|
tests_eina_module_dummy_la_LIBTOOLFLAGS = --tag=disable-static
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2012-11-01 05:56:52 -07:00
|
|
|
EXTRA_DIST += \
|
|
|
|
lib/eina/eina_strbuf_template_c.x \
|
2012-11-05 06:42:44 -08:00
|
|
|
lib/eina/eina_binbuf_template_c.x \
|
2013-03-28 04:54:25 -07:00
|
|
|
lib/eina/eina_inline_private.h \
|
2013-01-04 12:55:12 -08:00
|
|
|
tests/eina/sample.gpx \
|
2012-11-05 06:42:44 -08:00
|
|
|
$(bin_SCRIPTS)
|