summaryrefslogtreecommitdiff
path: root/src/examples/ecore/Makefile.am
blob: 45c6e4dba793fcc1b365d6132155b30bdd029b6a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
MAINTAINERCLEANFILES = Makefile.in

AM_CPPFLAGS = \
-I$(top_srcdir)/src/lib/eina \
-I$(top_srcdir)/src/lib/eo \
-I$(top_srcdir)/src/lib/evas \
-I$(top_srcdir)/src/lib/ecore \
-I$(top_srcdir)/src/lib/ecore_input \
-I$(top_srcdir)/src/lib/ecore_con \
-I$(top_srcdir)/src/lib/ecore_evas \
-I$(top_srcdir)/src/lib/ecore_audio \
-I$(top_builddir)/src/lib/eina \
-I$(top_builddir)/src/lib/eo \
-I$(top_builddir)/src/lib/evas \
-I$(top_builddir)/src/lib/ecore \
-I$(top_builddir)/src/lib/ecore_input \
-I$(top_builddir)/src/lib/ecore_con \
-I$(top_builddir)/src/lib/ecore_evas \
-I$(top_builddir)/src/lib/ecore_audio \
-DPACKAGE_EXAMPLES_DIR=\".\" \
@ECORE_CFLAGS@

EXTRA_PROGRAMS = \
ecore_animator_example \
ecore_client_bench \
ecore_con_client_example \
ecore_con_client_simple_example \
ecore_con_lookup_example \
ecore_con_server_example \
ecore_con_server_http_example \
ecore_con_server_simple_example \
ecore_con_url_cookies_example \
ecore_con_url_download_example \
ecore_con_url_headers_example \
ecore_evas_basics_example \
ecore_evas_buffer_example_01 \
ecore_evas_buffer_example_02 \
ecore_evas_callbacks \
ecore_evas_ews_example \
ecore_evas_object_example \
ecore_evas_window_sizes_example \
ecore_event_example_01 \
ecore_event_example_02 \
ecore_exe_example \
ecore_exe_example_child \
ecore_fd_handler_example \
ecore_fd_handler_gnutls_example \
ecore_file_download_example \
ecore_idler_example \
ecore_imf_example \
ecore_job_example \
ecore_pipe_gstreamer_example \
ecore_pipe_simple_example \
ecore_poller_example \
ecore_server_bench \
ecore_thread_example \
ecore_time_functions_example \
ecore_timer_example

ECORE_COMMON_LDADD = \
$(top_builddir)/src/lib/ecore/libecore.la \
$(top_builddir)/src/lib/eo/libeo.la \
$(top_builddir)/src/lib/eina/libeina.la \
@ECORE_LDFLAGS@

if HAVE_ECORE_AUDIO
EXTRA_PROGRAMS += \
ecore_audio_custom \
ecore_audio_playback \
ecore_audio_to_ogg

ECORE_AUDIO_COMMON_LDADD = \
$(top_builddir)/src/lib/ecore_audio/libecore_audio.la \
$(ECORE_COMMON_LDADD)

ecore_audio_custom_SOURCES = ecore_audio_custom.c
ecore_audio_custom_LDADD = $(ECORE_AUDIO_COMMON_LDADD)

ecore_audio_playback_SOURCES = ecore_audio_playback.c
ecore_audio_playback_LDADD = $(ECORE_AUDIO_COMMON_LDADD)

ecore_audio_to_ogg_SOURCES = ecore_audio_to_ogg.c
ecore_audio_to_ogg_LDADD = $(ECORE_AUDIO_COMMON_LDADD)
endif

ECORE_EVAS_COMMON_LDADD = \
$(top_builddir)/src/lib/ecore_evas/libecore_evas.la \
$(top_builddir)/src/lib/evas/libevas.la \
$(ECORE_COMMON_LDADD)

ECORE_CON_COMMON_LDADD = \
$(top_builddir)/src/lib/ecore_con/libecore_con.la \
$(ECORE_COMMON_LDADD)

