summaryrefslogtreecommitdiff
path: root/src/Makefile_Eldbus.am
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@profusion.mobi>2013-04-23 11:40:05 -0300
committerLucas De Marchi <lucas.demarchi@profusion.mobi>2013-04-23 12:36:29 -0300
commit4e3804041f8e865e007b2a6a0d45a05f39500c3b (patch)
treea493b9c8f8a610d2667651f3ba81819ed16fbe8c /src/Makefile_Eldbus.am
parent4cf68bf728b5a858ce1c0efac25ded1a49ba8d9d (diff)
Rename edbus->eldbus
git grep -l edbus2 | while read f; do sed -i 's/edbus2/eldbus/g' "$f"; done find . -name '*edbus2*' -exec rename edbus2 eldbus {} \; git grep -l "EDBUS" | while read f; do sed -i 's/EDBUS/ELDBUS/g' "$f"; done git grep -l "EDBus" | while read f; do sed -i 's/EDBus/Eldbus/g' "$f"; done git grep -l "edbus (v2)" | while read f; do sed -i 's/edbus (v2)/eldbus/g' "$f"; done git grep -l "Edbus" | while read f; do sed -i 's/Edbus/Eldbus/g' "$f"; done git grep -l "edbus" | while read f; do sed -i 's/edbus/eldbus/g' "$f"; done find . -name '*edbus*' -exec rename edbus eldbus {} \; find . -name '*EDBus*' -exec rename EDBus Eldbus {} \;
Diffstat (limited to 'src/Makefile_Eldbus.am')
-rw-r--r--src/Makefile_Eldbus.am85
1 files changed, 85 insertions, 0 deletions
diff --git a/src/Makefile_Eldbus.am b/src/Makefile_Eldbus.am
new file mode 100644
index 0000000..b736e99
--- /dev/null
+++ b/src/Makefile_Eldbus.am
@@ -0,0 +1,85 @@
1
2### Library
3
4lib_LTLIBRARIES += lib/eldbus/libeldbus.la
5
6installed_eldbusmainheadersdir = $(includedir)/eldbus-@VMAJ@
7dist_installed_eldbusmainheaders_DATA = \
8lib/eldbus/Eldbus.h \
9lib/eldbus/eldbus_connection.h \
10lib/eldbus/eldbus_freedesktop.h \
11lib/eldbus/eldbus_message.h \
12lib/eldbus/eldbus_object.h \
13lib/eldbus/eldbus_pending.h \
14lib/eldbus/eldbus_proxy.h \
15lib/eldbus/eldbus_service.h \
16lib/eldbus/eldbus_signal_handler.h \
17lib/eldbus/eldbus_message_helper.h \
18lib/eldbus/eldbus_message_eina_value.h
19
20lib_eldbus_libeldbus_la_SOURCES = \
21lib/eldbus/eldbus_private.h \
22lib/eldbus/eldbus_private_types.h \
23lib/eldbus/eldbus_proxy.c \
24lib/eldbus/eldbus_core.c \
25lib/eldbus/eldbus_message.c \
26lib/eldbus/eldbus_object.c \
27lib/eldbus/eldbus_pending.c \
28lib/eldbus/eldbus_freedesktop.c \
29lib/eldbus/eldbus_service.c \
30lib/eldbus/eldbus_signal_handler.c \
31lib/eldbus/eldbus_message_helper.c \
32lib/eldbus/eldbus_message_to_eina_value.c \
33lib/eldbus/eldbus_message_from_eina_value.c
34
35lib_eldbus_libeldbus_la_CPPFLAGS = \
36-include $(top_builddir)/config.h \
37@ELDBUS_CFLAGS@
38lib_eldbus_libeldbus_la_LIBADD = @ELDBUS_LIBS@
39lib_eldbus_libeldbus_la_DEPENDENCIES = @ELDBUS_INTERNAL_LIBS@
40lib_eldbus_libeldbus_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@
41
42### Binary
43
44bin_PROGRAMS += bin/eldbus/eldbus-codegen
45
46bin_eldbus_eldbus_codegen_SOURCES = \
47bin/eldbus/codegen.h \
48bin/eldbus/utils.c \
49bin/eldbus/parser.c \
50bin/eldbus/dbus.c \
51bin/eldbus/source_client.c \
52bin/eldbus/client.c
53
54bin_eldbus_eldbus_codegen_CPPFLAGS = \
55-DPACKAGE_BIN_DIR=\"$(bindir)\" \
56-DPACKAGE_LIB_DIR=\"$(libdir)\" \
57-DPACKAGE_DATA_DIR=\"$(datadir)/eldbus\" \
58@ELDBUS_CFLAGS@
59
60if HAVE_WIN32
61bin_eldbus_eldbus_codegen_LDADD = -L$(top_builddir)/src/lib/evil @USE_ELDBUS_LIBS@
62else
63bin_eldbus_eldbus_codegen_LDADD = @USE_ELDBUS_LIBS@
64endif
65bin_eldbus_eldbus_codegen_DEPENDENCIES = @USE_ELDBUS_INTERNAL_LIBS@
66
67### Unit tests
68
69if EFL_ENABLE_TESTS
70
71check_PROGRAMS += tests/eldbus/eldbus_suite
72TESTS += tests/eldbus/eldbus_suite
73
74tests_eldbus_eldbus_suite_SOURCES = \
75tests/eldbus/eldbus_suite.c \
76tests/eldbus/eldbus_test_eldbus_init.c \
77tests/eldbus/eldbus_suite.h
78
79tests_eldbus_eldbus_suite_CPPFLAGS = @CHECK_CFLAGS@ @ELDBUS_CFLAGS@ \
80-DTESTS_BUILD_DIR=\"$(top_builddir)/src/tests/eldbus\"
81
82tests_eldbus_eldbus_suite_LDADD = @CHECK_LIBS@ @USE_ELDBUS_LIBS@
83tests_eldbus_eldbus_suite_DEPENDENCIES = @USE_ELDBUS_INTERNAL_LIBS@
84
85endif