summaryrefslogtreecommitdiff
path: root/src/examples/eldbus
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2018-07-18 17:55:09 -0400
committerStefan Schmidt <s.schmidt@samsung.com>2018-08-03 13:09:22 +0200
commit310d6d972dbe9f323dd3783158608687b52b6bca (patch)
treeac5b27d299e562071697bae3f77b6363c6fd66db /src/examples/eldbus
parentab1fd96363b630df1f5b3cb145eade3466b74b75 (diff)
build: move src/examples/ to a single makefile
this greatly improves build times by improving parallelizing, though it does introduce more BUILT_SOURCES usage which causes builds with cxx bindings to take significantly longer fix T7157 ref T7154 Differential Revision: https://phab.enlightenment.org/D6633
Diffstat (limited to 'src/examples/eldbus')
-rw-r--r--src/examples/eldbus/Makefile.am103
1 files changed, 0 insertions, 103 deletions
diff --git a/src/examples/eldbus/Makefile.am b/src/examples/eldbus/Makefile.am
deleted file mode 100644
index 0bb7a99..0000000
--- a/src/examples/eldbus/Makefile.am
+++ /dev/null
@@ -1,103 +0,0 @@
1MAINTAINERCLEANFILES = Makefile.in
2
3AM_CPPFLAGS = \
4-I$(top_builddir)/src/lib/efl \
5-I$(top_srcdir)/src/lib/eina \
6-I$(top_srcdir)/src/lib/efl \
7-I$(top_srcdir)/src/lib/eo \
8-I$(top_srcdir)/src/lib/ecore \
9-I$(top_srcdir)/src/lib/eldbus \
10-I$(top_builddir)/src/lib/eina \
11-I$(top_builddir)/src/lib/eo \
12-I$(top_builddir)/src/lib/ecore \
13-I$(top_builddir)/src/lib/eldbus \
14@ELDBUS_CFLAGS@
15
16EXAMPLES_LIBS = \
17$(top_builddir)/src/lib/eo/libeo.la \
18$(top_builddir)/src/lib/ecore/libecore.la \
19$(top_builddir)/src/lib/eina/libeina.la \
20$(top_builddir)/src/lib/eldbus/libeldbus.la \
21$(top_builddir)/src/lib/efl/libefl.la \
22@ELDBUS_LDFLAGS@
23
24SRCS = \
25connman-list-services.c \
26ofono-dial.c \
27banshee.c \
28complex-types.c \
29complex-types-server.c \
30server.c \
31client.c \
32simple-signal-emit.c \
33complex-types-client-eina-value.c \
34connect-address.c \
35dbusmodel.c
36
37EXTRA_PROGRAMS = \
38connman-list-services \
39ofono-dial \
40banshee \
41complex-types \
42complex-types-server \
43server \
44client \
45simple-signal-emit \
46complex-types-client-eina-value \
47connect-address \
48dbusmodel
49
50connman_list_services_SOURCES = connman-list-services.c
51connman_list_services_LDADD = $(EXAMPLES_LIBS)
52
53ofono_dial_SOURCES = ofono-dial.c
54ofono_dial_LDADD = $(EXAMPLES_LIBS)
55
56banshee_SOURCES = banshee.c
57banshee_LDADD = $(EXAMPLES_LIBS)
58
59complex_types_SOURCES = complex-types.c
60complex_types_LDADD = $(EXAMPLES_LIBS)
61
62complex_types_server_SOURCES = complex-types-server.c
63complex_types_server_LDADD = $(EXAMPLES_LIBS)
64
65server_SOURCES = server.c
66server_LDADD = $(EXAMPLES_LIBS)
67
68client_SOURCES = client.c
69client_LDADD = $(EXAMPLES_LIBS)
70
71simple_signal_emit_SOURCES = simple-signal-emit.c
72simple_signal_emit_LDADD = $(EXAMPLES_LIBS)
73
74complex_types_client_eina_value_SOURCES = complex-types-client-eina-value.c
75complex_types_client_eina_value_LDADD = $(EXAMPLES_LIBS)
76
77connect_address_SOURCES = connect-address.c
78connect_address_LDADD = $(EXAMPLES_LIBS)
79
80dbusmodel_SOURCES = dbusmodel.c
81dbusmodel_LDADD = $(EXAMPLES_LIBS)
82
83DATA_FILES = Makefile.examples
84
85EXTRA_DIST = $(DATA_FILES)
86
87examples: $(EXTRA_PROGRAMS)
88
89clean-local:
90 rm -f $(EXTRA_PROGRAMS)
91
92install-examples:
93 $(MKDIR_P) $(DESTDIR)$(datadir)/eldbus/examples
94 cd $(srcdir) && $(install_sh_DATA) -c $(SRCS) $(DATA_FILES) $(DESTDIR)$(datadir)/eldbus/examples
95
96uninstall-local:
97 for f in $(SRCS) $(DATA_FILES); do \
98 rm -f $(DESTDIR)$(datadir)/eldbus/examples/$$f ; \
99 done
100
101if ALWAYS_BUILD_EXAMPLES
102noinst_PROGRAMS = $(EXTRA_PROGRAMS)
103endif