ecore_animator_example_SOURCES = ecore_animator_example.c
ecore_animator_example_LDADD = $(ECORE_EVAS_COMMON_LDADD)

ecore_client_bench_SOURCES = ecore_client_bench.c
ecore_client_bench_LDADD = $(ECORE_CON_COMMON_LDADD)

ecore_con_client_example_SOURCES = ecore_con_client_example.c
ecore_con_client_example_LDADD = $(ECORE_CON_COMMON_LDADD)

ecore_con_client_simple_example_SOURCES = ecore_con_client_simple_example.c
ecore_con_client_simple_example_LDADD = $(ECORE_CON_COMMON_LDADD)

ecore_con_lookup_example_SOURCES = ecore_con_lookup_example.c
ecore_con_lookup_example_LDADD = $(ECORE_CON_COMMON_LDADD)

ecore_con_server_example_SOURCES = ecore_con_server_example.c
ecore_con_server_example_LDADD = $(ECORE_CON_COMMON_LDADD)

ecore_con_server_http_example_SOURCES = ecore_con_server_http_example.c
ecore_con_server_http_example_LDADD = $(ECORE_CON_COMMON_LDADD)

ecore_con_server_simple_example_SOURCES = ecore_con_server_simple_example.c
ecore_con_server_simple_example_LDADD = $(ECORE_CON_COMMON_LDADD)

ecore_con_url_cookies_example_SOURCES = ecore_con_url_cookies_example.c
ecore_con_url_cookies_example_LDADD = $(ECORE_CON_COMMON_LDADD)

ecore_con_url_download_example_SOURCES = ecore_con_url_download_example.c
ecore_con_url_download_example_LDADD = $(ECORE_CON_COMMON_LDADD)

ecore_con_url_headers_example_SOURCES = ecore_con_url_headers_example.c
ecore_con_url_headers_example_LDADD = $(ECORE_CON_COMMON_LDADD)

ecore_evas_basics_example_SOURCES = ecore_evas_basics_example.c
ecore_evas_basics_example_LDADD = $(ECORE_EVAS_COMMON_LDADD)

ecore_evas_buffer_example_01_SOURCES = ecore_evas_buffer_example_01.c
ecore_evas_buffer_example_01_LDADD = $(ECORE_EVAS_COMMON_LDADD)

ecore_evas_buffer_example_02_SOURCES = ecore_evas_buffer_example_02.c
ecore_evas_buffer_example_02_LDADD = $(ECORE_EVAS_COMMON_LDADD)

ecore_evas_callbacks_SOURCES = ecore_evas_callbacks.c
ecore_evas_callbacks_LDADD = $(ECORE_EVAS_COMMON_LDADD)

ecore_evas_ews_example_SOURCES = ecore_evas_ews_example.c
ecore_evas_ews_example_LDADD = $(ECORE_EVAS_COMMON_LDADD)

ecore_evas_object_example_SOURCES = ecore_evas_object_example.c
ecore_evas_object_example_LDADD = $(ECORE_EVAS_COMMON_LDADD)

ecore_evas_window_sizes_example_SOURCES = ecore_evas_window_sizes_example.c
ecore_evas_window_sizes_example_LDADD = $(ECORE_EVAS_COMMON_LDADD)

ecore_event_example_01_SOURCES = ecore_event_example_01.c
ecore_event_example_01_LDADD = $(ECORE_COMMON_LDADD)

ecore_event_example_02_SOURCES = ecore_event_example_02.c
ecore_event_example_02_LDADD = $(ECORE_COMMON_LDADD)

ecore_exe_example_SOURCES = ecore_exe_example.c
ecore_exe_example_LDADD = $(ECORE_COMMON_LDADD)

ecore_exe_example_child_SOURCES = ecore_exe_example_child.c
ecore_exe_example_child_LDADD = $(ECORE_COMMON_LDADD)

