aboutsummaryrefslogtreecommitdiffstats
path: root/src/examples/evas.mk
blob: fa6a693a982d5c4dfc98deab366af9eeb09678e0 (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
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
EVAS_EDCS = evas/aspect.edc

EVAS_BUFFER_COMMON_CPPFLAGS = \
$(AM_CPPFLAGS) \
-I$(top_srcdir)/src/modules/evas/engines/buffer

EXTRA_PROGRAMS += evas/evas_buffer_simple
evas_evas_buffer_simple_SOURCES = evas/evas-buffer-simple.c
evas_evas_buffer_simple_CPPFLAGS = $(EVAS_BUFFER_COMMON_CPPFLAGS)

EXTRA_PROGRAMS += evas/evas_init_shutdown
evas_evas_init_shutdown_SOURCES = evas/evas-init-shutdown.c

ECORE_EVAS_COMMON_CPPFLAGS = \
$(AM_CPPFLAGS) \
-DPACKAGE_EXAMPLES_DIR=\"$(top_srcdir)/src/examples/evas\"

EXTRA_PROGRAMS += evas/evas_images
evas_evas_images_SOURCES = evas/evas-images.c
evas_evas_images_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)

EXTRA_PROGRAMS += evas/evas_events
evas_evas_events_SOURCES = evas/evas-events.c
evas_evas_events_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)

EXTRA_PROGRAMS += evas/evas_event_filter
evas_evas_event_filter_SOURCES = evas/evas-event-filter.c
evas_evas_event_filter_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)

EXTRA_PROGRAMS += evas/evas_multiseat_events
evas_evas_multiseat_events_SOURCES = evas/evas-multiseat-events.c
evas_evas_multiseat_events_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)

EXTRA_PROGRAMS += evas/evas_object_manipulation
evas_evas_object_manipulation_SOURCES = evas/evas-object-manipulation.c
evas_evas_object_manipulation_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)

EXTRA_PROGRAMS += evas/evas_object_manipulation-eo
evas_evas_object_manipulation_eo_SOURCES = evas/evas-object-manipulation-eo.c
evas_evas_object_manipulation_eo_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)

EXTRA_PROGRAMS += evas/evas_hints
evas_evas_hints_SOURCES = evas/evas-hints.c
evas_evas_hints_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)

EXTRA_PROGRAMS += evas/evas_stacking
evas_evas_stacking_SOURCES = evas/evas-stacking.c
evas_evas_stacking_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)

EXTRA_PROGRAMS += evas/evas_images2
evas_evas_images2_SOURCES = evas/evas-images2.c
evas_evas_images2_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)

EXTRA_PROGRAMS += evas/evas_images3
evas_evas_images3_SOURCES = evas/evas-images3.c
evas_evas_images3_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)

EXTRA_PROGRAMS += evas/evas_images4
evas_evas_images4_SOURCES = evas/evas-images4.c
evas_evas_images4_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)

EXTRA_PROGRAMS += evas/evas_images5
evas_evas_images5_SOURCES = evas/evas-images5.c
evas_evas_images5_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)

EXTRA_PROGRAMS += evas/evas_text
evas_evas_text_SOURCES = evas/evas-text.c
evas_evas_text_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)

EXTRA_PROGRAMS += evas/evas_textblock_obstacles
evas_evas_textblock_obstacles_SOURCES = evas/evas-textblock-obstacles.c
evas_evas_textblock_obstacles_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)

EXTRA_PROGRAMS += evas/evas_smart_object
evas_evas_smart_object_SOURCES = evas/evas-smart-object.c
evas_evas_smart_object_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)

EXTRA_PROGRAMS += evas/evas_smart_interface
evas_evas_smart_interface_SOURCES = evas/evas-smart-interface.c
evas_evas_smart_interface_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)

EXTRA_PROGRAMS += evas/evas_box
evas_evas_box_SOURCES = evas/evas-box.c
evas_evas_box_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)

EXTRA_PROGRAMS += evas/evas_map_utils
evas_evas_map_utils_SOURCES = evas/evas-map-utils.c
evas_evas_map_utils_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)

EXTRA_PROGRAMS += evas/evas_map_aa
evas_evas_map_aa_SOURCES = evas/evas-map-aa.c
evas_evas_map_aa_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)

EXTRA_PROGRAMS += evas/evas_map_utils_eo
evas_evas_map_utils_eo_SOURCES = evas/evas-map-utils-eo.c
evas_evas_map_utils_eo_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)

