summaryrefslogtreecommitdiff
path: root/src/examples
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-05-26 18:30:54 +0200
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-06-18 08:56:34 +0200
commit639869703f3e8b0ce34d83b523ff611e85cfd93b (patch)
treedc72c59b87a83d02758ae81f979a25e21b226a8b /src/examples
parent4f8e15c16c4f68b6fae8708b177ce672daefc59c (diff)
autotools: REMOVAL!
Get your seatbelt fastend! It is happening! AUTOTOOLS IS GONE NOW! All praise to meson! This time the final version, ci has been adjusted, and now does not try anymore to build a removed buildsystem. However, the scripts in there need cleaning up. Differential Revision: https://phab.enlightenment.org/D9027
Diffstat (limited to 'src/examples')
-rw-r--r--src/examples/Makefile.am287
-rw-r--r--src/examples/ecore/Makefile.examples60
-rw-r--r--src/examples/edje/Makefile.examples82
-rw-r--r--src/examples/eet/Makefile.examples20
-rw-r--r--src/examples/eina/Makefile.examples52
-rw-r--r--src/examples/eio/Makefile.examples15
-rw-r--r--src/examples/eldbus/Makefile.examples22
-rw-r--r--src/examples/elocation/Makefile.examples14
-rw-r--r--src/examples/emile/Makefile.examples14
-rw-r--r--src/examples/emotion/Makefile.examples18
-rw-r--r--src/examples/eolian_cxx/Makefile.examples47
-rw-r--r--src/examples/ethumb_client/Makefile.examples14
-rw-r--r--src/examples/evas/Makefile.examples43
13 files changed, 0 insertions, 688 deletions
diff --git a/src/examples/Makefile.am b/src/examples/Makefile.am
deleted file mode 100644
index e987a44e59..0000000000
--- a/src/examples/Makefile.am
+++ /dev/null
@@ -1,287 +0,0 @@
1AUTOMAKE_OPTIONS= -Wno-portability
2CLEANFILES =
3DISTCLEANFILES =
4MAINTAINERCLEANFILES = Makefile.in
5EXTRA_PROGRAMS =
6DATA_FILES =
7EXTRA_DIST =
8EDCS =
9PHONIES =
10EOLIAN_FLAGS := \
11 -I$(srcdir) \
12 -I$(top_srcdir)/src/lib/eo \
13 -I$(top_srcdir)/src/lib/evas/canvas \
14 -I$(top_srcdir)/src/lib/evas/gesture \
15 -I$(top_srcdir)/src/lib/edje \
16 -I$(top_srcdir)/src/lib/efl \
17 -I$(top_srcdir)/src/lib/ecore \
18 -I$(top_srcdir)/src/lib/ecore_audio \
19 -I$(top_srcdir)/src/lib/elementary
20
21#defined in Makefile_Edje_Helper.am
22#EDJE_CC_FLAGS =
23
24CLEAN_EXAMPLES =
25INSTALL_EXAMPLES =
26UNINSTALL_EXAMPLES =
27
28include ../Makefile_Edje_Helper.am
29include $(top_srcdir)/src/Makefile_Eolian_Helper.am
30if HAVE_CXX
31include $(top_srcdir)/src/Makefile_Eolian_Cxx_Helper.am
32if ! HAVE_EOLIAN_CXX
33_EOLIAN_CXX_DEP = ../bin/eolian_cxx/eolian_cxx$(EXEEXT)
34bin/eolian_cxx/eolian_cxx$(EXEEXT):
35 false
36endif
37endif
38# Eolian_Files_Helper
39# Thus we need to override it here in order to make its pattern
40# rules work properly.
41if ! HAVE_EOLIAN_GEN
42_EOLIAN_GEN_DEP = ../bin/eolian/eolian_gen$(EXEEXT)
43endif
44
45if HAVE_CSHARP
46include $(top_srcdir)/src/Makefile_Efl_Mono_MSBuild_Gen_Helper.am
47endif
48
49AM_CPPFLAGS = \
50-I. \
51-I$(top_builddir)/src/bindings \
52-I$(top_srcdir)/src/bindings \
53-I$(top_builddir)/src/lib/efl/interfaces \
54-I$(top_builddir)/src/lib/evas/canvas \
55-I$(top_builddir)/src/lib/evas/gesture \
56-I$(top_srcdir)/src/bindings/cxx/eina_cxx \
57-I$(top_builddir)/src/bindings/cxx/eina_cxx \
58-I$(top_srcdir)/src/bindings/cxx/eo_cxx \
59-I$(top_builddir)/src/bindings/cxx/eo_cxx \
60-I$(top_srcdir)/src/bindings/cxx/eldbus_cxx \
61-I$(top_builddir)/src/bindings/cxx/eldbus_cxx \
62-I$(top_srcdir)/src/bindings/cxx/ecore_cxx \
63-I$(top_builddir)/src/bindings/cxx/ecore_cxx \
64-I$(top_builddir)/src/lib/ecore \
65-I$(top_srcdir)/src/lib/ecore \
66-I$(top_builddir)/src/lib/ecore_audio \
67-I$(top_srcdir)/src/lib/ecore_audio \
68-I$(top_builddir)/src/lib/ecore_avahi \
69-I$(top_srcdir)/src/lib/ecore_avahi \
70-I$(top_builddir)/src/lib/ecore_buffer \
71-I$(top_srcdir)/src/lib/ecore_buffer \
72-I$(top_builddir)/src/lib/ecore_cocoa \
73-I$(top_srcdir)/src/lib/ecore_cocoa \
74-I$(top_builddir)/src/lib/ecore_con \
75-I$(top_srcdir)/src/lib/ecore_con \
76-I$(top_builddir)/src/lib/ecore_drm \
77-I$(top_srcdir)/src/lib/ecore_drm \
78-I$(top_builddir)/src/lib/ecore_drm2 \
79-I$(top_srcdir)/src/lib/ecore_drm2 \
80-I$(top_builddir)/src/lib/ecore_evas \
81-I$(top_srcdir)/src/lib/ecore_evas \
82-I$(top_builddir)/src/lib/ecore_fb \
83-I$(top_srcdir)/src/lib/ecore_fb \
84-I$(top_builddir)/src/lib/ecore_file \
85-I$(top_srcdir)/src/lib/ecore_file \
86-I$(top_builddir)/src/lib/ecore_imf \
87-I$(top_srcdir)/src/lib/ecore_imf \
88-I$(top_builddir)/src/lib/ecore_imf_evas \
89-I$(top_srcdir)/src/lib/ecore_imf_evas \
90-I$(top_builddir)/src/lib/ecore_input \
91-I$(top_srcdir)/src/lib/ecore_input \
92-I$(top_builddir)/src/lib/ecore_input_evas \
93-I$(top_srcdir)/src/lib/ecore_input_evas \
94-I$(top_builddir)/src/lib/ecore_ipc \
95-I$(top_srcdir)/src/lib/ecore_ipc \
96-I$(top_builddir)/src/lib/ecore_sdl \
97-I$(top_srcdir)/src/lib/ecore_sdl \
98-I$(top_builddir)/src/lib/ecore_wayland \
99-I$(top_srcdir)/src/lib/ecore_wayland \
100-I$(top_builddir)/src/lib/ecore_win32 \
101-I$(top_srcdir)/src/lib/ecore_win32 \
102-I$(top_builddir)/src/lib/ecore_wl2 \
103-I$(top_srcdir)/src/lib/ecore_wl2 \
104-I$(top_builddir)/src/lib/ecore_x \
105-I$(top_srcdir)/src/lib/ecore_x \
106-I$(top_builddir)/src/lib/ector \
107-I$(top_srcdir)/src/lib/ector \
108-I$(top_builddir)/src/lib/edje \
109-I$(top_srcdir)/src/lib/edje \
110-I$(top_builddir)/src/lib/eet \
111-I$(top_srcdir)/src/lib/eet \
112-I$(top_builddir)/src/lib/eeze \
113-I$(top_srcdir)/src/lib/eeze \
114-I$(top_builddir)/src/lib/efl \
115-I$(top_srcdir)/src/lib/efl \
116-I$(top_builddir)/src/lib/efl_mono \
117-I$(top_srcdir)/src/lib/efl_mono \
118-I$(top_builddir)/src/lib/efl_wl \
119-I$(top_srcdir)/src/lib/efl_wl \
120-I$(top_builddir)/src/lib/efreet \
121-I$(top_srcdir)/src/lib/efreet \
122-I$(top_builddir)/src/lib/eina \
123-I$(top_srcdir)/src/lib/eina \
124-I$(top_builddir)/src/lib/eio \
125-I$(top_srcdir)/src/lib/eio \
126-I$(top_builddir)/src/lib/eldbus \
127-I$(top_srcdir)/src/lib/eldbus \
128-I$(top_builddir)/src/lib/elementary \
129-I$(top_srcdir)/src/lib/elementary \
130-I$(top_builddir)/src/lib/elocation \
131-I$(top_srcdir)/src/lib/elocation \
132-I$(top_builddir)/src/lib/elput \
133-I$(top_srcdir)/src/lib/elput \
134-I$(top_builddir)/src/lib/elua \
135-I$(top_srcdir)/src/lib/elua \
136-I$(top_builddir)/src/lib/embryo \
137-I$(top_srcdir)/src/lib/embryo \
138-I$(top_builddir)/src/lib/emile \
139-I$(top_srcdir)/src/lib/emile \
140-I$(top_builddir)/src/lib/emotion \
141-I$(top_srcdir)/src/lib/emotion \
142-I$(top_builddir)/src/lib/eo \
143-I$(top_srcdir)/src/lib/eo \
144-I$(top_builddir)/src/lib/eolian \
145-I$(top_srcdir)/src/lib/eolian \
146-I$(top_builddir)/src/lib/eolian_cxx \
147-I$(top_srcdir)/src/lib/eolian_cxx \
148-I$(top_builddir)/src/lib/ephysics \
149-I$(top_srcdir)/src/lib/ephysics \
150-I$(top_builddir)/src/lib/escape \
151-I$(top_srcdir)/src/lib/escape \
152-I$(top_builddir)/src/lib/ethumb \
153-I$(top_srcdir)/src/lib/ethumb \
154-I$(top_builddir)/src/lib/ethumb_client \
155-I$(top_srcdir)/src/lib/ethumb_client \
156-I$(top_builddir)/src/lib/evas \
157-I$(top_srcdir)/src/lib/evas \
158-DPACKAGE_BIN_DIR=\"$(bindir)\" \
159-DPACKAGE_LIB_DIR=\"$(libdir)\" \
160@ELEMENTARY_CFLAGS@
161
162if HAVE_WINDOWS
163AM_CPPFLAGS += \
164-I$(top_srcdir)/src/lib/evil \
165-I$(top_builddir)/src/lib/evil \
166@EFL_WINDOWS_VERSION_CFLAGS@
167endif
168
169AM_CXXFLAGS = \
170$(AM_CPPFLAGS) \
171@ELEMENTARY_CXX_CFLAGS@
172
173LDADD = \
174-lm \
175@EFL_PTHREAD_LIBS@ \
176$(top_builddir)/src/lib/ecore_avahi/libecore_avahi.la \
177$(top_builddir)/src/lib/ecore_con/libecore_con.la \
178$(top_builddir)/src/lib/ecore_evas/libecore_evas.la \
179$(top_builddir)/src/lib/ecore_file/libecore_file.la \
180$(top_builddir)/src/lib/ecore_imf_evas/libecore_imf_evas.la \
181$(top_builddir)/src/lib/ecore_imf/libecore_imf.la \
182$(top_builddir)/src/lib/ecore_input_evas/libecore_input_evas.la \
183$(top_builddir)/src/lib/ecore_input/libecore_input.la \
184$(top_builddir)/src/lib/ecore_ipc/libecore_ipc.la \
185$(top_builddir)/src/lib/ecore/libecore.la \
186$(top_builddir)/src/lib/ector/libector.la \
187$(top_builddir)/src/lib/edje/libedje.la \
188$(top_builddir)/src/lib/eet/libeet.la \
189$(top_builddir)/src/lib/efl/libefl.la \
190$(top_builddir)/src/lib/efreet/libefreet.la \
191$(top_builddir)/src/lib/efreet/libefreet_mime.la \
192$(top_builddir)/src/lib/efreet/libefreet_trash.la \
193$(top_builddir)/src/lib/eina/libeina.la \
194$(top_builddir)/src/lib/eio/libeio.la \
195$(top_builddir)/src/lib/eldbus/libeldbus.la \
196$(top_builddir)/src/lib/elementary/libelementary.la \
197$(top_builddir)/src/lib/elocation/libelocation.la \
198$(top_builddir)/src/lib/embryo/libembryo.la \
199$(top_builddir)/src/lib/emile/libemile.la \
200$(top_builddir)/src/lib/emotion/libemotion.la \
201$(top_builddir)/src/lib/eolian/libeolian.la \
202$(top_builddir)/src/lib/eo/libeo.la \
203$(top_builddir)/src/lib/ethumb_client/libethumb_client.la \
204$(top_builddir)/src/lib/ethumb/libethumb.la \
205$(top_builddir)/src/lib/evas/libevas.la
206
207
208AM_LDFLAGS = @ELEMENTARY_LDFLAGS@
209
210if HAVE_ECORE_AUDIO
211LDADD += $(top_builddir)/src/lib/ecore_audio/libecore_audio.la
212endif
213
214if HAVE_EPHYSICS
215LDADD += $(top_builddir)/src/lib/ephysics/libephysics.la
216endif
217
218if HAVE_ECORE_WL2
219LDADD += \
220$(top_builddir)/src/lib/ecore_wl2/libecore_wl2.la \
221$(top_builddir)/src/lib/efl_wl/libefl_wl.la
222endif
223
224if HAVE_EEZE
225LDADD += $(top_builddir)/src/lib/eeze/libeeze.la
226endif
227
228if HAVE_ELPUT
229LDADD += $(top_builddir)/src/lib/elput/libelput.la
230endif
231
232if HAVE_ELUA
233LDADD += $(top_builddir)/src/lib/elua/libelua.la
234endif
235
236if HAVE_ECORE_X
237LDADD += $(top_builddir)/src/lib/ecore_x/libecore_x.la
238endif
239
240include ecore_avahi.mk
241include ecore.mk
242include edje.mk
243include eet.mk
244include efl_mono.mk
245include eina_cxx.mk
246include eina.mk
247include eio.mk
248include eldbus.mk
249include elementary.mk
250include elocation.mk
251include emile.mk
252include emotion.mk
253include eolian_cxx.mk
254include ephysics.mk
255include ethumb_client.mk
256include evas.mk
257
258$(top_builddir)/src/bin/edje_cc$(EXEEXT):
259 @test -f $(top_builddir)/src/bin/edje_cc$(EXEEXT) || $(MAKE) $(AM_MAKEFLAGS) -C ../ bin/edje_cc$(EXEEXT)
260
261# this is a bit hacky
262# currently all options from all directories are passed to all edje_cc cmds
263# so if there are any files with the same name in different dirs it will fail
264.edc.edj: $(top_builddir)/src/bin/edje_cc$(EXEEXT)
265 $(AM_V_EDJ)$(EDJE_CC) $(EDJE_CC_FLAGS) $< $(builddir)/$@
266
267EXTRA_DIST += $(EDCS) $(DATA_FILES)
268EDJS = $(EDCS:%.edc=%.edj)
269
270examples: $(EXTRA_PROGRAMS) $(EDJS)
271
272clean-local: $(CLEAN_EXAMPLES)
273 rm -f $(EXTRA_PROGRAMS) $(EDJS)
274
275install-examples: $(INSTALL_EXAMPLES)
276uninstall-local: $(UNINSTALL_EXAMPLES)
277.PHONY: $(PHONIES)
278
279EXTRA_DIST += $(EDCS) $(DATA_FILES)
280
281if ALWAYS_BUILD_EXAMPLES
282noinst_PROGRAMS = $(EXTRA_PROGRAMS)
283nodist_pkgdata_DATA = $(EDJS)
284else
285endif
286
287check: ;
diff --git a/src/examples/ecore/Makefile.examples b/src/examples/ecore/Makefile.examples
deleted file mode 100644
index 63e5f6b796..0000000000
--- a/src/examples/ecore/Makefile.examples
+++ /dev/null
@@ -1,60 +0,0 @@
1CC=gcc
2
3if HAVE_GSTREAMER_1
4 GSTREAMER_DEP="gstreamer-1.0"
5else
6 GSTREAMER_DEP="gstreamer-0.10"
7endif
8
9COMMON_FLAGS=`pkg-config --libs --cflags eina,ecore,evas,ecore-evas,ecore-audio,ecore-con,ecore-file, \
10 eo,evas-software-buffer,gnutls,ecore-imf,ecore-imf-evas,$(GSTREAMER_DEP)` -lm
11
12EXAMPLES= ecore_animator_example \
13 ecore_audio_custom \
14 ecore_audio_playback \
15 ecore_audio_to_ogg \
16 ecore_client_bench \
17 ecore_con_client_example \
18 ecore_con_client_simple_example \
19 ecore_con_lookup_example \
20 ecore_con_server_example \
21 ecore_con_server_http_example \
22 ecore_con_server_simple_example \
23 ecore_con_url_cookies_example \
24 ecore_con_url_download_example \
25 ecore_con_url_headers_example \
26 ecore_evas_basics_example \
27 ecore_evas_buffer_example_01 \
28 ecore_evas_buffer_example_02 \
29 ecore_evas_callbacks \
30 ecore_evas_ews_example \
31 ecore_evas_object_example \
32 ecore_evas_window_sizes_example \
33 ecore_event_example_01 \
34 ecore_event_example_02 \
35 ecore_exe_example \
36 ecore_exe_example_child \
37 ecore_fd_handler_example \
38 ecore_fd_handler_gnutls_example \
39 ecore_file_download_example \
40 ecore_idler_example \
41 ecore_imf_example \
42 ecore_job_example \
43 ecore_pipe_gstreamer_example \
44 ecore_pipe_simple_example \
45 ecore_poller_example \
46 ecore_server_bench \
47 ecore_thread_example \
48 ecore_time_functions_example \
49 ecore_timer_example \
50 ecore_getopt_example
51
52all: examples
53examples: $(EXAMPLES)
54
55$(EXAMPLES):
56 $(CC) -o $@ $@.c $(COMMON_FLAGS)
57
58clean:
59 @echo "Cleaning up built objects..."
60 @rm -Rf $(EXAMPLES)
diff --git a/src/examples/edje/Makefile.examples b/src/examples/edje/Makefile.examples
deleted file mode 100644
index 8d7349499e..0000000000
--- a/src/examples/edje/Makefile.examples
+++ /dev/null
@@ -1,82 +0,0 @@
1CC=gcc
2EDJE_CC=edje_cc
3EDJE_CODEGEN=edje_codegen
4COMMON_FLAGS=`pkg-config --libs --cflags eina,ecore,evas,ecore-evas,edje`
5
6EDJE_OBJS= animations.edj \
7 animations2.edj \
8 basic.edj \
9 basic2.edj \
10 box.edj \
11 codegen.edj \
12 color-class.edj \
13 drag.edj \
14 edje_example.edj \
15 edje-nested.edj \
16 embryo_custom_state.edj \
17 embryo_pong.edj \
18 embryo_run_program.edj \
19 embryo_set_state.edj \
20 embryo_set_text.edj \
21 embryo_timer.edj \
22 external_elm_anchorblock.edj \
23 external_elm_button.edj \
24 external_elm_check.edj \
25 external_elm_panes.edj \
26 external_emotion_elm.edj \
27 lua_script.edj \
28 messages_echo.edj \
29 multisense.edj \
30 perspective.edj \
31 physics_3d.edj \
32 physics_actions.edj \
33 physics_backcull.edj \
34 physics_basic.edj \
35 physics_complex.edj \
36 physics_soft_bodies.edj \
37 signalsBubble.edj \
38 signals-messages.edj \
39 sigtest.edj \
40 swallow.edj \
41 table.edj \
42 text.edj \
43 toggle_using_filter.edj
44
45EXAMPLES= animations2 \
46 edje-animations \
47 edje-basic \
48 edje-basic2 \
49 edje-box \
50 edje-box2 \
51 edje-color-class \
52 edje-drag \
53 edje_example \
54 edje-multisense \
55 edje-perspective \
56 edje-signals-messages \
57 edje-swallow \
58 edje-swallow2 \
59 edje-table \
60 edje-text \
61 signals2 \
62 sigtest
63
64all: edje examples edje-codegen-example
65edje: $(EDJE_OBJS)
66examples: $(EXAMPLES)
67
68%.edj: %.edc
69 $(EDJE_CC) $<
70
71$(EXAMPLES):
72 $(CC) -o $@ $@.c $(COMMON_FLAGS)
73
74codegen:
75 $(EDJE_CODEGEN) --prefix=codegen_example codegen.edj example_group codegen_example_generated.c codegen_example_generated.h
76
77edje-codegen-example: codegen
78 $(CC) -o edje-codegen-example codegen_example_generated.c edje-codegen-example.c $(COMMON_FLAGS)
79
80clean:
81 @echo "Cleaning up built objects..."
82 @rm -Rf $(EXAMPLES) *.edj edje-codegen-example
diff --git a/src/examples/eet/Makefile.examples b/src/examples/eet/Makefile.examples
deleted file mode 100644
index 6b419cb7ba..0000000000
--- a/src/examples/eet/Makefile.examples
+++ /dev/null
@@ -1,20 +0,0 @@
1CC=gcc
2COMMON_FLAGS=`pkg-config --libs --cflags eina,eet`
3
4EXAMPLES= eet-basic \
5 eet-data-cipher_decipher \
6 eet-data-file_descriptor_01 \
7 eet-data-file_descriptor_02 \
8 eet-data-nested \
9 eet-data-simple \
10 eet-file
11
12all: examples
13examples: $(EXAMPLES)
14
15$(EXAMPLES):
16 $(CC) -o $@ $@.c $(COMMON_FLAGS)
17
18clean:
19 @echo "Cleaning up built objects..."
20 @rm -Rf $(EXAMPLES)
diff --git a/src/examples/eina/Makefile.examples b/src/examples/eina/Makefile.examples
deleted file mode 100644
index e6614de053..0000000000
--- a/src/examples/eina/Makefile.examples
+++ /dev/null
@@ -1,52 +0,0 @@
1CC=gcc
2COMMON_FLAGS=`pkg-config --libs --cflags eina,ecore,evas,ecore-evas`
3
4EXAMPLES= eina_accessor_01 \
5 eina_array_01 \
6 eina_array_02 \
7 eina_error_01 \
8 eina_file_01 \
9 eina_file_02 \
10 eina_hash_01 \
11 eina_hash_02 \
12 eina_hash_03 \
13 eina_hash_04 \
14 eina_hash_05 \
15 eina_hash_06 \
16 eina_hash_07 \
17 eina_hash_08 \
18 eina_inarray_01 \
19 eina_inarray_02 \
20 eina_inarray_03 \
21 eina_inlist_01 \
22 eina_inlist_02 \
23 eina_inlist_03 \
24 eina_iterator_01 \
25 eina_list_01 \
26 eina_list_02 \
27 eina_list_03 \
28 eina_list_04 \
29 eina_log_01 \
30 eina_log_02 \
31 eina_log_03 \
32 eina_magic_01 \
33 eina_simple_xml_parser_01 \
34 eina_str_01 \
35 eina_strbuf_01 \
36 eina_stringshare_01 \
37 eina_tiler_01 \
38 eina_value_01 \
39 eina_value_02 \
40 eina_value_03 \
41 eina_xattr_01 \
42 eina_xattr_02
43
44all: examples
45examples: $(EXAMPLES)
46
47$(EXAMPLES):
48 $(CC) -o $@ $@.c $(COMMON_FLAGS)
49
50clean:
51 @echo "Cleaning up built objects..."
52 @rm -Rf $(EXAMPLES)
diff --git a/src/examples/eio/Makefile.examples b/src/examples/eio/Makefile.examples
deleted file mode 100644
index 58070a92bd..0000000000
--- a/src/examples/eio/Makefile.examples
+++ /dev/null
@@ -1,15 +0,0 @@
1CC=gcc
2COMMON_FLAGS=`pkg-config --libs --cflags ecore,eio`
3
4EXAMPLES= eio_file_copy \
5 eio_file_ls
6
7all: examples
8examples: $(EXAMPLES)
9
10$(EXAMPLES):
11 $(CC) -o $@ $@.c $(COMMON_FLAGS)
12
13clean:
14 @echo "Cleaning up built objects..."
15 @rm -Rf $(EXAMPLES)
diff --git a/src/examples/eldbus/Makefile.examples b/src/examples/eldbus/Makefile.examples
deleted file mode 100644
index c6d2406288..0000000000
--- a/src/examples/eldbus/Makefile.examples
+++ /dev/null
@@ -1,22 +0,0 @@
1CC=gcc
2COMMON_FLAGS=`pkg-config --libs --cflags eina,ecore,eldbus`
3
4EXAMPLES= banshee client \
5 complex-types \
6 complex-types-client-eina-value \
7 complex-types-server \
8 connman-list-services \
9 ofono-dial \
10 server \
11 simple-signal-emit \
12 connect-address
13
14all: examples
15examples: $(EXAMPLES)
16
17$(EXAMPLES):
18 $(CC) -o $@ $@.c $(COMMON_FLAGS)
19
20clean:
21 @echo "Cleaning up built objects..."
22 @rm -Rf $(EXAMPLES)
diff --git a/src/examples/elocation/Makefile.examples b/src/examples/elocation/Makefile.examples
deleted file mode 100644
index 20ab2b2628..0000000000
--- a/src/examples/elocation/Makefile.examples
+++ /dev/null
@@ -1,14 +0,0 @@
1CC=gcc
2COMMON_FLAGS=`pkg-config --libs --cflags eina,ecore,eldbus,elocation`
3
4EXAMPLES= elocation
5
6all: examples
7examples: $(EXAMPLES)
8
9$(EXAMPLES):
10 $(CC) -o $@ $@.c $(COMMON_FLAGS)
11
12clean:
13 @echo "Cleaning up built objects..."
14 @rm -Rf $(EXAMPLES)
diff --git a/src/examples/emile/Makefile.examples b/src/examples/emile/Makefile.examples
deleted file mode 100644
index 3634a2d2a2..0000000000
--- a/src/examples/emile/Makefile.examples
+++ /dev/null
@@ -1,14 +0,0 @@
1CC=gcc
2COMMON_FLAGS=`pkg-config --libs --cflags eina, emile`
3
4EXAMPLES= emile_base64
5
6all: examples
7examples: $(EXAMPLES)
8
9$(EXAMPLES):
10 $(CC) -o $@ $@.c $(COMMON_FLAGS)
11
12clean:
13 @echo "Cleaning up built objects..."
14 @rm -Rf $(EXAMPLES)
diff --git a/src/examples/emotion/Makefile.examples b/src/examples/emotion/Makefile.examples
deleted file mode 100644
index e97882d850..0000000000
--- a/src/examples/emotion/Makefile.examples
+++ /dev/null
@@ -1,18 +0,0 @@
1CC=gcc
2COMMON_FLAGS=`pkg-config --libs --cflags eina,ecore,evas,ecore-evas,emotion`
3
4EXAMPLES= emotion_basic_example \
5 emotion_border_example \
6 emotion_generic_example \
7 emotion_generic_subtitle_example \
8 emotion_signals_example
9
10all: examples
11examples: $(EXAMPLES)
12
13$(EXAMPLES):
14 $(CC) -o $@ $@.c $(COMMON_FLAGS)
15
16clean:
17 @echo "Cleaning up built objects..."
18 @rm -Rf $(EXAMPLES)
diff --git a/src/examples/eolian_cxx/Makefile.examples b/src/examples/eolian_cxx/Makefile.examples
deleted file mode 100644
index 4ddd64d7e7..0000000000
--- a/src/examples/eolian_cxx/Makefile.examples
+++ /dev/null
@@ -1,47 +0,0 @@
1
2CXX=g++
3CC=gcc
4EOLIAN_GEN=eolian_gen
5EOLIAN_CXX=eolian_cxx
6COMMON_FLAGS=`pkg-config --libs --cflags eina,ecore,evas,ecore-evas,emotion,eolian,eolian-cxx,eo-cxx,eina-cxx` -DEFL_BETA_API_SUPPORT
7EOLIAN_FLAGS=`pkg-config --variable=eolian_flags eo` -I.
8
9EOS = colourable.eo colourablesquare.eo
10
11IMPL = colourable.c colourablesquare.c
12
13GENERATED = \
14 colourable.eo.c \
15 colourable.eo.h \
16 colourable.eo.hh \
17 colourablesquare.eo.c \
18 colourablesquare.eo.h \
19 colourablesquare.eo.hh
20
21EXAMPLES= eolian_cxx_inherit_01 \
22 eolian_cxx_simple_01
23
24OBJS = colourable.o colourablesquare.o
25
26all: $(OBJS) examples
27
28codegen:
29 $(EOLIAN_CXX) $(EOLIAN_FLAGS) -I./colourable.eo -o colourable.eo.hh
30 $(EOLIAN_CXX) $(EOLIAN_FLAGS) -I./colourablesquare.eo -o colourablesquare.eo.hh
31 $(EOLIAN_GEN) $(EOLIAN_FLAGS) -gc -o c:colourable.eo.c colourable.eo
32 $(EOLIAN_GEN) $(EOLIAN_FLAGS) -gc -o c:colourablesquare.eo.c colourablesquare.eo
33 $(EOLIAN_GEN) $(EOLIAN_FLAGS) -gh -o h:colourable.eo.h colourable.eo
34 $(EOLIAN_GEN) $(EOLIAN_FLAGS) -gh -o h:colourablesquare.eo.h colourablesquare.eo
35
36$(OBJS): codegen
37 $(CC) -c colourable.c $(COMMON_FLAGS)
38 $(CC) -c colourablesquare.c $(COMMON_FLAGS)
39
40examples: $(EXAMPLES)
41
42$(EXAMPLES):
43 $(CXX) -o $@ $@.cc $(OBJS) $(COMMON_FLAGS) -std=c++11
44
45clean:
46 @echo "Cleaning up built objects..."
47 @rm -Rf $(EXAMPLES)
diff --git a/src/examples/ethumb_client/Makefile.examples b/src/examples/ethumb_client/Makefile.examples
deleted file mode 100644
index 5d8d7ceb1b..0000000000
--- a/src/examples/ethumb_client/Makefile.examples
+++ /dev/null
@@ -1,14 +0,0 @@
1CC=gcc
2COMMON_FLAGS=`pkg-config --libs --cflags eina,ecore,ethumb,ethumb_client`
3
4EXAMPLES= ethumb_dbus
5
6all: examples
7examples: $(EXAMPLES)
8
9$(EXAMPLES):
10 $(CC) -o $@ $@.c $(COMMON_FLAGS)
11
12clean:
13 @echo "Cleaning up built objects..."
14 @rm -Rf $(EXAMPLES)
diff --git a/src/examples/evas/Makefile.examples b/src/examples/evas/Makefile.examples
deleted file mode 100644
index 7e3f7c2dd3..0000000000
--- a/src/examples/evas/Makefile.examples
+++ /dev/null
@@ -1,43 +0,0 @@
1CC=gcc
2EDJE_CC=edje_cc
3EDJE_CODEGEN=edje_codegen
4COMMON_FLAGS=`pkg-config --libs --cflags eina,ecore,evas,ecore-evas,edje,eo`
5
6EDJE_OBJS= aspect.edj
7
8EXAMPLES= evas-aspect-hints \
9 evas-box \
10 evas-buffer-simple \
11 evas-events \
12 evas-3d-fog \
13 evas-hints \
14 evas-images \
15 evas-images2 \
16 evas-images3 \
17 evas-images4 \
18 evas-images5 \
19 evas-images6 \
20 evas-init-shutdown \
21 evas-map-utils \
22 evas-object-manipulation \
23 evas-object-manipulation-eo \
24 evas-smart-interface \
25 evas-smart-object \
26 evas-stacking \
27 evas-table \
28 evas-text \
29 evas-textblock-obstacles
30
31all: edje examples
32edje: $(EDJE_OBJS)
33examples: $(EXAMPLES)
34
35%.edj: %.edc
36 $(EDJE_CC) $<
37
38$(EXAMPLES):
39 $(CC) -o $@ $@.c $(COMMON_FLAGS)
40
41clean:
42 @echo "Cleaning up built objects..."
43 @rm -Rf $(EXAMPLES) *.edj