aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile_Eolian_Cxx.am
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2014-05-04 12:19:39 +0200
committerCedric Bail <cedric.bail@free.fr>2014-05-04 12:21:30 +0200
commit814982389759069625f4fb0c460436a8f4d894c6 (patch)
tree3ff7ddf4880bc1ec21d65f9369e0024047a782e7 /src/Makefile_Eolian_Cxx.am
parentEolian: Fix support of virtual constructors. (diff)
downloadefl-814982389759069625f4fb0c460436a8f4d894c6.tar.gz
eolian-cxx: fix make distcheck and automake files for Eolian C++
Summary: Fixed distcheck for Eolian C++. Made the generated files as nodist so it doesn't get picked up for generation way too early. Reviewers: cedric, seoz CC: cedric Maniphest Tasks: https://phab.enlightenment.org/T1220 Differential Revision: https://phab.enlightenment.org/D820 Signed-off-by: Cedric Bail <cedric.bail@free.fr>
Diffstat (limited to 'src/Makefile_Eolian_Cxx.am')
-rw-r--r--src/Makefile_Eolian_Cxx.am61
1 files changed, 27 insertions, 34 deletions
diff --git a/src/Makefile_Eolian_Cxx.am b/src/Makefile_Eolian_Cxx.am
index 63e2b95149..47578a3c55 100644
--- a/src/Makefile_Eolian_Cxx.am
+++ b/src/Makefile_Eolian_Cxx.am
@@ -1,8 +1,28 @@
+### Library
+
+installed_eoliancxxmainheadersdir = $(includedir)/eolian-cxx-@VMAJ@/
+dist_installed_eoliancxxmainheaders_DATA = \
+lib/eolian_cxx/Eolian_Cxx.hh
+
+installed_eoliancxxheadersdir = $(includedir)/eolian-cxx-@VMAJ@/
+dist_installed_eoliancxxheaders_DATA = \
+lib/eolian_cxx/eo_generate.hh \
+lib/eolian_cxx/eo_types.hh \
+lib/eolian_cxx/eo_validate.hh \
+lib/eolian_cxx/grammar/comment.hh \
+lib/eolian_cxx/grammar/eo_class_constructors_generator.hh \
+lib/eolian_cxx/grammar/eo_class_events.generator.hh \
+lib/eolian_cxx/grammar/eo_class_functions_generator.hh \
+lib/eolian_cxx/grammar/eo_class_generator.hh \
+lib/eolian_cxx/grammar/eo_header_generator.hh \
+lib/eolian_cxx/grammar/inheritance_base_generator.hh \
+lib/eolian_cxx/grammar/parameters_generator.hh \
+lib/eolian_cxx/grammar/tab.hh
+
### Binary
-bin_PROGRAMS += \
- bin/eolian_cxx/eolian_cxx
+bin_PROGRAMS += bin/eolian_cxx/eolian_cxx
bin_eolian_cxx_eolian_cxx_SOURCES = \
bin/eolian_cxx/comments.cc \
@@ -13,40 +33,13 @@ bin_eolian_cxx_eolian_cxx_SOURCES = \
bin/eolian_cxx/safe_strings.hh \
bin/eolian_cxx/eolian_cxx.cc
-bin_eolian_cxx_eolian_cxx_CFLAGS = \
- @EOLIAN_CFLAGS@
-
-bin_eolian_cxx_eolian_cxx_CXXFLAGS = \
- -I$(top_builddir)/src/lib/efl \
- @EOLIAN_CFLAGS@ \
- -I$(top_builddir)/src/lib/eo \
- -I$(top_srcdir)/src/lib/eo \
- -I$(top_builddir)/src/bindings/eina_cxx \
- -I$(top_srcdir)/src/bindings/eina_cxx \
- -I$(top_builddir)/src/lib/eolian_cxx \
- -I$(top_srcdir)/src/lib/eolian_cxx
+bin_eolian_cxx_eolian_cxx_CXXFLAGS = -I$(top_builddir)/src/lib/efl \
+@CHECK_CFLAGS@ @EINA_CFLAGS@ @EINA_CXX_CFLAGS@ @EO_CFLAGS@ \
+@EOLIAN_CXX_CFLAGS@ @EOLIAN_CFLAGS@
-bin_eolian_cxx_eolian_cxx_LDADD = \
- @USE_EOLIAN_LIBS@
+bin_eolian_cxx_eolian_cxx_LDADD = @CHECK_LIBS@ @USE_EOLIAN_LIBS@
-bin_eolian_cxx_eolian_cxx_DEPENDENCIES = \
- @USE_EOLIAN_INTERNAL_LIBS@
+bin_eolian_cxx_eolian_cxx_DEPENDENCIES = @USE_EOLIAN_INTERNAL_LIBS@
include Makefile_Eolian_Cxx_Helper.am
-CLEANFILES += $(BUILT_SOURCES)
-
-EXTRA_DIST += \
- lib/eolian_cxx/Eolian_Cxx.hh \
- lib/eolian_cxx/eo_generate.hh \
- lib/eolian_cxx/eo_types.hh \
- lib/eolian_cxx/eo_validate.hh \
- lib/eolian_cxx/grammar/comment.hh \
- lib/eolian_cxx/grammar/eo_class_constructors_generator.hh \
- lib/eolian_cxx/grammar/eo_class_events.generator.hh \
- lib/eolian_cxx/grammar/eo_class_functions_generator.hh \
- lib/eolian_cxx/grammar/eo_class_generator.hh \
- lib/eolian_cxx/grammar/eo_header_generator.hh \
- lib/eolian_cxx/grammar/inheritance_base_generator.hh \
- lib/eolian_cxx/grammar/parameters_generator.hh \
- lib/eolian_cxx/grammar/tab.hh