2012-09-11 09:04:21 -07:00
|
|
|
MAINTAINERCLEANFILES = Makefile.in
|
2013-01-16 10:28:43 -08:00
|
|
|
CLEANFILES =
|
2012-12-07 14:50:06 -08:00
|
|
|
BUILT_SOURCES =
|
2014-03-05 03:54:39 -08:00
|
|
|
|
|
|
|
EOLIAN_FLAGS = \
|
|
|
|
-I$(srcdir)/lib/eo \
|
2014-03-18 07:00:14 -07:00
|
|
|
-I$(srcdir)/lib/evas/canvas \
|
2014-03-26 08:01:08 -07:00
|
|
|
-I$(srcdir)/lib/edje \
|
2014-06-19 07:24:40 -07:00
|
|
|
-I$(srcdir)/lib/efl/interfaces \
|
2014-08-22 03:11:41 -07:00
|
|
|
-I$(srcdir)/lib/ecore_audio \
|
|
|
|
-I$(srcdir)/lib/ecore \
|
|
|
|
-I$(srcdir)/lib/ecore_con
|
2014-03-18 07:00:14 -07:00
|
|
|
|
2013-01-11 23:38:26 -08:00
|
|
|
DIST_SUBDIRS =
|
|
|
|
SUBDIRS =
|
2012-11-01 05:56:52 -07:00
|
|
|
|
|
|
|
lib_LTLIBRARIES =
|
|
|
|
bin_PROGRAMS =
|
2013-01-04 12:55:12 -08:00
|
|
|
bin_SCRIPTS =
|
2012-12-29 15:04:40 -08:00
|
|
|
noinst_PROGRAMS =
|
2012-11-17 23:12:38 -08:00
|
|
|
check_PROGRAMS =
|
2013-01-15 12:51:04 -08:00
|
|
|
TESTS =
|
2012-11-01 05:56:52 -07:00
|
|
|
EXTRA_DIST =
|
|
|
|
|
2014-03-05 03:54:39 -08:00
|
|
|
|
2013-11-04 01:31:48 -08:00
|
|
|
EFL_INSTALL_EXEC_HOOK=
|
2013-05-05 01:25:48 -07:00
|
|
|
|
2012-11-01 05:56:52 -07:00
|
|
|
include Makefile_Evil.am
|
2012-12-02 14:35:45 -08:00
|
|
|
include Makefile_Escape.am
|
|
|
|
|
2012-11-01 05:56:52 -07:00
|
|
|
include Makefile_Eina.am
|
|
|
|
include Makefile_Eo.am
|
2014-07-18 05:38:25 -07:00
|
|
|
include Makefile_Efl.am
|
2012-11-01 05:56:52 -07:00
|
|
|
include Makefile_Eet.am
|
2014-02-11 06:31:21 -08:00
|
|
|
include Makefile_Eolian.am
|
2012-12-02 14:35:45 -08:00
|
|
|
include Makefile_Ecore.am
|
|
|
|
include Makefile_Ecore_Con.am
|
|
|
|
include Makefile_Ecore_Ipc.am
|
|
|
|
include Makefile_Ecore_File.am
|
2014-06-05 04:40:44 -07:00
|
|
|
include Makefile_Ecore_Avahi.am
|
|
|
|
include Makefile_Embryo.am
|
|
|
|
include Makefile_Eio.am
|
|
|
|
include Makefile_Eldbus.am
|
|
|
|
include Makefile_Efreet.am
|
|
|
|
include Makefile_Eeze.am
|
|
|
|
|
|
|
|
if BUILD_GUI
|
|
|
|
include Makefile_Evas.am
|
2012-12-02 14:35:45 -08:00
|
|
|
include Makefile_Ecore_Input.am
|
2013-01-15 10:59:28 -08:00
|
|
|
include Makefile_Ecore_Input_Evas.am
|
2012-12-02 14:35:45 -08:00
|
|
|
include Makefile_Ecore_Cocoa.am
|
2014-03-06 03:17:01 -08:00
|
|
|
include Makefile_Ecore_Drm.am
|
2012-12-02 14:35:45 -08:00
|
|
|
include Makefile_Ecore_FB.am
|
|
|
|
include Makefile_Ecore_Psl1ght.am
|
|
|
|
include Makefile_Ecore_SDL.am
|
|
|
|
include Makefile_Ecore_Wayland.am
|
|
|
|
include Makefile_Ecore_Win32.am
|
|
|
|
include Makefile_Ecore_X.am
|
2014-06-05 04:40:44 -07:00
|
|
|
include Makefile_Ecore_Audio.am
|
2013-01-15 11:11:01 -08:00
|
|
|
include Makefile_Ecore_IMF.am
|
|
|
|
include Makefile_Ecore_IMF_Evas.am
|
2012-12-03 08:11:26 -08:00
|
|
|
include Makefile_Ecore_Evas.am
|
2013-01-03 14:10:40 -08:00
|
|
|
include Makefile_EPhysics.am
|
2013-01-03 18:08:14 -08:00
|
|
|
include Makefile_Edje.am
|
2013-01-09 19:43:32 -08:00
|
|
|
include Makefile_Emotion.am
|
2013-01-11 17:15:45 -08:00
|
|
|
include Makefile_Ethumb.am
|
2013-01-15 10:10:58 -08:00
|
|
|
include Makefile_Ethumb_Client.am
|
2012-09-16 07:25:29 -07:00
|
|
|
|
2014-06-05 04:40:44 -07:00
|
|
|
include Makefile_Ecore_Audio_Cxx.am
|
|
|
|
include Makefile_Edje_Cxx.am
|
|
|
|
include Makefile_Evas_Cxx.am
|
|
|
|
endif
|
|
|
|
|
2014-02-25 12:24:32 -08:00
|
|
|
include Makefile_Eina_Cxx.am
|
2014-07-03 09:04:08 -07:00
|
|
|
include Makefile_Ecore_Cxx.am
|
eldbus-cxx: Implementation of eldbus C++ API
Summary:
Applications can:
void method_callback(void* data, const Eldbus_Service_Interface* iface,
const Eldbus_Message* message);
struct { ... } data_struct;
Eldbus_Method methods[] =
{
"method1", ELDBUS_ARGS("b", "bool"), ELDBUS_ARGS("b", "bool"), ELDBUS_METHOD_FLAG_HAS_DATA
, (Eldbus_Method_Cb)&method_callback, &data_struct
};
And method_callback will be called with data parameter pointing to data_struct global object.
Also, Eldbus-cxx supports registering an interface passing a lambda or
function object as method. For example:
edb::service_interface iface = edb::service_interface_register
(c, path, interface
, es::method("SendStringAndBool"
, [expected_string, expected_bool] (std::string const& n, bool b
, bool* out)
{
std::cout << "Running SendStringAndBool" << std::endl;
ck_assert(n == expected_string);
ck_assert(b == expected_bool);
*out = b;
return n;
}
, es::ins<std::string, bool>("string", "bool")
, es::outs<std::string, bool>("string", "bool")
)
);
When a request for "SendStringAndBool" with the proper signature is
called, executes the lambda and replies with the return value and
its bool* out parameter value.
Reviewers: cedric, woohyun, raster
CC: savio, cedric
Differential Revision: https://phab.enlightenment.org/D1052
2014-07-03 00:28:22 -07:00
|
|
|
include Makefile_Eldbus_Cxx.am
|
2014-05-04 03:19:39 -07:00
|
|
|
include Makefile_Eolian_Cxx.am
|
|
|
|
include Makefile_Eet_Cxx.am
|
2014-05-02 15:55:51 -07:00
|
|
|
include Makefile_Eo_Cxx.am
|
2014-07-18 06:40:54 -07:00
|
|
|
include Makefile_Efl_Cxx.am
|
2014-04-03 08:01:01 -07:00
|
|
|
include Makefile_Elua.am
|
2014-10-28 03:22:55 -07:00
|
|
|
include Makefile_Elocation.am
|
2014-04-03 08:01:01 -07:00
|
|
|
|
2012-10-10 11:43:15 -07:00
|
|
|
.PHONY: benchmark examples
|
2012-09-16 07:25:29 -07:00
|
|
|
|
2013-01-11 23:38:26 -08:00
|
|
|
BENCHMARK_SUBDIRS = \
|
|
|
|
benchmarks/eina \
|
2014-03-14 02:38:30 -07:00
|
|
|
benchmarks/eo \
|
|
|
|
benchmarks/evas
|
2013-01-11 23:38:26 -08:00
|
|
|
DIST_SUBDIRS += $(BENCHMARK_SUBDIRS)
|
2012-09-16 07:25:29 -07:00
|
|
|
|
2013-01-11 23:38:26 -08:00
|
|
|
benchmark: all-am
|
|
|
|
@for d in $(BENCHMARK_SUBDIRS); do \
|
|
|
|
echo "Making benchmark in $$d"; \
|
|
|
|
$(MAKE) $(AM_MAKEFLAGS) -C $$d benchmark; \
|
|
|
|
done
|
|
|
|
|
|
|
|
EXAMPLES_SUBDIRS = \
|
|
|
|
examples/eina \
|
|
|
|
examples/eo \
|
|
|
|
examples/eet \
|
|
|
|
examples/evas \
|
|
|
|
examples/ecore \
|
2013-11-09 23:51:42 -08:00
|
|
|
examples/ecore_avahi \
|
2013-01-11 23:38:26 -08:00
|
|
|
examples/eio \
|
2013-04-23 07:40:05 -07:00
|
|
|
examples/eldbus \
|
2013-01-11 23:38:26 -08:00
|
|
|
examples/ephysics \
|
|
|
|
examples/edje \
|
|
|
|
examples/emotion \
|
2014-05-28 06:50:51 -07:00
|
|
|
examples/ethumb_client
|
|
|
|
|
|
|
|
if HAVE_ELUA
|
|
|
|
EXAMPLES_SUBDIRS += examples/elua
|
|
|
|
endif
|
2014-05-09 03:43:38 -07:00
|
|
|
|
2014-09-09 03:27:51 -07:00
|
|
|
EXAMPLES_CXX = \
|
2014-05-09 03:43:38 -07:00
|
|
|
examples/eina_cxx \
|
2014-05-02 15:55:51 -07:00
|
|
|
examples/eolian_cxx
|
2014-09-09 03:27:51 -07:00
|
|
|
|
|
|
|
if HAVE_CXX11
|
|
|
|
EXAMPLES_SUBDIRS += $(EXAMPLES_CXX)
|
2014-05-09 03:43:38 -07:00
|
|
|
endif
|
|
|
|
|
2013-01-11 23:38:26 -08:00
|
|
|
if ALWAYS_BUILD_EXAMPLES
|
2013-01-15 11:19:36 -08:00
|
|
|
SUBDIRS += . $(EXAMPLES_SUBDIRS)
|
2013-01-11 23:38:26 -08:00
|
|
|
endif
|
2014-05-09 03:43:38 -07:00
|
|
|
|
2014-09-30 08:46:40 -07:00
|
|
|
DIST_SUBDIRS += $(EXAMPLES_SUBDIRS)
|
2013-01-11 23:38:26 -08:00
|
|
|
|
|
|
|
examples: all-am
|
|
|
|
@for d in $(EXAMPLES_SUBDIRS); do \
|
|
|
|
echo "Making examples in $$d"; \
|
2013-07-11 01:51:32 -07:00
|
|
|
$(MAKE) $(AM_MAKEFLAGS) -C $$d examples || exit 1; \
|
2013-01-11 23:38:26 -08:00
|
|
|
done
|
2012-09-16 14:15:43 -07:00
|
|
|
|
|
|
|
install-examples:
|
2013-01-11 23:38:26 -08:00
|
|
|
@for d in $(EXAMPLES_SUBDIRS); do \
|
|
|
|
echo "Making install-examples in $$d"; \
|
2013-02-08 09:35:31 -08:00
|
|
|
$(MAKE) $(AM_MAKEFLAGS) -C $$d install-examples || exit 1; \
|
2013-01-11 23:38:26 -08:00
|
|
|
done
|
2012-11-09 12:15:50 -08:00
|
|
|
|
|
|
|
clean-local:
|
2013-01-16 10:28:43 -08:00
|
|
|
find . -type f -name '*.gcno' -delete
|
2013-01-18 11:50:00 -08:00
|
|
|
find . -type f -name '*.gcda' -delete
|
2013-03-12 02:47:28 -07:00
|
|
|
find . -type f -name check-results.xml -delete
|
2013-05-04 23:57:44 -07:00
|
|
|
|
2013-11-04 01:31:48 -08:00
|
|
|
install-exec-hook:
|
2014-07-02 14:16:16 -07:00
|
|
|
for i in $(lib_LTLIBRARIES); do \
|
|
|
|
FNAME="$(DESTDIR)$(libdir)/`echo $$i | sed "s#lib/.*/##"`"; \
|
|
|
|
FNAMEEXT="$$FNAME.$$$$"; \
|
|
|
|
sed "s/-luuid//" $$FNAME > $$FNAMEEXT; \
|
|
|
|
mv $$FNAMEEXT $$FNAME; \
|
|
|
|
done
|
2013-11-04 01:31:48 -08:00
|
|
|
$(EFL_INSTALL_EXEC_HOOK)
|