summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac19
-rw-r--r--src/Makefile.am19
-rw-r--r--src/examples/Makefile.am289
-rw-r--r--src/examples/ecore.mk478
-rw-r--r--src/examples/ecore/Makefile.am482
-rw-r--r--src/examples/ecore_avahi.mk19
-rw-r--r--src/examples/ecore_avahi/Makefile.am46
-rw-r--r--src/examples/edje.mk226
-rw-r--r--src/examples/edje/Makefile.am296
-rw-r--r--src/examples/eet.mk32
-rw-r--r--src/examples/eet/Makefile.am63
-rw-r--r--src/examples/efl_mono.mk102
-rw-r--r--src/examples/efl_mono/Makefile.am125
-rw-r--r--src/examples/eina.mk151
-rw-r--r--src/examples/eina/Makefile.am209
-rw-r--r--src/examples/eina_cxx.mk29
-rw-r--r--src/examples/eina_cxx/Makefile.am46
-rw-r--r--src/examples/eio.mk38
-rw-r--r--src/examples/eio/Makefile.am99
-rw-r--r--src/examples/eldbus.mk41
-rw-r--r--src/examples/eldbus/Makefile.am103
-rw-r--r--src/examples/elementary.mk570
-rw-r--r--src/examples/elementary/Makefile.am632
-rw-r--r--src/examples/elocation.mk25
-rw-r--r--src/examples/elocation/Makefile.am62
-rw-r--r--src/examples/elua/.gitignore1
-rw-r--r--src/examples/elua/Makefile.am23
-rw-r--r--src/examples/emile.mk17
-rw-r--r--src/examples/emile/Makefile.am51
-rw-r--r--src/examples/emotion.mk29
-rw-r--r--src/examples/emotion/Makefile.am62
-rw-r--r--src/examples/eolian_cxx.mk74
-rw-r--r--src/examples/eolian_cxx/Makefile.am151
-rw-r--r--src/examples/ephysics.mk60
-rw-r--r--src/examples/ephysics/Makefile.am94
-rw-r--r--src/examples/ethumb_client.mk21
-rw-r--r--src/examples/ethumb_client/Makefile.am63
-rw-r--r--src/examples/evas.mk400
-rw-r--r--src/examples/evas/Makefile.am550
39 files changed, 2603 insertions, 3194 deletions
diff --git a/configure.ac b/configure.ac
index 1a2f89d016..0995909b30 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5727,24 +5727,7 @@ src/bindings/mono/efl_mono/efl_libs.csv
5727src/benchmarks/eina/Makefile 5727src/benchmarks/eina/Makefile
5728src/benchmarks/eo/Makefile 5728src/benchmarks/eo/Makefile
5729src/benchmarks/evas/Makefile 5729src/benchmarks/evas/Makefile
5730src/examples/eina/Makefile 5730src/examples/Makefile
5731src/examples/eina_cxx/Makefile
5732src/examples/eet/Makefile
5733src/examples/evas/Makefile
5734src/examples/ecore/Makefile
5735src/examples/ecore_avahi/Makefile
5736src/examples/eio/Makefile
5737src/examples/eldbus/Makefile
5738src/examples/ephysics/Makefile
5739src/examples/edje/Makefile
5740src/examples/emotion/Makefile
5741src/examples/emile/Makefile
5742src/examples/ethumb_client/Makefile
5743src/examples/elua/Makefile
5744src/examples/eolian_cxx/Makefile
5745src/examples/efl_mono/Makefile
5746src/examples/elocation/Makefile
5747src/examples/elementary/Makefile
5748src/lib/eina/eina_config.h 5731src/lib/eina/eina_config.h
5749src/lib/efl/Efl_Config.h 5732src/lib/efl/Efl_Config.h
5750src/lib/elementary/Elementary_Options.h 5733src/lib/elementary/Elementary_Options.h
diff --git a/src/Makefile.am b/src/Makefile.am
index a988467d84..86fb3b999b 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -116,24 +116,7 @@ benchmark: all
116 done 116 done
117 117
118EXAMPLES_SUBDIRS = \ 118EXAMPLES_SUBDIRS = \
119examples/eina \ 119examples
120examples/eet \
121examples/evas \
122examples/ecore \
123examples/ecore_avahi \
124examples/eio \
125examples/eldbus \
126examples/ephysics \
127examples/edje \
128examples/emotion \
129examples/emile \
130examples/elocation \
131examples/ethumb_client \
132examples/eina_cxx \
133examples/eolian_cxx \
134examples/efl_mono \
135examples/elementary \
136examples/elua
137 120
138if ALWAYS_BUILD_EXAMPLES 121if ALWAYS_BUILD_EXAMPLES
139SUBDIRS += . $(EXAMPLES_SUBDIRS) 122SUBDIRS += . $(EXAMPLES_SUBDIRS)
diff --git a/src/examples/Makefile.am b/src/examples/Makefile.am
new file mode 100644
index 0000000000..f2e2b4f54e
--- /dev/null
+++ b/src/examples/Makefile.am
@@ -0,0 +1,289 @@
1AUTOMAKE_OPTIONS= -Wno-portability
2CLEANFILES =
3DISTCLEANFILES =
4BUILT_SOURCES =
5MAINTAINERCLEANFILES = Makefile.in
6EXTRA_PROGRAMS =
7DATA_FILES =
8EXTRA_DIST =
9EDCS =
10PHONIES =
11EOLIAN_FLAGS := \
12 -I$(srcdir) \
13 -I$(top_srcdir)/src/lib/eo \
14 -I$(top_srcdir)/src/lib/evas/canvas \
15 -I$(top_srcdir)/src/lib/evas/gesture \
16 -I$(top_srcdir)/src/lib/edje \
17 -I$(top_srcdir)/src/lib/efl \
18 -I$(top_srcdir)/src/lib/ecore \
19 -I$(top_srcdir)/src/lib/ecore_audio \
20 -I$(top_srcdir)/src/lib/elementary
21
22#defined in Makefile_Edje_Helper.am
23#EDJE_CC_FLAGS =
24
25CLEAN_EXAMPLES =
26INSTALL_EXAMPLES =
27UNINSTALL_EXAMPLES =
28
29include ../Makefile_Edje_Helper.am
30include $(top_srcdir)/src/Makefile_Eolian_Helper.am
31if HAVE_CXX
32include $(top_srcdir)/src/Makefile_Eolian_Cxx_Helper.am
33if ! HAVE_EOLIAN_CXX
34_EOLIAN_CXX_DEP = ../bin/eolian_cxx/eolian_cxx$(EXEEXT)
35bin/eolian_cxx/eolian_cxx$(EXEEXT):
36 false
37endif
38endif
39# Eolian_Files_Helper
40# Thus we need to override it here in order to make its pattern
41# rules work properly.
42if ! HAVE_EOLIAN_GEN
43_EOLIAN_GEN_DEP = ../bin/eolian/eolian_gen$(EXEEXT)
44endif
45
46if HAVE_CSHARP
47include $(top_srcdir)/src/Makefile_Efl_Mono_MSBuild_Gen_Helper.am
48endif
49
50AM_CPPFLAGS = \
51-I. \
52-I$(top_builddir)/src/bindings \
53-I$(top_srcdir)/src/bindings \
54-I$(top_builddir)/src/lib/efl/interfaces \
55-I$(top_builddir)/src/lib/evas/canvas \
56-I$(top_builddir)/src/lib/evas/gesture \
57-I$(top_srcdir)/src/bindings/cxx/eina_cxx \
58-I$(top_builddir)/src/bindings/cxx/eina_cxx \
59-I$(top_srcdir)/src/bindings/cxx/eo_cxx \
60-I$(top_builddir)/src/bindings/cxx/eo_cxx \
61-I$(top_srcdir)/src/bindings/cxx/eldbus_cxx \
62-I$(top_builddir)/src/bindings/cxx/eldbus_cxx \
63-I$(top_srcdir)/src/bindings/cxx/ecore_cxx \
64-I$(top_builddir)/src/bindings/cxx/ecore_cxx \
65-I$(top_builddir)/src/lib/ecore \
66-I$(top_srcdir)/src/lib/ecore \
67-I$(top_builddir)/src/lib/ecore_audio \
68-I$(top_srcdir)/src/lib/ecore_audio \
69-I$(top_builddir)/src/lib/ecore_avahi \
70-I$(top_srcdir)/src/lib/ecore_avahi \
71-I$(top_builddir)/src/lib/ecore_buffer \
72-I$(top_srcdir)/src/lib/ecore_buffer \
73-I$(top_builddir)/src/lib/ecore_cocoa \
74-I$(top_srcdir)/src/lib/ecore_cocoa \
75-I$(top_builddir)/src/lib/ecore_con \
76-I$(top_srcdir)/src/lib/ecore_con \
77-I$(top_builddir)/src/lib/ecore_drm \
78-I$(top_srcdir)/src/lib/ecore_drm \
79-I$(top_builddir)/src/lib/ecore_drm2 \
80-I$(top_srcdir)/src/lib/ecore_drm2 \
81-I$(top_builddir)/src/lib/ecore_evas \
82-I$(top_srcdir)/src/lib/ecore_evas \
83-I$(top_builddir)/src/lib/ecore_fb \
84-I$(top_srcdir)/src/lib/ecore_fb \
85-I$(top_builddir)/src/lib/ecore_file \
86-I$(top_srcdir)/src/lib/ecore_file \
87-I$(top_builddir)/src/lib/ecore_imf \
88-I$(top_srcdir)/src/lib/ecore_imf \
89-I$(top_builddir)/src/lib/ecore_imf_evas \
90-I$(top_srcdir)/src/lib/ecore_imf_evas \
91-I$(top_builddir)/src/lib/ecore_input \
92-I$(top_srcdir)/src/lib/ecore_input \
93-I$(top_builddir)/src/lib/ecore_input_evas \
94-I$(top_srcdir)/src/lib/ecore_input_evas \
95-I$(top_builddir)/src/lib/ecore_ipc \
96-I$(top_srcdir)/src/lib/ecore_ipc \
97-I$(top_builddir)/src/lib/ecore_sdl \
98-I$(top_srcdir)/src/lib/ecore_sdl \
99-I$(top_builddir)/src/lib/ecore_wayland \
100-I$(top_srcdir)/src/lib/ecore_wayland \
101-I$(top_builddir)/src/lib/ecore_win32 \
102-I$(top_srcdir)/src/lib/ecore_win32 \
103-I$(top_builddir)/src/lib/ecore_wl2 \
104-I$(top_srcdir)/src/lib/ecore_wl2 \
105-I$(top_builddir)/src/lib/ecore_x \
106-I$(top_srcdir)/src/lib/ecore_x \
107-I$(top_builddir)/src/lib/ector \
108-I$(top_srcdir)/src/lib/ector \
109-I$(top_builddir)/src/lib/edje \
110-I$(top_srcdir)/src/lib/edje \
111-I$(top_builddir)/src/lib/eet \
112-I$(top_srcdir)/src/lib/eet \
113-I$(top_builddir)/src/lib/eeze \
114-I$(top_srcdir)/src/lib/eeze \
115-I$(top_builddir)/src/lib/efl \
116-I$(top_srcdir)/src/lib/efl \
117-I$(top_builddir)/src/lib/efl_mono \
118-I$(top_srcdir)/src/lib/efl_mono \
119-I$(top_builddir)/src/lib/efl_wl \
120-I$(top_srcdir)/src/lib/efl_wl \
121-I$(top_builddir)/src/lib/efreet \
122-I$(top_srcdir)/src/lib/efreet \
123-I$(top_builddir)/src/lib/eina \
124-I$(top_srcdir)/src/lib/eina \
125-I$(top_builddir)/src/lib/eio \
126-I$(top_srcdir)/src/lib/eio \
127-I$(top_builddir)/src/lib/eldbus \
128-I$(top_srcdir)/src/lib/eldbus \
129-I$(top_builddir)/src/lib/elementary \
130-I$(top_srcdir)/src/lib/elementary \
131-I$(top_builddir)/src/lib/elocation \
132-I$(top_srcdir)/src/lib/elocation \
133-I$(top_builddir)/src/lib/elput \
134-I$(top_srcdir)/src/lib/elput \
135-I$(top_builddir)/src/lib/elua \
136-I$(top_srcdir)/src/lib/elua \
137-I$(top_builddir)/src/lib/embryo \
138-I$(top_srcdir)/src/lib/embryo \
139-I$(top_builddir)/src/lib/emile \
140-I$(top_srcdir)/src/lib/emile \
141-I$(top_builddir)/src/lib/emotion \
142-I$(top_srcdir)/src/lib/emotion \
143-I$(top_builddir)/src/lib/eo \
144-I$(top_srcdir)/src/lib/eo \
145-I$(top_builddir)/src/lib/eolian \
146-I$(top_srcdir)/src/lib/eolian \
147-I$(top_builddir)/src/lib/eolian_cxx \
148-I$(top_srcdir)/src/lib/eolian_cxx \
149-I$(top_builddir)/src/lib/ephysics \
150-I$(top_srcdir)/src/lib/ephysics \
151-I$(top_builddir)/src/lib/escape \
152-I$(top_srcdir)/src/lib/escape \
153-I$(top_builddir)/src/lib/ethumb \
154-I$(top_srcdir)/src/lib/ethumb \
155-I$(top_builddir)/src/lib/ethumb_client \
156-I$(top_srcdir)/src/lib/ethumb_client \
157-I$(top_builddir)/src/lib/evas \
158-I$(top_srcdir)/src/lib/evas \
159-DPACKAGE_BIN_DIR=\"$(bindir)\" \
160-DPACKAGE_LIB_DIR=\"$(libdir)\" \
161@ELEMENTARY_CFLAGS@
162
163if HAVE_WINDOWS
164AM_CPPFLAGS += \
165-I$(top_srcdir)/src/lib/evil \
166-I$(top_builddir)/src/lib/evil \
167@EFL_WINDOWS_VERSION_CFLAGS@
168endif
169
170AM_CXXFLAGS = \
171$(AM_CPPFLAGS) \
172@ELEMENTARY_CXX_CFLAGS@
173
174LDADD = \
175-lm \
176@EFL_PTHREAD_LIBS@ \
177$(top_builddir)/src/lib/ecore_avahi/libecore_avahi.la \
178$(top_builddir)/src/lib/ecore_con/libecore_con.la \
179$(top_builddir)/src/lib/ecore_evas/libecore_evas.la \
180$(top_builddir)/src/lib/ecore_file/libecore_file.la \
181$(top_builddir)/src/lib/ecore_imf_evas/libecore_imf_evas.la \
182$(top_builddir)/src/lib/ecore_imf/libecore_imf.la \
183$(top_builddir)/src/lib/ecore_input_evas/libecore_input_evas.la \
184$(top_builddir)/src/lib/ecore_input/libecore_input.la \
185$(top_builddir)/src/lib/ecore_ipc/libecore_ipc.la \
186$(top_builddir)/src/lib/ecore/libecore.la \
187$(top_builddir)/src/lib/ector/libector.la \
188$(top_builddir)/src/lib/edje/libedje.la \
189$(top_builddir)/src/lib/eet/libeet.la \
190$(top_builddir)/src/lib/efl/libefl.la \
191$(top_builddir)/src/lib/efreet/libefreet.la \
192$(top_builddir)/src/lib/efreet/libefreet_mime.la \
193$(top_builddir)/src/lib/efreet/libefreet_trash.la \
194$(top_builddir)/src/lib/eina/libeina.la \
195$(top_builddir)/src/lib/eio/libeio.la \
196$(top_builddir)/src/lib/eldbus/libeldbus.la \
197$(top_builddir)/src/lib/elementary/libelementary.la \
198$(top_builddir)/src/lib/elocation/libelocation.la \
199$(top_builddir)/src/lib/embryo/libembryo.la \
200$(top_builddir)/src/lib/emile/libemile.la \
201$(top_builddir)/src/lib/emotion/libemotion.la \
202$(top_builddir)/src/lib/eolian/libeolian.la \
203$(top_builddir)/src/lib/eo/libeo.la \
204$(top_builddir)/src/lib/ethumb_client/libethumb_client.la \
205$(top_builddir)/src/lib/ethumb/libethumb.la \
206$(top_builddir)/src/lib/evas/libevas.la
207
208
209AM_LDFLAGS = @ELEMENTARY_LDFLAGS@
210
211if HAVE_ECORE_AUDIO
212LDADD += $(top_builddir)/src/lib/ecore_audio/libecore_audio.la
213endif
214
215if HAVE_EPHYSICS
216LDADD += $(top_builddir)/src/lib/ephysics/libephysics.la
217endif
218
219if HAVE_ECORE_WL2
220LDADD += \
221$(top_builddir)/src/lib/ecore_wl2/libecore_wl2.la \
222$(top_builddir)/src/lib/efl_wl/libefl_wl.la
223endif
224
225if HAVE_EEZE
226LDADD += $(top_builddir)/src/lib/eeze/libeeze.la
227endif
228
229if HAVE_ELPUT
230LDADD += $(top_builddir)/src/lib/elput/libelput.la
231endif
232
233if HAVE_ELUA
234LDADD += $(top_builddir)/src/lib/elua/libelua.la
235endif
236
237if HAVE_ECORE_X
238LDADD += $(top_builddir)/src/lib/ecore_x/libecore_x.la
239endif
240
241include ecore_avahi.mk
242include ecore.mk
243include edje.mk
244include eet.mk
245include efl_mono.mk
246include eina_cxx.mk
247include eina.mk
248include eio.mk
249include eldbus.mk
250include elementary.mk
251include elocation.mk
252include emile.mk
253include emotion.mk
254include eolian_cxx.mk
255include ephysics.mk
256include ethumb_client.mk
257include evas.mk
258
259$(top_builddir)/src/bin/edje_cc$(EXEEXT):
260 @test -f $(top_builddir)/src/bin/edje_cc$(EXEEXT) || $(MAKE) $(AM_MAKEFLAGS) -C ../ bin/edje_cc$(EXEEXT)
261
262# this is a bit hacky
263# currently all options from all directories are passed to all edje_cc cmds
264# so if there are any files with the same name in different dirs it will fail
265.edc.edj: $(top_builddir)/src/bin/edje_cc$(EXEEXT)
266 $(AM_V_EDJ)$(EDJE_CC) $(EDJE_CC_FLAGS) $< $(builddir)/$@
267
268EXTRA_DIST += $(EDCS) $(DATA_FILES)
269EDJS = $(EDCS:%.edc=%.edj)
270CLEANFILES += $(BUILT_SOURCES)
271
272examples: $(EXTRA_PROGRAMS) $(EDJS)
273
274clean-local: $(CLEAN_EXAMPLES)
275 rm -f $(EXTRA_PROGRAMS) $(EDJS)
276
277install-examples: $(INSTALL_EXAMPLES)
278uninstall-local: $(UNINSTALL_EXAMPLES)
279.PHONY: $(PHONIES)
280
281EXTRA_DIST += $(EDCS) $(DATA_FILES)
282
283if ALWAYS_BUILD_EXAMPLES
284noinst_PROGRAMS = $(EXTRA_PROGRAMS)
285nodist_pkgdata_DATA = $(EDJS)
286else
287endif
288
289check: ;
diff --git a/src/examples/ecore.mk b/src/examples/ecore.mk
new file mode 100644
index 0000000000..0c1bedf96f
--- /dev/null
+++ b/src/examples/ecore.mk
@@ -0,0 +1,478 @@
1ECORE_COMMON_CPPFLAGS = \
2-DPACKAGE_EXAMPLES_DIR=\".\"
3
4if HAVE_ECORE_BUFFER
5ECORE_COMMON_CPPFLAGS += -I$(top_srcdir)/src/lib/ecore_buffer
6LDADD += $(top_builddir)/src/lib/ecore_buffer/libecore_buffer.la
7endif
8
9EXTRA_PROGRAMS += \
10ecore/ecore_animator_example \
11ecore/ecore_client_bench \
12ecore/ecore_compose_get_example \
13ecore/ecore_con_client_example \
14ecore/ecore_con_client_simple_example \
15ecore/ecore_con_lookup_example \
16ecore/ecore_con_server_example \
17ecore/ecore_con_server_http_example \
18ecore/ecore_con_server_simple_example \
19ecore/ecore_con_url_cookies_example \
20ecore/ecore_con_url_download_example \
21ecore/ecore_con_url_headers_example \
22ecore/ecore_con_url_ftp_example \
23ecore/ecore_evas_basics_example \
24ecore/ecore_evas_buffer_example_01 \
25ecore/ecore_evas_buffer_example_02 \
26ecore/ecore_evas_callbacks \
27ecore/ecore_evas_cursor_example \
28ecore/ecore_evas_extn_socket_example \
29ecore/ecore_evas_extn_plug_example \
30ecore/ecore_evas_ews_example \
31ecore/ecore_evas_object_example \
32ecore/ecore_evas_wayland_multiseat_example \
33ecore/ecore_evas_window_sizes_example \
34ecore/ecore_evas_vnc_example \
35ecore/ecore_event_example_01 \
36ecore/ecore_event_example_02 \
37ecore/ecore_exe_example \
38ecore/ecore_exe_example_child \
39ecore/ecore_fd_handler_example \
40ecore/ecore_file_download_example \
41ecore/ecore_idler_example \
42ecore/ecore_imf_example \
43ecore/ecore_job_example \
44ecore/ecore_poller_example \
45ecore/ecore_promise2_example \
46ecore/ecore_server_bench \
47ecore/ecore_thread_example \
48ecore/ecore_time_functions_example \
49ecore/ecore_timer_example \
50ecore/ecore_getopt_example \
51ecore/ecore_con_eet_client_example \
52ecore/ecore_con_eet_server_example \
53ecore/efl_io_copier_example \
54ecore/efl_io_copier_simple_example \
55ecore/efl_io_queue_example \
56ecore/efl_io_buffered_stream_example \
57ecore/efl_net_server_example \
58ecore/efl_net_server_simple_example \
59ecore/efl_net_dialer_http_example \
60ecore/efl_net_dialer_websocket_example \
61ecore/efl_net_dialer_websocket_autobahntestee \
62ecore/efl_net_dialer_udp_example \
63ecore/efl_net_dialer_simple_example \
64ecore/efl_net_socket_ssl_dialer_example \
65ecore/efl_net_socket_ssl_server_example \
66ecore/efl_net_session_example \
67ecore/efl_net_control_example \
68ecore/efl_net_ip_address_example \
69ecore/ecore_ipc_server_example \
70ecore/ecore_ipc_client_example
71
72
73if HAVE_ECORE_AUDIO
74#EXTRA_PROGRAMS += \
75#ecore_audio_playback \
76#ecore_audio_to_ogg \
77#ecore_audio_custom
78#
79#$(top_builddir)/src/lib/ecore_audio/libecore_audio.la \
80#$(LDADD)
81#
82#ecore_audio_custom_SOURCES = ecore/ecore_audio_custom.c
83#ecore_audio_custom_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
84
85#
86#ecore_audio_playback_SOURCES = ecore/ecore_audio_playback.c
87#ecore_audio_playback_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
88
89#
90#ecore_audio_to_ogg_SOURCES = ecore/ecore_audio_to_ogg.c
91#ecore_audio_to_ogg_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
92
93endif
94
95ecore_ecore_animator_example_SOURCES = ecore/ecore_animator_example.c
96ecore_ecore_animator_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
97
98
99if HAVE_ECORE_BUFFER
100EXTRA_PROGRAMS += ecore/ecore_buffer_example \
101ecore/ecore_buffer_consumer_example \
102ecore/ecore_buffer_provider_example
103
104ecore_ecore_buffer_example_SOURCES = ecore/ecore_buffer_example.c
105ecore_ecore_buffer_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
106
107
108ecore_ecore_buffer_consumer_example_SOURCES = ecore/ecore_buffer_consumer_example.c
109ecore_ecore_buffer_consumer_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
110
111
112ecore_ecore_buffer_provider_example_SOURCES = ecore/ecore_buffer_provider_example.c
113ecore_ecore_buffer_provider_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
114
115endif
116
117ecore_ecore_client_bench_SOURCES = ecore/ecore_client_bench.c
118ecore_ecore_client_bench_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
119
120
121ecore_ecore_compose_get_example_SOURCES = ecore/ecore_compose_get_example.c
122ecore_ecore_compose_get_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
123
124
125ecore_ecore_con_client_example_SOURCES = ecore/ecore_con_client_example.c
126ecore_ecore_con_client_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
127
128
129ecore_ecore_con_client_simple_example_SOURCES = ecore/ecore_con_client_simple_example.c
130ecore_ecore_con_client_simple_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
131
132
133ecore_ecore_con_lookup_example_SOURCES = ecore/ecore_con_lookup_example.c
134ecore_ecore_con_lookup_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
135
136
137ecore_ecore_con_server_example_SOURCES = ecore/ecore_con_server_example.c
138ecore_ecore_con_server_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
139
140
141ecore_ecore_con_server_http_example_SOURCES = ecore/ecore_con_server_http_example.c
142ecore_ecore_con_server_http_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
143
144
145ecore_ecore_con_server_simple_example_SOURCES = ecore/ecore_con_server_simple_example.c
146ecore_ecore_con_server_simple_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
147
148
149ecore_ecore_con_url_cookies_example_SOURCES = ecore/ecore_con_url_cookies_example.c
150ecore_ecore_con_url_cookies_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
151
152
153ecore_ecore_con_url_download_example_SOURCES = ecore/ecore_con_url_download_example.c
154ecore_ecore_con_url_download_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
155
156
157ecore_ecore_con_url_headers_example_SOURCES = ecore/ecore_con_url_headers_example.c
158ecore_ecore_con_url_headers_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
159
160
161ecore_ecore_con_url_ftp_example_SOURCES = ecore/ecore_con_url_ftp_example.c
162ecore_ecore_con_url_ftp_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
163
164
165ecore_ecore_evas_basics_example_SOURCES = ecore/ecore_evas_basics_example.c
166ecore_ecore_evas_basics_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
167
168
169ecore_ecore_evas_buffer_example_01_SOURCES = ecore/ecore_evas_buffer_example_01.c
170ecore_ecore_evas_buffer_example_01_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
171
172
173ecore_ecore_evas_buffer_example_02_SOURCES = ecore/ecore_evas_buffer_example_02.c
174ecore_ecore_evas_buffer_example_02_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
175
176
177ecore_ecore_evas_callbacks_SOURCES = ecore/ecore_evas_callbacks.c
178ecore_ecore_evas_callbacks_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
179
180
181ecore_ecore_evas_cursor_example_SOURCES = ecore/ecore_evas_cursor_example.c
182ecore_ecore_evas_cursor_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
183
184
185ecore_ecore_evas_extn_socket_example_SOURCES = ecore/ecore_evas_extn_socket_example.c
186ecore_ecore_evas_extn_socket_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
187
188
189ecore_ecore_evas_extn_plug_example_SOURCES = ecore/ecore_evas_extn_plug_example.c
190ecore_ecore_evas_extn_plug_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
191
192
193ecore_ecore_evas_ews_example_SOURCES = ecore/ecore_evas_ews_example.c
194ecore_ecore_evas_ews_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
195
196
197ecore_ecore_evas_object_example_SOURCES = ecore/ecore_evas_object_example.c
198ecore_ecore_evas_object_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
199
200
201ecore_ecore_evas_wayland_multiseat_example_SOURCES = ecore/ecore_evas_wayland_multiseat_example.c
202ecore_ecore_evas_wayland_multiseat_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
203
204
205ecore_ecore_evas_window_sizes_example_SOURCES = ecore/ecore_evas_window_sizes_example.c
206ecore_ecore_evas_window_sizes_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
207
208
209ecore_ecore_evas_vnc_example_SOURCES = ecore/ecore_evas_vnc_example.c
210ecore_ecore_evas_vnc_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
211
212
213ecore_ecore_event_example_01_SOURCES = ecore/ecore_event_example_01.c
214ecore_ecore_event_example_01_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
215
216
217ecore_ecore_event_example_02_SOURCES = ecore/ecore_event_example_02.c
218ecore_ecore_event_example_02_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
219
220
221ecore_ecore_exe_example_SOURCES = ecore/ecore_exe_example.c
222ecore_ecore_exe_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
223
224
225ecore_ecore_exe_example_child_SOURCES = ecore/ecore_exe_example_child.c
226ecore_ecore_exe_example_child_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
227
228
229ecore_ecore_fd_handler_example_SOURCES = ecore/ecore_fd_handler_example.c
230ecore_ecore_fd_handler_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
231
232
233if HAVE_CRYPTO_GNUTLS
234EXTRA_PROGRAMS += ecore/ecore_fd_handler_gnutls_example
235ecore_ecore_fd_handler_gnutls_example_SOURCES = ecore/ecore_fd_handler_gnutls_example.c
236ecore_ecore_fd_handler_gnutls_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
237
238endif
239
240ecore_ecore_file_download_example_SOURCES = ecore/ecore_file_download_example.c
241ecore_ecore_file_download_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
242
243
244ecore_ecore_idler_example_SOURCES = ecore/ecore_idler_example.c
245ecore_ecore_idler_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
246
247
248ecore_ecore_imf_example_SOURCES = ecore/ecore_imf_example.c
249ecore_ecore_imf_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
250
251
252
253ecore_ecore_job_example_SOURCES = ecore/ecore_job_example.c
254ecore_ecore_job_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
255
256
257if HAVE_GSTREAMER
258EXTRA_PROGRAMS += ecore/ecore_pipe_gstreamer_example
259ecore_ecore_pipe_gstreamer_example_SOURCES = ecore/ecore_pipe_gstreamer_example.c
260ecore_ecore_pipe_gstreamer_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS) @GSTREAMER_CFLAGS@
261ecore_ecore_pipe_gstreamer_example_LDADD = $(LDADD) @GSTREAMER_LIBS@
262endif
263
264if ! HAVE_WINDOWS
265EXTRA_PROGRAMS += ecore/ecore_pipe_simple_example
266ecore_ecore_pipe_simple_example_SOURCES = ecore/ecore_pipe_simple_example.c
267ecore_ecore_pipe_simple_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
268
269endif
270
271ecore_ecore_poller_example_SOURCES = ecore/ecore_poller_example.c
272ecore_ecore_poller_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
273
274
275ecore_ecore_promise2_example_SOURCES = ecore/ecore_promise2_example.c
276ecore_ecore_promise2_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
277
278
279ecore_ecore_server_bench_SOURCES = ecore/ecore_server_bench.c
280ecore_ecore_server_bench_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
281
282
283ecore_ecore_thread_example_SOURCES = ecore/ecore_thread_example.c
284ecore_ecore_thread_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
285
286
287ecore_ecore_time_functions_example_SOURCES = ecore/ecore_time_functions_example.c
288ecore_ecore_time_functions_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
289
290
291ecore_ecore_timer_example_SOURCES = ecore/ecore_timer_example.c
292ecore_ecore_timer_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
293
294
295ecore_ecore_getopt_example_SOURCES = ecore/ecore_getopt_example.c
296ecore_ecore_getopt_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
297
298
299ecore_ecore_con_eet_client_example_SOURCES = ecore/ecore_con_eet_client_example.c \
300 ecore/ecore_con_eet_descriptor_example.c \
301 ecore/ecore_con_eet_descriptor_example.h
302ecore_ecore_con_eet_client_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
303
304ecore_ecore_con_eet_server_example_SOURCES = ecore/ecore_con_eet_server_example.c \
305 ecore/ecore_con_eet_descriptor_example.c \
306 ecore/ecore_con_eet_descriptor_example.h
307ecore_ecore_con_eet_server_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
308
309
310ecore_efl_io_copier_example_SOURCES = ecore/efl_io_copier_example.c
311ecore_efl_io_copier_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
312
313
314ecore_efl_io_copier_simple_example_SOURCES = ecore/efl_io_copier_simple_example.c
315ecore_efl_io_copier_simple_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
316
317
318ecore_efl_io_queue_example_SOURCES = ecore/efl_io_queue_example.c
319ecore_efl_io_queue_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
320
321
322ecore_efl_io_buffered_stream_example_SOURCES = ecore/efl_io_buffered_stream_example.c
323ecore_efl_io_buffered_stream_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
324
325
326ecore_efl_net_server_example_SOURCES = ecore/efl_net_server_example.c
327ecore_efl_net_server_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
328
329
330ecore_efl_net_server_simple_example_SOURCES = ecore/efl_net_server_simple_example.c
331ecore_efl_net_server_simple_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
332
333
334ecore_efl_net_dialer_http_example_SOURCES = ecore/efl_net_dialer_http_example.c
335ecore_efl_net_dialer_http_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
336
337
338ecore_efl_net_dialer_websocket_example_SOURCES = ecore/efl_net_dialer_websocket_example.c
339ecore_efl_net_dialer_websocket_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
340
341
342ecore_efl_net_dialer_websocket_autobahntestee_SOURCES = ecore/efl_net_dialer_websocket_autobahntestee.c
343ecore_efl_net_dialer_websocket_autobahntestee_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
344
345
346ecore_efl_net_dialer_udp_example_SOURCES = ecore/efl_net_dialer_udp_example.c
347ecore_efl_net_dialer_udp_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
348
349
350ecore_efl_net_dialer_simple_example_SOURCES = ecore/efl_net_dialer_simple_example.c
351ecore_efl_net_dialer_simple_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
352
353
354if HAVE_WINDOWS
355EXTRA_PROGRAMS += ecore/efl_net_dialer_windows_example
356ecore_efl_net_dialer_windows_example_SOURCES = ecore/efl_net_dialer_windows_example.c
357ecore_efl_net_dialer_windows_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
358
359else
360EXTRA_PROGRAMS += ecore/efl_net_dialer_unix_example
361ecore_efl_net_dialer_unix_example_SOURCES = ecore/efl_net_dialer_unix_example.c
362ecore_efl_net_dialer_unix_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
363
364endif
365
366ecore_efl_net_socket_ssl_dialer_example_SOURCES = ecore/efl_net_socket_ssl_dialer_example.c
367ecore_efl_net_socket_ssl_dialer_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
368
369
370ecore_efl_net_socket_ssl_server_example_SOURCES = ecore/efl_net_socket_ssl_server_example.c
371ecore_efl_net_socket_ssl_server_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
372
373
374ecore_efl_net_session_example_SOURCES = ecore/efl_net_session_example.c
375ecore_efl_net_session_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
376
377
378ecore_efl_net_control_example_SOURCES = ecore/efl_net_control_example.c
379ecore_efl_net_control_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
380
381
382ecore_efl_net_ip_address_example_SOURCES = ecore/efl_net_ip_address_example.c
383ecore_efl_net_ip_address_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
384
385
386ecore_ecore_ipc_server_example_SOURCES = ecore/ecore_ipc_server_example.c
387ecore_ecore_ipc_server_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
388
389
390ecore_ecore_ipc_client_example_SOURCES = ecore/ecore_ipc_client_example.c
391ecore_ecore_ipc_client_example_CPPFLAGS = $(ECORE_COMMON_CPPFLAGS) $(AM_CPPFLAGS)
392
393
394ECORE_SRCS = \
395ecore/ecore_animator_example.c \
396ecore/ecore_buffer_example.c \
397ecore/ecore_buffer_consumer_example.c \
398ecore/ecore_buffer_provider_example.c \
399ecore/ecore_client_bench.c \
400ecore/ecore_compose_get_example.c \
401ecore/ecore_con_client_example.c \
402ecore/ecore_con_client_simple_example.c \
403ecore/ecore_con_lookup_example.c \
404ecore/ecore_con_server_example.c \
405ecore/ecore_con_server_http_example.c \
406ecore/ecore_con_server_simple_example.c \
407ecore/ecore_con_url_cookies_example.c \
408ecore/ecore_con_url_download_example.c \
409ecore/ecore_con_url_headers_example.c \
410ecore/ecore_con_url_ftp_example.c \
411ecore/ecore_evas_basics_example.c \
412ecore/ecore_evas_buffer_example_01.c \
413ecore/ecore_evas_buffer_example_02.c \
414ecore/ecore_evas_extn_socket_example.c \
415ecore/ecore_evas_extn_plug_example.c \
416ecore/ecore_evas_callbacks.c \
417ecore/ecore_evas_ews_example.c \
418ecore/ecore_evas_object_example.c \
419ecore/ecore_evas_wayland_multiseat_example.c \
420ecore/ecore_evas_window_sizes_example.c \
421ecore/ecore_evas_vnc_example.c \
422ecore/ecore_event_example_01.c \
423ecore/ecore_event_example_02.c \
424ecore/ecore_exe_example.c \
425ecore/ecore_exe_example_child.c \
426ecore/ecore_fd_handler_example.c \
427ecore/ecore_fd_handler_gnutls_example.c \
428ecore/ecore_file_download_example.c \
429ecore/ecore_idler_example.c \
430ecore/ecore_imf_example.c \
431ecore/ecore_job_example.c \
432ecore/ecore_pipe_gstreamer_example.c \
433ecore/ecore_pipe_simple_example.c \
434ecore/ecore_poller_example.c \
435ecore/ecore_promise2_example.c \
436ecore/ecore_server_bench.c \
437ecore/ecore_thread_example.c \
438ecore/ecore_time_functions_example.c \
439ecore/ecore_timer_example.c \
440ecore/ecore_getopt_example.c \
441ecore/ecore_con_eet_client_example.c \
442ecore/ecore_con_eet_server_example.c \
443ecore/ecore_con_eet_descriptor_example.c \
444ecore/efl_io_copier_example.c \
445ecore/efl_io_copier_simple_example.c \
446ecore/efl_io_queue_example.c \
447ecore/efl_io_buffered_stream_example.c \
448ecore/efl_net_server_example.c \
449ecore/efl_net_server_simple_example.c \
450ecore/efl_net_dialer_http_example.c \
451ecore/efl_net_dialer_websocket_example.c \
452ecore/efl_net_dialer_websocket_autobahntestee.c \
453ecore/efl_net_dialer_udp_example.c \
454ecore/efl_net_dialer_simple_example.c \
455ecore/efl_net_socket_ssl_dialer_example.c \
456ecore/efl_net_socket_ssl_server_example.c \
457ecore/efl_net_session_example.c \
458ecore/efl_net_control_example.c \
459ecore/ecore_ipc_server_example.c \
460ecore/ecore_ipc_client_example.c
461
462ECORE_DATA_FILES = \
463ecore/red.png \
464ecore/Makefile.examples
465
466DATA_FILES += $(ECORE_DATA_FILES)
467
468install-examples-ecore:
469 $(MKDIR_P) $(DESTDIR)$(datadir)/ecore/examples
470 cd $(srcdir) && $(install_sh_DATA) -c $(ECORE_SRCS) $(ECORE_DATA_FILES) $(DESTDIR)$(datadir)/ecore/examples
471
472uninstall-local-ecore:
473 for f in $(ECORE_SRCS) $(ECORE_DATA_FILES); do \
474 rm -f $(DESTDIR)$(datadir)/ecore/examples/$$f ; \
475 done
476
477INSTALL_EXAMPLES += install-examples-ecore
478UNINSTALL_EXAMPLES += uninstall-local-ecore
diff --git a/src/examples/ecore/Makefile.am b/src/examples/ecore/Makefile.am
deleted file mode 100644
index 9ab288c594..0000000000
--- a/src/examples/ecore/Makefile.am
+++ /dev/null
@@ -1,482 +0,0 @@
1MAINTAINERCLEANFILES = Makefile.in
2
3AM_CPPFLAGS = \
4-I$(top_srcdir)/src/lib/eina \
5-I$(top_srcdir)/src/lib/eet \
6-I$(top_srcdir)/src/lib/emile \
7-I$(top_srcdir)/src/lib/eo \
8-I$(top_srcdir)/src/lib/efl \
9-I$(top_srcdir)/src/lib/evas \
10-I$(top_srcdir)/src/lib/ecore \
11-I$(top_srcdir)/src/lib/ecore_input \
12-I$(top_srcdir)/src/lib/ecore_input_evas \
13-I$(top_srcdir)/src/lib/ecore_file \
14-I$(top_srcdir)/src/lib/ecore_imf \
15-I$(top_srcdir)/src/lib/ecore_imf_evas \
16-I$(top_srcdir)/src/lib/ecore_con \
17-I$(top_srcdir)/src/lib/ecore_ipc \
18-I$(top_srcdir)/src/lib/ecore_evas \
19-I$(top_srcdir)/src/lib/ecore_audio \
20-I$(top_builddir)/src/lib/eina \
21-I$(top_builddir)/src/lib/eet \
22-I$(top_builddir)/src/lib/emile \
23-I$(top_builddir)/src/lib/eo \
24-I$(top_builddir)/src/lib/efl \
25-I$(top_builddir)/src/lib/evas \
26-I$(top_builddir)/src/lib/ecore \
27-I$(top_builddir)/src/lib/ecore_file \
28-I$(top_builddir)/src/lib/ecore_input \
29-I$(top_builddir)/src/lib/ecore_input_evas \
30-I$(top_builddir)/src/lib/ecore_imf \
31-I$(top_builddir)/src/lib/ecore_imf_evas \
32-I$(top_builddir)/src/lib/ecore_con \
33-I$(top_builddir)/src/lib/ecore_ipc \
34-I$(top_builddir)/src/lib/ecore_evas \
35-I$(top_builddir)/src/lib/ecore_audio \
36-DPACKAGE_EXAMPLES_DIR=\".\" \
37@ECORE_CFLAGS@
38
39if HAVE_ECORE_BUFFER
40AM_CPPFLAGS += -I$(top_srcdir)/src/lib/ecore_buffer
41endif
42
43EXTRA_PROGRAMS = \
44ecore_animator_example \
45ecore_client_bench \
46ecore_compose_get_example \
47ecore_con_client_example \
48ecore_con_client_simple_example \
49ecore_con_lookup_example \
50ecore_con_server_example \
51ecore_con_server_http_example \
52ecore_con_server_simple_example \
53ecore_con_url_cookies_example \
54ecore_con_url_download_example \
55ecore_con_url_headers_example \
56ecore_con_url_ftp_example \
57ecore_evas_basics_example \
58ecore_evas_buffer_example_01 \
59ecore_evas_buffer_example_02 \
60ecore_evas_callbacks \
61ecore_evas_cursor_example \
62ecore_evas_extn_socket_example \
63ecore_evas_extn_plug_example \
64ecore_evas_ews_example \
65ecore_evas_object_example \
66ecore_evas_wayland_multiseat_example \
67ecore_evas_window_sizes_example \
68ecore_evas_vnc_example \
69ecore_event_example_01 \
70ecore_event_example_02 \
71ecore_exe_example \
72ecore_exe_example_child \
73ecore_fd_handler_example \
74ecore_file_download_example \
75ecore_idler_example \
76ecore_imf_example \
77ecore_job_example \
78ecore_poller_example \
79ecore_promise2_example \
80ecore_server_bench \
81ecore_thread_example \
82ecore_time_functions_example \
83ecore_timer_example \
84ecore_getopt_example \
85ecore_con_eet_client_example \
86ecore_con_eet_server_example \
87efl_io_copier_example \
88efl_io_copier_simple_example \
89efl_io_queue_example \
90efl_io_buffered_stream_example \
91efl_net_server_example \
92efl_net_server_simple_example \
93efl_net_dialer_http_example \
94efl_net_dialer_websocket_example \
95efl_net_dialer_websocket_autobahntestee \
96efl_net_dialer_udp_example \
97efl_net_dialer_simple_example \
98efl_net_socket_ssl_dialer_example \
99efl_net_socket_ssl_server_example \
100efl_net_session_example \
101efl_net_control_example \
102efl_net_ip_address_example \
103ecore_ipc_server_example \
104ecore_ipc_client_example
105
106
107ECORE_COMMON_LDADD = \
108$(top_builddir)/src/lib/ecore/libecore.la \
109$(top_builddir)/src/lib/eo/libeo.la \
110$(top_builddir)/src/lib/eina/libeina.la \
111$(top_builddir)/src/lib/emile/libemile.la \
112@ECORE_LDFLAGS@
113
114if HAVE_ECORE_AUDIO
115#EXTRA_PROGRAMS += \
116#ecore_audio_playback \
117#ecore_audio_to_ogg \
118#ecore_audio_custom
119#
120#ECORE_AUDIO_COMMON_LDADD = \
121#$(top_builddir)/src/lib/ecore_audio/libecore_audio.la \
122#$(ECORE_COMMON_LDADD)
123#
124#ecore_audio_custom_SOURCES = ecore_audio_custom.c
125#ecore_audio_custom_LDADD = $(ECORE_AUDIO_COMMON_LDADD)
126#
127#ecore_audio_playback_SOURCES = ecore_audio_playback.c
128#ecore_audio_playback_LDADD = $(ECORE_AUDIO_COMMON_LDADD)
129#
130#ecore_audio_to_ogg_SOURCES = ecore_audio_to_ogg.c
131#ecore_audio_to_ogg_LDADD = $(ECORE_AUDIO_COMMON_LDADD)
132endif
133
134ECORE_EVAS_COMMON_LDADD = \
135$(top_builddir)/src/lib/ecore_evas/libecore_evas.la \
136$(top_builddir)/src/lib/evas/libevas.la \
137$(ECORE_COMMON_LDADD)
138
139ECORE_CON_COMMON_LDADD = \
140$(top_builddir)/src/lib/ecore_con/libecore_con.la \
141$(ECORE_COMMON_LDADD)
142
143ECORE_IPC_COMMON_LDADD = \
144$(top_builddir)/src/lib/ecore_ipc/libecore_ipc.la \
145$(ECORE_CON_COMMON_LDADD)
146
147ecore_animator_example_SOURCES = ecore_animator_example.c
148ecore_animator_example_LDADD = $(ECORE_EVAS_COMMON_LDADD)
149
150if HAVE_ECORE_BUFFER
151EXTRA_PROGRAMS += ecore_buffer_example \
152ecore_buffer_consumer_example \
153ecore_buffer_provider_example
154
155ecore_buffer_example_SOURCES = ecore_buffer_example.c
156ecore_buffer_example_LDADD = $(ECORE_EVAS_COMMON_LDADD) \
157 $(top_builddir)/src/lib/ecore_buffer/libecore_buffer.la
158
159ecore_buffer_consumer_example_SOURCES = ecore_buffer_consumer_example.c
160ecore_buffer_consumer_example_LDADD = $(ECORE_EVAS_COMMON_LDADD) \
161 $(top_builddir)/src/lib/ecore_buffer/libecore_buffer.la
162
163ecore_buffer_provider_example_SOURCES = ecore_buffer_provider_example.c
164ecore_buffer_provider_example_LDADD = $(ECORE_EVAS_COMMON_LDADD) \
165 $(top_builddir)/src/lib/ecore_buffer/libecore_buffer.la
166endif
167
168ecore_client_bench_SOURCES = ecore_client_bench.c
169ecore_client_bench_LDADD = $(ECORE_CON_COMMON_LDADD)
170
171ecore_compose_get_example_SOURCES = ecore_compose_get_example.c
172ecore_compose_get_example_LDADD = $(ECORE_EVAS_COMMON_LDADD) \
173$(top_builddir)/src/lib/ecore_input/libecore_input.la
174
175ecore_con_client_example_SOURCES = ecore_con_client_example.c
176ecore_con_client_example_LDADD = $(ECORE_CON_COMMON_LDADD)
177
178ecore_con_client_simple_example_SOURCES = ecore_con_client_simple_example.c
179ecore_con_client_simple_example_LDADD = $(ECORE_CON_COMMON_LDADD)
180
181ecore_con_lookup_example_SOURCES = ecore_con_lookup_example.c
182ecore_con_lookup_example_LDADD = $(ECORE_CON_COMMON_LDADD)
183
184ecore_con_server_example_SOURCES = ecore_con_server_example.c
185ecore_con_server_example_LDADD = $(ECORE_CON_COMMON_LDADD)
186
187ecore_con_server_http_example_SOURCES = ecore_con_server_http_example.c
188ecore_con_server_http_example_LDADD = $(ECORE_CON_COMMON_LDADD)
189
190ecore_con_server_simple_example_SOURCES = ecore_con_server_simple_example.c
191ecore_con_server_simple_example_LDADD = $(ECORE_CON_COMMON_LDADD)
192
193ecore_con_url_cookies_example_SOURCES = ecore_con_url_cookies_example.c
194ecore_con_url_cookies_example_LDADD = $(ECORE_CON_COMMON_LDADD)
195
196ecore_con_url_download_example_SOURCES = ecore_con_url_download_example.c
197ecore_con_url_download_example_LDADD = $(ECORE_CON_COMMON_LDADD)
198
199ecore_con_url_headers_example_SOURCES = ecore_con_url_headers_example.c
200ecore_con_url_headers_example_LDADD = $(ECORE_CON_COMMON_LDADD)
201
202ecore_con_url_ftp_example_SOURCES = ecore_con_url_ftp_example.c
203ecore_con_url_ftp_example_LDADD = $(ECORE_CON_COMMON_LDADD)
204
205ecore_evas_basics_example_SOURCES = ecore_evas_basics_example.c
206ecore_evas_basics_example_LDADD = $(ECORE_EVAS_COMMON_LDADD)
207
208ecore_evas_buffer_example_01_SOURCES = ecore_evas_buffer_example_01.c
209ecore_evas_buffer_example_01_LDADD = $(ECORE_EVAS_COMMON_LDADD)
210
211ecore_evas_buffer_example_02_SOURCES = ecore_evas_buffer_example_02.c
212ecore_evas_buffer_example_02_LDADD = $(ECORE_EVAS_COMMON_LDADD)
213
214ecore_evas_callbacks_SOURCES = ecore_evas_callbacks.c
215ecore_evas_callbacks_LDADD = $(ECORE_EVAS_COMMON_LDADD)
216
217ecore_evas_cursor_example_SOURCES = ecore_evas_cursor_example.c
218ecore_evas_cursor_example_LDADD = $(ECORE_EVAS_COMMON_LDADD)
219
220ecore_evas_extn_socket_example_SOURCES = ecore_evas_extn_socket_example.c
221ecore_evas_extn_socket_example_LDADD = $(ECORE_EVAS_COMMON_LDADD)
222
223ecore_evas_extn_plug_example_SOURCES = ecore_evas_extn_plug_example.c
224ecore_evas_extn_plug_example_LDADD = $(ECORE_EVAS_COMMON_LDADD)
225
226ecore_evas_ews_example_SOURCES = ecore_evas_ews_example.c
227ecore_evas_ews_example_LDADD = $(ECORE_EVAS_COMMON_LDADD)
228
229ecore_evas_object_example_SOURCES = ecore_evas_object_example.c
230ecore_evas_object_example_LDADD = $(ECORE_EVAS_COMMON_LDADD)
231
232ecore_evas_wayland_multiseat_example_SOURCES = ecore_evas_wayland_multiseat_example.c
233ecore_evas_wayland_multiseat_example_LDADD = $(ECORE_EVAS_COMMON_LDADD) \
234$(top_builddir)/src/lib/ecore_input/libecore_input.la
235
236ecore_evas_window_sizes_example_SOURCES = ecore_evas_window_sizes_example.c
237ecore_evas_window_sizes_example_LDADD = $(ECORE_EVAS_COMMON_LDADD)
238
239ecore_evas_vnc_example_SOURCES = ecore_evas_vnc_example.c
240ecore_evas_vnc_example_LDADD = $(ECORE_EVAS_COMMON_LDADD) \
241$(top_builddir)/src/lib/ecore_input/libecore_input.la
242
243ecore_event_example_01_SOURCES = ecore_event_example_01.c
244ecore_event_example_01_LDADD = $(ECORE_COMMON_LDADD)
245
246ecore_event_example_02_SOURCES = ecore_event_example_02.c
247ecore_event_example_02_LDADD = $(ECORE_COMMON_LDADD)
248
249ecore_exe_example_SOURCES = ecore_exe_example.c
250ecore_exe_example_LDADD = $(ECORE_COMMON_LDADD)
251
252ecore_exe_example_child_SOURCES = ecore_exe_example_child.c
253ecore_exe_example_child_LDADD = $(ECORE_COMMON_LDADD)
254
255ecore_fd_handler_example_SOURCES = ecore_fd_handler_example.c
256ecore_fd_handler_example_LDADD = $(ECORE_COMMON_LDADD)
257
258if HAVE_CRYPTO_GNUTLS
259EXTRA_PROGRAMS += ecore_fd_handler_gnutls_example
260ecore_fd_handler_gnutls_example_SOURCES = ecore_fd_handler_gnutls_example.c
261ecore_fd_handler_gnutls_example_LDADD = $(ECORE_CON_COMMON_LDADD)
262endif
263
264ecore_file_download_example_SOURCES = ecore_file_download_example.c
265ecore_file_download_example_LDADD = $(ECORE_COMMON_LDADD) \
266$(top_builddir)/src/lib/ecore_file/libecore_file.la
267
268ecore_idler_example_SOURCES = ecore_idler_example.c
269ecore_idler_example_LDADD = $(ECORE_COMMON_LDADD)
270
271ecore_imf_example_SOURCES = ecore_imf_example.c
272ecore_imf_example_LDADD = $(ECORE_EVAS_COMMON_LDADD) \
273$(top_builddir)/src/lib/ecore_imf/libecore_imf.la \
274$(top_builddir)/src/lib/ecore_imf_evas/libecore_imf_evas.la
275
276
277ecore_job_example_SOURCES = ecore_job_example.c
278ecore_job_example_LDADD = $(ECORE_COMMON_LDADD)
279
280if HAVE_GSTREAMER
281EXTRA_PROGRAMS += ecore_pipe_gstreamer_example
282ecore_pipe_gstreamer_example_SOURCES = ecore_pipe_gstreamer_example.c
283ecore_pipe_gstreamer_example_LDADD = $(ECORE_COMMON_LDADD) @GSTREAMER_LIBS@
284ecore_pipe_gstreamer_example_CFLAGS = @GSTREAMER_CFLAGS@
285endif
286
287if ! HAVE_WINDOWS
288EXTRA_PROGRAMS += ecore_pipe_simple_example
289ecore_pipe_simple_example_SOURCES = ecore_pipe_simple_example.c
290ecore_pipe_simple_example_LDADD = $(ECORE_COMMON_LDADD)
291endif
292
293ecore_poller_example_SOURCES = ecore_poller_example.c
294ecore_poller_example_LDADD = $(ECORE_COMMON_LDADD)
295
296ecore_promise2_example_SOURCES = ecore_promise2_example.c
297ecore_promise2_example_LDADD = $(ECORE_COMMON_LDADD)
298
299ecore_server_bench_SOURCES = ecore_server_bench.c
300ecore_server_bench_LDADD = $(ECORE_CON_COMMON_LDADD)
301
302ecore_thread_example_SOURCES = ecore_thread_example.c
303ecore_thread_example_LDADD = $(ECORE_COMMON_LDADD)
304
305ecore_time_functions_example_SOURCES = ecore_time_functions_example.c
306ecore_time_functions_example_LDADD = $(ECORE_COMMON_LDADD)
307
308ecore_timer_example_SOURCES = ecore_timer_example.c
309ecore_timer_example_LDADD = $(ECORE_COMMON_LDADD)
310
311ecore_getopt_example_SOURCES = ecore_getopt_example.c
312ecore_getopt_example_LDADD = $(ECORE_COMMON_LDADD)
313
314ecore_con_eet_client_example_SOURCES = ecore_con_eet_client_example.c \
315 ecore_con_eet_descriptor_example.c \
316 ecore_con_eet_descriptor_example.h
317ecore_con_eet_client_example_LDADD = $(ECORE_CON_COMMON_LDADD) \
318$(top_builddir)/src/lib/eet/libeet.la
319
320ecore_con_eet_server_example_SOURCES = ecore_con_eet_server_example.c \
321 ecore_con_eet_descriptor_example.c \
322 ecore_con_eet_descriptor_example.h
323ecore_con_eet_server_example_LDADD = $(ECORE_CON_COMMON_LDADD) \
324$(top_builddir)/src/lib/eet/libeet.la
325
326
327efl_io_copier_example_SOURCES = efl_io_copier_example.c
328efl_io_copier_example_LDADD = $(ECORE_CON_COMMON_LDADD)
329
330efl_io_copier_simple_example_SOURCES = efl_io_copier_simple_example.c
331efl_io_copier_simple_example_LDADD = $(ECORE_COMMON_LDADD)
332
333efl_io_queue_example_SOURCES = efl_io_queue_example.c
334efl_io_queue_example_LDADD = $(ECORE_CON_COMMON_LDADD)
335
336efl_io_buffered_stream_example_SOURCES = efl_io_buffered_stream_example.c
337efl_io_buffered_stream_example_LDADD = $(ECORE_CON_COMMON_LDADD)
338
339efl_net_server_example_SOURCES = efl_net_server_example.c
340efl_net_server_example_LDADD = $(ECORE_CON_COMMON_LDADD)
341
342efl_net_server_simple_example_SOURCES = efl_net_server_simple_example.c
343efl_net_server_simple_example_LDADD = $(ECORE_CON_COMMON_LDADD)
344
345efl_net_dialer_http_example_SOURCES = efl_net_dialer_http_example.c
346efl_net_dialer_http_example_LDADD = $(ECORE_CON_COMMON_LDADD)
347
348efl_net_dialer_websocket_example_SOURCES = efl_net_dialer_websocket_example.c
349efl_net_dialer_websocket_example_LDADD = $(ECORE_CON_COMMON_LDADD)
350
351efl_net_dialer_websocket_autobahntestee_SOURCES = efl_net_dialer_websocket_autobahntestee.c
352efl_net_dialer_websocket_autobahntestee_LDADD = $(ECORE_CON_COMMON_LDADD)
353
354efl_net_dialer_udp_example_SOURCES = efl_net_dialer_udp_example.c
355efl_net_dialer_udp_example_LDADD = $(ECORE_CON_COMMON_LDADD)
356
357efl_net_dialer_simple_example_SOURCES = efl_net_dialer_simple_example.c
358efl_net_dialer_simple_example_LDADD = $(ECORE_CON_COMMON_LDADD)
359
360if HAVE_WINDOWS
361EXTRA_PROGRAMS += efl_net_dialer_windows_example
362efl_net_dialer_windows_example_SOURCES = efl_net_dialer_windows_example.c
363efl_net_dialer_windows_example_LDADD = $(ECORE_CON_COMMON_LDADD)
364else
365EXTRA_PROGRAMS += efl_net_dialer_unix_example
366efl_net_dialer_unix_example_SOURCES = efl_net_dialer_unix_example.c
367efl_net_dialer_unix_example_LDADD = $(ECORE_CON_COMMON_LDADD)
368endif
369
370efl_net_socket_ssl_dialer_example_SOURCES = efl_net_socket_ssl_dialer_example.c
371efl_net_socket_ssl_dialer_example_LDADD = $(ECORE_CON_COMMON_LDADD)
372
373efl_net_socket_ssl_server_example_SOURCES = efl_net_socket_ssl_server_example.c
374efl_net_socket_ssl_server_example_LDADD = $(ECORE_CON_COMMON_LDADD)
375
376efl_net_session_example_SOURCES = efl_net_session_example.c
377efl_net_session_example_LDADD = $(ECORE_CON_COMMON_LDADD)
378
379efl_net_control_example_SOURCES = efl_net_control_example.c
380efl_net_control_example_LDADD = $(ECORE_CON_COMMON_LDADD)
381
382efl_net_ip_address_example_SOURCES = efl_net_ip_address_example.c
383efl_net_ip_address_example_LDADD = $(ECORE_CON_COMMON_LDADD)
384
385ecore_ipc_server_example_SOURCES = ecore_ipc_server_example.c
386ecore_ipc_server_example_LDADD = $(ECORE_IPC_COMMON_LDADD)
387
388ecore_ipc_client_example_SOURCES = ecore_ipc_client_example.c
389ecore_ipc_client_example_LDADD = $(ECORE_IPC_COMMON_LDADD)
390
391SRCS = \
392ecore_animator_example.c \
393ecore_buffer_example.c \
394ecore_buffer_consumer_example.c \
395ecore_buffer_provider_example.c \
396ecore_client_bench.c \
397ecore_compose_get_example.c \
398ecore_con_client_example.c \
399ecore_con_client_simple_example.c \
400ecore_con_lookup_example.c \
401ecore_con_server_example.c \
402ecore_con_server_http_example.c \
403ecore_con_server_simple_example.c \
404ecore_con_url_cookies_example.c \
405ecore_con_url_download_example.c \
406ecore_con_url_headers_example.c \
407ecore_con_url_ftp_example.c \
408ecore_evas_basics_example.c \
409ecore_evas_buffer_example_01.c \
410ecore_evas_buffer_example_02.c \
411ecore_evas_extn_socket_example.c \
412ecore_evas_extn_plug_example.c \
413ecore_evas_callbacks.c \
414ecore_evas_ews_example.c \
415ecore_evas_object_example.c \
416ecore_evas_wayland_multiseat_example.c \
417ecore_evas_window_sizes_example.c \
418ecore_evas_vnc_example.c \
419ecore_event_example_01.c \
420ecore_event_example_02.c \
421ecore_exe_example.c \
422ecore_exe_example_child.c \
423ecore_fd_handler_example.c \
424ecore_fd_handler_gnutls_example.c \
425ecore_file_download_example.c \
426ecore_idler_example.c \
427ecore_imf_example.c \
428ecore_job_example.c \
429ecore_pipe_gstreamer_example.c \
430ecore_pipe_simple_example.c \
431ecore_poller_example.c \
432ecore_promise2_example.c \
433ecore_server_bench.c \
434ecore_thread_example.c \
435ecore_time_functions_example.c \
436ecore_timer_example.c \
437ecore_getopt_example.c \
438ecore_con_eet_client_example.c \
439ecore_con_eet_server_example.c \
440ecore_con_eet_descriptor_example.c \
441efl_io_copier_example.c \
442efl_io_copier_simple_example.c \
443efl_io_queue_example.c \
444efl_io_buffered_stream_example.c \
445efl_net_server_example.c \
446efl_net_server_simple_example.c \
447efl_net_dialer_http_example.c \
448efl_net_dialer_websocket_example.c \
449efl_net_dialer_websocket_autobahntestee.c \
450efl_net_dialer_udp_example.c \
451efl_net_dialer_simple_example.c \
452efl_net_socket_ssl_dialer_example.c \
453efl_net_socket_ssl_server_example.c \
454efl_net_session_example.c \
455efl_net_control_example.c \
456ecore_ipc_server_example.c \
457ecore_ipc_client_example.c
458
459%.pem:
460 echo -e "US\nOR\nPortland\nXPTO Ltd\n\nlocalhost\nroot@localhost\n" | openssl req -new -x509 -days 30 -nodes -out $@ -keyout $@
461
462DATA_FILES = red.png Makefile.examples
463
464EXTRA_DIST = $(DATA_FILES)
465
466examples: $(EXTRA_PROGRAMS)
467
468clean-local:
469 rm -f $(EXTRA_PROGRAMS)
470
471install-examples:
472 $(MKDIR_P) $(DESTDIR)$(datadir)/ecore/examples
473 cd $(srcdir) && $(install_sh_DATA) -c $(SRCS) $(DATA_FILES) $(DESTDIR)$(datadir)/ecore/examples
474
475uninstall-local:
476 for f in $(SRCS) $(DATA_FILES); do \
477 rm -f $(DESTDIR)$(datadir)/ecore/examples/$$f ; \
478 done
479
480if ALWAYS_BUILD_EXAMPLES
481noinst_PROGRAMS = $(EXTRA_PROGRAMS)
482endif
diff --git a/src/examples/ecore_avahi.mk b/src/examples/ecore_avahi.mk
new file mode 100644
index 0000000000..b2af5e8774
--- /dev/null
+++ b/src/examples/ecore_avahi.mk
@@ -0,0 +1,19 @@
1ECORE_AVAHI_SRCS = \
2ecore_avahi/ecore_avahi_browse_example.c \
3ecore_avahi/ecore_avahi_example.c
4
5EXTRA_PROGRAMS += \
6ecore_avahi/ecore_avahi_example \
7ecore_avahi/ecore_avahi_browse_example
8
9install-examples-ecoreavahi: examples
10 $(MKDIR_P) $(DESTDIR)$(datadir)/ecore_avahi/examples
11 cd $(srcdir) && $(install_sh_DATA) -c $(ECORE_AVAHI_SRCS) $(DESTDIR)$(datadir)/ecore_avahi/examples
12
13uninstall-local-ecoreavahi:
14 for f in $(ECORE_AVAHI_SRCS); do \
15 rm -f $(DESTDIR)$(datadir)/ecore_avahi/examples/$$f ; \
16 done
17
18INSTALL_EXAMPLES += install-examples-ecoreavahi
19UNINSTALL_EXAMPLES += uninstall-local-ecoreavahi
diff --git a/src/examples/ecore_avahi/Makefile.am b/src/examples/ecore_avahi/Makefile.am
deleted file mode 100644
index a6c7677576..0000000000
--- a/src/examples/ecore_avahi/Makefile.am
+++ /dev/null
@@ -1,46 +0,0 @@
1MAINTAINERCLEANFILES = Makefile.in
2
3AM_CPPFLAGS = \
4-I$(top_srcdir)/src/lib/eina \
5-I$(top_srcdir)/src/lib/eo \
6-I$(top_srcdir)/src/lib/efl \
7-I$(top_srcdir)/src/lib/ecore \
8-I$(top_srcdir)/src/lib/ecore_avahi\
9-I$(top_builddir)/src/lib/eina \
10-I$(top_builddir)/src/lib/eo \
11-I$(top_builddir)/src/lib/efl \
12-I$(top_builddir)/src/lib/ecore \
13-I$(top_builddir)/src/lib/ecore_avahi \
14@AVAHI_CLIENT_CFLAGS@
15
16EXTRA_PROGRAMS = \
17ecore_avahi_example \
18ecore_avahi_browse_example
19
20ecore_avahi_example_SOURCES = ecore_avahi_example.c
21ecore_avahi_example_LDADD = $(top_builddir)/src/lib/ecore/libecore.la \
22$(top_builddir)/src/lib/ecore_avahi/libecore_avahi.la \
23$(top_builddir)/src/lib/eo/libeo.la \
24$(top_builddir)/src/lib/eina/libeina.la \
25@AVAHI_CLIENT_LIBS@
26
27ecore_avahi_browse_example_SOURCES = ecore_avahi_browse_example.c
28ecore_avahi_browse_example_LDADD = $(top_builddir)/src/lib/ecore/libecore.la \
29$(top_builddir)/src/lib/ecore_avahi/libecore_avahi.la \
30$(top_builddir)/src/lib/eo/libeo.la \
31$(top_builddir)/src/lib/eina/libeina.la \
32@AVAHI_CLIENT_LIBS@
33
34examples: $(EXTRA_PROGRAMS)
35
36clean-local:
37 rm -f $(EXTRA_PROGRAMS)
38
39install-examples:
40 $(MKDIR_P) $(DESTDIR)$(datadir)/ecore_avahi/examples
41 $(install_sh_DATA) -c $(srcdir)/ecore_avahi_browse_example.c $(DESTDIR)$(datadir)/ecore_avahi/examples
42 $(install_sh_DATA) -c $(srcdir)/ecore_avahi_example.c $(DESTDIR)$(datadir)/ecore_avahi/examples
43
44uninstall-local:
45 rm -f $(DESTDIR)$(datadir)/ecore_avahi/examples/ecore_avahi_example.c
46 rm -f $(DESTDIR)$(datadir)/ecore_avahi/examples/ecore_avahi_browse_example.c
diff --git a/src/examples/edje.mk b/src/examples/edje.mk
new file mode 100644
index 0000000000..02ef70776f
--- /dev/null
+++ b/src/examples/edje.mk
@@ -0,0 +1,226 @@
1EDJE_CODEGEN = EFL_RUN_IN_TREE=1 $(top_builddir)/src/bin/edje/edje_codegen
2EDJE_CODEGEN_FLAGS = --prefix=codegen_example
3
4#put here all EDCs one needs to the examples
5EDJE_EDCS = \
6edje/animations.edc \
7edje/animations2.edc \
8edje/basic.edc \
9edje/basic2.edc \
10edje/bezier-transition-example.edc \
11edje/box.edc \
12edje/box_example.edc \
13edje/codegen.edc \
14edje/color-class.edc \
15edje/drag.edc \
16edje/dynamic_multiseat.edc \
17edje/edje-group.edc \
18edje/edje-nested.edc \
19edje/edje-threshold.edc \
20edje/edje_example.edc \
21edje/embryo_custom_state.edc \
22edje/embryo_pong.edc \
23edje/embryo_run_program.edc \
24edje/embryo_set_state.edc \
25edje/embryo_set_state_anim.edc \
26edje/embryo_set_text.edc \
27edje/embryo_timer.edc \
28edje/embryo_tween_anim.edc \
29edje/entry.edc \
30edje/external_elm_anchorblock.edc \
31edje/external_elm_button.edc \
32edje/external_elm_check.edc \
33edje/external_elm_panes.edc \
34edje/external_emotion_elm.edc \
35edje/focus.edc \
36edje/lua_script.edc \
37edje/messages_echo.edc \
38edje/multiseat.edc \
39edje/multiseat_custom_names.edc \
40edje/multiseat_filter.edc \
41edje/perspective.edc \
42edje/signals-messages.edc \
43edje/signalsBubble.edc \
44edje/sigtest.edc \
45edje/svg.edc \
46edje/swallow.edc \
47edje/table.edc \
48edje/text.edc \
49edje/textblock-hyphen.edc \
50edje/toggle_using_filter.edc
51
52MULTISENSE_EDCS = edje/multisense.edc
53if ENABLE_MULTISENSE
54EDJE_EDCS += $(MULTISENSE_EDCS)
55endif
56
57PHYSICS_EDCS = \
58edje/physics_3d.edc \
59edje/physics_actions.edc \
60edje/physics_backcull.edc \
61edje/physics_basic.edc \
62edje/physics_complex.edc \
63edje/physics_soft_bodies.edc
64if HAVE_EPHYSICS
65EDJE_EDCS += $(PHYSICS_EDCS)
66endif
67
68EDJE_DATA_FILES = \
69edje/bubble.png \
70edje/bubble-blue.png \
71edje/red.png \
72edje/test.png \
73edje/Vera.ttf \
74edje/duck.wav \
75edje/dst.svg \
76edje/atom.svg \
77edje/bojo.svg \
78edje/bzrfeed.svg \
79edje/yinyang.svg \
80edje/ubuntu.svg \
81edje/duke.svg \
82edje/cartman.svg \
83edje/ibm.svg \
84edje/hg0.svg \
85edje/fsm.svg \
86edje/osa.svg \
87edje/wikimedia.svg \
88edje/scion.svg \
89edje/eee.svg \
90edje/google.svg \
91edje/tiger.svg \
92edje/venus.svg \
93edje/lineargrad1.svg \
94edje/radialgrad1.svg \
95edje/yadis.svg \
96edje/favorite_on.svg \
97edje/favorite_off.svg \
98edje/batman1.svg \
99edje/batman2.svg \
100edje/en_IN/domain_name.po \
101edje/hi_IN/domain_name.po \
102edje/ta_IN/domain_name.mo \
103edje/Makefile.examples
104
105EDJE_SRCS = \
106edje/animations2.c \
107edje/edje-animations.c \
108edje/edje-basic.c \
109edje/edje-basic2.c \
110edje/edje-box.c \
111edje/edje-box2.c \
112edje/edje-codegen-example.c \
113edje/edje-color-class.c \
114edje/edje-drag.c \
115edje/edje-dynamic-multiseat.c \
116edje/edje-edit-part-box.c \
117edje/edje-entry.c \
118edje/edje-focus.c \
119edje/edje-multiseat.c \
120edje/edje-multiseat-custom-names.c \
121edje/edje-multiseat-filter.c \
122edje/edje-multisense.c \
123edje/edje-perspective.c \
124edje/edje-signals-messages.c \
125edje/edje-swallow.c \
126edje/edje-swallow2.c \
127edje/edje-table.c \
128edje/edje-text.c \
129edje/edje-textblock-hyphenation.c \
130edje/edje_example.c \
131edje/signals2.c \
132edje/sigtest.c \
133edje/svg-test.c
134
135EDJE_CPPFLAGS = \
136$(AM_CPPFLAGS) \
137-I$(top_builddir)/src/examples/edje \
138-DPACKAGE_DATA_DIR=\"$(datadir)/edje/examples\"
139
140CODEGEN_GENERATED = \
141edje/codegen_example_generated.c \
142edje/codegen_example_generated.h
143
144DISTCLEANFILES += $(CODEGEN_GENERATED)
145
146$(CODEGEN_GENERATED): edje/codegen.edj
147 $(AM_V_GEN)$(EDJE_CODEGEN) $(EDJE_CODEGEN_FLAGS) edje/codegen.edj example_group $(builddir)/edje/codegen_example_generated.c $(builddir)/edje/codegen_example_generated.h
148
149edje_edje_codegen_example_SOURCES = \
150edje/edje-codegen-example.c
151edje_edje_codegen_example_CPPFLAGS = $(EDJE_CPPFLAGS)
152
153nodist_edje_edje_codegen_example_CPPFLAGS = $(EDJE_CPPFLAGS)
154nodist_edje_edje_codegen_example_SOURCES = \
155$(CODEGEN_GENERATED)
156
157if HAVE_AM_16
158edje/edje_codegen_example-edje-codegen-example.$(OBJEXT): $(CODEGEN_GENERATED)
159else
160edje/edje_edje_codegen_example-edje-codegen-example.$(OBJEXT): $(CODEGEN_GENERATED)
161endif
162
163if BUILD_LOADER_PNG
164EXTRA_PROGRAMS += \
165edje/animations2 \
166edje/edje-animations \
167edje/edje-basic \
168edje/edje-basic2 \
169edje/edje-box \
170edje/edje-box2 \
171edje/edje-codegen-example \
172edje/edje-color-class \
173edje/edje-drag \
174edje/edje-dynamic-multiseat \
175edje/edje-edit-part-box \
176edje/edje-entry \
177edje/edje-focus \
178edje/edje-multiseat \
179edje/edje-multiseat-custom-names \
180edje/edje-multiseat-filter \
181edje/edje-perspective \
182edje/edje-signals-messages \
183edje/edje-swallow \
184edje/edje-swallow2 \
185edje/edje-table \
186edje/edje-text \
187edje/edje-textblock-hyphenation \
188edje/edje_example \
189edje/signals2 \
190edje/sigtest \
191edje/svg-test
192
193if ENABLE_MULTISENSE
194EXTRA_PROGRAMS += edje/edje-multisense
195endif
196endif
197
198DATA_FILES += $(EDJE_DATA_FILES)
199EDJE_EDJS = $(EDJE_EDCS:%.edc=%.edj)
200EDCS += $(EDJE_EDCS)
201if ! HAVE_EPHYSICS
202EXTRA_DIST += $(PHYSICS_EDCS)
203endif
204
205if ENABLE_MULTISENSE
206EDJE_CC_FLAGS += -sd $(top_srcdir)/src/examples/edje
207endif
208
209EDJE_CC_FLAGS += -id $(top_srcdir)/src/examples/edje -md $(top_srcdir)/src/examples/edje -fd $(top_srcdir)/src/examples/edje -beta
210
211CLEANFILES += \
212$(top_builddir)/src/examples/edje/en_IN/domain_name.mo \
213$(top_builddir)/src/examples/edje/hi_IN/domain_name.mo
214
215install-examples-edje: examples
216 $(MKDIR_P) $(DESTDIR)$(datadir)/edje/examples
217 cd $(srcdir) && $(install_sh_DATA) -c $(EDJE_SRCS) $(EDJE_EDCS) $(EDJE_DATA_FILES) $(DESTDIR)$(datadir)/edje/examples
218 cd $(builddir) && $(install_sh_DATA) -c $(EDJE_EDJS) $(DESTDIR)$(datadir)/edje/examples
219
220uninstall-local-edje:
221 for f in $(EDJE_SRCS) $(EDJE_EDCS) $(EDJE_DATA_FILES); do \
222 rm -f $(DESTDIR)$(datadir)/edje/examples/$$f ; \
223 done
224
225INSTALL_EXAMPLES += install-examples-edje
226UNINSTALL_EXAMPLES += uninstall-local-edje
diff --git a/src/examples/edje/Makefile.am b/src/examples/edje/Makefile.am
deleted file mode 100644
index 961009d347..0000000000
--- a/src/examples/edje/Makefile.am
+++ /dev/null
@@ -1,296 +0,0 @@
1MAINTAINERCLEANFILES = Makefile.in
2
3include ../../Makefile_Edje_Helper.am
4
5EDJE_CODEGEN = EFL_RUN_IN_TREE=1 $(top_builddir)/src/bin/edje/edje_codegen
6EDJE_CODEGEN_FLAGS = --prefix=codegen_example
7
8if ENABLE_MULTISENSE
9SND_DIR = -sd $(top_srcdir)/src/examples/edje/
10endif
11
12MO_DIR = -md $(top_builddir)/src/examples/edje/
13
14#put here all EDCs one needs to the examples
15EDCS = \
16animations.edc \
17animations2.edc \
18basic.edc \
19basic2.edc \
20bezier-transition-example.edc \
21box.edc \
22box_example.edc \
23codegen.edc \
24color-class.edc \
25drag.edc \
26dynamic_multiseat.edc \
27edje-group.edc \
28edje-nested.edc \
29edje-threshold.edc \
30edje_example.edc \
31embryo_custom_state.edc \
32embryo_pong.edc \
33embryo_run_program.edc \
34embryo_set_state.edc \
35embryo_set_state_anim.edc \
36embryo_set_text.edc \
37embryo_timer.edc \
38embryo_tween_anim.edc \
39entry.edc \
40external_elm_anchorblock.edc \
41external_elm_button.edc \
42external_elm_check.edc \
43external_elm_panes.edc \
44external_emotion_elm.edc \
45focus.edc \
46lua_script.edc \
47messages_echo.edc \
48multiseat.edc \
49multiseat_custom_names.edc \
50multiseat_filter.edc \
51perspective.edc \
52signals-messages.edc \
53signalsBubble.edc \
54sigtest.edc \
55svg.edc \
56swallow.edc \
57table.edc \
58text.edc \
59textblock-hyphen.edc \
60toggle_using_filter.edc
61
62DIST_EDCS = $(EDCS)
63
64MULTISENSE_EDCS = multisense.edc
65if ENABLE_MULTISENSE
66EDCS += $(MULTISENSE_EDCS)
67endif
68DIST_EDCS += $(MULTISENSE_EDCS)
69
70PHYSICS_EDCS = \
71physics_3d.edc \
72physics_actions.edc \
73physics_backcull.edc \
74physics_basic.edc \
75physics_complex.edc \
76physics_soft_bodies.edc
77if HAVE_EPHYSICS
78EDCS += $(PHYSICS_EDCS)
79endif
80DIST_EDCS += $(PHYSICS_EDCS)
81
82# Support for SVG
83EDJE_CC_FLAGS += -beta
84
85.edc.edj:
86 $(AM_V_EDJ)$(EDJE_CC) $(EDJE_CC_FLAGS) $(SND_DIR) $(MO_DIR) $< $(builddir)/$(@F)
87
88text.edj: text.edc
89 @if [ "x$(top_builddir)" != "x$(top_srcdir)" ]; then \
90 rm -rf $(top_builddir)/src/examples/edje/en_IN/; \
91 rm -rf $(top_builddir)/src/examples/edje/hi_IN/; \
92 rm -rf $(top_builddir)/src/examples/edje/ta_IN/; \
93 cp -a $(top_srcdir)/src/examples/edje/en_IN/ $(top_builddir)/src/examples/edje/en_IN/; \
94 cp -a $(top_srcdir)/src/examples/edje/hi_IN/ $(top_builddir)/src/examples/edje/hi_IN/; \
95 cp -a $(top_srcdir)/src/examples/edje/ta_IN/ $(top_builddir)/src/examples/edje/ta_IN/; \
96 chmod -R +w $(top_builddir)/src/examples/edje/en_IN/; \
97 chmod -R +w $(top_builddir)/src/examples/edje/hi_IN/; \
98 chmod -R +w $(top_builddir)/src/examples/edje/ta_IN/; \
99 fi
100 $(AM_V_EDJ)$(EDJE_CC) $(EDJE_CC_FLAGS) $(SND_DIR) $(MO_DIR) $(top_srcdir)/src/examples/edje/text.edc $(top_builddir)/src/examples/edje/text.edj
101
102EDJS = $(EDCS:%.edc=%.edj)
103
104DATA_FILES = \
105bubble.png \
106bubble-blue.png \
107red.png \
108test.png \
109Vera.ttf \
110duck.wav \
111dst.svg \
112atom.svg \
113bojo.svg \
114bzrfeed.svg \
115yinyang.svg \
116ubuntu.svg \
117duke.svg \
118cartman.svg \
119ibm.svg \
120hg0.svg \
121fsm.svg \
122osa.svg \
123wikimedia.svg \
124scion.svg \
125eee.svg \
126google.svg \
127tiger.svg \
128venus.svg \
129lineargrad1.svg \
130radialgrad1.svg \
131yadis.svg \
132favorite_on.svg \
133favorite_off.svg \
134batman1.svg \
135batman2.svg \
136en_IN/domain_name.po \
137hi_IN/domain_name.po \
138ta_IN/domain_name.mo \
139Makefile.examples
140
141SRCS = \
142animations2.c \
143edje-animations.c \
144edje-basic.c \
145edje-basic2.c \
146edje-box.c \
147edje-box2.c \
148edje-codegen-example.c \
149edje-color-class.c \
150edje-drag.c \
151edje-dynamic-multiseat.c \
152edje-edit-part-box.c \
153edje-entry.c \
154edje-focus.c \
155edje-multiseat.c \
156edje-multiseat-custom-names.c \
157edje-multiseat-filter.c \
158edje-multisense.c \
159edje-perspective.c \
160edje-signals-messages.c \
161edje-swallow.c \
162edje-swallow2.c \
163edje-table.c \
164edje-text.c \
165edje-textblock-hyphenation.c \
166edje_example.c \
167signals2.c \
168sigtest.c \
169svg-test.c
170
171EXTRA_DIST = $(DIST_EDCS) $(DATA_FILES)
172
173AM_CPPFLAGS = \
174-I$(top_builddir)/src/lib/efl \
175-I. \
176-I$(builddir) \
177-I$(top_srcdir)/src/lib/eina \
178-I$(top_builddir)/src/lib/eina \
179-I$(top_srcdir)/src/lib/eo \
180-I$(top_builddir)/src/lib/eo \
181-I$(top_srcdir)/src/lib/eet \
182-I$(top_builddir)/src/lib/eet \
183-I$(top_srcdir)/src/lib/evas \
184-I$(top_builddir)/src/lib/evas \
185-I$(top_srcdir)/src/lib/ecore \
186-I$(top_builddir)/src/lib/ecore \
187-I$(top_srcdir)/src/lib/ecore_evas \
188-I$(top_builddir)/src/lib/ecore_evas \
189-I$(top_srcdir)/src/lib/ecore_file \
190-I$(top_builddir)/src/lib/ecore_file \
191-I$(top_srcdir)/src/lib/ecore_input \
192-I$(top_builddir)/src/lib/ecore_input \
193-I$(top_srcdir)/src/lib/ecore_imf \
194-I$(top_builddir)/src/lib/ecore_imf \
195-I$(top_srcdir)/src/lib/embryo \
196-I$(top_builddir)/src/lib/embryo \
197-I$(top_srcdir)/src/lib/edje \
198-I$(top_srcdir)/src/lib/edje/include \
199-DPACKAGE_BIN_DIR=\"$(bindir)\" \
200-DPACKAGE_LIB_DIR=\"$(libdir)\" \
201-DPACKAGE_DATA_DIR=\"$(datadir)/edje/examples\" \
202@EDJE_CFLAGS@
203
204CODEGEN_GENERATED = \
205codegen_example_generated.c \
206codegen_example_generated.h
207
208codegen_example_generated.c codegen_example_generated.h: codegen.edj
209 $(AM_V_GEN)$(EDJE_CODEGEN) $(EDJE_CODEGEN_FLAGS) codegen.edj example_group $(builddir)/codegen_example_generated.c $(builddir)/codegen_example_generated.h
210
211edje-codegen-example.$(OBJEXT): $(CODEGEN_GENERATED)
212
213edje_codegen_example_SOURCES = \
214edje-codegen-example.c
215nodist_edje_codegen_example_SOURCES = \
216codegen_example_generated.c \
217codegen_example_generated.h
218
219EXTRA_PROGRAMS = \
220animations2 \
221edje-animations \
222edje-basic \
223edje-basic2 \
224edje-box \
225edje-box2 \
226edje-codegen-example \
227edje-color-class \
228edje-drag \
229edje-dynamic-multiseat \
230edje-edit-part-box \
231edje-entry \
232edje-focus \
233edje-multiseat \
234edje-multiseat-custom-names \
235edje-multiseat-filter \
236edje-perspective \
237edje-signals-messages \
238edje-swallow \
239edje-swallow2 \
240edje-table \
241edje-text \
242edje-textblock-hyphenation \
243edje_example \
244signals2 \
245sigtest \
246svg-test
247
248if ENABLE_MULTISENSE
249EXTRA_PROGRAMS += edje-multisense
250endif
251
252LDADD = \
253$(top_builddir)/src/lib/eina/libeina.la \
254$(top_builddir)/src/lib/eo/libeo.la \
255$(top_builddir)/src/lib/eet/libeet.la \
256$(top_builddir)/src/lib/evas/libevas.la \
257$(top_builddir)/src/lib/ecore/libecore.la \
258$(top_builddir)/src/lib/ecore_evas/libecore_evas.la \
259$(top_builddir)/src/lib/ecore_file/libecore_file.la \
260$(top_builddir)/src/lib/ecore_input/libecore_input.la \
261$(top_builddir)/src/lib/ecore_imf/libecore_imf.la \
262$(top_builddir)/src/lib/ecore_imf_evas/libecore_imf_evas.la \
263$(top_builddir)/src/lib/embryo/libembryo.la \
264$(top_builddir)/src/lib/edje/libedje.la \
265@EDJE_LDFLAGS@
266
267if HAVE_EPHYSICS
268LDADD += $(top_builddir)/src/lib/ephysics/libephysics.la
269endif
270
271examples: $(EXTRA_PROGRAMS) $(EDJS)
272
273clean-local:
274 rm -f $(EXTRA_PROGRAMS) $(EDJS) $(CODEGEN_GENERATED)
275 if [ $(top_builddir)/ != $(top_srcdir)/ ]; then \
276 rm -f $(top_builddir)/src/examples/edje/hi_IN/domain_name.po; \
277 rm -f $(top_builddir)/src/examples/edje/ta_IN/domain_name.mo; \
278 rm -f $(top_builddir)/src/examples/edje/en_IN/domain_name.po; \
279 fi
280
281install-examples: $(EDJS)
282 $(MKDIR_P) $(DESTDIR)$(datadir)/edje/examples
283 cd $(srcdir) && $(install_sh_DATA) -c $(SRCS) $(DIST_EDCS) $(DATA_FILES) $(DESTDIR)$(datadir)/edje/examples
284 cd $(builddir) && $(install_sh_DATA) -c $(EDJS) $(DESTDIR)$(datadir)/edje/examples
285
286uninstall-local:
287 for f in $(SRCS) $(DIST_EDCS) $(DATA_FILES); do \
288 rm -f $(DESTDIR)$(datadir)/edje/examples/$$f ; \
289 done
290
291if ALWAYS_BUILD_EXAMPLES
292if BUILD_LOADER_PNG
293noinst_PROGRAMS = $(EXTRA_PROGRAMS)
294nodist_pkgdata_DATA = $(EDJS)
295endif
296endif
diff --git a/src/examples/eet.mk b/src/examples/eet.mk
new file mode 100644
index 0000000000..cf5445f887
--- /dev/null
+++ b/src/examples/eet.mk
@@ -0,0 +1,32 @@
1EXTRA_PROGRAMS += \
2eet/eet-basic \
3eet/eet-file \
4eet/eet-data-simple \
5eet/eet-data-nested \
6eet/eet-data-file_descriptor_01 \
7eet/eet-data-file_descriptor_02 \
8eet/eet-data-cipher_decipher
9
10EET_SRCS = \
11eet/eet-basic.c \
12eet/eet-file.c \
13eet/eet-data-simple.c \
14eet/eet-data-nested.c \
15eet/eet-data-file_descriptor_01.c \
16eet/eet-data-file_descriptor_02.c \
17eet/eet-data-cipher_decipher.c
18
19EET_DATA_FILES = eet/Makefile.examples
20DATA_FILES += $(EET_DATA_FILES)
21
22install-examples-eet:
23 $(MKDIR_P) $(DESTDIR)$(datadir)/eet/examples
24 cd $(srcdir) && $(install_sh_DATA) -c $(EET_SRCS) $(EET_DATA_FILES) $(DESTDIR)$(datadir)/eet/examples
25
26uninstall-local-eet:
27 for f in $(EET_SRCS) $(EET_DATA_FILES); do \
28 rm -f $(DESTDIR)$(datadir)/eet/examples/$$f ; \
29 done
30
31INSTALL_EXAMPLES += install-examples-eet
32UNINSTALL_EXAMPLES += uninstall-local-eet
diff --git a/src/examples/eet/Makefile.am b/src/examples/eet/Makefile.am
deleted file mode 100644
index c2fc68844c..0000000000
--- a/src/examples/eet/Makefile.am
+++ /dev/null
@@ -1,63 +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/eet \
7-I$(top_builddir)/src/lib/eina \
8-I$(top_builddir)/src/lib/eet \
9@EET_CFLAGS@
10
11EXTRA_PROGRAMS = eet_basic eet_file eet_data_simple eet_data_nested eet_data_file_descriptor_01 eet_data_file_descriptor_02 eet_data_cipher_decipher
12
13eet_basic_SOURCES = eet-basic.c
14eet_basic_LDADD = $(top_builddir)/src/lib/eet/libeet.la @EET_LDFLAGS@
15
16eet_file_SOURCES = eet-file.c
17eet_file_LDADD = $(top_builddir)/src/lib/eet/libeet.la @EET_LDFLAGS@
18
19eet_data_simple_SOURCES = eet-data-simple.c
20eet_data_simple_LDADD = $(top_builddir)/src/lib/eet/libeet.la $(top_builddir)/src/lib/eina/libeina.la @EET_LDFLAGS@
21
22eet_data_nested_SOURCES = eet-data-nested.c
23eet_data_nested_LDADD = $(top_builddir)/src/lib/eet/libeet.la $(top_builddir)/src/lib/eina/libeina.la @EET_LDFLAGS@
24
25eet_data_file_descriptor_01_SOURCES = eet-data-file_descriptor_01.c
26eet_data_file_descriptor_01_LDADD = $(top_builddir)/src/lib/eet/libeet.la $(top_builddir)/src/lib/eina/libeina.la @EET_LDFLAGS@
27
28eet_data_file_descriptor_02_SOURCES = eet-data-file_descriptor_02.c
29eet_data_file_descriptor_02_LDADD = $(top_builddir)/src/lib/eet/libeet.la $(top_builddir)/src/lib/eina/libeina.la @EET_LDFLAGS@
30
31eet_data_cipher_decipher_SOURCES = eet-data-cipher_decipher.c
32eet_data_cipher_decipher_LDADD = $(top_builddir)/src/lib/eet/libeet.la @EET_LDFLAGS@
33
34SRCS = \
35eet-basic.c \
36eet-file.c \
37eet-data-simple.c \
38eet-data-nested.c \
39eet-data-file_descriptor_01.c \
40eet-data-file_descriptor_02.c \
41eet-data-cipher_decipher.c
42
43DATA_FILES = Makefile.examples
44
45EXTRA_DIST = $(DATA_FILES)
46
47examples: $(EXTRA_PROGRAMS)
48
49clean-local:
50 rm -f $(EXTRA_PROGRAMS)
51
52install-examples:
53 $(MKDIR_P) $(DESTDIR)$(datadir)/eet/examples
54 cd $(srcdir) && $(install_sh_DATA) -c $(SRCS) $(DATA_FILES) $(DESTDIR)$(datadir)/eet/examples
55
56uninstall-local:
57 for f in $(SRCS) $(DATA_FILES); do \
58 rm -f $(DESTDIR)$(datadir)/eet/examples/$$f ; \
59 done
60
61if ALWAYS_BUILD_EXAMPLES
62noinst_PROGRAMS = $(EXTRA_PROGRAMS)
63endif
diff --git a/src/examples/efl_mono.mk b/src/examples/efl_mono.mk
new file mode 100644
index 0000000000..6db399c6d1
--- /dev/null
+++ b/src/examples/efl_mono.mk
@@ -0,0 +1,102 @@
1include $(top_srcdir)/src/Makefile_Eolian_Mono_Helper.am
2
3EFL_MONO_SRCS = efl_mono/example_numberwrapper.c
4EFL_MONO_DATA_FILES = efl_mono/example_numberwrapper.eo
5EFL_MONO_GENERATED =
6
7if HAVE_CSHARP
8
9# Simple object used by the examples
10
11COMMON_FLAGS = \
12@EINA_CFLAGS@ @EINA_LDFLAGS@ \
13-L$(top_builddir)/src/lib/eina/.libs -leina \
14@EO_CFLAGS@ @EO_LDFLAGS@ \
15-L$(top_builddir)/src/lib/eo/.libs -leo \
16@EFL_CFLAGS@ @EFL_LDFLAGS@ \
17-L$(top_builddir)/src/lib/efl/.libs -lefl
18
19if HAVE_WIN32
20COMMON_FLAGS += \
21@EVIL_CFLAGS@ @EVIL_LDFLAGS@ \
22@EFL_WINDOWS_VERSION_CFLAGS@ \
23-L$(top_builddir)/src/lib/evil/.libs -levil
24else
25COMMON_FLAGS += \
26-fPIC -DPIC
27endif
28
29efl_mono/example_numberwrapper.c: efl_mono/example_numberwrapper.eo.h efl_mono/example_numberwrapper.eo.c
30
31noinst_lib_LTLIBRARIES = efl_mono/libexample_numberwrapper.la
32noinst_libdir = $(abs_top_builddir)
33
34efl_mono_libexample_numberwrapper_la_SOURCES = efl_mono/example_numberwrapper.c
35efl_mono_libexample_numberwrapper_la_LDFLAGS = -shared @EFL_LTMODULE_FLAGS@
36efl_mono_libexample_numberwrapper_la_CFLAGS = $(COMMON_FLAGS) -DEFL_BETA_API_SUPPORT
37
38EFL_MONO_GENERATED += efl_mono/example_numberwrapper.eo.h efl_mono/example_numberwrapper.eo.c efl_mono/EoInherit01$(EXEEXT).config
39
40# CSharp examples
41
42EXTRA_PROGRAMS += \
43efl_mono/EoInherit01 \
44efl_mono/FunctionPointer01
45
46efl_mono/example_numberwrapper.eo.cs: efl_mono/example_numberwrapper.eo
47 $(AM_V_EOLMONO) \
48 $(EOLIAN_MONO) $(EOLIAN_FLAGS) $(EOLIAN_MONO_FLAGS) --dllimport efl_mono/example_numberwrapper -o $@ -r $(top_builddir)/src/bindings/mono/efl_mono/efl_libs.csv $<
49
50efl_mono_EoInherit01_SOURCES = efl_mono/EoInherit01.cs
51#efl_mono_EoInherit01_files = $(EoInherit01_exe_srcs) efl_mono/example_numberwrapper.eo.cs
52efl_mono/EoInherit01$(EXEEXT): $(EoInherit01_SOURCES) $(am_dirstamp) $(top_builddir)/src/lib/efl_mono/libefl_mono.dll libexample_numberwrapper.la EoInherit01$(EXEEXT).config example_numberwrapper.eo.cs
53 @rm -f $@
54 $(AM_V_MCS) $(MCS) $(MCSFLAGS) -r:$(abs_top_builddir)/src/lib/efl_mono/libefl_mono.dll -out:$@ $(filter %.cs, $(^))
55
56efl_mono/EoInherit01.csproj: $(EoInherit01_SOURCES) $(am_dirstamp) efl_mono/libexample_numberwrapper.la
57 @rm -f $@
58 $(EFL_MONO_MSBUILD_GEN) $(MSBUILD_GEN_FLAGS) -o $@ -a efl_mono/EoInherit01$(EXEEXT) -r libefl_mono.dll -t exe $(patsubst %.cs,src/examples/efl_mono/%.cs,$(filter %.cs, $(^)))
59
60efl_mono/EoInherit01$(EXEEXT).config:
61 echo "<configuration>" > $@
62 echo " <dllmap dll=\"example_numberwrapper\" target=\"$(abs_top_builddir)/src/examples/efl_mono/.libs/libexample_numberwrapper.so\"/>" >> $@
63 echo " <dllmap dll=\"efl_mono\" target=\"$(abs_top_builddir)/src/lib/efl_mono/libefl_mono.dll\"/>" >> $@
64 echo " <runtime>" >> $@
65 echo " <assemblyBinding xmlns=\"urn:schemas-microsoft-com:asm.v1\">" >> $@
66 echo " <probing privatePath=\"$(abs_top_builddir)/src/lib/efl_mono\" />" >> $@
67 echo " </assemblyBinding>" >> $@
68 echo " </runtime>" >> $@
69 echo "</configuration>" >> $@
70
71efl_mono_FunctionPointer01_SOURCES = efl_mono/FunctionPointer01.cs
72efl_mono/FunctionPointer01$(EXEEXT): $(FunctionPointer01_SOURCES) $(am_dirstamp) $(top_builddir)/src/lib/efl_mono/libefl_mono.dll efl_mono/libexample_numberwrapper.la efl_mono/example_numberwrapper.eo.cs
73 @rm -f $@
74 $(AM_V_MCS) $(MCS) $(MCSFLAGS) -r:$(abs_top_builddir)/src/lib/efl_mono/libefl_mono.dll -out:$@ $(filter %.cs, $(^))
75
76efl_mono/FunctionPointer01.csproj: $(FunctionPointer01_SOURCES) $(am_dirstamp) efl_mono/libexample_numberwrapper.la
77 @rm -f $@
78 $(EFL_MONO_MSBUILD_GEN) $(MSBUILD_GEN_FLAGS) -o $@ -a efl_mono/FunctionPointer01$(EXEEXT) -r libefl_mono.dll -t exe $(patsubst %.cs,src/examples/efl_mono/%.cs,$(filter %.cs, $(^)))
79
80msbuildcsprojs: efl_mono/EoInherit01.csproj $(abs_top_builddir)/FunctionPointer01.csproj
81
82EFL_MONO_GENERATED += efl_mono/example_numberwrapper.eo.cs
83
84
85# Finishing
86CLEANFILES += $(EFL_MONO_GENERATED)
87endif
88
89DATA_FILES += $(EFL_MONO_DATA_FILES)
90
91install-examples-eflmono:
92 $(MKDIR_P) $(DESTDIR)$(datadir)/efl_mono/examples
93 cd $(srcdir) && $(install_sh_DATA) -c $(EFL_MONO_SRCS) $(EFL_MONO_DATA_FILES) $(DESTDIR)$(datadir)/efl_mono/examples
94
95uninstall-local-eflmono:
96 for f in $(EFL_MONO_SRCS) $(EFL_MONO_DATA_FILES); do \
97 rm -f $(DESTDIR)$(datadir)/efl_mono/examples/$$f ; \
98 done
99
100INSTALL_EXAMPLES += install-examples-eflmono
101UNINSTALL_EXAMPLES += uninstall-local-eflmono
102
diff --git a/src/examples/efl_mono/Makefile.am b/src/examples/efl_mono/Makefile.am
deleted file mode 100644
index 7d3f02a054..0000000000
--- a/src/examples/efl_mono/Makefile.am
+++ /dev/null
@@ -1,125 +0,0 @@
1MAINTAINERCLEANFILES = Makefile.in
2
3include $(top_srcdir)/src/Makefile_Eolian_Helper.am
4include $(top_srcdir)/src/Makefile_Eolian_Mono_Helper.am
5include $(top_srcdir)/src/Makefile_Efl_Mono_MSBuild_Gen_Helper.am
6
7# Eolian_Files_Helper
8# Thus we need to override it here in order to make its pattern
9# rules work properly.
10_EOLIAN_GEN_DEP = ../../bin/eolian/eolian_gen${EXEEXT}
11
12SRCS = example_numberwrapper.c
13EXTRA_FILES = example_numberwrapper.eo
14EXTRA_PROGRAMS =
15GENERATED =
16CLEANFILES =
17
18if HAVE_CSHARP
19
20# Simple object used by the examples
21
22EOLIAN_FLAGS := $(EOLIAN_FLAGS)
23EOLIAN_FLAGS += \
24-I$(srcdir) \
25-I$(top_srcdir)/src/lib/eo \
26-I$(top_srcdir)/src/lib/efl
27
28COMMON_FLAGS = \
29@EINA_CFLAGS@ @EINA_LDFLAGS@ \
30-L$(top_builddir)/src/lib/eina/.libs -leina \
31@EO_CFLAGS@ @EO_LDFLAGS@ \
32-L$(top_builddir)/src/lib/eo/.libs -leo \
33@EFL_CFLAGS@ @EFL_LDFLAGS@ \
34-L$(top_builddir)/src/lib/efl/.libs -lefl
35
36if HAVE_WIN32
37COMMON_FLAGS += \
38@EVIL_CFLAGS@ @EVIL_LDFLAGS@ \
39@EFL_WINDOWS_VERSION_CFLAGS@ \
40-L$(top_builddir)/src/lib/evil/.libs -levil
41else
42COMMON_FLAGS += \
43-fPIC -DPIC
44endif
45
46example_numberwrapper.c: example_numberwrapper.eo.h example_numberwrapper.eo.c
47
48noinst_lib_LTLIBRARIES = libexample_numberwrapper.la
49noinst_libdir = $(abs_top_builddir)
50
51libexample_numberwrapper_la_SOURCES = example_numberwrapper.c
52libexample_numberwrapper_la_LDFLAGS = -shared @EFL_LTMODULE_FLAGS@
53libexample_numberwrapper_la_CFLAGS = $(COMMON_FLAGS) -DEFL_BETA_API_SUPPORT
54
55GENERATED += example_numberwrapper.eo.h example_numberwrapper.eo.c EoInherit01$(EXEEXT).config
56
57# CSharp examples
58
59EXTRA_PROGRAMS += \
60EoInherit01 \
61FunctionPointer01
62
63example_numberwrapper.eo.cs: example_numberwrapper.eo
64 $(AM_V_EOLMONO) \
65 $(EOLIAN_MONO) $(EOLIAN_FLAGS) $(EOLIAN_MONO_FLAGS) --dllimport example_numberwrapper -o $@ -r $(top_builddir)/src/bindings/mono/efl_mono/efl_libs.csv $<
66
67EoInherit01_SOURCES = EoInherit01.cs
68#EoInherit01_files = $(EoInherit01_exe_srcs) example_numberwrapper.eo.cs
69EoInherit01$(EXEEXT): $(EoInherit01_SOURCES) $(am_dirstamp) $(top_builddir)/src/lib/efl_mono/libefl_mono.dll libexample_numberwrapper.la EoInherit01$(EXEEXT).config example_numberwrapper.eo.cs
70 @rm -f $@
71 $(AM_V_MCS) $(MCS) $(MCSFLAGS) -r:$(abs_top_builddir)/src/lib/efl_mono/libefl_mono.dll -out:$@ $(filter %.cs, $(^))
72
73EoInherit01.csproj: $(EoInherit01_SOURCES) $(am_dirstamp) libexample_numberwrapper.la
74 @rm -f $@
75 $(EFL_MONO_MSBUILD_GEN) $(MSBUILD_GEN_FLAGS) -o $@ -a EoInherit01$(EXEEXT) -r libefl_mono.dll -t exe $(patsubst %.cs,src/examples/efl_mono/%.cs,$(filter %.cs, $(^)))
76
77EoInherit01$(EXEEXT).config:
78 echo "<configuration>" > $@
79 echo " <dllmap dll=\"example_numberwrapper\" target=\"$(abs_top_builddir)/src/examples/efl_mono/.libs/libexample_numberwrapper.so\"/>" >> $@
80 echo " <dllmap dll=\"efl_mono\" target=\"$(abs_top_builddir)/src/lib/efl_mono/libefl_mono.dll\"/>" >> $@
81 echo " <runtime>" >> $@
82 echo " <assemblyBinding xmlns=\"urn:schemas-microsoft-com:asm.v1\">" >> $@
83 echo " <probing privatePath=\"$(abs_top_builddir)/src/lib/efl_mono\" />" >> $@
84 echo " </assemblyBinding>" >> $@
85 echo " </runtime>" >> $@
86 echo "</configuration>" >> $@
87
88FunctionPointer01_SOURCES = FunctionPointer01.cs
89FunctionPointer01$(EXEEXT): $(FunctionPointer01_SOURCES) $(am_dirstamp) $(top_builddir)/src/lib/efl_mono/libefl_mono.dll libexample_numberwrapper.la example_numberwrapper.eo.cs
90 @rm -f $@
91 $(AM_V_MCS) $(MCS) $(MCSFLAGS) -r:$(abs_top_builddir)/src/lib/efl_mono/libefl_mono.dll -out:$@ $(filter %.cs, $(^))
92
93FunctionPointer01.csproj: $(FunctionPointer01_SOURCES) $(am_dirstamp) libexample_numberwrapper.la
94 @rm -f $@
95 $(EFL_MONO_MSBUILD_GEN) $(MSBUILD_GEN_FLAGS) -o $@ -a FunctionPointer01$(EXEEXT) -r libefl_mono.dll -t exe $(patsubst %.cs,src/examples/efl_mono/%.cs,$(filter %.cs, $(^)))
96
97msbuildcsprojs: EoInherit01.csproj $(abs_top_builddir)/FunctionPointer01.csproj
98
99GENERATED += example_numberwrapper.eo.cs
100
101
102# Finishing
103CLEANFILES += $(GENERATED)
104endif
105
106EXTRA_DIST = $(EXTRA_FILES)
107
108examples: $(EXTRA_PROGRAMS)
109
110clean-local:
111 rm -f $(EXTRA_PROGRAMS) $(GENERATED)
112
113install-examples:
114 $(MKDIR_P) $(DESTDIR)$(datadir)/efl_mono/examples
115 cd $(srcdir) && $(install_sh_DATA) -c $(SRCS) $(EXTRA_FILES) $(DESTDIR)$(datadir)/efl_mono/examples
116
117uninstall-local:
118 for f in $(SRCS) $(EXTRA_FILES); do \
119 rm -f $(DESTDIR)$(datadir)/efl_mono/examples/$$f ; \
120 done
121
122if ALWAYS_BUILD_EXAMPLES
123noinst_PROGRAMS = $(EXTRA_PROGRAMS)
124endif
125
diff --git a/src/examples/eina.mk b/src/examples/eina.mk
new file mode 100644
index 0000000000..d100dc5bb9
--- /dev/null
+++ b/src/examples/eina.mk
@@ -0,0 +1,151 @@
1EINA_SRCS = \
2eina/eina_accessor_01.c \
3eina/eina_array_01.c \
4eina/eina_array_02.c \
5eina/eina_error_01.c \
6eina/eina_file_01.c \
7eina/eina_file_02.c \
8eina/eina_hash_01.c \
9eina/eina_hash_02.c \
10eina/eina_hash_03.c \
11eina/eina_hash_04.c \
12eina/eina_hash_05.c \
13eina/eina_hash_06.c \
14eina/eina_hash_07.c \
15eina/eina_hash_08.c \
16eina/eina_iterator_01.c \
17eina/eina_list_01.c \
18eina/eina_list_02.c \
19eina/eina_list_03.c \
20eina/eina_list_04.c \
21eina/eina_log_01.c \
22eina/eina_log_02.c \
23eina/eina_log_03.c \
24eina/eina_inlist_01.c \
25eina/eina_inlist_02.c \
26eina/eina_inlist_03.c \
27eina/eina_str_01.c \
28eina/eina_strbuf_01.c \
29eina/eina_stringshare_01.c \
30eina/eina_tmpstr_01.c \
31eina/eina_tiler_01.c \
32eina/eina_simple_xml_parser_01.c \
33eina/eina_value_01.c \
34eina/eina_value_02.c \
35eina/eina_value_03.c \
36eina/eina_inarray_01.c \
37eina/eina_inarray_02.c \
38eina/eina_inarray_03.c \
39eina/eina_magic_01.c \
40eina/eina_xattr_01.c \
41eina/eina_xattr_02.c
42
43EXTRA_PROGRAMS += \
44eina/eina_accessor_01 \
45eina/eina_array_01 \
46eina/eina_array_02 \
47eina/eina_error_01 \
48eina/eina_file_01 \
49eina/eina_file_02 \
50eina/eina_hash_01 \
51eina/eina_hash_02 \
52eina/eina_hash_03 \
53eina/eina_hash_04 \
54eina/eina_hash_05 \
55eina/eina_hash_06 \
56eina/eina_hash_07 \
57eina/eina_hash_08 \
58eina/eina_iterator_01 \
59eina/eina_list_01 \
60eina/eina_list_02 \
61eina/eina_list_03 \
62eina/eina_list_04 \
63eina/eina_log_01 \
64eina/eina_log_02 \
65eina/eina_log_03 \
66eina/eina_inlist_01 \
67eina/eina_inlist_02 \
68eina/eina_inlist_03 \
69eina/eina_str_01 \
70eina/eina_strbuf_01 \
71eina/eina_stringshare_01 \
72eina/eina_tmpstr_01 \
73eina/eina_magic_01 \
74eina/eina_simple_xml_parser_01 \
75eina/eina_value_01 \
76eina/eina_value_02 \
77eina/eina_value_03 \
78eina/eina_inarray_01 \
79eina/eina_inarray_02 \
80eina/eina_inarray_03 \
81eina/eina_xattr_01 \
82eina/eina_xattr_02 \
83eina/eina_tiler_01
84
85if HAVE_CSHARP
86
87EXTRA_PROGRAMS += \
88eina/EinaArray01Mono \
89eina/EinaBinbuf01Mono \
90eina/EinaError01Mono \
91eina/EinaHash01Mono
92
93eina_EinaArray01Mono_SOURCES = eina/EinaArray01.cs
94eina_EinaBinbuf01Mono_SOURCES = eina/EinaBinbuf01.cs
95eina_EinaError01Mono_SOURCES = eina/EinaError01.cs
96eina_EinaHash01Mono_SOURCES = eina/EinaHash01.cs
97
98eina/EinaArray01Mono$(EXEEXT): $(eina_EinaArray01Mono_SOURCES) $(am_dirstamp) $(top_builddir)/src/lib/efl_mono/libefl_mono.dll
99 @rm -f $@
100 $(AM_V_MCS) $(MCS) $(MCSFLAGS) -r:$(abs_top_builddir)/src/lib/efl_mono/libefl_mono.dll -out:$@ $(filter %.cs, $(^))
101
102eina/EinaArray01.csproj: $(eina_EinaArray01Mono_SOURCES) $(am_dirstamp)
103 @rm -f $@
104 $(EFL_MONO_MSBUILD_GEN) $(MSBUILD_GEN_FLAGS) -o $@ -a eina/EinaArray01Mono$(EXEEXT) -r libefl_mono.dll -t exe $(patsubst %.cs,src/examples/eina/%.cs,$(filter %.cs, $(^)))
105
106eina/EinaBinbuf01Mono$(EXEEXT): $(eina_EinaBinbuf01Mono_SOURCES) $(am_dirstamp) $(top_builddir)/src/lib/efl_mono/libefl_mono.dll
107 @rm -f $@
108 $(AM_V_MCS) $(MCS) $(MCSFLAGS) -r:$(abs_top_builddir)/src/lib/efl_mono/libefl_mono.dll -out:$@ $(filter %.cs, $(^))
109
110eina/EinaBinbuf01.csproj: $(eina_EinaBinbuf01Mono_SOURCES) $(am_dirstamp)
111 @rm -f $@
112 $(EFL_MONO_MSBUILD_GEN) $(MSBUILD_GEN_FLAGS) -o $@ -a eina/EinaBinbuf01Mono$(EXEEXT) -r libefl_mono.dll -t exe $(patsubst %.cs,src/examples/eina/%.cs,$(filter %.cs, $(^)))
113
114eina/EinaError01Mono$(EXEEXT): $(eina_EinaError01Mono_SOURCES) $(am_dirstamp) $(top_builddir)/src/lib/efl_mono/libefl_mono.dll
115 @rm -f $@
116 $(AM_V_MCS) $(MCS) $(MCSFLAGS) -r:$(abs_top_builddir)/src/lib/efl_mono/libefl_mono.dll -out:$@ $(filter %.cs, $(^))
117
118eina/EinaError01.csproj: $(eina_EinaError01Mono_SOURCES) $(am_dirstamp)
119 @rm -f $@
120 $(EFL_MONO_MSBUILD_GEN) $(MSBUILD_GEN_FLAGS) -o $@ -a eina/EinaError01Mono$(EXEEXT) -r libefl_mono.dll -t exe $(patsubst %.cs,src/examples/eina/%.cs,$(filter %.cs, $(^)))
121
122eina/EinaHash01Mono$(EXEEXT): $(eina_EinaHash01Mono_SOURCES) $(am_dirstamp) $(top_builddir)/src/lib/efl_mono/libefl_mono.dll
123 @rm -f $@
124 $(AM_V_MCS) $(MCS) $(MCSFLAGS) -r:$(abs_top_builddir)/src/lib/efl_mono/libefl_mono.dll -out:$@ $(filter %.cs, $(^))
125
126eina/EinaHash01.csproj: $(eina_EinaHash01Mono_SOURCES) $(am_dirstamp)
127 @rm -f $@
128 $(EFL_MONO_MSBUILD_GEN) $(MSBUILD_GEN_FLAGS) -o $@ -a eina/EinaHash01Mono$(EXEEXT) -r libefl_mono.dll -t exe $(patsubst %.cs,src/examples/eina/%.cs,$(filter %.cs, $(^)))
129
130msbuildcsprojs: $(abs_top_builddir)/EinaArray01.csproj $(abs_top_builddir)/EinaBinbuf01.csproj $(abs_top_builddir)/EinaError01.csproj $(abs_top_builddir)/EinaHash01.csproj
131
132endif
133
134EINA_DATA_FILES = \
135eina/addr_book.txt \
136eina/chat.xml \
137eina/Makefile.examples
138
139DATA_FILES += $(EINA_DATA_FILES)
140
141install-examples-eina:
142 $(MKDIR_P) $(DESTDIR)$(datadir)/eina/examples
143 cd $(srcdir) && $(install_sh_DATA) -c $(EINA_SRCS) $(EINA_DATA_FILES) $(DESTDIR)$(datadir)/eina/examples
144
145uninstall-local-eina:
146 for f in $(EINA_SRCS) $(EINA_DATA_FILES); do \
147 rm -f $(DESTDIR)$(datadir)/eina/examples/$$f ; \
148 done
149
150INSTALL_EXAMPLES += install-examples-eina
151UNINSTALL_EXAMPLES += uninstall-local-eina
diff --git a/src/examples/eina/Makefile.am b/src/examples/eina/Makefile.am
deleted file mode 100644
index 652a9e0485..0000000000
--- a/src/examples/eina/Makefile.am
+++ /dev/null
@@ -1,209 +0,0 @@
1MAINTAINERCLEANFILES = Makefile.in
2
3AM_CPPFLAGS = \
4-I. \
5-I$(top_srcdir)/src/lib/efl \
6-I$(top_builddir)/src/lib/efl \
7-I$(top_builddir)/src/lib/efl/interfaces \
8-I$(top_srcdir)/src/lib/eina \
9-I$(top_builddir)/src/lib/eina
10
11if HAVE_WINDOWS
12AM_CPPFLAGS += \
13-I$(top_srcdir)/src/lib/evil \
14-I$(top_builddir)/src/lib/evil
15
16AM_CFLAGS = \
17@EFL_WINDOWS_VERSION_CFLAGS@
18
19endif
20
21LDADD = $(top_builddir)/src/lib/eina/libeina.la @EINA_LDFLAGS@
22
23SRCS = \
24eina_accessor_01.c \
25eina_array_01.c \
26eina_array_02.c \
27eina_error_01.c \
28eina_file_01.c \
29eina_file_02.c \
30eina_hash_01.c \
31eina_hash_02.c \
32eina_hash_03.c \
33eina_hash_04.c \
34eina_hash_05.c \
35eina_hash_06.c \
36eina_hash_07.c \
37eina_hash_08.c \
38eina_iterator_01.c \
39eina_list_01.c \
40eina_list_02.c \
41eina_list_03.c \
42eina_list_04.c \
43eina_log_01.c \
44eina_log_02.c \
45eina_log_03.c \
46eina_inlist_01.c \
47eina_inlist_02.c \
48eina_inlist_03.c \
49eina_str_01.c \
50eina_strbuf_01.c \
51eina_stringshare_01.c \
52eina_tmpstr_01.c \
53eina_tiler_01.c \
54eina_simple_xml_parser_01.c \
55eina_value_01.c \
56eina_value_02.c \
57eina_value_03.c \
58eina_inarray_01.c \
59eina_inarray_02.c \
60eina_inarray_03.c \
61eina_magic_01.c \
62eina_xattr_01.c \
63eina_xattr_02.c
64
65EXTRA_PROGRAMS = \
66eina_accessor_01 \
67eina_array_01 \
68eina_array_02 \
69eina_error_01 \
70eina_file_01 \
71eina_file_02 \
72eina_hash_01 \
73eina_hash_02 \
74eina_hash_03 \
75eina_hash_04 \
76eina_hash_05 \
77eina_hash_06 \
78eina_hash_07 \
79eina_hash_08 \
80eina_iterator_01 \
81eina_list_01 \
82eina_list_02 \
83eina_list_03 \
84eina_list_04 \
85eina_log_01 \
86eina_log_02 \
87eina_log_03 \
88eina_inlist_01 \
89eina_inlist_02 \
90eina_inlist_03 \
91eina_str_01 \
92eina_strbuf_01 \
93eina_stringshare_01 \
94eina_tmpstr_01 \
95eina_magic_01 \
96eina_simple_xml_parser_01 \
97eina_value_01 \
98eina_value_02 \
99eina_value_03 \
100eina_inarray_01 \
101eina_inarray_02 \
102eina_inarray_03 \
103eina_xattr_01 \
104eina_xattr_02
105
106EXTRA_PROGRAMS += eina_tiler_01
107
108eina_tiler_01_CPPFLAGS = \
109-I$(top_srcdir)/src/lib/efl \
110-I$(top_srcdir)/src/lib/eina \
111-I$(top_srcdir)/src/lib/eo \
112-I$(top_srcdir)/src/lib/evas \
113-I$(top_srcdir)/src/lib/emile \
114-I$(top_srcdir)/src/lib/ecore \
115-I$(top_srcdir)/src/lib/ecore_input \
116-I$(top_srcdir)/src/lib/ecore_evas \
117-I$(top_builddir)/src/lib/efl \
118-I$(top_builddir)/src/lib/efl/interfaces \
119-I$(top_builddir)/src/lib/eina \
120-I$(top_builddir)/src/lib/emile \
121-I$(top_builddir)/src/lib/eo \
122-I$(top_builddir)/src/lib/evas \
123-I$(top_builddir)/src/lib/ecore \
124-I$(top_srcdir)/src/lib/ecore_input \
125-I$(top_builddir)/src/lib/ecore_evas \
126@EINA_CFLAGS@
127
128eina_tiler_01_LDADD = \
129$(top_builddir)/src/lib/eina/libeina.la \
130$(top_builddir)/src/lib/emile/libemile.la \
131$(top_builddir)/src/lib/eo/libeo.la \
132$(top_builddir)/src/lib/ecore/libecore.la \
133$(top_builddir)/src/lib/ecore_input/libecore_input.la \
134$(top_builddir)/src/lib/ecore_evas/libecore_evas.la \
135$(top_builddir)/src/lib/evas/libevas.la \
136@EINA_LDFLAGS@
137
138
139if HAVE_CSHARP
140
141include $(top_srcdir)/src/Makefile_Efl_Mono_MSBuild_Gen_Helper.am
142
143EXTRA_PROGRAMS += \
144EinaArray01Mono \
145EinaBinbuf01Mono \
146EinaError01Mono \
147EinaHash01Mono
148
149EinaArray01Mono_SOURCES = EinaArray01.cs
150EinaBinbuf01Mono_SOURCES = EinaBinbuf01.cs
151EinaError01Mono_SOURCES = EinaError01.cs
152EinaHash01Mono_SOURCES = EinaHash01.cs
153
154EinaArray01Mono$(EXEEXT): $(EinaArray01Mono_SOURCES) $(am_dirstamp) $(top_builddir)/src/lib/efl_mono/libefl_mono.dll
155 @rm -f $@
156 $(AM_V_MCS) $(MCS) $(MCSFLAGS) -r:$(abs_top_builddir)/src/lib/efl_mono/libefl_mono.dll -out:$@ $(filter %.cs, $(^))
157
158EinaArray01.csproj: $(EinaArray01Mono_SOURCES) $(am_dirstamp)
159 @rm -f $@
160 $(EFL_MONO_MSBUILD_GEN) $(MSBUILD_GEN_FLAGS) -o $@ -a EinaArray01Mono$(EXEEXT) -r libefl_mono.dll -t exe $(patsubst %.cs,src/examples/eina/%.cs,$(filter %.cs, $(^)))
161
162EinaBinbuf01Mono$(EXEEXT): $(EinaBinbuf01Mono_SOURCES) $(am_dirstamp) $(top_builddir)/src/lib/efl_mono/libefl_mono.dll
163 @rm -f $@
164 $(AM_V_MCS) $(MCS) $(MCSFLAGS) -r:$(abs_top_builddir)/src/lib/efl_mono/libefl_mono.dll -out:$@ $(filter %.cs, $(^))
165
166EinaBinbuf01.csproj: $(EinaBinbuf01Mono_SOURCES) $(am_dirstamp)
167 @rm -f $@
168 $(EFL_MONO_MSBUILD_GEN) $(MSBUILD_GEN_FLAGS) -o $@ -a EinaBinbuf01Mono$(EXEEXT) -r libefl_mono.dll -t exe $(patsubst %.cs,src/examples/eina/%.cs,$(filter %.cs, $(^)))
169
170EinaError01Mono$(EXEEXT): $(EinaError01Mono_SOURCES) $(am_dirstamp) $(top_builddir)/src/lib/efl_mono/libefl_mono.dll
171 @rm -f $@
172 $(AM_V_MCS) $(MCS) $(MCSFLAGS) -r:$(abs_top_builddir)/src/lib/efl_mono/libefl_mono.dll -out:$@ $(filter %.cs, $(^))
173
174EinaError01.csproj: $(EinaError01Mono_SOURCES) $(am_dirstamp)
175 @rm -f $@
176 $(EFL_MONO_MSBUILD_GEN) $(MSBUILD_GEN_FLAGS) -o $@ -a EinaError01Mono$(EXEEXT) -r libefl_mono.dll -t exe $(patsubst %.cs,src/examples/eina/%.cs,$(filter %.cs, $(^)))
177
178EinaHash01Mono$(EXEEXT): $(EinaHash01Mono_SOURCES) $(am_dirstamp) $(top_builddir)/src/lib/efl_mono/libefl_mono.dll
179 @rm -f $@
180 $(AM_V_MCS) $(MCS) $(MCSFLAGS) -r:$(abs_top_builddir)/src/lib/efl_mono/libefl_mono.dll -out:$@ $(filter %.cs, $(^))
181
182EinaHash01.csproj: $(EinaHash01Mono_SOURCES) $(am_dirstamp)
183 @rm -f $@
184 $(EFL_MONO_MSBUILD_GEN) $(MSBUILD_GEN_FLAGS) -o $@ -a EinaHash01Mono$(EXEEXT) -r libefl_mono.dll -t exe $(patsubst %.cs,src/examples/eina/%.cs,$(filter %.cs, $(^)))
185
186msbuildcsprojs: $(abs_top_builddir)/EinaArray01.csproj $(abs_top_builddir)/EinaBinbuf01.csproj $(abs_top_builddir)/EinaError01.csproj $(abs_top_builddir)/EinaHash01.csproj
187
188endif
189
190DATA_FILES = addr_book.txt chat.xml Makefile.examples
191EXTRA_DIST = $(DATA_FILES)
192
193examples: $(EXTRA_PROGRAMS)
194
195clean-local:
196 rm -f $(EXTRA_PROGRAMS)
197
198install-examples:
199 $(MKDIR_P) $(DESTDIR)$(datadir)/eina/examples
200 cd $(srcdir) && $(install_sh_DATA) -c $(SRCS) $(DATA_FILES) $(DESTDIR)$(datadir)/eina/examples
201
202uninstall-local:
203 for f in $(SRCS) $(DATA_FILES); do \
204 rm -f $(DESTDIR)$(datadir)/eina/examples/$$f ; \
205 done
206
207if ALWAYS_BUILD_EXAMPLES
208noinst_PROGRAMS = $(EXTRA_PROGRAMS)
209endif
diff --git a/src/examples/eina_cxx.mk b/src/examples/eina_cxx.mk
new file mode 100644
index 0000000000..060e1ed3c4
--- /dev/null
+++ b/src/examples/eina_cxx.mk
@@ -0,0 +1,29 @@
1EINA_CXX_SRCS = \
2eina_cxx/eina_cxx_list_01.cc \
3eina_cxx/eina_cxx_thread_01.cc
4
5if HAVE_CXX
6
7EXTRA_PROGRAMS += \
8eina_cxx/eina_cxx_list_01 \
9eina_cxx/eina_cxx_thread_01
10
11eina_cxx_eina_cxx_list_01_SOURCES = \
12eina_cxx/eina_cxx_list_01.cc
13
14eina_cxx_eina_cxx_thread_01_SOURCES = \
15eina_cxx/eina_cxx_thread_01.cc
16
17endif
18
19install-examples-einacxx:
20 $(MKDIR_P) $(DESTDIR)$(datadir)/eina_cxx/examples
21 cd $(srcdir) && $(install_sh_DATA) -c $(EINA_CXX_SRCS) $(DESTDIR)$(datadir)/eina_cxx/examples
22
23uninstall-local-einacxx:
24 for f in $(EINA_CXX_SRCS); do \
25 rm -f $(DESTDIR)$(datadir)/eina_cxx/examples/$$f ; \
26 done
27
28INSTALL_EXAMPLES += install-examples-einacxx
29UNINSTALL_EXAMPLES += uninstall-local-einacxx
diff --git a/src/examples/eina_cxx/Makefile.am b/src/examples/eina_cxx/Makefile.am
deleted file mode 100644
index 4dfd7ebb49..0000000000
--- a/src/examples/eina_cxx/Makefile.am
+++ /dev/null
@@ -1,46 +0,0 @@
1MAINTAINERCLEANFILES = Makefile.in
2
3AM_CXXFLAGS = \
4-I. \
5-I$(top_srcdir)/src/lib/efl \
6-I$(top_builddir)/src/lib/efl \
7-I$(top_builddir)/src/lib/efl/interfaces \
8@EINA_CXX_CFLAGS@ @CHECK_CFLAGS@ @EINA_CFLAGS@ @EO_CFLAGS@
9
10LDADD = $(top_builddir)/src/lib/eina/libeina.la @EINA_LDFLAGS@ @EFL_PTHREAD_LIBS@
11
12SRCS = \
13eina_cxx_list_01.cc \
14eina_cxx_thread_01.cc
15
16if HAVE_CXX
17
18EXTRA_PROGRAMS = \
19eina_cxx_list_01 \
20eina_cxx_thread_01
21
22eina_cxx_list_01_SOURCES = \
23eina_cxx_list_01.cc
24
25eina_cxx_thread_01_SOURCES = \
26eina_cxx_thread_01.cc
27
28endif
29
30examples: $(EXTRA_PROGRAMS)
31
32clean-local:
33 rm -f $(EXTRA_PROGRAMS)
34
35install-examples:
36 $(MKDIR_P) $(DESTDIR)$(datadir)/eina_cxx/examples
37 cd $(srcdir) && $(install_sh_DATA) -c $(SRCS) $(DATA_FILES) $(DESTDIR)$(datadir)/eina_cxx/examples
38
39uninstall-local:
40 for f in $(SRCS) $(DATA_FILES); do \
41 rm -f $(DESTDIR)$(datadir)/eina_cxx/examples/$$f ; \
42 done
43
44if ALWAYS_BUILD_EXAMPLES
45noinst_PROGRAMS = $(EXTRA_PROGRAMS)
46endif
diff --git a/src/examples/eio.mk b/src/examples/eio.mk
new file mode 100644
index 0000000000..3f34c9b260
--- /dev/null
+++ b/src/examples/eio.mk
@@ -0,0 +1,38 @@
1EXTRA_PROGRAMS += \
2eio/eio_file_ls \
3eio/eio_file_copy \
4eio/efl_io_manager_open \
5eio/efl_io_manager_open_multi \
6eio/efl_io_manager_ls \
7eio/eio_sentry
8
9eio_eio_file_ls_SOURCES = eio/eio_file_ls.c
10eio_eio_file_copy_SOURCES = eio/eio_file_copy.c
11eio_efl_io_manager_open_SOURCES = eio/efl_io_manager_open.c
12eio_efl_io_manager_open_multi_SOURCES = eio/efl_io_manager_open_multi.c
13eio_efl_io_manager_ls_SOURCES = eio/efl_io_manager_ls.c
14eio_eio_sentry_SOURCES = eio/eio_sentry.c
15
16EIO_SRCS = \
17eio/eio_file_ls.c \
18eio/eio_file_copy.c \
19eio/efl_io_manager_open.c \
20eio/efl_io_manager_open_multi.c \
21eio/efl_io_manager_ls.c \
22eio/eio_sentry.c
23
24EIO_DATA_FILES = eio/Makefile.examples
25
26DATA_FILES += $(EIO_DATA_FILES)
27
28install-examples-eio:
29 $(MKDIR_P) $(DESTDIR)$(datadir)/eio/examples
30 cd $(srcdir) && $(install_sh_DATA) -c $(EIO_SRCS) $(EIO_DATA_FILES) $(DESTDIR)$(datadir)/eio/examples
31
32uninstall-local-eio:
33 for f in $(EIO_SRCS) $(DATA_FILES); do \
34 rm -f $(DESTDIR)$(datadir)/eio/examples/$$f ; \
35 done
36
37INSTALL_EXAMPLES += install-examples-eio
38UNINSTALL_EXAMPLES += uninstall-local-eio
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
diff --git a/src/examples/eldbus.mk b/src/examples/eldbus.mk
new file mode 100644
index 0000000000..05e43be177
--- /dev/null
+++ b/src/examples/eldbus.mk
@@ -0,0 +1,41 @@
1ELDBUS_SRCS = \
2eldbus/connman-list-services.c \
3eldbus/ofono-dial.c \
4eldbus/banshee.c \
5eldbus/complex-types.c \
6eldbus/complex-types-server.c \
7eldbus/server.c \
8eldbus/client.c \
9eldbus/simple-signal-emit.c \
10eldbus/complex-types-client-eina-value.c \
11eldbus/connect-address.c \
12eldbus/dbusmodel.c
13
14EXTRA_PROGRAMS += \
15eldbus/connman-list-services \
16eldbus/ofono-dial \
17eldbus/banshee \
18eldbus/complex-types \
19eldbus/complex-types-server \
20eldbus/server \
21eldbus/client \
22eldbus/simple-signal-emit \
23eldbus/complex-types-client-eina-value \
24eldbus/connect-address \
25eldbus/dbusmodel
26
27
28ELDBUS_DATA_FILES = eldbus/Makefile.examples
29DATA_FILES += $(ELDBUS_DATA_FILES)
30
31install-examples-eldbus:
32 $(MKDIR_P) $(DESTDIR)$(datadir)/eldbus/examples
33 cd $(srcdir) && $(install_sh_DATA) -c $(ELDBUS_SRCS) $(ELDBUS_DATA_FILES) $(DESTDIR)$(datadir)/eldbus/examples
34
35uninstall-local-eldbus:
36 for f in $(ELDBUS_SRCS) $(ELDBUS_DATA_FILES); do \
37 rm -f $(DESTDIR)$(datadir)/eldbus/examples/$$f ; \
38 done
39
40INSTALL_EXAMPLES += install-examples-eldbus
41UNINSTALL_EXAMPLES += uninstall-local-eldbus
diff --git a/src/examples/eldbus/Makefile.am b/src/examples/eldbus/Makefile.am
deleted file mode 100644
index 0bb7a993f1..0000000000
--- 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
diff --git a/src/examples/elementary.mk b/src/examples/elementary.mk
new file mode 100644
index 0000000000..17f2e98ed4
--- /dev/null
+++ b/src/examples/elementary.mk
@@ -0,0 +1,570 @@
1DISTCLEANFILES += \
2elementary/codegen_example_generated.c \
3elementary/codegen_example_generated.h \
4elementary/codegen_example.edj
5
6
7include ../../Makefile_Elm_Helpers.am
8
9PHONIES += elementary/screenshots
10
11ELM_SRCS = \
12elementary/actionslider_example_01.c \
13elementary/bg_example_01.c \
14elementary/bg_example_02.c \
15elementary/bg_example_03.c \
16elementary/box_example_02.c \
17elementary/bubble_example_01.c \
18elementary/button_example_00.c \
19elementary/button_example_01.c \
20elementary/calendar_example_01.c \
21elementary/calendar_example_02.c \
22elementary/calendar_example_03.c \
23elementary/calendar_example_04.c \
24elementary/calendar_example_05.c \
25elementary/calendar_example_06.c \
26elementary/check_example_01.c \
27elementary/clock_example.c \
28elementary/colorselector_example_01.c \
29elementary/conformant_example_01.c \
30elementary/conformant_example_02.c \
31elementary/combobox_example_01.c \
32elementary/ctxpopup_example_01.c \
33elementary/datetime_example.c \
34elementary/dayselector_example.c \
35elementary/diskselector_example_01.c \
36elementary/diskselector_example_02.c \
37elementary/entry_example.c \
38elementary/fileselector_button_example.c \
39elementary/fileselector_entry_example.c \
40elementary/fileselector_example.c \
41elementary/fileviewlist.c \
42elementary/filemvc.c \
43elementary/flip_example_01.c \
44elementary/flipselector_example.c \
45elementary/frame_example_01.c \
46elementary/general_funcs_example.c \
47elementary/gengrid_example.c \
48elementary/genlist_example_01.c \
49elementary/genlist_example_02.c \
50elementary/genlist_example_03.c \
51elementary/genlist_example_04.c \
52elementary/genlist_example_05.c \
53elementary/hover_example_01.c \
54elementary/hoversel_example_01.c \
55elementary/icon_example_01.c \
56elementary/image_example_01.c \
57elementary/index_example_01.c \
58elementary/index_example_02.c \
59elementary/inwin_example.c \
60elementary/label_example_01.c \
61elementary/layout_example_01.c \
62elementary/layout_example_02.c \
63elementary/layout_example_03.c \
64elementary/layout_model_connect.c \
65elementary/list_example_01.c \
66elementary/list_example_02.c \
67elementary/list_example_03.c \
68elementary/location_example_01.c \
69elementary/map_example_01.c \
70elementary/map_example_02.c \
71elementary/map_example_03.c \
72elementary/mapbuf_example.c \
73elementary/menu_example_01.c \
74elementary/naviframe_example.c \
75elementary/notify_example_01.c \
76elementary/panes_example.c \
77elementary/panel_example_01.c \
78elementary/photocam_example_01.c \
79elementary/prefs_example_01.c \
80elementary/prefs_example_02.c \
81elementary/prefs_example_03.c \
82elementary/popup_example_01.c \
83elementary/popup_example_02.c \
84elementary/popup_example_03.c \
85elementary/progressbar_example.c \
86elementary/radio_example_01.c \
87elementary/radio_example_02.c \
88elementary/segment_control_example.c \
89elementary/separator_example_01.c \
90elementary/slider_example.c \
91elementary/slideshow_example.c \
92elementary/spinner_example.c \
93elementary/scroller_example_01.c \
94elementary/table_example_01.c \
95elementary/table_example_02.c \
96elementary/theme_example_01.c \
97elementary/theme_example_02.c \
98elementary/thumb_example_01.c \
99elementary/toolbar_example_01.c \
100elementary/toolbar_example_02.c \
101elementary/toolbar_example_03.c \
102elementary/transit_example_01.c \
103elementary/transit_example_02.c \
104elementary/transit_example_03.c \
105elementary/transit_example_04.c \
106elementary/web_example_01.c \
107elementary/web_example_02.c \
108elementary/win_example.c \
109elementary/track_example_01.c \
110elementary/evas3d_object_on_button_example.c \
111elementary/evas3d_scene_on_button_example.c \
112elementary/evas3d_map_example.c \
113elementary/efl_thread_1.c \
114elementary/efl_thread_2.c \
115elementary/efl_thread_3.c \
116elementary/efl_thread_4.c \
117elementary/efl_thread_5.c \
118elementary/efl_thread_6.c \
119elementary/efl_ui_list_example_1.c \
120elementary/efl_ui_view_list_example_1.c \
121elementary/efl_ui_view_list_example_2.c \
122elementary/efl_ui_view_list_example_3.c
123
124ELM_SRCS += \
125elementary/bg_cxx_example_01.cc \
126elementary/bg_cxx_example_02.cc \
127elementary/box_cxx_example_02.cc \
128elementary/button_cxx_example_00.cc \
129elementary/button_cxx_example_01.cc \
130elementary/calendar_cxx_example_01.cc \
131elementary/calendar_cxx_example_02.cc \
132elementary/calendar_cxx_example_03.cc \
133elementary/calendar_cxx_example_04.cc \
134elementary/calendar_cxx_example_05.cc \
135elementary/clock_cxx_example.cc \
136elementary/icon_cxx_example_01.cc \
137elementary/menu_cxx_example_01.cc \
138elementary/popup_cxx_example.cc \
139elementary/radio_cxx_example_01.cc \
140elementary/slider_cxx_example.cc \
141elementary/spinner_cxx_example.cc \
142elementary/table_cxx_example_01.cc \
143elementary/table_cxx_example_02.cc \
144elementary/toolbar_cxx_example_01.cc \
145$(NULL)
146
147ELM_EDCS = \
148elementary/twitter_example_01.edc \
149elementary/evas3d_map_example.edc \
150elementary/theme_example.edc \
151elementary/layout_example.edc \
152elementary/codegen_example.edc \
153elementary/efl_ui_view_list_example.edc \
154elementary/prefs_example_03.edc
155
156ELM_EPCS = \
157elementary/prefs_example_01.epc \
158elementary/prefs_example_02.epc \
159elementary/prefs_example_03.epc
160
161.epc.epb:
162 $(AM_V_EPB)$(ELM_PREFS_CC) $< $@
163
164ELM_DATA_FILES = \
165elementary/dict.txt \
166$(ELM_EDCS) \
167$(ELM_EPCS)
168
169clean-local-elm:
170 rm -f elementary/*.epb elementary/*.cfg elementary/*.cfg.bkp elementary/*.edj
171
172ELEMENTARY_CODEGEN_FLAGS = --prefix=codegen_example
173ELEMENTARY_CODEGEN_FILES = \
174elementary/codegen_example_generated.c \
175elementary/codegen_example_generated.h
176
177$(ELEMENTARY_CODEGEN_FILES): elementary/codegen_example.edj
178 $(AM_V_CODEGEN)$(ELEMENTARY_CODEGEN) $(ELEMENTARY_CODEGEN_FLAGS) $(<) elm/example/mylayout/default $(ELEMENTARY_CODEGEN_FILES)
179
180
181elementary_codegen_example_SOURCES = \
182elementary/codegen_example.c
183elementary_codegen_example_CPPFLAGS = \
184$(AM_CPPFLAGS) \
185-I$(top_builddir)/src/examples/elementary
186
187nodist_elementary_codegen_example_SOURCES = \
188$(ELEMENTARY_CODEGEN_FILES)
189
190if HAVE_AM_16
191elementary/codegen_example-codegen_example.$(OBJEXT): $(ELEMENTARY_CODEGEN_FILES)
192else
193elementary/elementary_codegen_example-codegen_example.$(OBJEXT): $(ELEMENTARY_CODEGEN_FILES)
194endif
195
196
197if HAVE_CSHARP
198
199if HAVE_WIN32
200MCSFLAGS ?=
201MCSFLAGS += -define:WIN32
202endif
203
204elementary_efl_ui_slider_mono_SOURCES = \
205 elementary/efl_ui_slider_mono.cs
206
207elementary/efl_ui_slider_mono$(EXEEXT): $(elementary_efl_ui_slider_mono_SOURCES) $(am_dirstamp) $(top_builddir)/src/lib/efl_mono/libefl_mono.dll
208 @rm -f elementary/efl_ui_slider_mono$(EXEEXT)
209 $(AM_V_MCS) $(MCS) $(MCSFLAGS) -r:$(abs_top_builddir)/src/lib/efl_mono/libefl_mono.dll -out:$@ $(filter %.cs, $(^))
210
211elementary_efl_ui_unit_converter_SOURCES = \
212 elementary/efl_ui_unit_converter.cs
213
214elementary/efl_ui_unit_converter$(EXEEXT): $(elementary_efl_ui_unit_converter_SOURCES) $(am_dirstamp) $(top_builddir)/src/lib/efl_mono/libefl_mono.dll
215 @rm -f elementary/efl_ui_unit_converter$(EXEEXT)
216 $(AM_V_MCS) $(MCS) $(MCSFLAGS) -r:$(abs_top_builddir)/src/lib/efl_mono/libefl_mono.dll -out:$@ $(filter %.cs, $(^))
217
218endif
219
220EXTRA_PROGRAMS += \
221elementary/actionslider_example_01 \
222elementary/bg_example_01 \
223elementary/bg_example_02 \
224elementary/bg_example_03 \
225elementary/box_example_02 \
226elementary/bubble_example_01 \
227elementary/button_example_00 \
228elementary/button_example_01 \
229elementary/calendar_example_01 \
230elementary/calendar_example_02 \
231elementary/calendar_example_03 \
232elementary/calendar_example_04 \
233elementary/calendar_example_05 \
234elementary/calendar_example_06 \
235elementary/check_example_01 \
236elementary/clock_example \
237elementary/codegen_example \
238elementary/colorselector_example_01 \
239elementary/conformant_example_01 \
240elementary/conformant_example_02 \
241elementary/combobox_example_01 \
242elementary/ctxpopup_example_01 \
243elementary/datetime_example \
244elementary/dayselector_example \
245elementary/diskselector_example_01 \
246elementary/diskselector_example_02 \
247elementary/entry_example \
248elementary/fileselector_button_example \
249elementary/fileselector_entry_example \
250elementary/fileselector_example \
251elementary/fileviewlist \
252elementary/filemvc \
253elementary/flip_example_01 \
254elementary/flipselector_example \
255elementary/frame_example_01 \
256elementary/general_funcs_example \
257elementary/gengrid_example \
258elementary/genlist_example_01 \
259elementary/genlist_example_02 \
260elementary/genlist_example_03 \
261elementary/genlist_example_04 \
262elementary/genlist_example_05 \
263elementary/hover_example_01 \
264elementary/hoversel_example_01 \
265elementary/icon_example_01 \
266elementary/image_example_01 \
267elementary/index_example_01 \
268elementary/index_example_02 \
269elementary/inwin_example \
270elementary/label_example_01 \
271elementary/layout_example_01 \
272elementary/layout_example_02 \
273elementary/layout_example_03 \
274elementary/layout_model_connect \
275elementary/list_example_01 \
276elementary/list_example_02 \
277elementary/list_example_03 \
278elementary/location_example_01 \
279elementary/map_example_01 \
280elementary/map_example_02 \
281elementary/map_example_03 \
282elementary/mapbuf_example \
283elementary/menu_example_01 \
284elementary/naviframe_example \
285elementary/notify_example_01 \
286elementary/panes_example \
287elementary/panel_example_01 \
288elementary/photocam_example_01 \
289elementary/prefs_example_01 \
290elementary/prefs_example_02 \
291elementary/prefs_example_03 \
292elementary/popup_example_01 \
293elementary/popup_example_02 \
294elementary/popup_example_03 \
295elementary/progressbar_example \
296elementary/radio_example_01 \
297elementary/radio_example_02 \
298elementary/segment_control_example \
299elementary/separator_example_01 \
300elementary/slider_example \
301elementary/slideshow_example \
302elementary/spinner_example \
303elementary/scroller_example_01 \
304elementary/table_example_01 \
305elementary/table_example_02 \
306elementary/theme_example_01 \
307elementary/theme_example_02 \
308elementary/thumb_example_01 \
309elementary/toolbar_example_01 \
310elementary/toolbar_example_02 \
311elementary/toolbar_example_03 \
312elementary/transit_example_01 \
313elementary/transit_example_02 \
314elementary/transit_example_03 \
315elementary/transit_example_04 \
316elementary/web_example_01 \
317elementary/web_example_02 \
318elementary/win_example \
319elementary/track_example_01 \
320elementary/evas3d_object_on_button_example \
321elementary/evas3d_scene_on_button_example \
322elementary/evas3d_map_example \
323elementary/efl_thread_1 \
324elementary/efl_thread_2 \
325elementary/efl_thread_3 \
326elementary/efl_thread_4 \
327elementary/efl_thread_5 \
328elementary/efl_thread_6 \
329elementary/efl_ui_list_example_1 \
330elementary/efl_ui_view_list_example_1 \
331elementary/efl_ui_view_list_example_2 \
332elementary/efl_ui_view_list_example_3
333#benchmark3d
334#sphere-hunter
335
336# benchmark3d_SOURCES = \
337 performance/performance.c \
338 performance/camera_light.c \
339 performance/tools_private.h \
340 performance/graphical_struct.h \
341 performance/Tools.h \
342 performance/graphical.c
343
344# sphere_hunter_SOURCES = \
345 sphere_hunter/evas_3d_sphere_hunter.c
346
347# files_DATA += performance/layout.edj sphere_hunter/sphere_hunter.edj
348
349# performance/layout.edj: performance/layout.edc
350# $(AM_V_EDJ) \
351 $(MKDIR_P) performance/; \
352 $(EDJE_CC) $(EDJE_CC_FLAGS) -id performance/ $< $@
353
354# sphere_hunter/sphere_hunter.edj: sphere_hunter/sphere_hunter.edc
355# $(AM_V_EDJ) \
356 $(MKDIR_P) sphere_hunter/; \
357 $(EDJE_CC) $(EDJE_CC_FLAGS) -id sphere_hunter/ -id $(top_srcdir)/data/elementary/themes $< $@
358
359if HAVE_CXX
360EXTRA_PROGRAMS += \
361elementary/bg_cxx_example_01 \
362elementary/bg_cxx_example_02 \
363elementary/box_cxx_example_02 \
364elementary/button_cxx_example_00 \
365elementary/button_cxx_example_01 \
366elementary/calendar_cxx_example_01 \
367elementary/calendar_cxx_example_02 \
368elementary/calendar_cxx_example_03 \
369elementary/calendar_cxx_example_04 \
370elementary/calendar_cxx_example_05 \
371elementary/clock_cxx_example \
372elementary/icon_cxx_example_01 \
373elementary/menu_cxx_example_01 \
374elementary/popup_cxx_example \
375elementary/radio_cxx_example_01 \
376elementary/slider_cxx_example \
377elementary/spinner_cxx_example \
378elementary/table_cxx_example_01 \
379elementary/table_cxx_example_02 \
380elementary/toolbar_cxx_example_01 \
381$(NULL)
382
383elementary_bg_cxx_example_01_SOURCES = elementary/bg_cxx_example_01.cc
384elementary_bg_cxx_example_02_SOURCES = elementary/bg_cxx_example_02.cc
385elementary_box_cxx_example_02_SOURCES = elementary/box_cxx_example_02.cc
386elementary_button_cxx_example_00_SOURCES = elementary/button_cxx_example_00.cc
387elementary_button_cxx_example_01_SOURCES = elementary/button_cxx_example_01.cc
388elementary_calendar_cxx_example_01_SOURCES = elementary/calendar_cxx_example_01.cc
389elementary_calendar_cxx_example_02_SOURCES = elementary/calendar_cxx_example_02.cc
390elementary_calendar_cxx_example_03_SOURCES = elementary/calendar_cxx_example_03.cc
391elementary_calendar_cxx_example_04_SOURCES = elementary/calendar_cxx_example_04.cc
392elementary_calendar_cxx_example_05_SOURCES = elementary/calendar_cxx_example_05.cc
393elementary_clock_cxx_example_SOURCES = elementary/clock_cxx_example.cc
394elementary_icon_cxx_example_01_SOURCES = elementary/icon_cxx_example_01.cc
395elementary_menu_cxx_example_01_SOURCES = elementary/menu_cxx_example_01.cc
396elementary_radio_cxx_example_01_SOURCES = elementary/radio_cxx_example_01.cc
397elementary_popup_cxx_example_SOURCES = elementary/popup_cxx_example.cc
398elementary_slider_cxx_example_SOURCES = elementary/slider_cxx_example.cc
399elementary_spinner_cxx_example_SOURCES = elementary/spinner_cxx_example.cc
400elementary_table_cxx_example_01_SOURCES = elementary/table_cxx_example_01.cc
401elementary_table_cxx_example_02_SOURCES = elementary/table_cxx_example_02.cc
402elementary_toolbar_cxx_example_01_SOURCES = elementary/toolbar_cxx_example_01.cc
403
404
405endif
406
407if HAVE_CSHARP
408
409EXTRA_PROGRAMS += \
410elementary/efl_ui_slider_mono \
411elementary/efl_ui_unit_converter
412
413endif
414
415# This variable will hold the list of screenshots that will be made
416# by "make screenshots". Each item in the list is of the form:
417# <example executable>:<screenshot filename>:<delay in seconds>
418SCREENSHOTS = \
419elementary/actionslider_example_01:actionslider_01.png:0.0 \
420elementary/bg_example_02:bg_01.png:0.0 \
421elementary/box_example_02:box_example_02.png:1.3 \
422elementary/bubble_example_01:bubble_example_01.png:0.0 \
423elementary/button_example_00:button_00.png:0.0 \
424elementary/button_example_01:button_01.png:0.0 \
425elementary/check_example_01:check_example_01.png:0.0 \
426elementary/colorselector_example_01:colorselector_example_01.png:0.0 \
427elementary/animator_example_01:animator_example_01.png:0.2 \
428elementary/animator_example_01:animator_example_02.png:0.5 \
429elementary/animator_example_01:animator_example_03.png:0.9 \
430elementary/flip_example_01:flip_example_01.png:0.0 \
431elementary/frame_example_01:frame_example_01.png:0.0 \
432elementary/hover_example_01:hover_example_01.png:0.0 \
433elementary/hoversel_example_01:hoversel_example_01.png:0.0 \
434elementary/label_example_01:label_example_01.png:0.0 \
435elementary/theme_example_01:theme_example_01.png:0.0 \
436elementary/conformant_example_01:conformant_example_01.png:0.0 \
437elementary/conformant_example_02:conformant_example_02.png:0.0 \
438elementary/combobox_example_01:combobox_example_01.png:0.0 \
439elementary/calendar_example_01:calendar_example_01.png:0.0 \
440elementary/calendar_example_02:calendar_example_02.png:0.0 \
441elementary/calendar_example_03:calendar_example_03.png:0.0 \
442elementary/calendar_example_04:calendar_example_04.png:0.0 \
443elementary/calendar_example_05:calendar_example_05.png:0.0 \
444elementary/calendar_example_06:calendar_example_06.png:0.0 \
445elementary/datetime_example:datetime_example.png:0.0 \
446elementary/map_example_01:map_example_01.png:2 \
447elementary/map_example_02:map_example_02.png:2.5 \
448elementary/map_example_03:map_example_03.png:2 \
449elementary/toolbar_example_01:toolbar_example_01.png:0.0 \
450elementary/toolbar_example_02:toolbar_example_02.png:1 \
451elementary/toolbar_example_03:toolbar_example_03.png:1 \
452elementary/spinner_example:spinner_example.png:0.0 \
453elementary/clock_example:clock_example.png:0.5 \
454elementary/dayselector_example:dayselector_example.png:0.0 \
455elementary/mapbuf_example:mapbuf_example.png:0.0 \
456elementary/image_example_01:image_example_01.png:0.0 \
457elementary/diskselector_example_01:diskselector_example_01.png:0.2 \
458elementary/diskselector_example_02:diskselector_example_02.png:0.2 \
459elementary/icon_example_01:icon_example_01.png:0.0 \
460elementary/layout_example_01:layout_example_01.png:0.0 \
461elementary/layout_example_02:layout_example_02.png:0.0 \
462elementary/layout_example_03:layout_example_03.png:0.0 \
463elementary/list_example_01:list_example_01.png:0.0 \
464elementary/list_example_02:list_example_02.png:0.0 \
465elementary/list_example_03:list_example_03.png:0.0 \
466elementary/segment_control_example:segment_control_example.png:0.0 \
467elementary/flipselector_example:flipselector_example.png:0.0 \
468elementary/fileselector_example:fileselector_example.png:0.0 \
469elementary/index_example_02:index_example_03.png:0.3 \
470elementary/slider_example:slider_example.png:0.0 \
471elementary/panes_example:panes_example.png:0.0 \
472elementary/ctxpopup_example_01:ctxpopup_example_01.png:0.0 \
473elementary/separator_example_01:separator_example_01.png:0.0 \
474elementary/radio_example_01:radio_example_01.png:0.0 \
475elementary/radio_example_02:radio_example_02.png:0.0 \
476elementary/panel_example_01:panel_example_01.png:0.0 \
477elementary/gengrid_example:gengrid_example.png:0.0 \
478elementary/genlist_example_01:genlist_example_01.png:0.1 \
479elementary/genlist_example_02:genlist_example_02.png:0.1 \
480elementary/genlist_example_03:genlist_example_03.png:0.1 \
481elementary/genlist_example_04:genlist_example_04.png:0.1 \
482elementary/genlist_example_05:genlist_example_05.png:0.1 \
483elementary/thumb_example_01:thumb_example_01.png:0.5 \
484elementary/entry_example:entry_example.png:0.0 \
485elementary/progressbar_example:progressbar_example.png:0.0 \
486elementary/notify_example_01:notify_example_01.png:0.0 \
487elementary/notify_example_01:notify_example_01_a.png:6.0 \
488elementary/popup_example_01:popup_example_01.png:1.0 \
489elementary/popup_example_01:popup_example_01_a.png:6.0 \
490elementary/popup_example_02:popup_example_02.png:0.2 \
491elementary/popup_example_03:popup_example_03.png:0.2 \
492elementary/slideshow_example:slideshow_example.png:1.0 \
493elementary/photocam_example_01:photocam_example_01.png:3 \
494elementary/scroller_example_01:scroller_example_01.png:0.0 \
495elementary/inwin_example:inwin_example.png:0.0 \
496elementary/inwin_example:inwin_example_a.png:0.2 \
497elementary/table_example_01:table_example_01.png:0.0 \
498elementary/table_example_02:table_example_02.png:0.0 \
499elementary/menu_example_01:menu_example_01.png:0.5
500
501if HAVE_CXX
502SCREENSHOTS += \
503elementary/bg_cxx_example_01:bg_cxx_example_01.png:0.0 \
504elementary/bg_cxx_example_02:bg_cxx_example_02.png:0.0 \
505elementary/box_cxx_example_02:box_cxx_example_02.png:1.3 \
506elementary/button_cxx_example_00:button_cxx_example_00.png:0.0 \
507elementary/button_cxx_example_01:button_cxx_example_01.png:0.0 \
508elementary/calendar_cxx_example_01:calendar_cxx_example_01.png:0.0 \
509elementary/calendar_cxx_example_02:calendar_cxx_example_02.png:0.0 \
510elementary/calendar_cxx_example_03:calendar_cxx_example_03.png:0.0 \
511elementary/calendar_cxx_example_04:calendar_cxx_example_04.png:0.0 \
512elementary/calendar_cxx_example_05:calendar_cxx_example_05.png:0.0 \
513elementary/clock_cxx_example:clock_cxx_example.png:0.5 \
514elementary/icon_cxx_example_01:icon_cxx_example_01.png:0.0 \
515elementary/menu_cxx_example_01:menu_cxx_example_01.png:0.5 \
516elementary/popup_cxx_example_01:popup_cxx_example_01_a.png:6.0 \
517elementary/radio_cxx_example_01:radio_cxx_example_01.png:0.0 \
518elementary/slider_cxx_example:slider_cxx_example.png:0.0 \
519elementary/spinner_cxx_example:spinner_cxx_example.png:0.0 \
520elementary/table_cxx_example_01:table_cxx_example_01.png:0.0 \
521elementary/table_cxx_example_02:table_cxx_example_02.png:0.0 \
522elementary/toolbar_cxx_example_01:toolbar_cxx_example_01.png:0.0 \
523$(NULL)
524endif
525
526HTML_SS_DIR=$(top_builddir)/doc/html/screenshots
527LATEX_SS_DIR=$(top_builddir)/doc/latex/screenshots
528screenshots: examples
529 @mkdir -p $(HTML_SS_DIR)
530 @mkdir -p $(LATEX_SS_DIR)
531 @for ss in $(SCREENSHOTS); do \
532 SS_ENTRY=($${ss//:/ }) ; \
533 EXAMPLE=$${SS_ENTRY[0]} ; \
534 SS_FILE=$${SS_ENTRY[1]} ; \
535 SS_DELAY=$${SS_ENTRY[2]} ; \
536 ILLUME_KBD=0,0,240,123 ILLUME_IND=0,0,240,32 ILLUME_STK=0,288,240,32 ELM_ENGINE="shot:delay=$${SS_DELAY}:file=$(HTML_SS_DIR)/$${SS_FILE}" ./$${EXAMPLE} ; \
537 convert $(HTML_SS_DIR)/$${SS_FILE} $(LATEX_SS_DIR)/$${SS_FILE/.png/.eps} ; \
538 done
539
540ELM_DATA_FILES += \
541elementary/performance/layout.edc \
542elementary/performance/background.png \
543elementary/performance/target_texture.png \
544elementary/sphere_hunter/sphere_hunter.edc \
545elementary/sphere_hunter/score.jpg \
546elementary/sphere_hunter/EFL_victory.png \
547elementary/sphere_hunter/EFL_defeat.png
548
549ELM_EDJS = $(ELM_EDCS:%.edc=%.edj)
550ELM_EPBS = $(ELM_EPCS:%.epc=%.epb)
551EDCS += $(ELM_EDCS)
552
553if HAVE_CSHARP
554ELM_DATA_FILES += $(MONO_SRCS)
555endif
556
557DATA_FILES += $(ELM_DATA_FILES)
558
559install-examples-elm:
560 $(MKDIR_P) $(DESTDIR)$(datadir)/elementary/examples
561 cd $(srcdir) && $(install_sh_DATA) -c $(ELM_SRCS) $(ELM_EDCS) $(ELM_DATA_FILES) $(DESTDIR)$(datadir)/elementary/examples
562 cd $(builddir) && $(install_sh_DATA) -c $(ELM_EDJS) $(DESTDIR)$(datadir)/elementary/examples
563
564uninstall-local-elm:
565 for f in $(ELM_SRCS); do \
566 rm -f $(DESTDIR)$(datadir)/elementary/examples/$$f ; \
567 done
568
569INSTALL_EXAMPLES += install-examples-elm
570UNINSTALL_EXAMPLES += uninstall-local-elm
diff --git a/src/examples/elementary/Makefile.am b/src/examples/elementary/Makefile.am
deleted file mode 100644
index db16bab824..0000000000
--- a/src/examples/elementary/Makefile.am
+++ /dev/null
@@ -1,632 +0,0 @@
1MAINTAINERCLEANFILES = Makefile.in
2DISTCLEANFILES = \
3codegen_example_generated.c \
4codegen_example_generated.h \
5codegen_example.edj
6
7
8include ../../../Makefile_Elm_Helpers.am
9include ../../Makefile_Edje_Helper.am
10
11.PHONY: screenshots
12
13examplesdir = $(pkgdatadir)/examples
14filesdir = $(pkgdatadir)/examples
15files_DATA =
16
17AM_CPPFLAGS = \
18-Wno-unused-parameter \
19-I. \
20-I$(top_builddir)/src/bindings \
21-I$(top_srcdir)/src/bindings \
22-I$(top_builddir)/src/lib/efl \
23-I$(top_builddir)/src/lib/efl/interfaces \
24-I$(top_srcdir)/src/lib/eina \
25-I$(top_builddir)/src/lib/eina \
26-I$(top_srcdir)/src/bindings/cxx/eina_cxx \
27-I$(top_builddir)/src/bindings/cxx/eina_cxx \
28-I$(top_srcdir)/src/lib/eo \
29-I$(top_builddir)/src/lib/eo \
30-I$(top_srcdir)/src/bindings/cxx/eo_cxx \
31-I$(top_builddir)/src/bindings/cxx/eo_cxx \
32-I$(top_srcdir)/src/bindings/cxx/eldbus_cxx \
33-I$(top_builddir)/src/bindings/cxx/eldbus_cxx \
34-I$(top_srcdir)/src/bindings/cxx/ecore_cxx \
35-I$(top_builddir)/src/bindings/cxx/ecore_cxx \
36-I$(top_srcdir)/src/lib/ector \
37-I$(top_builddir)/src/lib/ector \
38-I$(top_srcdir)/src/lib/evas \
39-I$(top_builddir)/src/lib/evas \
40-I$(top_srcdir)/src/lib/evas/canvas \
41-I$(top_builddir)/src/lib/evas/canvas \
42-I$(top_srcdir)/src/lib/evas/gesture \
43-I$(top_builddir)/src/lib/evas/gesture \
44-I$(top_srcdir)/src/lib/elementary \
45-I$(top_builddir)/src/lib/elementary \
46-I$(top_srcdir)/src/lib/elocation\
47-I$(top_builddir)/src/lib/elocation\
48-DPACKAGE_DATA_DIR="\"$(datadir)/elementary\"" \
49-DPACKAGE_BIN_DIR=\"$(bindir)\" \
50-DPACKAGE_LIB_DIR=\"$(libdir)\" \
51@ELEMENTARY_CFLAGS@
52
53AM_CXXFLAGS = \
54@ELEMENTARY_CFLAGS@ \
55@ELEMENTARY_CXX_CFLAGS@
56
57LDADD = \
58@ELEMENTARY_LDFLAGS@ \
59-lm \
60$(top_builddir)/src/lib/eina/libeina.la \
61$(top_builddir)/src/lib/eo/libeo.la \
62$(top_builddir)/src/lib/efl/libefl.la \
63$(top_builddir)/src/lib/eet/libeet.la \
64$(top_builddir)/src/lib/evas/libevas.la \
65$(top_builddir)/src/lib/ecore/libecore.la \
66$(top_builddir)/src/lib/ecore_con/libecore_con.la \
67$(top_builddir)/src/lib/ecore_evas/libecore_evas.la \
68$(top_builddir)/src/lib/ecore_file/libecore_file.la \
69$(top_builddir)/src/lib/ecore_input/libecore_input.la \
70$(top_builddir)/src/lib/ecore_imf/libecore_imf.la \
71$(top_builddir)/src/lib/ecore_imf_evas/libecore_imf_evas.la \
72$(top_builddir)/src/lib/embryo/libembryo.la \
73$(top_builddir)/src/lib/edje/libedje.la \
74$(top_builddir)/src/lib/elementary/libelementary.la \
75$(top_builddir)/src/lib/ethumb_client/libethumb_client.la \
76$(top_builddir)/src/lib/elocation/libelocation.la
77
78SRCS = \
79actionslider_example_01.c \
80bg_example_01.c \
81bg_example_02.c \
82bg_example_03.c \
83box_example_02.c \
84bubble_example_01.c \
85button_example_00.c \
86button_example_01.c \
87calendar_example_01.c \
88calendar_example_02.c \
89calendar_example_03.c \
90calendar_example_04.c \
91calendar_example_05.c \
92calendar_example_06.c \
93check_example_01.c \
94clock_example.c \
95colorselector_example_01.c \
96conformant_example_01.c \
97conformant_example_02.c \
98combobox_example_01.c \
99ctxpopup_example_01.c \
100datetime_example.c \
101dayselector_example.c \
102diskselector_example_01.c \
103diskselector_example_02.c \
104entry_example.c \
105fileselector_button_example.c \
106fileselector_entry_example.c \
107fileselector_example.c \
108fileviewlist.c \
109filemvc.c \
110flip_example_01.c \
111flipselector_example.c \
112frame_example_01.c \
113general_funcs_example.c \
114gengrid_example.c \
115genlist_example_01.c \
116genlist_example_02.c \
117genlist_example_03.c \
118genlist_example_04.c \
119genlist_example_05.c \
120hover_example_01.c \
121hoversel_example_01.c \
122icon_example_01.c \
123image_example_01.c \
124index_example_01.c \
125index_example_02.c \
126inwin_example.c \
127label_example_01.c \
128layout_example_01.c \
129layout_example_02.c \
130layout_example_03.c \
131layout_model_connect.c \
132list_example_01.c \
133list_example_02.c \
134list_example_03.c \
135location_example_01.c \
136map_example_01.c \
137map_example_02.c \
138map_example_03.c \
139mapbuf_example.c \
140menu_example_01.c \
141naviframe_example.c \
142notify_example_01.c \
143panes_example.c \
144panel_example_01.c \
145photocam_example_01.c \
146prefs_example_01.c \
147prefs_example_02.c \
148prefs_example_03.c \
149popup_example_01.c \
150popup_example_02.c \
151popup_example_03.c \
152progressbar_example.c \
153radio_example_01.c \
154radio_example_02.c \
155segment_control_example.c \
156separator_example_01.c \
157slider_example.c \
158slideshow_example.c \
159spinner_example.c \
160scroller_example_01.c \
161table_example_01.c \
162table_example_02.c \
163theme_example_01.c \
164theme_example_02.c \
165thumb_example_01.c \
166toolbar_example_01.c \
167toolbar_example_02.c \
168toolbar_example_03.c \
169transit_example_01.c \
170transit_example_02.c \
171transit_example_03.c \
172transit_example_04.c \
173web_example_01.c \
174web_example_02.c \
175win_example.c \
176track_example_01.c \
177evas3d_object_on_button_example.c \
178evas3d_scene_on_button_example.c \
179evas3d_map_example.c \
180efl_thread_1.c \
181efl_thread_2.c \
182efl_thread_3.c \
183efl_thread_4.c \
184efl_thread_5.c \
185efl_thread_6.c \
186efl_ui_list_example_1.c \
187efl_ui_view_list_example_1.c \
188efl_ui_view_list_example_2.c \
189efl_ui_view_list_example_3.c
190
191SRCS += \
192bg_cxx_example_01.cc \
193bg_cxx_example_02.cc \
194box_cxx_example_02.cc \
195button_cxx_example_00.cc \
196button_cxx_example_01.cc \
197calendar_cxx_example_01.cc \
198calendar_cxx_example_02.cc \
199calendar_cxx_example_03.cc \
200calendar_cxx_example_04.cc \
201calendar_cxx_example_05.cc \
202clock_cxx_example.cc \
203icon_cxx_example_01.cc \
204menu_cxx_example_01.cc \
205popup_cxx_example.cc \
206radio_cxx_example_01.cc \
207slider_cxx_example.cc \
208spinner_cxx_example.cc \
209table_cxx_example_01.cc \
210table_cxx_example_02.cc \
211toolbar_cxx_example_01.cc \
212$(NULL)
213
214EDCS = \
215twitter_example_01.edc \
216evas3d_map_example.edc \
217theme_example.edc \
218layout_example.edc \
219codegen_example.edc \
220efl_ui_view_list_example.edc
221
222EDJS = $(EDCS:%.edc=%.edj)
223
224.edc.edj:
225 $(AM_V_EDJ)$(EDJE_CC) $(EDJE_CC_FLAGS) $< $@
226
227.epc.epb:
228 $(AM_V_EPB)$(ELM_PREFS_CC) $< $@
229
230files_DATA += $(SRCS) \
231 dict.txt
232
233files_DATA += \
234 prefs_example_01.epb \
235 prefs_example_02.epb \
236 prefs_example_03.epb \
237 prefs_example_03.edj \
238 theme_example.edj \
239 layout_example.edj\
240 codegen_example.edj \
241 evas3d_map_example.edj \
242 twitter_example_01.edj \
243 efl_ui_view_list_example.edj
244
245CLEANFILES = \
246 theme_example.edj \
247 layout_example.edj\
248 evas3d_map_example.edj \
249 twitter_example_01.edj \
250 efl_ui_view_list_example.edj
251
252clean-local:
253 rm -f *.epb *.cfg *.cfg.bkp
254 rm -f prefs_example_03.edj
255
256ELEMENTARY_CODEGEN_FLAGS = --prefix=codegen_example
257
258codegen_example_generated.c codegen_example_generated.h: codegen_example.edj
259 $(AM_V_CODEGEN)$(ELEMENTARY_CODEGEN) $(ELEMENTARY_CODEGEN_FLAGS) $(<) elm/example/mylayout/default codegen_example_generated.c codegen_example_generated.h
260
261codegen_example.$(OBJEXT): codegen_example_generated.h
262
263codegen_example_SOURCES = \
264 codegen_example.c
265nodist_codegen_example_SOURCES = \
266codegen_example_generated.c \
267codegen_example_generated.h
268
269if HAVE_CSHARP
270
271if HAVE_WIN32
272MCSFLAGS ?=
273MCSFLAGS += -define:WIN32
274endif
275
276efl_ui_slider_mono_SOURCES = \
277 efl_ui_slider_mono.cs
278
279efl_ui_slider_mono$(EXEEXT): $(efl_ui_slider_mono_SOURCES) $(am_dirstamp) $(top_builddir)/src/lib/efl_mono/libefl_mono.dll
280 @rm -f efl_ui_slider_mono$(EXEEXT)
281 $(AM_V_MCS) $(MCS) $(MCSFLAGS) -r:$(abs_top_builddir)/src/lib/efl_mono/libefl_mono.dll -out:$@ $(filter %.cs, $(^))
282
283efl_ui_unit_converter_SOURCES = \
284 efl_ui_unit_converter.cs
285
286efl_ui_unit_converter$(EXEEXT): $(efl_ui_unit_converter_SOURCES) $(am_dirstamp) $(top_builddir)/src/lib/efl_mono/libefl_mono.dll
287 @rm -f efl_ui_unit_converter$(EXEEXT)