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
|
|
|
|
|
|
|
|
installed_eoliancxxheadersdir = $(includedir)/eolian-cxx-@VMAJ@/
|
2014-05-25 23:47:44 -07:00
|
|
|
dist_installed_eoliancxxheaders_DATA = \
|
2014-05-04 03:19:39 -07:00
|
|
|
lib/eolian_cxx/eo_generate.hh \
|
|
|
|
lib/eolian_cxx/eo_types.hh \
|
2014-05-23 17:27:47 -07:00
|
|
|
lib/eolian_cxx/eo_validate.hh
|
|
|
|
|
|
|
|
installed_eoliancxxgrammarheadersdir = $(includedir)/eolian-cxx-@VMAJ@/grammar/
|
2014-05-25 23:47:44 -07:00
|
|
|
dist_installed_eoliancxxgrammarheaders_DATA = \
|
2014-05-04 03:19:39 -07:00
|
|
|
lib/eolian_cxx/grammar/comment.hh \
|
2015-01-12 06:00:59 -08:00
|
|
|
lib/eolian_cxx/grammar/eo_class_scope_guard_generator.hh \
|
2014-05-04 03:19:39 -07:00
|
|
|
lib/eolian_cxx/grammar/eo_class_constructors_generator.hh \
|
2014-06-30 11:32:52 -07:00
|
|
|
lib/eolian_cxx/grammar/eo_class_events_generator.hh \
|
2014-05-04 03:19:39 -07:00
|
|
|
lib/eolian_cxx/grammar/eo_class_functions_generator.hh \
|
2014-12-17 05:47:19 -08:00
|
|
|
lib/eolian_cxx/grammar/namespace_generator.hh \
|
2014-05-04 03:19:39 -07:00
|
|
|
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 \
|
2014-07-16 17:29:47 -07:00
|
|
|
lib/eolian_cxx/grammar/type_generator.hh \
|
2014-05-04 03:19:39 -07:00
|
|
|
lib/eolian_cxx/grammar/tab.hh
|
|
|
|
|
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 = \
|
2014-06-30 11:32:52 -07:00
|
|
|
bin/eolian_cxx/convert_comments.cc \
|
|
|
|
bin/eolian_cxx/convert_comments.hh \
|
2014-05-02 15:55:51 -07:00
|
|
|
bin/eolian_cxx/convert.cc \
|
|
|
|
bin/eolian_cxx/convert.hh \
|
2014-06-30 11:32:52 -07:00
|
|
|
bin/eolian_cxx/eolian_wrappers.hh \
|
2014-05-02 15:55:51 -07:00
|
|
|
bin/eolian_cxx/safe_strings.hh \
|
2014-11-17 07:48:13 -08:00
|
|
|
bin/eolian_cxx/type_lookup.hh \
|
|
|
|
bin/eolian_cxx/type_lookup_table.cc \
|
2014-05-02 15:55:51 -07:00
|
|
|
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/ \
|
2014-05-04 03:19:39 -07:00
|
|
|
@CHECK_CFLAGS@ @EINA_CFLAGS@ @EINA_CXX_CFLAGS@ @EO_CFLAGS@ \
|
|
|
|
@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-07-18 13:25:06 -07:00
|
|
|
tests/eolian_cxx/callback.c \
|
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-07-18 13:25:06 -07:00
|
|
|
tests/eolian_cxx/eolian_cxx_test_callback.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 \
|
2015-03-26 07:48:09 -07:00
|
|
|
tests/eolian_cxx/generic.c \
|
2014-08-26 11:54:28 -07:00
|
|
|
tests/eolian_cxx/eolian_cxx_test_inheritance.cc \
|
2014-07-16 12:14:17 -07:00
|
|
|
tests/eolian_cxx/eolian_cxx_test_generate.cc
|
|
|
|
|
2015-04-14 05:09:17 -07:00
|
|
|
tests/eolian_cxx/tests_eolian_cxx_eolian_cxx_suite-eolian_cxx_test_wrapper.$(OBJEXT): tests/eolian_cxx/callback.eo.hh 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/callback.eo.h
|
|
|
|
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
|
|
|
|
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/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
|
|
|
|
|
|
|
tests/eolian_cxx/tests_eolian_cxx_eolian_cxx_suite-callback.$(OBJEXT): tests/eolian_cxx/callback.eo.c tests/eolian_cxx/callback.eo.h
|
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
|
|
|
|
2015-04-13 11:31:59 -07:00
|
|
|
CLEANFILES += \
|
|
|
|
tests/eolian_cxx/callback.eo.hh \
|
|
|
|
tests/eolian_cxx/callback.eo.c \
|
2014-08-26 11:54:28 -07:00
|
|
|
tests/eolian_cxx/callback.eo.h \
|
2015-04-13 11:31:59 -07:00
|
|
|
tests/eolian_cxx/callback.eo.impl.hh \
|
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 \
|
|
|
|
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
|
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@ \
|
|
|
|
@EO_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
|
|
|
|
|
2014-12-23 11:40:11 -08:00
|
|
|
EXTRA_DIST += tests/eolian_cxx/callback.eo \
|
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 \
|
|
|
|
tests/eolian_cxx/d.eo
|
|
|
|
|
2014-07-18 13:25:06 -07:00
|
|
|
include Makefile_Eolian_Cxx_Helper.am
|
|
|
|
|
2014-07-16 12:14:17 -07:00
|
|
|
endif
|