|
|
|
@ -19,6 +19,7 @@ lib_eo_libeo_la_CPPFLAGS = \ |
|
|
|
|
-DNDEBUG \ |
|
|
|
|
-DEFL_EO_BUILD \ |
|
|
|
|
@EFL_CFLAGS@ \ |
|
|
|
|
@EFL_COV_CFLAGS@ \ |
|
|
|
|
@EO_CFLAGS@ |
|
|
|
|
|
|
|
|
|
if HAVE_WINDOWS |
|
|
|
@ -27,6 +28,208 @@ lib_eo_libeo_la_CPPFLAGS += \ |
|
|
|
|
-I$(top_builddir)/src/lib/evil |
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
lib_eo_libeo_la_LIBADD = lib/eina/libeina.la @EO_LIBS@ |
|
|
|
|
lib_eo_libeo_la_LIBADD = lib/eina/libeina.la @EO_LIBS@ @EFL_COV_LIBS@ |
|
|
|
|
|
|
|
|
|
lib_eo_libeo_la_LDFLAGS = -no-undefined -version-info @version_info@ @release_info@ |
|
|
|
|
|
|
|
|
|
### Unit tests |
|
|
|
|
|
|
|
|
|
check_PROGRAMS += \ |
|
|
|
|
tests/eo/test_access \ |
|
|
|
|
tests/eo/test_composite_objects \ |
|
|
|
|
tests/eo/test_constructors \ |
|
|
|
|
tests/eo/test_function_overrides \ |
|
|
|
|
tests/eo/test_interface \ |
|
|
|
|
tests/eo/test_mixin \ |
|
|
|
|
tests/eo/test_signals |
|
|
|
|
|
|
|
|
|
if EFL_ENABLE_TESTS |
|
|
|
|
check_PROGRAMS += tests/eo/eo_suite |
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
tests_eo_test_access_SOURCES = \ |
|
|
|
|
tests/eo/access/access_inherit.c \ |
|
|
|
|
tests/eo/access/access_inherit.h \ |
|
|
|
|
tests/eo/access/access_main.c \ |
|
|
|
|
tests/eo/access/access_simple.c \ |
|
|
|
|
tests/eo/access/access_simple.h \ |
|
|
|
|
tests/eo/access/access_simple_protected.h |
|
|
|
|
|
|
|
|
|
tests_eo_test_access_CPPFLAGS = \ |
|
|
|
|
-I$(top_srcdir)/src/lib/eina \ |
|
|
|
|
-I$(top_srcdir)/src/lib/eo \ |
|
|
|
|
-I$(top_builddir)/src/lib/eina \ |
|
|
|
|
-I$(top_builddir)/src/lib/eo \ |
|
|
|
|
@CHECK_CFLAGS@ \ |
|
|
|
|
@EO_CFLAGS@ |
|
|
|
|
|
|
|
|
|
tests_eo_test_access_LDADD = \ |
|
|
|
|
lib/eo/libeo.la \ |
|
|
|
|
@EO_LIBS@ |
|
|
|
|
|
|
|
|
|
tests_eo_test_composite_objects_SOURCES = \ |
|
|
|
|
tests/eo/composite_objects/composite_objects_comp.c \ |
|
|
|
|
tests/eo/composite_objects/composite_objects_comp.h \ |
|
|
|
|
tests/eo/composite_objects/composite_objects_main.c \ |
|
|
|
|
tests/eo/composite_objects/composite_objects_simple.c \ |
|
|
|
|
tests/eo/composite_objects/composite_objects_simple.h |
|
|
|
|
|
|
|
|
|
tests_eo_test_composite_objects_CPPFLAGS = \ |
|
|
|
|
-I$(top_srcdir)/src/lib/eina \ |
|
|
|
|
-I$(top_srcdir)/src/lib/eo \ |
|
|
|
|
-I$(top_builddir)/src/lib/eina \ |
|
|
|
|
-I$(top_builddir)/src/lib/eo \ |
|
|
|
|
@CHECK_CFLAGS@ \ |
|
|
|
|
@EO_CFLAGS@ |
|
|
|
|
|
|
|
|
|
tests_eo_test_composite_objects_LDADD = \ |
|
|
|
|
lib/eo/libeo.la \ |
|
|
|
|
@EO_LIBS@ |
|
|
|
|
|
|
|
|
|
tests_eo_test_constructors_SOURCES = \ |
|
|
|
|
tests/eo/constructors/constructors_main.c \ |
|
|
|
|
tests/eo/constructors/constructors_mixin.c \ |
|
|
|
|
tests/eo/constructors/constructors_mixin.h \ |
|
|
|
|
tests/eo/constructors/constructors_simple.c \ |
|
|
|
|
tests/eo/constructors/constructors_simple.h \ |
|
|
|
|
tests/eo/constructors/constructors_simple2.c \ |
|
|
|
|
tests/eo/constructors/constructors_simple2.h \ |
|
|
|
|
tests/eo/constructors/constructors_simple3.c \ |
|
|
|
|
tests/eo/constructors/constructors_simple3.h \ |
|
|
|
|
tests/eo/constructors/constructors_simple4.c \ |
|
|
|
|
tests/eo/constructors/constructors_simple4.h \ |
|
|
|
|
tests/eo/constructors/constructors_simple5.c \ |
|
|
|
|
tests/eo/constructors/constructors_simple5.h \ |
|
|
|
|
tests/eo/constructors/constructors_simple6.c \ |
|
|
|
|
tests/eo/constructors/constructors_simple6.h \ |
|
|
|
|
tests/eo/constructors/constructors_simple7.c \ |
|
|
|
|
tests/eo/constructors/constructors_simple7.h |
|
|
|
|
|
|
|
|
|
tests_eo_test_constructors_CPPFLAGS = \ |
|
|
|
|
-I$(top_srcdir)/src/lib/eina \ |
|
|
|
|
-I$(top_srcdir)/src/lib/eo \ |
|
|
|
|
-I$(top_builddir)/src/lib/eina \ |
|
|
|
|
-I$(top_builddir)/src/lib/eo \ |
|
|
|
|
@CHECK_CFLAGS@ \ |
|
|
|
|
@EO_CFLAGS@ |
|
|
|
|
|
|
|
|
|
tests_eo_test_constructors_LDADD = \ |
|
|
|
|
lib/eo/libeo.la \ |
|
|
|
|
@EO_LIBS@ |
|
|
|
|
|
|
|
|
|
if EFL_ENABLE_TESTS |
|
|
|
|
|
|
|
|
|
tests_eo_eo_suite_SOURCES = \ |
|
|
|
|
tests/eo/suite/eo_test_class_simple.c \ |
|
|
|
|
tests/eo/suite/eo_test_class_simple.h \ |
|
|
|
|
tests/eo/suite/eo_suite.c \ |
|
|
|
|
tests/eo/suite/eo_suite.h \ |
|
|
|
|
tests/eo/suite/eo_test_class_errors.c \ |
|
|
|
|
tests/eo/suite/eo_test_general.c \ |
|
|
|
|
tests/eo/suite/eo_test_init.c |
|
|
|
|
|
|
|
|
|
tests_eo_eo_suite_CPPFLAGS = \ |
|
|
|
|
-I$(top_srcdir)/src/lib/eina \ |
|
|
|
|
-I$(top_srcdir)/src/lib/eo \ |
|
|
|
|
-I$(top_builddir)/src/lib/eina \ |
|
|
|
|
-I$(top_builddir)/src/lib/eo \ |
|
|
|
|
-DNDEBUG \ |
|
|
|
|
@CHECK_CFLAGS@ \ |
|
|
|
|
@EO_CFLAGS@ |
|
|
|
|
|
|
|
|
|
tests_eo_eo_suite_LDADD = \ |
|
|
|
|
lib/eo/libeo.la \ |
|
|
|
|
@CHECK_LIBS@ \ |
|
|
|
|
@EO_LIBS@ |
|
|
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
tests_eo_test_function_overrides_SOURCES = \ |
|
|
|
|
tests/eo/function_overrides/function_overrides_inherit.c \ |
|
|
|
|
tests/eo/function_overrides/function_overrides_inherit.h \ |
|
|
|
|
tests/eo/function_overrides/function_overrides_inherit2.c \ |
|
|
|
|
tests/eo/function_overrides/function_overrides_inherit2.h \ |
|
|
|
|
tests/eo/function_overrides/function_overrides_inherit3.c \ |
|
|
|
|
tests/eo/function_overrides/function_overrides_inherit3.h \ |
|
|
|
|
tests/eo/function_overrides/function_overrides_main.c \ |
|
|
|
|
tests/eo/function_overrides/function_overrides_simple.c \ |
|
|
|
|
tests/eo/function_overrides/function_overrides_simple.h |
|
|
|
|
|
|
|
|
|
tests_eo_test_function_overrides_CPPFLAGS = \ |
|
|
|
|
-I$(top_srcdir)/src/lib/eina \ |
|
|
|
|
-I$(top_srcdir)/src/lib/eo \ |
|
|
|
|
-I$(top_builddir)/src/lib/eina \ |
|
|
|
|
-I$(top_builddir)/src/lib/eo \ |
|
|
|
|
@CHECK_CFLAGS@ \ |
|
|
|
|
@EO_CFLAGS@ |
|
|
|
|
|
|
|
|
|
tests_eo_test_function_overrides_LDADD = \ |
|
|
|
|
lib/eo/libeo.la \ |
|
|
|
|
@EO_LIBS@ |
|
|
|
|
|
|
|
|
|
tests_eo_test_interface_SOURCES = \ |
|
|
|
|
tests/eo/interface/interface_interface.c \ |
|
|
|
|
tests/eo/interface/interface_interface.h \ |
|
|
|
|
tests/eo/interface/interface_interface2.c \ |
|
|
|
|
tests/eo/interface/interface_interface2.h \ |
|
|
|
|
tests/eo/interface/interface_main.c \ |
|
|
|
|
tests/eo/interface/interface_simple.c \ |
|
|
|
|
tests/eo/interface/interface_simple.h |
|
|
|
|
|
|
|
|
|
tests_eo_test_interface_CPPFLAGS = \ |
|
|
|
|
-I$(top_srcdir)/src/lib/eina \ |
|
|
|
|
-I$(top_srcdir)/src/lib/eo \ |
|
|
|
|
-I$(top_builddir)/src/lib/eina \ |
|
|
|
|
-I$(top_builddir)/src/lib/eo \ |
|
|
|
|
@CHECK_CFLAGS@ \ |
|
|
|
|
@EO_CFLAGS@ |
|
|
|
|
|
|
|
|
|
tests_eo_test_interface_LDADD = \ |
|
|
|
|
lib/eo/libeo.la \ |
|
|
|
|
@EO_LIBS@ |
|
|
|
|
|
|
|
|
|
tests_eo_test_mixin_SOURCES = \ |
|
|
|
|
tests/eo/mixin/mixin_inherit.c \ |
|
|
|
|
tests/eo/mixin/mixin_inherit.h \ |
|
|
|
|
tests/eo/mixin/mixin_main.c \ |
|
|
|
|
tests/eo/mixin/mixin_mixin.c \ |
|
|
|
|
tests/eo/mixin/mixin_mixin.h \ |
|
|
|
|
tests/eo/mixin/mixin_mixin2.c \ |
|
|
|
|
tests/eo/mixin/mixin_mixin2.h \ |
|
|
|
|
tests/eo/mixin/mixin_mixin3.c \ |
|
|
|
|
tests/eo/mixin/mixin_mixin3.h \ |
|
|
|
|
tests/eo/mixin/mixin_mixin4.c \ |
|
|
|
|
tests/eo/mixin/mixin_mixin4.h \ |
|
|
|
|
tests/eo/mixin/mixin_simple.c \ |
|
|
|
|
tests/eo/mixin/mixin_simple.h |
|
|
|
|
|
|
|
|
|
tests_eo_test_mixin_CPPFLAGS = \ |
|
|
|
|
-I$(top_srcdir)/src/lib/eina \ |
|
|
|
|
-I$(top_srcdir)/src/lib/eo \ |
|
|
|
|
-I$(top_builddir)/src/lib/eina \ |
|
|
|
|
-I$(top_builddir)/src/lib/eo \ |
|
|
|
|
@CHECK_CFLAGS@ \ |
|
|
|
|
@EO_CFLAGS@ |
|
|
|
|
|
|
|
|
|
tests_eo_test_mixin_LDADD = \ |
|
|
|
|
lib/eo/libeo.la \ |
|
|
|
|
@EO_LIBS@ |
|
|
|
|
|
|
|
|
|
tests_eo_test_signals_SOURCES = \ |
|
|
|
|
tests/eo/signals/signals_main.c \ |
|
|
|
|
tests/eo/signals/signals_simple.c \ |
|
|
|
|
tests/eo/signals/signals_simple.h |
|
|
|
|
|
|
|
|
|
tests_eo_test_signals_CPPFLAGS = \ |
|
|
|
|
-I$(top_srcdir)/src/lib/eina \ |
|
|
|
|
-I$(top_srcdir)/src/lib/eo \ |
|
|
|
|
-I$(top_builddir)/src/lib/eina \ |
|
|
|
|
-I$(top_builddir)/src/lib/eo \ |
|
|
|
|
@CHECK_CFLAGS@ \ |
|
|
|
|
@EO_CFLAGS@ |
|
|
|
|
|
|
|
|
|
tests_eo_test_signals_LDADD = \ |
|
|
|
|
lib/eo/libeo.la \ |
|
|
|
|
@EO_LIBS@ |
|
|
|
|
|
|
|
|
|
EXTRA_DIST += tests/eo/eunit_tests.h |
|
|
|
|