2013-01-03 18:08:14 -08:00
|
|
|
|
|
|
|
### Library
|
|
|
|
|
2014-10-02 08:52:45 -07:00
|
|
|
edje_eolian_files = \
|
2017-08-01 02:15:34 -07:00
|
|
|
lib/edje/efl_canvas_layout_calc.eo \
|
2017-08-03 01:23:21 -07:00
|
|
|
lib/edje/efl_canvas_layout_signal.eo \
|
2017-08-03 01:50:01 -07:00
|
|
|
lib/edje/efl_canvas_layout_group.eo \
|
2014-10-02 08:52:45 -07:00
|
|
|
lib/edje/edje_object.eo \
|
edje/elm: Rename _internal_ to _part_ (EO)
In Edje and Elementary, we have part objects, which are what is returned
by the interface efl_part(). Those objects can't be of an opaque type as
this doesn't work nicely with strongly typed languages such as C++ or
C#. In JS, Lua, C the types are weak and mostly runtime-based so it
doesn't matter much.
As a consequence, the documentation and the types need to look nice in
this EO API. Thus, we remove the abusive term "internal" and explicitly
call all those classes "part" something.
Eventually we want the types to be declared in the EO file so bindings
(C#, C++, ...) can generate the proper access methods, returning the
best possible types.
Note that right now a few of those part types are used in the legacy API
but don't actually need to be exposed externally.
This is kind of a mega commit that does all the renaming at once, but
it's really just a big sed operation. The power of good IDEs :)
Ref T5315
Ref T5306
2017-09-12 21:29:25 -07:00
|
|
|
lib/edje/efl_canvas_layout_part.eo \
|
|
|
|
lib/edje/efl_canvas_layout_part_box.eo \
|
|
|
|
lib/edje/efl_canvas_layout_part_table.eo \
|
|
|
|
lib/edje/efl_canvas_layout_part_swallow.eo \
|
2017-05-30 19:33:33 -07:00
|
|
|
lib/edje/efl_canvas_layout_external.eo \
|
edje/elm: Rename _internal_ to _part_ (EO)
In Edje and Elementary, we have part objects, which are what is returned
by the interface efl_part(). Those objects can't be of an opaque type as
this doesn't work nicely with strongly typed languages such as C++ or
C#. In JS, Lua, C the types are weak and mostly runtime-based so it
doesn't matter much.
As a consequence, the documentation and the types need to look nice in
this EO API. Thus, we remove the abusive term "internal" and explicitly
call all those classes "part" something.
Eventually we want the types to be declared in the EO file so bindings
(C#, C++, ...) can generate the proper access methods, returning the
best possible types.
Note that right now a few of those part types are used in the legacy API
but don't actually need to be exposed externally.
This is kind of a mega commit that does all the renaming at once, but
it's really just a big sed operation. The power of good IDEs :)
Ref T5315
Ref T5306
2017-09-12 21:29:25 -07:00
|
|
|
lib/edje/efl_canvas_layout_part_text.eo \
|
2014-10-02 08:52:45 -07:00
|
|
|
lib/edje/edje_edit.eo
|
|
|
|
|
2015-06-10 08:56:43 -07:00
|
|
|
edje_eolian_type_files = \
|
|
|
|
lib/edje/edje_types.eot
|
|
|
|
|
2016-04-21 22:58:49 -07:00
|
|
|
edje_eolian_priv_files = \
|
2017-05-29 04:28:08 -07:00
|
|
|
$(NULL)
|
2016-04-21 22:58:49 -07:00
|
|
|
|
2014-10-02 08:52:45 -07:00
|
|
|
edje_eolian_c = $(edje_eolian_files:%.eo=%.eo.c)
|
|
|
|
edje_eolian_h = $(edje_eolian_files:%.eo=%.eo.h) \
|
2015-06-10 08:56:43 -07:00
|
|
|
$(edje_eolian_files:%.eo=%.eo.legacy.h) \
|
|
|
|
$(edje_eolian_type_files:%.eot=%.eot.h)
|
2014-10-02 08:52:45 -07:00
|
|
|
|
2016-04-21 22:58:49 -07:00
|
|
|
edje_eolian_priv_c = $(edje_eolian_priv_files:%.eo=%.eo.c)
|
|
|
|
edje_eolian_priv_h = $(edje_eolian_priv_files:%.eo=%.eo.h)
|
|
|
|
|
2014-03-18 07:00:14 -07:00
|
|
|
BUILT_SOURCES += \
|
2014-10-02 08:52:45 -07:00
|
|
|
$(edje_eolian_c) \
|
2016-04-21 22:58:49 -07:00
|
|
|
$(edje_eolian_h) \
|
|
|
|
$(edje_eolian_priv_c) \
|
|
|
|
$(edje_eolian_priv_h)
|
2014-03-18 07:00:14 -07:00
|
|
|
|
|
|
|
edjeeolianfilesdir = $(datadir)/eolian/include/edje-@VMAJ@
|
|
|
|
edjeeolianfiles_DATA = \
|
2015-06-10 08:56:43 -07:00
|
|
|
$(edje_eolian_files) \
|
2017-05-30 19:33:33 -07:00
|
|
|
$(edje_eolian_type_files)
|
2014-03-18 07:00:14 -07:00
|
|
|
|
2017-05-30 19:33:33 -07:00
|
|
|
noinst_DATA += $(edje_eolian_priv_c) $(edje_eolian_priv_h)
|
2016-04-21 22:58:49 -07:00
|
|
|
|
2016-08-01 23:32:13 -07:00
|
|
|
EXTRA_DIST2 += ${edjeeolianfiles_DATA} \
|
2016-05-05 11:39:59 -07:00
|
|
|
$(edje_eolian_priv_files)
|
2014-03-18 07:00:14 -07:00
|
|
|
|
2013-01-03 18:08:14 -08:00
|
|
|
lib_LTLIBRARIES += lib/edje/libedje.la
|
|
|
|
|
2013-04-24 07:43:33 -07:00
|
|
|
EDJE_COMMON_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
|
2013-03-24 04:48:00 -07:00
|
|
|
-I$(top_builddir) \
|
|
|
|
-I$(top_srcdir)/src/lib/edje \
|
|
|
|
-I$(top_builddir)/src/lib/edje \
|
2013-01-03 18:08:14 -08:00
|
|
|
-DPACKAGE_BIN_DIR=\"$(bindir)\" \
|
|
|
|
-DPACKAGE_LIB_DIR=\"$(libdir)\" \
|
|
|
|
-DPACKAGE_DATA_DIR=\"$(datadir)/edje\" \
|
2014-07-02 08:09:20 -07:00
|
|
|
-DPACKAGE_BUILD_DIR=\"$(abs_top_builddir)\" \
|
|
|
|
-DPACKAGE_SRC_DIR=\"$(abs_top_srcdir)\" \
|
2016-08-01 03:04:42 -07:00
|
|
|
@EDJE_LUA_CFLAGS@ \
|
2013-01-14 14:36:23 -08:00
|
|
|
@EDJE_CFLAGS@
|
2013-01-03 18:08:14 -08:00
|
|
|
|
|
|
|
installed_edjemainheadersdir = $(includedir)/edje-@VMAJ@
|
|
|
|
dist_installed_edjemainheaders_DATA = \
|
|
|
|
lib/edje/Edje.h \
|
2013-04-11 02:48:20 -07:00
|
|
|
lib/edje/Edje_Common.h \
|
|
|
|
lib/edje/Edje_Eo.h \
|
|
|
|
lib/edje/Edje_Legacy.h \
|
2013-01-03 18:08:14 -08:00
|
|
|
lib/edje/Edje_Edit.h
|
|
|
|
|
2014-03-18 07:00:14 -07:00
|
|
|
nodist_installed_edjemainheaders_DATA = \
|
2017-05-30 14:03:31 -07:00
|
|
|
$(edje_eolian_h) \
|
2017-05-30 19:33:33 -07:00
|
|
|
$(NULL)
|
2014-03-18 07:00:14 -07:00
|
|
|
|
2013-01-03 18:08:14 -08:00
|
|
|
lib_edje_libedje_la_SOURCES = \
|
|
|
|
lib/edje/edje_private.h \
|
|
|
|
lib/edje/edje_convert.h \
|
|
|
|
lib/edje/edje_box_layout.c \
|
|
|
|
lib/edje/edje_cache.c \
|
|
|
|
lib/edje/edje_calc.c \
|
|
|
|
lib/edje/edje_callbacks.c \
|
|
|
|
lib/edje/edje_data.c \
|
|
|
|
lib/edje/edje_edit.c \
|
|
|
|
lib/edje/edje_embryo.c \
|
|
|
|
lib/edje/edje_entry.c \
|
|
|
|
lib/edje/edje_external.c \
|
|
|
|
lib/edje/edje_load.c \
|
|
|
|
lib/edje/edje_lua.c \
|
|
|
|
lib/edje/edje_lua2.c \
|
|
|
|
lib/edje/edje_lua_script_only.c \
|
|
|
|
lib/edje/edje_main.c \
|
|
|
|
lib/edje/edje_match.c \
|
|
|
|
lib/edje/edje_message_queue.c \
|
|
|
|
lib/edje/edje_misc.c \
|
|
|
|
lib/edje/edje_module.c \
|
|
|
|
lib/edje/edje_multisense.c \
|
|
|
|
lib/edje/edje_program.c \
|
|
|
|
lib/edje/edje_smart.c \
|
|
|
|
lib/edje/edje_text.c \
|
|
|
|
lib/edje/edje_textblock_styles.c \
|
|
|
|
lib/edje/edje_util.c \
|
2017-05-25 19:33:58 -07:00
|
|
|
lib/edje/edje_legacy.c \
|
2013-02-19 01:55:37 -08:00
|
|
|
lib/edje/edje_var.c \
|
2016-04-21 22:58:49 -07:00
|
|
|
lib/edje/edje_signal.c \
|
2016-11-03 08:45:42 -07:00
|
|
|
lib/edje/edje_part.c \
|
2016-11-15 07:35:38 -08:00
|
|
|
lib/edje/edje_part_helper.h \
|
2017-05-29 04:28:08 -07:00
|
|
|
lib/edje/edje_part_external.c \
|
2016-11-03 08:45:42 -07:00
|
|
|
lib/edje/edje_part_swallow.c \
|
|
|
|
lib/edje/edje_part_table.c \
|
2017-05-30 00:31:19 -07:00
|
|
|
lib/edje/edje_part_box.c \
|
|
|
|
lib/edje/edje_part_text.c
|
2016-06-08 11:26:07 -07:00
|
|
|
|
2013-04-24 07:43:33 -07:00
|
|
|
lib_edje_libedje_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl $(EDJE_COMMON_CPPFLAGS)
|
2016-08-01 03:04:42 -07:00
|
|
|
lib_edje_libedje_la_LIBADD = @EDJE_LIBS@ @EDJE_LUA_LIBS@
|
2013-01-14 14:36:23 -08:00
|
|
|
lib_edje_libedje_la_DEPENDENCIES = @EDJE_INTERNAL_LIBS@
|
2013-01-03 18:08:14 -08:00
|
|
|
lib_edje_libedje_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@
|
|
|
|
|
|
|
|
if ENABLE_MULTISENSE
|
|
|
|
# edjemoduleXXXdir = $(libdir)/edje/modules/
|
|
|
|
# edjemoduleXXX_LTLIBRARIES = modules/edje/XXX/module.la
|
|
|
|
#
|
2015-02-26 03:35:50 -08:00
|
|
|
# # Workaround for broken parallel install support in automake (relink issue)
|
|
|
|
# # http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7328
|
|
|
|
# install_edjemoduleXXXLTLIBRARIES = install-edjemoduleXXXLTLIBRARIES
|
|
|
|
# $(install_edjemoduleXXXLTLIBRARIES): install-libLTLIBRARIES
|
|
|
|
#
|
2013-01-03 18:08:14 -08:00
|
|
|
# modules_edje_XXX_module_la_SOURCES = modules/edje/XXX/XXX.c
|
2013-04-24 07:43:33 -07:00
|
|
|
# modules_edje_XXX_module_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl $(EDJE_COMMON_CPPFLAGS) @XXX_LIBS@
|
2013-01-03 18:08:14 -08:00
|
|
|
# modules_edje_XXX_module_la_LIBADD = $(EDJE_COMMON_USER_LIBADD)
|
|
|
|
# modules_edje_XXX_module_la_LDFLAGS = -module @EFL_LTMODULE_FLAGS@
|
|
|
|
# modules_edje_XXX_module_la_LIBTOOLFLAGS = --tag=disable-static
|
|
|
|
|
|
|
|
# edjemodulemultisensefactorydir = $(libdir)/edje/modules/multisense_factory/$(MODULE_ARCH)
|
|
|
|
# edjemodulemultisensefactory_LTLIBRARIES = modules/edje/multisense_factory/module.la
|
|
|
|
#
|
2015-02-26 03:35:50 -08:00
|
|
|
# # Workaround for broken parallel install support in automake (relink issue)
|
|
|
|
# # http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7328
|
|
|
|
# install_edjemodulemultisensefactoryLTLIBRARIES = install-edjemodulemultisensefactoryLTLIBRARIES
|
|
|
|
# $(install_edjemodulemultisensefactoryLTLIBRARIES): install-libLTLIBRARIES
|
|
|
|
#
|
2013-01-03 18:08:14 -08:00
|
|
|
# modules_edje_multisense_factory_module_la_SOURCES = \
|
|
|
|
# modules/edje/multisense_factory/multisense_factory.c
|
2013-04-24 07:43:33 -07:00
|
|
|
# modules_edje_multisense_factory_module_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
|
2013-01-03 18:08:14 -08:00
|
|
|
# $(EDJE_COMMON_CPPFLAGS) \
|
|
|
|
# @REMIX_CFLAGS@
|
|
|
|
# modules_edje_multisense_factory_module_la_LIBADD = \
|
|
|
|
# $(EDJE_COMMON_USER_LIBADD) \
|
|
|
|
# @REMIX_LIBS@
|
|
|
|
# modules_edje_multisense_factory_module_la_LDFLAGS = -module @EFL_LTMODULE_FLAGS@
|
|
|
|
# modules_edje_multisense_factory_module_la_LIBTOOLFLAGS = --tag=disable-static
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
### Binary
|
|
|
|
|
2013-03-15 15:46:52 -07:00
|
|
|
if HAVE_WIN32
|
|
|
|
USE_EDJE_BIN_LIBS = -L$(top_builddir)/src/lib/evil @USE_EDJE_LIBS@
|
|
|
|
else
|
|
|
|
USE_EDJE_BIN_LIBS = @USE_EDJE_LIBS@
|
2014-09-01 11:08:49 -07:00
|
|
|
endif
|
2013-03-15 15:46:52 -07:00
|
|
|
|
2013-01-03 18:08:14 -08:00
|
|
|
bin_PROGRAMS += \
|
|
|
|
bin/edje/edje_cc \
|
|
|
|
bin/edje/edje_decc \
|
|
|
|
bin/edje/edje_player \
|
|
|
|
bin/edje/edje_inspector \
|
|
|
|
bin/edje/edje_external_inspector \
|
|
|
|
bin/edje/edje_codegen \
|
|
|
|
bin/edje/edje_pick \
|
|
|
|
bin/edje/edje_watch
|
|
|
|
|
|
|
|
bin_edje_edje_cc_SOURCES = \
|
|
|
|
bin/edje/edje_multisense_convert.h \
|
|
|
|
bin/edje/edje_cc.h \
|
|
|
|
bin/edje/edje_cc.c \
|
|
|
|
bin/edje/edje_cc_out.c \
|
|
|
|
bin/edje/edje_cc_parse.c \
|
|
|
|
bin/edje/edje_cc_mem.c \
|
|
|
|
bin/edje/edje_cc_handlers.c \
|
|
|
|
bin/edje/edje_cc_sources.c \
|
2016-06-08 10:26:38 -07:00
|
|
|
bin/edje/edje_multisense_convert.c \
|
|
|
|
bin/edje/edje_svg_loader.c
|
2016-08-01 07:33:58 -07:00
|
|
|
bin_edje_edje_cc_CPPFLAGS = -I$(top_builddir)/src/lib/efl $(EDJE_COMMON_CPPFLAGS) @EDJE_LUA_CFLAGS@
|
|
|
|
bin_edje_edje_cc_LDADD = $(USE_EDJE_BIN_LIBS) @EDJE_LUA_LIBS@
|
2013-01-15 09:34:00 -08:00
|
|
|
bin_edje_edje_cc_DEPENDENCIES = \
|
|
|
|
@USE_EDJE_INTERNAL_LIBS@ \
|
2013-03-24 04:48:00 -07:00
|
|
|
bin/edje/epp/epp$(EXEEXT) # epp is an artificial dependency because edje_cc will use it at runtime, so we be sure if we depend on edje_cc we get epp.
|
2013-01-03 18:08:14 -08:00
|
|
|
|
|
|
|
bin_edje_edje_decc_SOURCES = \
|
|
|
|
bin/edje/edje_decc.c \
|
|
|
|
bin/edje/edje_decc.h \
|
|
|
|
bin/edje/edje_cc_mem.c \
|
|
|
|
bin/edje/edje_cc_sources.c
|
2013-04-24 07:43:33 -07:00
|
|
|
bin_edje_edje_decc_CPPFLAGS = -I$(top_builddir)/src/lib/efl $(EDJE_COMMON_CPPFLAGS)
|
2013-03-15 15:46:52 -07:00
|
|
|
bin_edje_edje_decc_LDADD = $(USE_EDJE_BIN_LIBS)
|
2013-01-14 14:36:23 -08:00
|
|
|
bin_edje_edje_decc_DEPENDENCIES = @USE_EDJE_INTERNAL_LIBS@
|
2013-01-03 18:08:14 -08:00
|
|
|
|
|
|
|
bin_edje_edje_player_SOURCES = bin/edje/edje_player.c
|
2013-04-24 07:43:33 -07:00
|
|
|
bin_edje_edje_player_CPPFLAGS = -I$(top_builddir)/src/lib/efl $(EDJE_COMMON_CPPFLAGS)
|
2013-03-15 15:46:52 -07:00
|
|
|
bin_edje_edje_player_LDADD = $(USE_EDJE_BIN_LIBS)
|
2013-01-14 14:36:23 -08:00
|
|
|
bin_edje_edje_player_DEPENDENCIES = @USE_EDJE_INTERNAL_LIBS@
|
2013-01-03 18:08:14 -08:00
|
|
|
|
|
|
|
bin_edje_edje_inspector_SOURCES = bin/edje/edje_inspector.c
|
2013-04-24 07:43:33 -07:00
|
|
|
bin_edje_edje_inspector_CPPFLAGS = -I$(top_builddir)/src/lib/efl $(EDJE_COMMON_CPPFLAGS)
|
2013-03-15 15:46:52 -07:00
|
|
|
bin_edje_edje_inspector_LDADD = $(USE_EDJE_BIN_LIBS)
|
2013-01-14 14:36:23 -08:00
|
|
|
bin_edje_edje_inspector_DEPENDENCIES = @USE_EDJE_INTERNAL_LIBS@
|
2013-01-03 18:08:14 -08:00
|
|
|
|
|
|
|
bin_edje_edje_external_inspector_SOURCES = bin/edje/edje_external_inspector.c
|
2013-04-24 07:43:33 -07:00
|
|
|
bin_edje_edje_external_inspector_CPPFLAGS = -I$(top_builddir)/src/lib/efl $(EDJE_COMMON_CPPFLAGS)
|
2013-03-15 15:46:52 -07:00
|
|
|
bin_edje_edje_external_inspector_LDADD = $(USE_EDJE_BIN_LIBS)
|
2013-01-14 14:36:23 -08:00
|
|
|
bin_edje_edje_external_inspector_DEPENDENCIES = @USE_EDJE_INTERNAL_LIBS@
|
2013-01-03 18:08:14 -08:00
|
|
|
|
|
|
|
bin_edje_edje_codegen_SOURCES = bin/edje/edje_codegen.c
|
2013-04-24 07:43:33 -07:00
|
|
|
bin_edje_edje_codegen_CPPFLAGS = -I$(top_builddir)/src/lib/efl $(EDJE_COMMON_CPPFLAGS)
|
2013-03-15 15:46:52 -07:00
|
|
|
bin_edje_edje_codegen_LDADD = $(USE_EDJE_BIN_LIBS)
|
2013-01-14 14:36:23 -08:00
|
|
|
bin_edje_edje_codegen_DEPENDENCIES = @USE_EDJE_INTERNAL_LIBS@
|
2013-01-03 18:08:14 -08:00
|
|
|
|
|
|
|
bin_edje_edje_pick_SOURCES = bin/edje/edje_pick.c
|
2013-04-24 07:43:33 -07:00
|
|
|
bin_edje_edje_pick_CPPFLAGS = -I$(top_builddir)/src/lib/efl $(EDJE_COMMON_CPPFLAGS)
|
2013-03-15 15:46:52 -07:00
|
|
|
bin_edje_edje_pick_LDADD = $(USE_EDJE_BIN_LIBS)
|
2013-01-14 14:36:23 -08:00
|
|
|
bin_edje_edje_pick_DEPENDENCIES = @USE_EDJE_INTERNAL_LIBS@
|
2013-01-03 18:08:14 -08:00
|
|
|
|
|
|
|
bin_edje_edje_watch_SOURCES = bin/edje/edje_watch.c
|
2013-04-24 07:43:33 -07:00
|
|
|
bin_edje_edje_watch_CPPFLAGS = -I$(top_builddir)/src/lib/efl $(EDJE_COMMON_CPPFLAGS)
|
2013-03-15 15:46:52 -07:00
|
|
|
bin_edje_edje_watch_LDADD = $(USE_EDJE_BIN_LIBS)
|
2013-01-14 14:36:23 -08:00
|
|
|
bin_edje_edje_watch_DEPENDENCIES = @USE_EDJE_INTERNAL_LIBS@
|
2013-01-03 18:08:14 -08:00
|
|
|
|
|
|
|
# EPP (Edje's CPP)
|
2013-01-09 14:31:54 -08:00
|
|
|
eppdir = $(libdir)/edje/utils/$(MODULE_ARCH)
|
2013-01-03 18:08:14 -08:00
|
|
|
epp_PROGRAMS = bin/edje/epp/epp
|
|
|
|
bin_edje_epp_epp_SOURCES = \
|
|
|
|
bin/edje/epp/cpplib.h \
|
|
|
|
bin/edje/epp/cpphash.h \
|
|
|
|
bin/edje/epp/cppalloc.c \
|
|
|
|
bin/edje/epp/cpperror.c \
|
|
|
|
bin/edje/epp/cppexp.c \
|
|
|
|
bin/edje/epp/cpphash.c \
|
|
|
|
bin/edje/epp/cpplib.c \
|
|
|
|
bin/edje/epp/cppmain.c
|
|
|
|
|
|
|
|
# Note: eina is included only because of EINA_UNUSED
|
2013-04-24 07:43:33 -07:00
|
|
|
bin_edje_epp_epp_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
|
2013-01-03 18:08:14 -08:00
|
|
|
-I$(top_builddir) \
|
|
|
|
-I$(top_srcdir)/src/lib/eina \
|
|
|
|
-I$(top_builddir)/src/lib/eina \
|
|
|
|
$(CWARNFLAGS) \
|
|
|
|
-DHAVE_CONFIG_H \
|
|
|
|
-DHAVE_STRERROR \
|
|
|
|
-DFATAL_EXIT_CODE=1 \
|
|
|
|
-DSUCCESS_EXIT_CODE=0 \
|
|
|
|
-DGCC_INCLUDE_DIR=\"/usr/include\" \
|
|
|
|
-DGPLUSPLUS_INCLUDE_DIR=\"/usr/include\" \
|
|
|
|
-DTOOL_INCLUDE_DIR=\"/usr/bin\" \
|
|
|
|
-DHOST_BITS_PER_LONG=32 \
|
|
|
|
-DBITS_PER_UNIT=8 \
|
|
|
|
-DHOST_BITS_PER_INT=32 \
|
|
|
|
-DBITS_PER_WORD=16 \
|
|
|
|
-DTARGET_BELL=7 \
|
|
|
|
-DTARGET_BS=8 \
|
|
|
|
-DTARGET_FF=12 \
|
|
|
|
-DTARGET_NEWLINE=10 \
|
|
|
|
-DTARGET_CR=13 \
|
|
|
|
-DTARGET_TAB=9 \
|
|
|
|
-DTARGET_VT=11
|
2013-03-15 03:00:19 -07:00
|
|
|
if HAVE_WIN32
|
2013-03-24 04:48:00 -07:00
|
|
|
bin_edje_epp_epp_CPPFLAGS += \
|
|
|
|
-I$(top_srcdir)/src/lib/evil \
|
|
|
|
-I$(top_builddir)/src/lib/evil
|
2013-03-15 03:00:19 -07:00
|
|
|
bin_edje_epp_epp_LDADD = lib/evil/libevil.la
|
|
|
|
endif
|
2013-01-03 18:08:14 -08:00
|
|
|
|
|
|
|
# TODO: why keep these?
|
2016-06-08 01:26:06 -07:00
|
|
|
EXTRA_DIST2 += \
|
2013-01-03 18:08:14 -08:00
|
|
|
bin/edje/edje_convert.h \
|
|
|
|
bin/edje/edje_convert.c \
|
2013-01-04 12:55:12 -08:00
|
|
|
bin/edje/edje_data_convert.c \
|
|
|
|
bin/edje/edje_convert_main.c \
|
2013-02-21 00:38:52 -08:00
|
|
|
lib/edje/edje_convert.c \
|
2013-11-04 01:31:48 -08:00
|
|
|
tests/edje/edje_tests_helpers.h \
|
|
|
|
tests/edje/data/complex_layout.edc \
|
2015-05-29 09:11:49 -07:00
|
|
|
tests/edje/data/test_layout.edc \
|
2015-07-08 10:50:25 -07:00
|
|
|
tests/edje/data/test_parens.edc \
|
|
|
|
tests/edje/data/test_masking.edc \
|
|
|
|
tests/edje/data/test_filters.edc \
|
2015-09-07 03:08:50 -07:00
|
|
|
tests/edje/data/test_snapshot.edc \
|
2015-12-15 21:53:59 -08:00
|
|
|
tests/edje/data/test_size_class.edc \
|
2016-02-04 22:51:31 -08:00
|
|
|
tests/edje/data/test_color_class.edc \
|
2016-04-15 09:45:52 -07:00
|
|
|
tests/edje/data/test_swallows.edc \
|
2016-04-18 16:17:45 -07:00
|
|
|
tests/edje/data/test_box.edc \
|
2016-04-25 00:20:57 -07:00
|
|
|
tests/edje/data/test_table.edc \
|
2016-09-22 19:56:19 -07:00
|
|
|
tests/edje/data/test_combine_keywords.edc \
|
2017-05-23 00:29:16 -07:00
|
|
|
tests/edje/data/test_messages.edc \
|
2017-05-29 21:34:57 -07:00
|
|
|
tests/edje/data/test_signals.edc \
|
2017-07-16 23:05:19 -07:00
|
|
|
tests/edje/data/test_signal_callback_del_full.edc \
|
2015-07-08 10:50:25 -07:00
|
|
|
tests/edje/data/filter.lua
|
2013-11-04 01:31:48 -08:00
|
|
|
|
2013-01-04 12:55:12 -08:00
|
|
|
|
|
|
|
bin_SCRIPTS += bin/edje/edje_recc
|
2013-01-03 18:08:14 -08:00
|
|
|
|
2013-03-12 23:23:23 -07:00
|
|
|
# Useful to other modules that generate EDJ
|
2013-03-24 07:41:44 -07:00
|
|
|
include Makefile_Edje_Helper.am
|
2013-03-12 23:23:23 -07:00
|
|
|
|
2013-01-03 18:08:14 -08:00
|
|
|
### Unit tests
|
|
|
|
|
|
|
|
if EFL_ENABLE_TESTS
|
|
|
|
|
|
|
|
check_PROGRAMS += tests/edje/edje_suite
|
2013-02-19 08:00:38 -08:00
|
|
|
TESTS += tests/edje/edje_suite
|
2013-01-03 18:08:14 -08:00
|
|
|
|
2016-04-20 22:44:26 -07:00
|
|
|
tests_edje_edje_suite_SOURCES = \
|
|
|
|
tests/edje/edje_suite.c \
|
|
|
|
tests/edje/edje_test_edje.c \
|
|
|
|
tests/edje/edje_suite.h
|
|
|
|
|
|
|
|
tests/edje/data/%.edj: tests/edje/data/%.edc bin/edje/edje_cc${EXEEXT}
|
|
|
|
$(AM_V_EDJ) \
|
|
|
|
$(MKDIR_P) tests/edje/data; \
|
|
|
|
$(EDJE_CC) $(EDJE_CC_FLAGS) -id $(srcdir)/tests/edje/data \
|
|
|
|
-id $(srcdir)/tests/emotion/data \
|
|
|
|
-dd $(srcdir)/tests/edje/data \
|
|
|
|
$< $@
|
|
|
|
|
2016-04-20 21:30:22 -07:00
|
|
|
EDJE_TEST_FILES = tests/edje/data/test_layout.edj \
|
|
|
|
tests/edje/data/complex_layout.edj \
|
|
|
|
tests/edje/data/test_parens.edj \
|
|
|
|
tests/edje/data/test_masking.edj \
|
|
|
|
tests/edje/data/test_filters.edj \
|
|
|
|
tests/edje/data/test_snapshot.edj \
|
|
|
|
tests/edje/data/test_size_class.edj \
|
|
|
|
tests/edje/data/test_swallows.edj \
|
|
|
|
tests/edje/data/test_color_class.edj \
|
2016-04-25 00:20:57 -07:00
|
|
|
tests/edje/data/test_box.edj \
|
|
|
|
tests/edje/data/test_table.edj \
|
2016-09-22 19:56:19 -07:00
|
|
|
tests/edje/data/test_combine_keywords.edj \
|
2017-05-23 00:29:16 -07:00
|
|
|
tests/edje/data/test_messages.edj \
|
2017-05-29 21:34:57 -07:00
|
|
|
tests/edje/data/test_signals.edj \
|
2017-07-16 23:05:19 -07:00
|
|
|
tests/edje/data/test_signal_callback_del_full.edj \
|
2016-04-25 00:20:57 -07:00
|
|
|
$(NULL)
|
2016-04-20 21:30:22 -07:00
|
|
|
|
2016-04-20 22:44:26 -07:00
|
|
|
CLEANFILES += $(EDJE_TEST_FILES)
|
2013-01-03 18:08:14 -08:00
|
|
|
|
2013-04-24 07:43:33 -07:00
|
|
|
tests_edje_edje_suite_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
|
2013-01-03 18:08:14 -08:00
|
|
|
$(EDJE_COMMON_CPPFLAGS) \
|
2015-07-29 04:00:35 -07:00
|
|
|
-DTESTS_SRC_DIR=\"$(top_srcdir)/src/tests/edje\" \
|
2016-04-15 09:54:32 -07:00
|
|
|
-DTESTS_BUILD_DIR=\"$(abs_top_builddir)/src/tests/edje\" \
|
2013-01-03 18:08:14 -08:00
|
|
|
@CHECK_CFLAGS@
|
2013-03-15 15:46:52 -07:00
|
|
|
tests_edje_edje_suite_LDADD = @CHECK_LIBS@ $(USE_EDJE_BIN_LIBS)
|
2016-04-20 22:44:26 -07:00
|
|
|
tests_edje_edje_suite_DEPENDENCIES = @USE_EDJE_INTERNAL_LIBS@ $(EDJE_TEST_FILES)
|
2013-03-12 23:23:23 -07:00
|
|
|
|
|
|
|
endif
|
|
|
|
|
2014-10-06 03:32:25 -07:00
|
|
|
if HAVE_ELUA
|
|
|
|
|
|
|
|
edje_eolian_lua = $(edje_eolian_files:%.eo=%.eo.lua)
|
|
|
|
|
|
|
|
generated_edje_lua_all = $(edje_eolian_lua)
|
|
|
|
|
2016-06-21 07:13:17 -07:00
|
|
|
GENERATED_LUA_BINDINGS += $(generated_edje_lua_all)
|
2014-10-06 03:32:25 -07:00
|
|
|
|
|
|
|
installed_edjeluadir = $(datadir)/elua/modules/edje
|
|
|
|
nodist_installed_edjelua_DATA = $(generated_edje_lua_all)
|
|
|
|
|
|
|
|
endif
|
2014-09-01 11:08:49 -07:00
|
|
|
|
|
|
|
if HAVE_JS
|
|
|
|
|
|
|
|
generated_edje_js_bindings = $(edje_eolian_files:%.eo=%.eo.js.cc)
|
|
|
|
|
|
|
|
GENERATED_JS_BINDINGS += $(generated_edje_js_bindings)
|
|
|
|
|
|
|
|
endif
|
2016-05-23 08:01:30 -07:00
|
|
|
|
|
|
|
if HAVE_CXX11
|
|
|
|
edje_eolian_cxx_hh = $(edje_eolian_files:%.eo=%.eo.hh)
|
2016-10-11 22:53:46 -07:00
|
|
|
edje_eolian_cxx_impl_hh = $(edje_eolian_files:%.eo=%.eo.impl.hh)
|
2016-05-23 08:01:30 -07:00
|
|
|
endif
|