2014-05-02 15:55:51 -07:00
|
|
|
|
2014-05-04 03:19:39 -07:00
|
|
|
### Library
|
|
|
|
|
2014-06-02 06:54:06 -07:00
|
|
|
if HAVE_CXX11
|
2014-05-04 03:19:39 -07:00
|
|
|
installed_eoliancxxmainheadersdir = $(includedir)/eolian-cxx-@VMAJ@/
|
2014-05-25 23:47:44 -07:00
|
|
|
dist_installed_eoliancxxmainheaders_DATA = \
|
2014-05-04 03:19:39 -07:00
|
|
|
lib/eolian_cxx/Eolian_Cxx.hh
|
|
|
|
|
2014-05-23 17:27:47 -07:00
|
|
|
installed_eoliancxxgrammarheadersdir = $(includedir)/eolian-cxx-@VMAJ@/grammar/
|
2014-05-25 23:47:44 -07:00
|
|
|
dist_installed_eoliancxxgrammarheaders_DATA = \
|
2016-06-05 22:54:36 -07:00
|
|
|
lib/eolian_cxx/grammar/address_of.hpp \
|
|
|
|
lib/eolian_cxx/grammar/alternative.hpp \
|
|
|
|
lib/eolian_cxx/grammar/attribute_conditional.hpp \
|
|
|
|
lib/eolian_cxx/grammar/attribute_reorder.hpp \
|
|
|
|
lib/eolian_cxx/grammar/attribute_replace.hpp \
|
|
|
|
lib/eolian_cxx/grammar/attributes.hpp \
|
|
|
|
lib/eolian_cxx/grammar/base_class_definition.hpp \
|
|
|
|
lib/eolian_cxx/grammar/case.hpp \
|
|
|
|
lib/eolian_cxx/grammar/class_declaration.hpp \
|
|
|
|
lib/eolian_cxx/grammar/class_definition.hpp \
|
|
|
|
lib/eolian_cxx/grammar/class_implementation.hpp \
|
|
|
|
lib/eolian_cxx/grammar/container.hpp \
|
|
|
|
lib/eolian_cxx/grammar/context.hpp \
|
|
|
|
lib/eolian_cxx/grammar/converting_argument.hpp \
|
|
|
|
lib/eolian_cxx/grammar/c_type.hpp \
|
|
|
|
lib/eolian_cxx/grammar/eps.hpp \
|
|
|
|
lib/eolian_cxx/grammar/function_declaration.hpp \
|
|
|
|
lib/eolian_cxx/grammar/function_definition.hpp \
|
|
|
|
lib/eolian_cxx/grammar/generator.hpp \
|
|
|
|
lib/eolian_cxx/grammar/header_guards.hpp \
|
|
|
|
lib/eolian_cxx/grammar/header.hpp \
|
|
|
|
lib/eolian_cxx/grammar/header_include_directive.hpp \
|
|
|
|
lib/eolian_cxx/grammar/implementation_include_directive.hpp \
|
|
|
|
lib/eolian_cxx/grammar/impl_header.hpp \
|
|
|
|
lib/eolian_cxx/grammar/indentation.hpp \
|
|
|
|
lib/eolian_cxx/grammar/keyword.hpp \
|
|
|
|
lib/eolian_cxx/grammar/klass_def.hpp \
|
|
|
|
lib/eolian_cxx/grammar/kleene.hpp \
|
|
|
|
lib/eolian_cxx/grammar/list.hpp \
|
|
|
|
lib/eolian_cxx/grammar/meta.hpp \
|
|
|
|
lib/eolian_cxx/grammar/namespace.hpp \
|
|
|
|
lib/eolian_cxx/grammar/parameter.hpp \
|
|
|
|
lib/eolian_cxx/grammar/qualifier_def.hpp \
|
|
|
|
lib/eolian_cxx/grammar/sequence.hpp \
|
|
|
|
lib/eolian_cxx/grammar/string.hpp \
|
|
|
|
lib/eolian_cxx/grammar/type.hpp \
|
|
|
|
lib/eolian_cxx/grammar/type_impl.hpp \
|
|
|
|
lib/eolian_cxx/grammar/type_traits.hpp \
|
|
|
|
lib/eolian_cxx/grammar/variant.hpp
|
2014-05-04 03:19:39 -07:00
|
|
|
|
2014-05-02 15:55:51 -07:00
|
|
|
### Binary
|
|
|
|
|
2014-05-04 03:19:39 -07:00
|
|
|
bin_PROGRAMS += bin/eolian_cxx/eolian_cxx
|
2014-05-02 15:55:51 -07:00
|
|
|
|
|
|
|
bin_eolian_cxx_eolian_cxx_SOURCES = \
|
|
|
|
bin/eolian_cxx/eolian_cxx.cc
|
|
|
|
|
2014-05-04 03:19:39 -07:00
|
|
|
bin_eolian_cxx_eolian_cxx_CXXFLAGS = -I$(top_builddir)/src/lib/efl \
|
2014-05-25 23:47:44 -07:00
|
|
|
-I$(top_srcdir)/src/lib/eolian_cxx/ \
|
2016-08-07 12:52:48 -07:00
|
|
|
@CHECK_CFLAGS@ @EINA_CFLAGS@ @EINA_CXX_CFLAGS@ @EO_CXX_CFLAGS@ @ECORE_CXX_CFLAGS@ @EO_CFLAGS@ \
|
2016-05-23 08:01:30 -07:00
|
|
|
-I$(top_srcdir)/src/bindings/cxx/eina_cxx \
|
2014-05-04 03:19:39 -07:00
|
|
|
@EOLIAN_CXX_CFLAGS@ @EOLIAN_CFLAGS@
|
2014-05-02 15:55:51 -07:00
|
|
|
|
2014-05-04 03:19:39 -07:00
|
|
|
bin_eolian_cxx_eolian_cxx_LDADD = @CHECK_LIBS@ @USE_EOLIAN_LIBS@
|
2014-05-02 15:55:51 -07:00
|
|
|
|
2014-05-04 03:19:39 -07:00
|
|
|
bin_eolian_cxx_eolian_cxx_DEPENDENCIES = @USE_EOLIAN_INTERNAL_LIBS@
|
2014-05-02 15:55:51 -07:00
|
|
|
|
2014-07-16 12:14:17 -07:00
|
|
|
|
|
|
|
### Unit tests
|
|
|
|
|
|
|
|
if EFL_ENABLE_TESTS
|
|
|
|
|
|
|
|
check_PROGRAMS += tests/eolian_cxx/eolian_cxx_suite
|
|
|
|
TESTS += tests/eolian_cxx/eolian_cxx_suite
|
|
|
|
|
|
|
|
tests_eolian_cxx_eolian_cxx_suite_SOURCES = \
|
|
|
|
tests/eolian_cxx/eolian_cxx_suite.cc \
|
|
|
|
tests/eolian_cxx/eolian_cxx_test_parse.cc \
|
2014-12-23 11:40:11 -08:00
|
|
|
tests/eolian_cxx/a.c \
|
|
|
|
tests/eolian_cxx/b.c \
|
|
|
|
tests/eolian_cxx/c.c \
|
|
|
|
tests/eolian_cxx/d.c \
|
2015-03-26 07:48:09 -07:00
|
|
|
tests/eolian_cxx/eolian_cxx_test_binding.cc \
|
2014-12-23 11:40:11 -08:00
|
|
|
tests/eolian_cxx/eolian_cxx_test_address_of.cc \
|
2014-11-11 07:03:59 -08:00
|
|
|
tests/eolian_cxx/eolian_cxx_test_wrapper.cc \
|
2014-08-26 11:54:28 -07:00
|
|
|
tests/eolian_cxx/simple.c \
|
2016-03-18 13:48:47 -07:00
|
|
|
tests/eolian_cxx/name_name.c \
|
|
|
|
tests/eolian_cxx/name_name_cxx.cc \
|
2015-03-26 07:48:09 -07:00
|
|
|
tests/eolian_cxx/generic.c \
|
2016-06-05 22:54:36 -07:00
|
|
|
tests/eolian_cxx/name1_name2_type_generation.c \
|
2014-08-26 11:54:28 -07:00
|
|
|
tests/eolian_cxx/eolian_cxx_test_inheritance.cc \
|
2016-02-04 06:10:11 -08:00
|
|
|
tests/eolian_cxx/eolian_cxx_test_generate.cc \
|
2016-05-23 08:33:37 -07:00
|
|
|
tests/eolian_cxx/complex.c \
|
|
|
|
tests/eolian_cxx/complex_cxx.cc \
|
2016-02-04 06:10:11 -08:00
|
|
|
tests/eolian_cxx/eolian_cxx_suite.h
|
2014-07-16 12:14:17 -07:00
|
|
|
|
2016-06-05 22:54:36 -07:00
|
|
|
tests/eolian_cxx/name1_name2_type_generation.$(OBJEXT): tests/eolian_cxx/name1_name2_type_generation.eo.h tests/eolian_cxx/name1_name2_type_generation.eo.c
|
2015-04-14 05:09:17 -07:00
|
|
|
tests/eolian_cxx/tests_eolian_cxx_eolian_cxx_suite-eolian_cxx_test_inheritance.$(OBJEXT): tests/eolian_cxx/simple.eo.hh tests/eolian_cxx/simple.eo.h
|
2016-06-05 22:54:36 -07:00
|
|
|
tests/eolian_cxx/tests_eolian_cxx_eolian_cxx_suite-eolian_cxx_test_binding.$(OBJEXT): tests/eolian_cxx/generic.eo.hh tests/eolian_cxx/generic.eo.h tests/eolian_cxx/name1_name2_type_generation.eo.hh tests/eolian_cxx/name1_name2_type_generation.eo.h tests/eolian_cxx/name1_name2_type_generation.eo.c
|
2015-04-14 05:09:17 -07:00
|
|
|
tests/eolian_cxx/tests_eolian_cxx_eolian_cxx_suite-eolian_cxx_test_address_of.$(OBJEXT): tests/eolian_cxx/a.eo.hh tests/eolian_cxx/b.eo.hh tests/eolian_cxx/c.eo.hh tests/eolian_cxx/d.eo.hh tests/eolian_cxx/a.eo.h tests/eolian_cxx/b.eo.h tests/eolian_cxx/c.eo.h tests/eolian_cxx/d.eo.h
|
2014-08-05 08:39:49 -07:00
|
|
|
|
2015-03-26 07:48:09 -07:00
|
|
|
tests/eolian_cxx/tests_eolian_cxx_eolian_cxx_suite-simple.$(OBJEXT): tests/eolian_cxx/simple.eo.c tests/eolian_cxx/simple.eo.h
|
|
|
|
tests/eolian_cxx/tests_eolian_cxx_eolian_cxx_suite-generic.$(OBJEXT): tests/eolian_cxx/generic.eo.c tests/eolian_cxx/generic.eo.h
|
2014-12-23 11:40:11 -08:00
|
|
|
tests/eolian_cxx/tests_eolian_cxx_eolian_cxx_suite-a.$(OBJEXT): tests/eolian_cxx/a.eo.c tests/eolian_cxx/a.eo.h
|
|
|
|
tests/eolian_cxx/tests_eolian_cxx_eolian_cxx_suite-b.$(OBJEXT): tests/eolian_cxx/b.eo.c tests/eolian_cxx/b.eo.h
|
|
|
|
tests/eolian_cxx/tests_eolian_cxx_eolian_cxx_suite-c.$(OBJEXT): tests/eolian_cxx/c.eo.c tests/eolian_cxx/c.eo.h
|
|
|
|
tests/eolian_cxx/tests_eolian_cxx_eolian_cxx_suite-d.$(OBJEXT): tests/eolian_cxx/d.eo.c tests/eolian_cxx/d.eo.h
|
2014-08-05 08:39:49 -07:00
|
|
|
|
2016-05-04 17:13:48 -07:00
|
|
|
tests/eolian_cxx/tests_eolian_cxx_eolian_cxx_suite-name_name.$(OBJEXT): tests/eolian_cxx/name_name.eo.c tests/eolian_cxx/name_name.eo.h tests/eolian_cxx/ns_name.eo.c tests/eolian_cxx/ns_name.eo.h tests/eolian_cxx/ns_name_other.eo.c tests/eolian_cxx/ns_name_other.eo.h
|
|
|
|
tests/eolian_cxx/tests_eolian_cxx_eolian_cxx_suite-name_name_cxx.$(OBJEXT): tests/eolian_cxx/name_name.eo.h tests/eolian_cxx/name_name.eo.hh tests/eolian_cxx/ns_name.eo.h tests/eolian_cxx/ns_name.eo.hh tests/eolian_cxx/ns_name_other.eo.h tests/eolian_cxx/ns_name_other.eo.hh
|
2016-03-18 13:48:47 -07:00
|
|
|
|
2016-05-23 08:33:37 -07:00
|
|
|
tests/eolian_cxx/tests_eolian_cxx_eolian_cxx_suite-complex.$(OBJEXT): tests/eolian_cxx/complex.eo.c tests/eolian_cxx/complex.eo.h
|
|
|
|
tests/eolian_cxx/tests_eolian_cxx_eolian_cxx_suite-complex_cxx.$(OBJEXT): tests/eolian_cxx/complex.eo.h tests/eolian_cxx/complex.eo.hh
|
|
|
|
|
2015-04-13 11:31:59 -07:00
|
|
|
CLEANFILES += \
|
2014-08-26 11:54:28 -07:00
|
|
|
tests/eolian_cxx/simple.eo.c \
|
|
|
|
tests/eolian_cxx/simple.eo.h \
|
|
|
|
tests/eolian_cxx/simple.eo.hh \
|
2015-01-12 06:00:59 -08:00
|
|
|
tests/eolian_cxx/simple.eo.impl.hh \
|
2015-03-26 07:48:09 -07:00
|
|
|
tests/eolian_cxx/generic.eo.c \
|
|
|
|
tests/eolian_cxx/generic.eo.h \
|
|
|
|
tests/eolian_cxx/generic.eo.hh \
|
|
|
|
tests/eolian_cxx/generic.eo.impl.hh \
|
2015-01-12 06:00:59 -08:00
|
|
|
tests/eolian_cxx/a.eo.hh tests/eolian_cxx/a.eo.impl.hh tests/eolian_cxx/a.eo.c tests/eolian_cxx/a.eo.h \
|
|
|
|
tests/eolian_cxx/b.eo.hh tests/eolian_cxx/b.eo.impl.hh tests/eolian_cxx/b.eo.c tests/eolian_cxx/b.eo.h \
|
|
|
|
tests/eolian_cxx/c.eo.hh tests/eolian_cxx/c.eo.impl.hh tests/eolian_cxx/c.eo.c tests/eolian_cxx/c.eo.h \
|
2016-04-25 06:16:18 -07:00
|
|
|
tests/eolian_cxx/d.eo.hh tests/eolian_cxx/d.eo.impl.hh tests/eolian_cxx/d.eo.c tests/eolian_cxx/d.eo.h \
|
|
|
|
tests/eolian_cxx/name_name.eo.hh \
|
|
|
|
tests/eolian_cxx/name_name.eo.c \
|
|
|
|
tests/eolian_cxx/name_name.eo.h \
|
2016-05-04 17:13:48 -07:00
|
|
|
tests/eolian_cxx/name_name.eo.impl.hh \
|
|
|
|
tests/eolian_cxx/ns_name.eo.hh \
|
|
|
|
tests/eolian_cxx/ns_name.eo.c \
|
|
|
|
tests/eolian_cxx/ns_name.eo.h \
|
|
|
|
tests/eolian_cxx/ns_name.eo.impl.hh \
|
|
|
|
tests/eolian_cxx/ns_name_other.eo.hh \
|
|
|
|
tests/eolian_cxx/ns_name_other.eo.c \
|
|
|
|
tests/eolian_cxx/ns_name_other.eo.h \
|
2016-05-23 08:33:37 -07:00
|
|
|
tests/eolian_cxx/ns_name_other.eo.impl.hh \
|
|
|
|
tests/eolian_cxx/complex.eo.hh \
|
|
|
|
tests/eolian_cxx/complex.eo.c \
|
|
|
|
tests/eolian_cxx/complex.eo.h \
|
2016-06-05 22:54:36 -07:00
|
|
|
tests/eolian_cxx/complex.eo.impl.hh \
|
|
|
|
tests/eolian_cxx/name1_name2_type_generation.eo.hh \
|
|
|
|
tests/eolian_cxx/name1_name2_type_generation.eo.impl.hh \
|
|
|
|
tests/eolian_cxx/name1_name2_type_generation.eo.h \
|
|
|
|
tests/eolian_cxx/name1_name2_type_generation.eo.c
|
2016-05-04 17:13:48 -07:00
|
|
|
|
2014-07-18 13:25:06 -07:00
|
|
|
|
2014-11-17 07:48:13 -08:00
|
|
|
tests_eolian_cxx_eolian_cxx_suite_CXXFLAGS = \
|
2014-07-16 12:14:17 -07:00
|
|
|
-I$(top_builddir)/src/lib/efl \
|
2015-04-13 11:31:59 -07:00
|
|
|
-I$(top_builddir)/src/lib/efl/interfaces \
|
2014-07-16 12:14:17 -07:00
|
|
|
-I$(top_srcdir)/src/bin/eolian_cxx \
|
2014-07-18 13:25:06 -07:00
|
|
|
-I$(top_builddir)/src/tests/eolian_cxx \
|
2014-07-16 12:14:17 -07:00
|
|
|
-DTESTS_WD=\"`pwd`\" \
|
|
|
|
-DTESTS_SRC_DIR=\"$(top_srcdir)/src/tests/eolian_cxx\" \
|
|
|
|
-DPACKAGE_BUILD_DIR=\"$(abs_top_builddir)/src/tests/eolian_cxx\" \
|
|
|
|
-DPACKAGE_DATA_DIR=\"$(datadir)/eolian_cxx\" \
|
|
|
|
-DTESTS_BUILD_DIR=\"$(top_builddir)/src/tests/eolian_cxx\" \
|
|
|
|
@CHECK_CFLAGS@ @EOLIAN_CXX_CFLAGS@ @EINA_CXX_CFLAGS@ \
|
2014-07-18 13:25:06 -07:00
|
|
|
@EOLIAN_CFLAGS@ @EINA_CFLAGS@ @EO_CFLAGS@ @ECORE_CFLAGS@ \
|
2016-08-07 12:52:48 -07:00
|
|
|
@EO_CXX_CFLAGS@ @ECORE_CXX_CFLAGS@
|
2014-07-16 12:14:17 -07:00
|
|
|
|
|
|
|
tests_eolian_cxx_eolian_cxx_suite_CFLAGS = ${tests_eolian_cxx_eolian_cxx_suite_CXXFLAGS}
|
|
|
|
tests_eolian_cxx_eolian_cxx_suite_CPPFLAGS = ${tests_eolian_cxx_eolian_cxx_suite_CXXFLAGS}
|
|
|
|
tests_eolian_cxx_eolian_cxx_suite_LDADD = \
|
2015-01-26 09:49:16 -08:00
|
|
|
@CHECK_LIBS@ @USE_EO_LIBS@ @USE_EINA_LIBS@ @USE_ECORE_LIBS@ @USE_EOLIAN_LIBS@
|
2014-07-16 12:14:17 -07:00
|
|
|
tests_eolian_cxx_eolian_cxx_suite_DEPENDENCIES = @USE_EOLIAN_INTERNAL_LIBS@
|
|
|
|
|
2014-05-04 04:11:11 -07:00
|
|
|
endif
|
|
|
|
|
2016-06-08 01:26:06 -07:00
|
|
|
EXTRA_DIST2 += \
|
2014-08-26 11:54:28 -07:00
|
|
|
tests/eolian_cxx/simple.eo \
|
2015-03-26 07:48:09 -07:00
|
|
|
tests/eolian_cxx/generic.eo \
|
2014-12-23 11:40:11 -08:00
|
|
|
tests/eolian_cxx/a.eo \
|
|
|
|
tests/eolian_cxx/b.eo \
|
|
|
|
tests/eolian_cxx/c.eo \
|
2016-04-25 06:16:18 -07:00
|
|
|
tests/eolian_cxx/d.eo \
|
2016-05-04 17:13:48 -07:00
|
|
|
tests/eolian_cxx/name_name.eo \
|
|
|
|
tests/eolian_cxx/ns_name.eo \
|
2016-05-24 02:13:28 -07:00
|
|
|
tests/eolian_cxx/ns_name_other.eo \
|
2016-06-05 22:54:36 -07:00
|
|
|
tests/eolian_cxx/name1_name2_type_generation.eo \
|
2016-05-24 02:13:28 -07:00
|
|
|
tests/eolian_cxx/complex.eo
|
2014-12-23 11:40:11 -08:00
|
|
|
|
2014-07-18 13:25:06 -07:00
|
|
|
include Makefile_Eolian_Cxx_Helper.am
|
|
|
|
|
2014-07-16 12:14:17 -07:00
|
|
|
endif
|