summaryrefslogtreecommitdiff
path: root/src/Makefile_Ecore_Cxx.am
diff options
context:
space:
mode:
authorGuillaume Friloux <guillaume.friloux@gmail.com>2014-06-02 15:54:06 +0200
committerGuillaume Friloux <guillaume.friloux@gmail.com>2014-06-02 15:54:06 +0200
commit9bee17a0aa86380efcff84ed03f1c9cd6fd934a7 (patch)
treed89fab02cfa9523e99bc62af820bb67718e6f25e /src/Makefile_Ecore_Cxx.am
parentd9263e6571513cf2d9f34b321f8e5943f3f53e01 (diff)
Dont install c++ headers of bindings when --disable-c++11 is used.
Diffstat (limited to 'src/Makefile_Ecore_Cxx.am')
-rw-r--r--src/Makefile_Ecore_Cxx.am6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Makefile_Ecore_Cxx.am b/src/Makefile_Ecore_Cxx.am
index 63f3cfc552..eb067898b6 100644
--- a/src/Makefile_Ecore_Cxx.am
+++ b/src/Makefile_Ecore_Cxx.am
@@ -1,11 +1,11 @@
1 1
2### Library 2### Library
3 3
4if HAVE_CXX11
5
4installed_ecorecxxmainheadersdir = $(includedir)/ecore-cxx-@VMAJ@ 6installed_ecorecxxmainheadersdir = $(includedir)/ecore-cxx-@VMAJ@
5dist_installed_ecorecxxmainheaders_DATA = bindings/ecore_cxx/Ecore.hh 7dist_installed_ecorecxxmainheaders_DATA = bindings/ecore_cxx/Ecore.hh
6 8
7if HAVE_CXX11
8
9generated_ecore_cxx_bindings = \ 9generated_ecore_cxx_bindings = \
10lib/ecore/ecore_poll.eo.hh \ 10lib/ecore/ecore_poll.eo.hh \
11lib/ecore/ecore_job.eo.hh \ 11lib/ecore/ecore_job.eo.hh \
@@ -27,12 +27,10 @@ lib/ecore/Ecore.eo.hh:
27 @for i in $(generated_ecore_cxx_bindings); do echo "#include <$$(basename $$i)>" >> $(top_builddir)/src/lib/ecore/Ecore.eo.hh; done 27 @for i in $(generated_ecore_cxx_bindings); do echo "#include <$$(basename $$i)>" >> $(top_builddir)/src/lib/ecore/Ecore.eo.hh; done
28 @echo -e "#endif\n\n#endif\n" >> $(top_builddir)/src/lib/ecore/Ecore.eo.hh 28 @echo -e "#endif\n\n#endif\n" >> $(top_builddir)/src/lib/ecore/Ecore.eo.hh
29 29
30endif
31 30
32### Unit tests 31### Unit tests
33 32
34if EFL_ENABLE_TESTS 33if EFL_ENABLE_TESTS
35if HAVE_CXX11
36 34
37check_PROGRAMS += tests/ecore_cxx/ecore_cxx_suite tests/ecore_cxx/cxx_compile_test 35check_PROGRAMS += tests/ecore_cxx/ecore_cxx_suite tests/ecore_cxx/cxx_compile_test
38TESTS += tests/ecore_cxx/ecore_cxx_suite tests/ecore_cxx/cxx_compile_test 36TESTS += tests/ecore_cxx/ecore_cxx_suite tests/ecore_cxx/cxx_compile_test