Added ItemView demo
[platform/core/uifw/dali-demo.git] / build / tizen / examples / Makefile.am
1 #
2 # Copyright (c) 2014 Samsung Electronics Co., Ltd.
3 #
4 # Licensed under the Flora License, Version 1.0 (the License);
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #     http://floralicense.org/license/
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an AS IS BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15 #
16
17 examples_src_dir = ../../../examples
18
19 bin_PROGRAMS = \
20                blocks.example \
21                bubble-effect.example \
22                cluster.example \
23                cube-transition-effect.example \
24                dissolve-effect.example \
25                hello-world.example \
26                item-view.example \
27                magnifier.example \
28                motion-blur.example \
29                motion-stretch.example \
30                page-turn-view.example \
31                shadow-bone-lighting.example
32
33 daliimagedir = $(appdatadir)/images/
34 dalimodeldir = $(appdatadir)/models/
35
36 BASE_CXXFLAGS = -I../../../examples \
37                    -DDALI_IMAGE_DIR="\"${daliimagedir}\"" \
38                    -DDALI_MODEL_DIR="\"${dalimodeldir}\"" \
39                    $(DALIDEMO_CFLAGS) \
40                    $(ECORE_X_CFLAGS) \
41                    $(CAPI_MEDIA_PLAYER_CFLAGS) \
42                    $(CAPI_APPFW_APPLICATION_CFLAGS) \
43                    -I/usr/include/media \
44                    -Werror -Wall
45
46 EXAMPLE_CXXFLAGS      = $(DALI_CFLAGS) \
47                         $(DALI_TOOLKIT_CFLAGS) \
48                         $(BASE_CXXFLAGS)
49
50
51 EXAMPLE_DEPS =
52
53 EXAMPLE_LDADD = $(DALI_LIBS) $(DALI_TOOLKIT_LIBS) $(ECORE_X_LIBS) $(CAPI_MEDIA_PLAYER_LIBS) $(CAPI_APPFW_APPLICATION_LIBS) -lrt
54
55
56 blocks_example_SOURCES = $(examples_src_dir)/blocks/blocks-example.cpp
57 blocks_example_CXXFLAGS = $(EXAMPLE_CXXFLAGS)
58 blocks_example_DEPENDENCIES = $(EXAMPLE_DEPS)
59 blocks_example_LDADD = $(EXAMPLE_LDADD)
60
61 bubble_effect_example_SOURCES = $(examples_src_dir)/shader-effect/bubble-effect-example.cpp
62 bubble_effect_example_CXXFLAGS = $(EXAMPLE_CXXFLAGS)
63 bubble_effect_example_DEPENDENCIES = $(EXAMPLE_DEPS)
64 bubble_effect_example_LDADD = $(EXAMPLE_LDADD)
65
66 cluster_example_SOURCES = $(examples_src_dir)/cluster/cluster-example.cpp
67 cluster_example_CXXFLAGS = $(EXAMPLE_CXXFLAGS)
68 cluster_example_DEPENDENCIES = $(EXAMPLE_DEPS)
69 cluster_example_LDADD = $(EXAMPLE_LDADD)
70
71 cube_transition_effect_example_SOURCES = $(examples_src_dir)/transition/cube-transition-effect-example.cpp
72 cube_transition_effect_example_CXXFLAGS = $(EXAMPLE_CXXFLAGS)
73 cube_transition_effect_example_DEPENDENCIES = $(EXAMPLE_DEPS)
74 cube_transition_effect_example_LDADD = $(EXAMPLE_LDADD)
75
76 dissolve_effect_example_SOURCES = $(examples_src_dir)/shader-effect/dissolve-effect-example.cpp
77 dissolve_effect_example_CXXFLAGS = $(EXAMPLE_CXXFLAGS)
78 dissolve_effect_example_DEPENDENCIES = $(EXAMPLE_DEPS)
79 dissolve_effect_example_LDADD = $(EXAMPLE_LDADD)
80
81 hello_world_example_SOURCES = $(examples_src_dir)/hello-world/hello-world-example.cpp
82 hello_world_example_CXXFLAGS = $(EXAMPLE_CXXFLAGS)
83 hello_world_example_DEPENDENCIES = $(EXAMPLE_DEPS)
84 hello_world_example_LDADD = $(EXAMPLE_LDADD)
85
86 item_view_example_SOURCES = $(examples_src_dir)/item-view/item-view-example.cpp
87 item_view_example_CXXFLAGS = $(EXAMPLE_CXXFLAGS)
88 item_view_example_DEPENDENCIES = $(EXAMPLE_DEPS)
89 item_view_example_LDADD = $(EXAMPLE_LDADD)
90
91 magnifier_example_SOURCES = $(examples_src_dir)/magnifier/magnifier-example.cpp
92 magnifier_example_CXXFLAGS = $(EXAMPLE_CXXFLAGS)
93 magnifier_example_DEPENDENCIES = $(EXAMPLE_DEPS)
94 magnifier_example_LDADD = $(EXAMPLE_LDADD)
95
96 motion_blur_example_SOURCES = $(examples_src_dir)/motion/motion-blur-example.cpp
97 motion_blur_example_CXXFLAGS = $(EXAMPLE_CXXFLAGS)
98 motion_blur_example_DEPENDENCIES = $(EXAMPLE_DEPS)
99 motion_blur_example_LDADD = $(EXAMPLE_LDADD)
100
101 motion_stretch_example_SOURCES = $(examples_src_dir)/motion/motion-stretch-example.cpp
102 motion_stretch_example_CXXFLAGS = $(EXAMPLE_CXXFLAGS)
103 motion_stretch_example_DEPENDENCIES = $(EXAMPLE_DEPS)
104 motion_stretch_example_LDADD = $(EXAMPLE_LDADD)
105
106 page_turn_view_example_SOURCES = $(examples_src_dir)/page-turn-view/page-turn-view-example.cpp
107 page_turn_view_example_CXXFLAGS = $(EXAMPLE_CXXFLAGS)
108 page_turn_view_example_DEPENDENCIES = $(EXAMPLE_DEPS)
109 page_turn_view_example_LDADD = $(EXAMPLE_LDADD)
110
111 shadow_bone_lighting_example_SOURCES = $(examples_src_dir)/shadows/shadow-bone-lighting-example.cpp
112 shadow_bone_lighting_example_CXXFLAGS = $(EXAMPLE_CXXFLAGS)
113 shadow_bone_lighting_example_DEPENDENCIES = $(EXAMPLE_DEPS)
114 shadow_bone_lighting_example_LDADD = $(EXAMPLE_LDADD)