summaryrefslogtreecommitdiff
path: root/src/examples/eio
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/eio
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/eio')
-rw-r--r--src/examples/eio/Makefile.am99
1 files changed, 0 insertions, 99 deletions
diff --git a/src/examples/eio/Makefile.am b/src/examples/eio/Makefile.am
deleted file mode 100644
index d42f5773f5..0000000000
--- a/src/examples/eio/Makefile.am
+++ /dev/null
@@ -1,99 +0,0 @@
1MAINTAINERCLEANFILES = Makefile.in
2
3AM_CPPFLAGS = \
4-I$(top_srcdir)/src/lib/efl \
5-I$(top_srcdir)/src/lib/eina \
6-I$(top_srcdir)/src/lib/emile \
7-I$(top_srcdir)/src/lib/eo \
8-I$(top_srcdir)/src/lib/eet \
9-I$(top_srcdir)/src/lib/ecore \
10-I$(top_srcdir)/src/lib/eio \
11-I$(top_builddir)/src/lib/eina \
12-I$(top_builddir)/src/lib/emile \
13-I$(top_builddir)/src/lib/eo \
14-I$(top_builddir)/src/lib/efl \
15-I$(top_builddir)/src/lib/eet \
16-I$(top_builddir)/src/lib/ecore \
17-I$(top_builddir)/src/lib/eio
18
19if HAVE_WINDOWS
20AM_CPPFLAGS += \
21-I$(top_srcdir)/src/lib/evil \
22-I$(top_builddir)/src/lib/evil
23
24AM_CFLAGS = \
25@EFL_WINDOWS_VERSION_CFLAGS@
26
27endif
28
29EXTRA_PROGRAMS = \
30eio_file_ls \
31eio_file_copy \
32efl_io_manager_open \
33efl_io_manager_open_multi \
34efl_io_manager_ls \
35eio_sentry
36
37EIO_EXAMPLES_LDADD = \
38$(top_builddir)/src/lib/eio/libeio.la \
39$(top_builddir)/src/lib/eo/libeo.la \
40$(top_builddir)/src/lib/ecore/libecore.la \
41$(top_builddir)/src/lib/efl/libefl.la \
42$(top_builddir)/src/lib/eet/libeet.la \
43$(top_builddir)/src/lib/emile/libemile.la \
44$(top_builddir)/src/lib/eina/libeina.la \
45@EIO_LDFLAGS@
46
47eio_file_ls_SOURCES = eio_file_ls.c
48eio_file_ls_LDADD = \
49$(EIO_EXAMPLES_LDADD)
50
51eio_file_copy_SOURCES = eio_file_copy.c
52eio_file_copy_LDADD = \
53$(EIO_EXAMPLES_LDADD)
54
55efl_io_manager_open_SOURCES = efl_io_manager_open.c
56efl_io_manager_open_LDADD = \
57$(EIO_EXAMPLES_LDADD)
58
59efl_io_manager_open_multi_SOURCES = efl_io_manager_open_multi.c
60efl_io_manager_open_multi_LDADD = \
61$(EIO_EXAMPLES_LDADD)
62
63efl_io_manager_ls_SOURCES = efl_io_manager_ls.c
64efl_io_manager_ls_LDADD = \
65$(EIO_EXAMPLES_LDADD)
66
67eio_sentry_SOURCES = eio_sentry.c
68eio_sentry_LDADD = \
69$(EIO_EXAMPLES_LDADD)
70
71SRCS = \
72eio_file_ls.c \
73eio_file_copy.c \
74efl_io_manager_open.c \
75efl_io_manager_open_multi.c \
76efl_io_manager_ls.c \
77eio_sentry.c
78
79DATA_FILES = Makefile.examples
80
81EXTRA_DIST = $(DATA_FILES)
82
83examples: $(EXTRA_PROGRAMS)
84
85clean-local:
86 rm -f $(EXTRA_PROGRAMS)
87
88install-examples:
89 $(MKDIR_P) $(DESTDIR)$(datadir)/eio/examples
90 cd $(srcdir) && $(install_sh_DATA) -c $(SRCS) $(DATA_FILES) $(DESTDIR)$(datadir)/eio/examples
91
92uninstall-local:
93 for f in $(SRCS) $(DATA_FILES); do \
94 rm -f $(DESTDIR)$(datadir)/eio/examples/$$f ; \
95 done
96
97if ALWAYS_BUILD_EXAMPLES
98noinst_PROGRAMS = $(EXTRA_PROGRAMS)
99endif