diff options
author | Stefan Schmidt <s.schmidt@samsung.com> | 2014-08-05 17:39:49 +0200 |
---|---|---|
committer | Daniel Kolesa <d.kolesa@samsung.com> | 2014-08-08 10:28:51 +0100 |
commit | e3178b9dfb0efd01806200b0b56b38427e09968a (patch) | |
tree | 69663c9bb7db446bf92516b1a7ff29494e515c52 | |
parent | 6a5441e88061d0aa77ea97e25fa4c91033d794f1 (diff) | |
download | efl-e3178b9dfb0efd01806200b0b56b38427e09968a.tar.gz |
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.
-rw-r--r-- | src/Makefile_Eolian_Cxx.am | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/Makefile_Eolian_Cxx.am b/src/Makefile_Eolian_Cxx.am index b21b76041b..124a623e04 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@ if EFL_ENABLE_TESTS -BUILT_SOURCES += \ - tests/eolian_cxx/callback.eo.c \ - tests/eolian_cxx/callback.eo.h - check_PROGRAMS += tests/eolian_cxx/eolian_cxx_suite TESTS += tests/eolian_cxx/eolian_cxx_suite @@ -68,7 +64,10 @@ tests/eolian_cxx/callback.c \ tests/eolian_cxx/eolian_cxx_test_callback.cc \ tests/eolian_cxx/eolian_cxx_test_generate.cc -tests/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 +tests/eolian_cxx/tests_eolian_cxx_eolian_cxx_suite-eolian_cxx_test_callback.$(OBJEXT): tests/eolian_cxx/callback.eo.hh + +tests/eolian_cxx/tests_eolian_cxx_eolian_cxx_suite-callback.$(OBJEXT): tests/eolian_cxx/callback.eo.c tests/eolian_cxx/callback.eo.h + CLEANFILES += tests/eolian_cxx/callback.eo.hh tests/eolian_cxx/callback.eo.c tests/eolian_cxx/callback.eo.h tests_eolian_cxx_eolian_cxx_suite_CXXFLAGS = \ |