aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile_Eolian.am
diff options
context:
space:
mode:
authorSavio Sena <savio@expertisesolutions.com.br>2014-09-12 16:05:19 -0300
committerSavio Sena <savio@expertisesolutions.com.br>2014-09-12 16:05:19 -0300
commit32c7d75e379f2d4bca736da6d731a878be25d6a6 (patch)
treea9085b37039c8e976f4948df035b0e8f4aec9d97 /src/Makefile_Eolian.am
parenteo-cxx: Use new Eo API in efl::eo::inherit. (diff)
downloadefl-32c7d75e379f2d4bca736da6d731a878be25d6a6.tar.gz
autotools: Simplify src/Makefile_Eolian.am.
Added a variable to hold .eo files. This patch prepares Eolian_Makefile.am to force the generation of .eo.c and .eo.h too.
Diffstat (limited to 'src/Makefile_Eolian.am')
-rw-r--r--src/Makefile_Eolian.am50
1 files changed, 29 insertions, 21 deletions
diff --git a/src/Makefile_Eolian.am b/src/Makefile_Eolian.am
index c1461c240e..6bf7fd19e5 100644
--- a/src/Makefile_Eolian.am
+++ b/src/Makefile_Eolian.am
@@ -71,6 +71,34 @@ include Makefile_Eolian_Helper.am
### Unit tests
if EFL_ENABLE_TESTS
+
+EOLIAN_TESTS_EOS = \
+tests/eolian/data/base.eo \
+tests/eolian/data/class_simple.eo \
+tests/eolian/data/scope.eo \
+tests/eolian/data/ctor_dtor.eo \
+tests/eolian/data/complex_type.eo \
+tests/eolian/data/typedef.eo \
+tests/eolian/data/object_impl.eo \
+tests/eolian/data/object_impl_add.eo \
+tests/eolian/data/consts.eo \
+tests/eolian/data/override.eo \
+tests/eolian/data/events.eo \
+tests/eolian/data/extern.eo \
+tests/eolian/data/struct.eo \
+tests/eolian/data/var.eo \
+tests/eolian/data/class_funcs.eo \
+tests/eolian/data/enum.eo \
+tests/eolian/data/free_func.eo \
+tests/eolian/data/nmsp1_class1.eo \
+tests/eolian/data/nmsp1_nmsp11_class2.eo \
+tests/eolian/data/nmsp2_class1.eo \
+tests/eolian/data/no_nmsp.eo
+
+EOLIAN_TESTS_EOS_GENERATED = \
+$(EOLIAN_TESTS_EOS:%.eo=%.eo.c)\
+$(EOLIAN_TESTS_EOS:%.eo=%.eo.h)
+
check_PROGRAMS += \
tests/eolian/eolian_suite
@@ -94,30 +122,10 @@ tests_eolian_eolian_suite_DEPENDENCIES = @USE_EOLIAN_INTERNAL_LIBS@
endif
EXTRA_DIST += \
-tests/eolian/data/base.eo \
-tests/eolian/data/class_simple.eo \
-tests/eolian/data/scope.eo \
-tests/eolian/data/ctor_dtor.eo \
-tests/eolian/data/complex_type.eo \
-tests/eolian/data/typedef.eo \
-tests/eolian/data/object_impl.eo \
tests/eolian/data/object_impl_ref.c \
-tests/eolian/data/object_impl_add.eo \
tests/eolian/data/object_impl_add_ref.c \
-tests/eolian/data/consts.eo \
-tests/eolian/data/override.eo \
-tests/eolian/data/events.eo \
-tests/eolian/data/extern.eo \
-tests/eolian/data/struct.eo \
-tests/eolian/data/var.eo \
-tests/eolian/data/class_funcs.eo \
-tests/eolian/data/enum.eo \
-tests/eolian/data/free_func.eo \
tests/eolian/data/typedef_ref.c \
tests/eolian/data/struct_ref.c \
tests/eolian/data/class_simple_ref.c \
tests/eolian/data/override_ref.c \
-tests/eolian/data/nmsp1_class1.eo \
-tests/eolian/data/nmsp1_nmsp11_class2.eo \
-tests/eolian/data/nmsp2_class1.eo \
-tests/eolian/data/no_nmsp.eo
+$(EOLIAN_TESTS_EOS)