ecore_fd_handler_example_SOURCES = ecore_fd_handler_example.c
ecore_fd_handler_example_LDADD = $(ECORE_COMMON_LDADD)

ecore_fd_handler_gnutls_example_SOURCES = ecore_fd_handler_gnutls_example.c
ecore_fd_handler_gnutls_example_LDADD = $(ECORE_COMMON_LDADD)

ecore_file_download_example_SOURCES = ecore_file_download_example.c
ecore_file_download_example_LDADD = $(ECORE_COMMON_LDADD)

ecore_idler_example_SOURCES = ecore_idler_example.c
ecore_idler_example_LDADD = $(ECORE_COMMON_LDADD)

ecore_imf_example_SOURCES = ecore_imf_example.c
ecore_imf_example_LDADD = $(ECORE_COMMON_LDADD)

ecore_job_example_SOURCES = ecore_job_example.c
ecore_job_example_LDADD = $(ECORE_COMMON_LDADD)

ecore_pipe_gstreamer_example_SOURCES = ecore_pipe_gstreamer_example.c
ecore_pipe_gstreamer_example_LDADD = $(ECORE_COMMON_LDADD)

ecore_pipe_simple_example_SOURCES = ecore_pipe_simple_example.c
ecore_pipe_simple_example_LDADD = $(ECORE_COMMON_LDADD)

ecore_poller_example_SOURCES = ecore_poller_example.c
ecore_poller_example_LDADD = $(ECORE_COMMON_LDADD)

ecore_server_bench_SOURCES = ecore_server_bench.c
ecore_server_bench_LDADD = $(ECORE_CON_COMMON_LDADD)

ecore_thread_example_SOURCES = ecore_thread_example.c
ecore_thread_example_LDADD = $(ECORE_COMMON_LDADD)

ecore_time_functions_example_SOURCES = ecore_time_functions_example.c
ecore_time_functions_example_LDADD = $(ECORE_COMMON_LDADD)

ecore_timer_example_SOURCES = ecore_timer_example.c
ecore_timer_example_LDADD = $(ECORE_COMMON_LDADD)

SRCS = \
ecore_animator_example.c \
ecore_audio_custom.c \
ecore_audio_playback.c \
ecore_audio_to_ogg.c \
ecore_client_bench.c \
ecore_con_client_example.c \
ecore_con_client_simple_example.c \
ecore_con_lookup_example.c \
ecore_con_server_example.c \
ecore_con_server_http_example.c \
ecore_con_server_simple_example.c \
ecore_con_url_cookies_example.c \
ecore_con_url_download_example.c \
ecore_con_url_headers_example.c \
ecore_evas_basics_example.c \
ecore_evas_buffer_example_01.c \
ecore_evas_buffer_example_02.c \
ecore_evas_callbacks.c \
ecore_evas_ews_example.c \
ecore_evas_object_example.c \
ecore_evas_window_sizes_example.c \
ecore_event_example_01.c \
ecore_event_example_02.c \
ecore_exe_example.c \
ecore_exe_example_child.c \
ecore_fd_handler_example.c \
ecore_fd_handler_gnutls_example.c \
ecore_file_download_example.c \
ecore_idler_example.c \
ecore_imf_example.c \
ecore_job_example.c \
ecore_pipe_gstreamer_example.c \
ecore_pipe_simple_example.c \
ecore_poller_example.c \
ecore_server_bench.c \
ecore_thread_example.c \
ecore_time_functions_example.c \
ecore_timer_example.c

DATA_FILES = red.png

EXTRA_DIST = $(DATA_FILES)

examples: $(EXTRA_PROGRAMS)

clean-local:
	rm -f $(EXTRA_PROGRAMS)

install-examples:
	mkdir -p $(datadir)/ecore/examples
	$(install_sh_DATA) -c $(SRCS) $(DATA_FILES) $(datadir)/ecore/examples

uninstall-local:
	for f in $(SRCS) $(DATA_FILES); do \
	  rm -f $(datadir)/ecore/examples/$$f ; \
	done