2012-12-28 09:53:25 -08:00
|
|
|
|
|
|
|
### Library
|
|
|
|
|
|
|
|
lib_LTLIBRARIES += lib/edbus/libedbus2.la
|
|
|
|
|
|
|
|
installed_edbusmainheadersdir = $(includedir)/edbus-@VMAJ@
|
|
|
|
dist_installed_edbusmainheaders_DATA = \
|
|
|
|
lib/edbus/EDBus.h \
|
|
|
|
lib/edbus/edbus_connection.h \
|
|
|
|
lib/edbus/edbus_freedesktop.h \
|
|
|
|
lib/edbus/edbus_message.h \
|
|
|
|
lib/edbus/edbus_object.h \
|
|
|
|
lib/edbus/edbus_pending.h \
|
|
|
|
lib/edbus/edbus_proxy.h \
|
|
|
|
lib/edbus/edbus_service.h \
|
|
|
|
lib/edbus/edbus_signal_handler.h \
|
|
|
|
lib/edbus/edbus_message_helper.h \
|
|
|
|
lib/edbus/edbus_message_eina_value.h
|
|
|
|
|
|
|
|
lib_edbus_libedbus2_la_SOURCES = \
|
|
|
|
lib/edbus/edbus_private.h \
|
|
|
|
lib/edbus/edbus_private_types.h \
|
|
|
|
lib/edbus/edbus_proxy.c \
|
|
|
|
lib/edbus/edbus_core.c \
|
|
|
|
lib/edbus/edbus_message.c \
|
|
|
|
lib/edbus/edbus_object.c \
|
|
|
|
lib/edbus/edbus_pending.c \
|
|
|
|
lib/edbus/edbus_freedesktop.c \
|
|
|
|
lib/edbus/edbus_service.c \
|
|
|
|
lib/edbus/edbus_signal_handler.c \
|
|
|
|
lib/edbus/edbus_message_helper.c \
|
|
|
|
lib/edbus/edbus_message_to_eina_value.c \
|
|
|
|
lib/edbus/edbus_message_from_eina_value.c
|
|
|
|
|
|
|
|
lib_edbus_libedbus2_la_CPPFLAGS = \
|
|
|
|
-include $(top_builddir)/config.h \
|
|
|
|
@EDBUS_CFLAGS@
|
2013-01-14 14:36:23 -08:00
|
|
|
lib_edbus_libedbus2_la_LIBADD = @EDBUS_LIBS@
|
|
|
|
lib_edbus_libedbus2_la_DEPENDENCIES = @EDBUS_INTERNAL_LIBS@
|
2012-12-30 14:15:29 -08:00
|
|
|
lib_edbus_libedbus2_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@
|
2012-12-28 09:53:25 -08:00
|
|
|
|
|
|
|
### Binary
|
|
|
|
|
|
|
|
bin_PROGRAMS += bin/edbus/edbus-codegen
|
|
|
|
|
|
|
|
bin_edbus_edbus_codegen_SOURCES = \
|
|
|
|
bin/edbus/codegen.h \
|
|
|
|
bin/edbus/utils.c \
|
|
|
|
bin/edbus/parser.c \
|
|
|
|
bin/edbus/dbus.c \
|
|
|
|
bin/edbus/source_client.c \
|
|
|
|
bin/edbus/client.c
|
|
|
|
|
|
|
|
bin_edbus_edbus_codegen_CPPFLAGS = \
|
|
|
|
-DPACKAGE_BIN_DIR=\"$(bindir)\" \
|
|
|
|
-DPACKAGE_LIB_DIR=\"$(libdir)\" \
|
2013-01-04 08:28:22 -08:00
|
|
|
-DPACKAGE_DATA_DIR=\"$(datadir)/edbus\" \
|
2013-01-14 14:36:23 -08:00
|
|
|
@EDBUS_CFLAGS@
|
2013-03-15 15:46:52 -07:00
|
|
|
|
|
|
|
if HAVE_WIN32
|
|
|
|
bin_edbus_edbus_codegen_LDADD = -L$(top_builddir)/src/lib/evil @USE_EDBUS_LIBS@
|
|
|
|
else
|
2013-01-14 14:36:23 -08:00
|
|
|
bin_edbus_edbus_codegen_LDADD = @USE_EDBUS_LIBS@
|
2013-03-15 15:46:52 -07:00
|
|
|
endif
|
2013-01-14 14:36:23 -08:00
|
|
|
bin_edbus_edbus_codegen_DEPENDENCIES = @USE_EDBUS_INTERNAL_LIBS@
|
2013-01-15 13:50:57 -08:00
|
|
|
|
|
|
|
### Unit tests
|
|
|
|
|
|
|
|
if EFL_ENABLE_TESTS
|
|
|
|
|
|
|
|
check_PROGRAMS += tests/edbus/edbus_suite
|
|
|
|
TESTS += tests/edbus/edbus_suite
|
|
|
|
|
|
|
|
tests_edbus_edbus_suite_SOURCES = \
|
|
|
|
tests/edbus/edbus_suite.c \
|
|
|
|
tests/edbus/edbus_test_edbus_init.c \
|
|
|
|
tests/edbus/edbus_suite.h
|
|
|
|
|
2013-03-12 02:47:28 -07:00
|
|
|
tests_edbus_edbus_suite_CPPFLAGS = @CHECK_CFLAGS@ @EDBUS_CFLAGS@ \
|
2013-03-12 05:46:06 -07:00
|
|
|
-DTESTS_BUILD_DIR=\"$(top_builddir)/src/tests/edbus\"
|
2013-03-12 02:47:28 -07:00
|
|
|
|
2013-01-15 13:50:57 -08:00
|
|
|
tests_edbus_edbus_suite_LDADD = @CHECK_LIBS@ @USE_EDBUS_LIBS@
|
|
|
|
tests_edbus_edbus_suite_DEPENDENCIES = @USE_EDBUS_INTERNAL_LIBS@
|
|
|
|
|
|
|
|
endif
|