1 # Copyright (c) 2014 Samsung Electronics Co., Ltd.
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
16 examples_src_dir = ../../../examples
20 bubble-effect.example \
22 cube-transition-effect.example \
23 dissolve-effect.example \
28 motion-stretch.example \
29 page-turn-view.example \
32 shadow-bone-lighting.example \
37 daliimagedir = $(appdatadir)/images/
38 dalimodeldir = $(appdatadir)/models/
39 daliscriptdir = $(appdatadir)/scripts/
41 BASE_CXXFLAGS = -I../../../examples \
42 -DDALI_IMAGE_DIR="\"${daliimagedir}\"" \
43 -DDALI_MODEL_DIR="\"${dalimodeldir}\"" \
44 -DDALI_SCRIPT_DIR="\"${daliscriptdir}\"" \
47 $(CAPI_MEDIA_PLAYER_CFLAGS) \
48 $(CAPI_APPFW_APPLICATION_CFLAGS) \
49 -I/usr/include/media \
52 EXAMPLE_CXXFLAGS = $(DALI_CFLAGS) \
53 $(DALI_TOOLKIT_CFLAGS) \
59 EXAMPLE_LDADD = $(DALI_LIBS) $(DALI_TOOLKIT_LIBS) $(ECORE_X_LIBS) $(CAPI_MEDIA_PLAYER_LIBS) $(CAPI_APPFW_APPLICATION_LIBS) -lrt -lEGL
62 blocks_example_SOURCES = $(examples_src_dir)/blocks/blocks-example.cpp
63 blocks_example_CXXFLAGS = $(EXAMPLE_CXXFLAGS)
64 blocks_example_DEPENDENCIES = $(EXAMPLE_DEPS)
65 blocks_example_LDADD = $(EXAMPLE_LDADD)
67 bubble_effect_example_SOURCES = $(examples_src_dir)/shader-effect/bubble-effect-example.cpp
68 bubble_effect_example_CXXFLAGS = $(EXAMPLE_CXXFLAGS)
69 bubble_effect_example_DEPENDENCIES = $(EXAMPLE_DEPS)
70 bubble_effect_example_LDADD = $(EXAMPLE_LDADD)
72 cluster_example_SOURCES = $(examples_src_dir)/cluster/cluster-example.cpp
73 cluster_example_CXXFLAGS = $(EXAMPLE_CXXFLAGS)
74 cluster_example_DEPENDENCIES = $(EXAMPLE_DEPS)
75 cluster_example_LDADD = $(EXAMPLE_LDADD)
77 cube_transition_effect_example_SOURCES = $(examples_src_dir)/transition/cube-transition-effect-example.cpp
78 cube_transition_effect_example_CXXFLAGS = $(EXAMPLE_CXXFLAGS)
79 cube_transition_effect_example_DEPENDENCIES = $(EXAMPLE_DEPS)
80 cube_transition_effect_example_LDADD = $(EXAMPLE_LDADD)
82 dissolve_effect_example_SOURCES = $(examples_src_dir)/shader-effect/dissolve-effect-example.cpp
83 dissolve_effect_example_CXXFLAGS = $(EXAMPLE_CXXFLAGS)
84 dissolve_effect_example_DEPENDENCIES = $(EXAMPLE_DEPS)
85 dissolve_effect_example_LDADD = $(EXAMPLE_LDADD)
87 hello_world_example_SOURCES = $(examples_src_dir)/hello-world/hello-world-example.cpp
88 hello_world_example_CXXFLAGS = $(EXAMPLE_CXXFLAGS)
89 hello_world_example_DEPENDENCIES = $(EXAMPLE_DEPS)
90 hello_world_example_LDADD = $(EXAMPLE_LDADD)
92 item_view_example_SOURCES = $(examples_src_dir)/item-view/item-view-example.cpp
93 item_view_example_CXXFLAGS = $(EXAMPLE_CXXFLAGS)
94 item_view_example_DEPENDENCIES = $(EXAMPLE_DEPS)
95 item_view_example_LDADD = $(EXAMPLE_LDADD)
97 magnifier_example_SOURCES = $(examples_src_dir)/magnifier/magnifier-example.cpp
98 magnifier_example_CXXFLAGS = $(EXAMPLE_CXXFLAGS)
99 magnifier_example_DEPENDENCIES = $(EXAMPLE_DEPS)
100 magnifier_example_LDADD = $(EXAMPLE_LDADD)
102 motion_blur_example_SOURCES = $(examples_src_dir)/motion/motion-blur-example.cpp
103 motion_blur_example_CXXFLAGS = $(EXAMPLE_CXXFLAGS)
104 motion_blur_example_DEPENDENCIES = $(EXAMPLE_DEPS)
105 motion_blur_example_LDADD = $(EXAMPLE_LDADD)
107 motion_stretch_example_SOURCES = $(examples_src_dir)/motion/motion-stretch-example.cpp
108 motion_stretch_example_CXXFLAGS = $(EXAMPLE_CXXFLAGS)
109 motion_stretch_example_DEPENDENCIES = $(EXAMPLE_DEPS)
110 motion_stretch_example_LDADD = $(EXAMPLE_LDADD)
112 page_turn_view_example_SOURCES = $(examples_src_dir)/page-turn-view/page-turn-view-example.cpp
113 page_turn_view_example_CXXFLAGS = $(EXAMPLE_CXXFLAGS)
114 page_turn_view_example_DEPENDENCIES = $(EXAMPLE_DEPS)
115 page_turn_view_example_LDADD = $(EXAMPLE_LDADD)
117 radial_menu_example_SOURCES = $(examples_src_dir)/radial-menu/radial-menu-example.cpp \
118 $(examples_src_dir)/radial-menu/radial-sweep-view.cpp \
119 $(examples_src_dir)/radial-menu/radial-sweep-view-impl.cpp
120 radial_menu_example_CXXFLAGS = $(EXAMPLE_CXXFLAGS)
121 radial_menu_example_DEPENDENCIES = $(EXAMPLE_DEPS)
122 radial_menu_example_LDADD = $(EXAMPLE_LDADD)
124 scroll_view_example_SOURCES = $(examples_src_dir)/scroll-view/scroll-view-example.cpp
125 scroll_view_example_CXXFLAGS = $(EXAMPLE_CXXFLAGS)
126 scroll_view_example_DEPENDENCIES = $(EXAMPLE_DEPS)
127 scroll_view_example_LDADD = $(EXAMPLE_LDADD)
129 shadow_bone_lighting_example_SOURCES = $(examples_src_dir)/shadows/shadow-bone-lighting-example.cpp
130 shadow_bone_lighting_example_CXXFLAGS = $(EXAMPLE_CXXFLAGS)
131 shadow_bone_lighting_example_DEPENDENCIES = $(EXAMPLE_DEPS)
132 shadow_bone_lighting_example_LDADD = $(EXAMPLE_LDADD)
134 dali_builder_SOURCES = $(examples_src_dir)/builder/dali-builder.cpp
135 dali_builder_CXXFLAGS = $(EXAMPLE_CXXFLAGS)
136 dali_builder_DEPENDENCIES = $(EXAMPLE_DEPS)
137 dali_builder_LDADD = $(EXAMPLE_LDADD)
139 builder_example_SOURCES = $(examples_src_dir)/builder/examples.cpp
140 builder_example_CXXFLAGS = $(EXAMPLE_CXXFLAGS)
141 builder_example_DEPENDENCIES = $(EXAMPLE_DEPS)
142 builder_example_LDADD = $(EXAMPLE_LDADD)