EXTRA_PROGRAMS += evas/evas_map_aa_eo
evas_evas_map_aa_eo_SOURCES = evas/evas-map-aa-eo.c
evas_evas_map_aa_eo_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)

EXTRA_PROGRAMS += evas/evas_table
evas_evas_table_SOURCES = evas/evas-table.c
evas_evas_table_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)

EXTRA_PROGRAMS += evas/evas_transparent
evas_evas_transparent_SOURCES = evas/evas-transparent.c
evas_evas_transparent_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)

EXTRA_PROGRAMS += evas/evas_multi_touch
evas_evas_multi_touch_SOURCES = evas/evas-multi-touch.c
evas_evas_multi_touch_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)

EXTRA_PROGRAMS += evas/evas_canvas3d_cube
evas_evas_canvas3d_cube_SOURCES = evas/evas-3d-cube.c
evas_evas_canvas3d_cube_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)

EXTRA_PROGRAMS += evas/evas_canvas3d_cube2
evas_evas_canvas3d_cube2_SOURCES = evas/evas-3d-cube2.c
evas_evas_canvas3d_cube2_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)

EXTRA_PROGRAMS += evas/evas_canvas3d_proxy
evas_evas_canvas3d_proxy_SOURCES = evas/evas-3d-proxy.c
evas_evas_canvas3d_proxy_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)

EXTRA_PROGRAMS += evas/evas_canvas3d_pick
evas_evas_canvas3d_pick_SOURCES = evas/evas-3d-pick.c
evas_evas_canvas3d_pick_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)

EXTRA_PROGRAMS += evas/evas_canvas3d_md2
evas_evas_canvas3d_md2_SOURCES = evas/evas-3d-md2.c
evas_evas_canvas3d_md2_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)

EXTRA_PROGRAMS += evas/evas_canvas3d_eet
evas_evas_canvas3d_eet_SOURCES = evas/evas-3d-eet.c
evas_evas_canvas3d_eet_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)

EXTRA_PROGRAMS += evas/evas_canvas3d_ply
evas_evas_canvas3d_ply_SOURCES = evas/evas-3d-ply.c
evas_evas_canvas3d_ply_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)

EXTRA_PROGRAMS += evas/evas_canvas3d_hull
evas_evas_canvas3d_hull_SOURCES = evas/evas-3d-hull.c
evas_evas_canvas3d_hull_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)

EXTRA_PROGRAMS += evas/evas_canvas3d_fog
evas_evas_canvas3d_fog_SOURCES = evas/evas-3d-fog.c
evas_evas_canvas3d_fog_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)

EXTRA_PROGRAMS += evas/evas_canvas3d_frustum
evas_evas_canvas3d_frustum_SOURCES = evas/evas-3d-frustum.c
evas_evas_canvas3d_frustum_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)

EXTRA_PROGRAMS += evas/evas_canvas3d_aabb
evas_evas_canvas3d_aabb_SOURCES = evas/evas-3d-aabb.c
evas_evas_canvas3d_aabb_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)

EXTRA_PROGRAMS += evas/evas_canvas3d_cube_rotate
evas_evas_canvas3d_cube_rotate_SOURCES = evas/evas-3d-cube-rotate.c
evas_evas_canvas3d_cube_rotate_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)

EXTRA_PROGRAMS += evas/evas_canvas3d_shadows
evas_evas_canvas3d_shadows_SOURCES = evas/evas-3d-shadows.c
evas_evas_canvas3d_shadows_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)

EXTRA_PROGRAMS += evas/evas_canvas3d_shooter
evas_evas_canvas3d_shooter_SOURCES = evas/shooter/evas-3d-shooter.c \
evas/shooter/evas-3d-shooter-header.c \
evas/shooter/evas-3d-shooter-header.h \
evas/shooter/evas-3d-shooter-macros.h
evas_evas_canvas3d_shooter_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)

EXTRA_PROGRAMS += evas/evas_canvas3d_obj
evas_evas_canvas3d_obj_SOURCES = evas/evas-3d-obj.c
evas_evas_canvas3d_obj_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)

EXTRA_PROGRAMS += evas/evas_canvas3d_blending
evas_evas_canvas3d_blending_SOURCES = evas/evas-3d-blending.c
evas_evas_canvas3d_blending_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)

EXTRA_PROGRAMS += evas/evas_canvas3d_mmap
evas_evas_canvas3d_mmap_SOURCES = evas/evas-3d-mmap-set.c
evas_evas_canvas3d_mmap_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)

