added builder demo
[platform/core/uifw/dali-demo.git] / build / tizen / examples / Makefile.am
1 # Copyright (c) 2014 Samsung Electronics Co., Ltd.
2
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
6
7 # http://www.apache.org/licenses/LICENSE-2.0
8
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.
14
15
16 examples_src_dir = ../../../examples
17
18 bin_PROGRAMS = \
19                blocks.example \
20                bubble-effect.example \
21                cluster.example \
22                cube-transition-effect.example \
23                dissolve-effect.example \
24                hello-world.example \
25                item-view.example \
26                magnifier.example \
27                motion-blur.example \
28                motion-stretch.example \
29                page-turn-view.example \
30                radial-menu.example \
31                scroll-view.example \
32                shadow-bone-lighting.example \
33                dali-builder \
34                builder.example
35
36
37 daliimagedir = $(appdatadir)/images/
38 dalimodeldir = $(appdatadir)/models/
39 daliscriptdir = $(appdatadir)/scripts/
40
41 BASE_CXXFLAGS = -I../../../examples \
42                    -DDALI_IMAGE_DIR="\"${daliimagedir}\"" \
43                    -DDALI_MODEL_DIR="\"${dalimodeldir}\"" \
44                    -DDALI_SCRIPT_DIR="\"${daliscriptdir}\"" \
45                    $(DALIDEMO_CFLAGS) \
46                    $(ECORE_X_CFLAGS) \
47                    $(CAPI_MEDIA_PLAYER_CFLAGS) \
48                    $(CAPI_APPFW_APPLICATION_CFLAGS) \
49                    -I/usr/include/media \
50                    -Werror -Wall
51
52 EXAMPLE_CXXFLAGS      = $(DALI_CFLAGS) \
53                         $(DALI_TOOLKIT_CFLAGS) \
54                         $(BASE_CXXFLAGS)
55
56
57 EXAMPLE_DEPS =
58
59 EXAMPLE_LDADD = $(DALI_LIBS) $(DALI_TOOLKIT_LIBS) $(ECORE_X_LIBS) $(CAPI_MEDIA_PLAYER_LIBS) $(CAPI_APPFW_APPLICATION_LIBS) -lrt -lEGL
60
61
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)
66
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)
71
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)
76
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)
81
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)
86
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)
91
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)
96
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)
101
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)
106
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)
111
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)
116
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)
123
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)
128
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)
133
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)
138
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)