summaryrefslogtreecommitdiff
path: root/src/Makefile_Eolian_Cxx.am
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2014-08-05 17:39:49 +0200
committerStefan Schmidt <s.schmidt@samsung.com>2014-08-05 17:39:49 +0200
commitbfdc83b85f982b4edbef4c84673f574a0608a0b6 (patch)
tree3cca83c59503c3f301a7560dcb678accbcdcdf54 /src/Makefile_Eolian_Cxx.am
parentc4a1d268320d38f845f2ad2f967d3d432cade71c (diff)
build_eolian_cxx_test: Set dependencies correctly and remove BUILT_SOURCES
This took quite a while to figure out. The two object names for the cxx callback test and callback.c have been to close. callback.c needs the eolian headers and the CXX test needs the eolian_cxx headers. Split it up and set the deps correctly. If you always run check with something like -j 9 you might have never noticed as it was very likely that the headers have been generated due to the wrong dep before.
Diffstat (limited to '')
-rw-r--r--src/Makefile_Eolian_Cxx.am9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/Makefile_Eolian_Cxx.am b/src/Makefile_Eolian_Cxx.am
index b21b760..124a623 100644
--- a/src/Makefile_Eolian_Cxx.am
+++ b/src/Makefile_Eolian_Cxx.am
@@ -54,10 +54,6 @@ bin_eolian_cxx_eolian_cxx_DEPENDENCIES = @USE_EOLIAN_INTERNAL_LIBS@
54 54
55if EFL_ENABLE_TESTS 55if EFL_ENABLE_TESTS
56 56
57BUILT_SOURCES += \
58 tests/eolian_cxx/callback.eo.c \
59 tests/eolian_cxx/callback.eo.h
60
61check_PROGRAMS += tests/eolian_cxx/eolian_cxx_suite 57check_PROGRAMS += tests/eolian_cxx/eolian_cxx_suite
62TESTS += tests/eolian_cxx/eolian_cxx_suite 58TESTS += tests/eolian_cxx/eolian_cxx_suite
63 59
@@ -68,7 +64,10 @@ tests/eolian_cxx/callback.c \
68tests/eolian_cxx/eolian_cxx_test_callback.cc \ 64tests/eolian_cxx/eolian_cxx_test_callback.cc \
69tests/eolian_cxx/eolian_cxx_test_generate.cc 65tests/eolian_cxx/eolian_cxx_test_generate.cc
70 66
71tests/eolian_cxx/tests_eolian_cxx_eolian_cxx_suite-eolian_cxx_test_callback.$(OBJEXT): tests/eolian_cxx/callback.eo.hh tests/eolian_cxx/callback.eo.c tests/eolian_cxx/callback.eo.h 67tests/eolian_cxx/tests_eolian_cxx_eolian_cxx_suite-eolian_cxx_test_callback.$(OBJEXT): tests/eolian_cxx/callback.eo.hh
68
69tests/eolian_cxx/tests_eolian_cxx_eolian_cxx_suite-callback.$(OBJEXT): tests/eolian_cxx/callback.eo.c tests/eolian_cxx/callback.eo.h
70
72CLEANFILES += tests/eolian_cxx/callback.eo.hh tests/eolian_cxx/callback.eo.c tests/eolian_cxx/callback.eo.h 71CLEANFILES += tests/eolian_cxx/callback.eo.hh tests/eolian_cxx/callback.eo.c tests/eolian_cxx/callback.eo.h
73 72
74tests_eolian_cxx_eolian_cxx_suite_CXXFLAGS = \ 73tests_eolian_cxx_eolian_cxx_suite_CXXFLAGS = \