EXTRA_PROGRAMS += evas/evas_canvas3d_colorpick
evas_evas_canvas3d_colorpick_SOURCES = evas/evas-3d-colorpick.c
evas_evas_canvas3d_colorpick_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)

EXTRA_PROGRAMS += evas/evas_canvas3d_parallax_occlusion
evas_evas_canvas3d_parallax_occlusion_SOURCES = evas/evas-3d-parallax-occlusion.c
evas_evas_canvas3d_parallax_occlusion_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)

EXTRA_PROGRAMS += evas/evas_canvas3d_static_lod
evas_evas_canvas3d_static_lod_SOURCES = evas/evas-3d-static-lod.c
evas_evas_canvas3d_static_lod_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)

EXTRA_PROGRAMS += evas/evas_gl
evas_evas_gl_SOURCES = evas/evas-gl.c
evas_evas_gl_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)

EXTRA_PROGRAMS += evas/evas_vg_simple
evas_evas_vg_simple_SOURCES = evas/evas-vg-simple.c
evas_evas_vg_simple_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)

EXTRA_PROGRAMS += evas/evas_vg_batman
evas_evas_vg_batman_SOURCES = evas/evas-vg-batman.c
evas_evas_vg_batman_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)

EXTRA_PROGRAMS += evas/evas_vg_json
evas_evas_vg_json_SOURCES = evas/evas-vg-json.c
evas_evas_vg_json_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)

EXTRA_PROGRAMS += evas/evas_aspect_hints
evas_evas_aspect_hints_DEPS = $(srcdir)/aspect.edc
evas_evas_aspect_hints_SOURCES = evas/evas-aspect-hints.c
evas_evas_aspect_hints_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)

if HAVE_CXX

EXTRA_PROGRAMS += evas/evas_cxx_rectangle
evas_evas_cxx_rectangle_SOURCES = evas/evas_cxx_rectangle.cc
evas_evas_cxx_rectangle_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS) @EINA_CXX_CFLAGS@ @EO_CXX_CFLAGS@ @EVAS_CXX_CFLAGS@ \
-I$(top_builddir)/src/lib/evas/canvas/ \
$(AM_CPPFLAGS) @EVAS_CFLAGS@

endif

EVAS_SRCS = \
evas/evas-aspect-hints.c \
evas/evas-box.c \
evas/evas-buffer-simple.c \
evas/evas-events.c \
evas/evas-event-filter.c \
evas/evas-hints.c \
evas/evas-images.c \
evas/evas-images2.c \
evas/evas-images3.c \
evas/evas-images4.c \
evas/evas-images5.c \
evas/evas-init-shutdown.c \
evas/evas-map-utils.c \
evas/evas-map-aa.c \
evas/evas-object-manipulation-eo.c \
evas/evas-object-manipulation.c \
evas/evas-smart-interface.c \
evas/evas-smart-object.c \
evas/evas-stacking.c \
evas/evas-table.c \
evas/evas-multi-touch.c \
evas/evas-text.c \
evas/evas-vg-simple.c \
evas/evas-vg-batman.c

EVAS_DATA_FILES = \
evas/resources/images/enlightenment.png \
evas/resources/images/red.png \
evas/resources/images/im1.png \
evas/resources/images/cube1.png \
evas/resources/images/normal_lego.png \
evas/resources/images/sonic.png \
evas/resources/images/sweet_home_reversed.png \
evas/resources/images/wood.jpg \
evas/resources/images/rocks.jpg \
evas/resources/images/four_NM_height.tga \
evas/resources/images/rocks_NM_height.tga \
evas/resources/images/star.jpg \
evas/resources/images/grid.png \
evas/resources/images/grid_n.png \
evas/resources/images/billboard.png \
evas/resources/models/mesh_for_mmap.eet \
evas/resources/models/mesh_for_mmap.md2 \
evas/resources/models/mesh_for_mmap.obj \
evas/resources/models/mesh_for_mmap.ply \
evas/resources/models/Normal_UVs_Colors.ply \
evas/resources/models/Normal_UVs_NoColors.ply \
evas/resources/models/Normal_NoUVs_Colors.ply \
evas/resources/models/Normal_NoUVs_NoColors.ply \
evas/resources/models/NoNormal_UVs_Colors.ply \
evas/resources/models/NoNormal_UVs_NoColors.ply \
evas/resources/models/NoNormal_NoUVs_Colors.ply \
evas/resources/models/NoNormal_NoUVs_NoColors.ply \
evas/resources/models/sonic.md2 \
evas/resources/models/sweet_home.obj \
evas/resources/models/sweet_home_only_vertex_coords.obj \
evas/resources/models/sweet_home_without_normals.obj \
evas/resources/models/sweet_home_without_tex_coords.obj \
evas/resources/models/lod/iso_sphere0.obj \
evas/resources/models/lod/iso_sphere1.obj \
evas/resources/models/lod/iso_sphere2.obj \
evas/resources/models/convex_hull/column_blender_ch.ply \
evas/resources/models/convex_hull/column_blender_ch_test.ply \
evas/resources/models/convex_hull/column.ply \
evas/resources/models/convex_hull/cube_blender_ch.ply \
evas/resources/models/convex_hull/cube_blender_ch_test.ply \
evas/resources/models/convex_hull/eagle_blender_ch.ply \
evas/resources/models/convex_hull/eagle_blender_ch_test.ply \
evas/resources/models/convex_hull/home_blender_ch.obj \
evas/resources/models/convex_hull/home_blender_ch_test.ply \
evas/resources/models/convex_hull/plain.ply \
evas/resources/models/convex_hull/plain_blender_ch.ply \
evas/resources/models/convex_hull/plain_blender_ch_test.ply \
evas/resources/models/convex_hull/sonic_blender_ch.ply \
evas/resources/models/convex_hull/sonic_blender_ch_test.ply \
evas/resources/models/convex_hull/sphere_blender_ch.ply \
evas/resources/models/convex_hull/sphere_blender_ch_test.ply \
evas/resources/models/convex_hull/torus_blender_ch.ply \
evas/resources/models/convex_hull/torus_blender_ch_test.ply \
evas/shooter/assets/images/brick-stone_n.jpg \
evas/shooter/assets/images/brick-stone.jpg \
evas/shooter/assets/images/bricks_n.jpg \
evas/shooter/assets/images/eagle.png \
evas/shooter/assets/images/snake.png \
evas/shooter/assets/images/snake_n.png \
evas/shooter/assets/images/bricks.jpg \
evas/shooter/assets/images/soldier.png \
evas/shooter/assets/images/gazebo.png \
evas/shooter/assets/images/warrior.png \
evas/shooter/assets/images/gazebo_t.png \
evas/shooter/assets/images/gazebo_t_t.png \
evas/shooter/assets/images/gazebo_t_n.png \
evas/shooter/assets/images/gazebo_b_n.png \
evas/shooter/assets/models/warrior.md2 \
evas/shooter/assets/models/gazebo_b.md2 \
evas/shooter/assets/models/gazebo_t.md2 \
evas/shooter/assets/models/eagle.md2 \
evas/shooter/assets/models/snake.md2 \
evas/shooter/assets/models/soldier_jump.md2 \
evas/shooter/assets/models/soldier.md2 \
evas/shooter/assets/models/tommy.ply \
evas/filters/filter_blend.lua \
evas/filters/filter_blur.lua \
evas/filters/filter_bump.lua \
evas/filters/filter_curve.lua \
evas/filters/filter_example_1.lua \
evas/filters/filter_grow.lua \
evas/filters/filter_mask.lua \
evas/filters/filter_padding.lua \
evas/filters/filter_transform.lua \
evas/Makefile.examples \
evas/README \
evas/evas-common.h

DATA_FILES += $(EVAS_DATA_FILES)
EVAS_EDJS = $(EVAS_EDCS:%.edc=%.edj)
EDCS += $(EVAS_EDCS)

install-examples-evas: examples
	$(MKDIR_P) $(DESTDIR)$(datadir)/evas/examples
	cd $(srcdir) && $(install_sh_DATA) -c $(EVAS_SRCS) $(EVAS_EDCS) $(EVAS_DATA_FILES) $(DESTDIR)$(datadir)/evas/examples
	cd $(builddir) && $(install_sh_DATA) -c $(EVAS_EDJS) $(DESTDIR)$(datadir)/evas/examples

uninstall-local-evas:
	for f in $(EVAS_SRCS) $(EVAS_EDCS) $(EVAS_DATA_FILES); do \
	  rm -f $(DESTDIR)$(datadir)/evas/examples/$$f ; \
	done

INSTALL_EXAMPLES += install-examples-evas
UNINSTALL_EXAMPLES += uninstall-local-evas