1 MAINTAINERCLEANFILES = Makefile.in
5 pkglibdir = $(datadir)/$(PACKAGE)/examples
6 filesdir = $(datadir)/$(PACKAGE)/examples
11 -I$(top_srcdir)/src/lib \
12 -I$(top_builddir)/src/lib \
13 -DPACKAGE_DATA_DIR="\"$(datadir)/elementary\"" \
14 -DPACKAGE_BIN_DIR=\"$(bindir)\" \
15 -DPACKAGE_LIB_DIR=\"$(libdir)\" \
16 @ELEMENTARY_EDBUS_CFLAGS@ \
17 @ELEMENTARY_EFREET_CFLAGS@ \
18 @ELEMENTARY_ETHUMB_CFLAGS@ \
23 $(top_builddir)/src/lib/libelementary.la
27 EDJE_FLAGS_VERBOSE_0 =
28 EDJE_FLAGS_VERBOSE_1 = -v
29 EDJE_FLAGS = $(EDJE_FLAGS_$(V))
32 actionslider_example_01.c \
33 anchorblock_example_01.c \
34 animator_example_01.c \
38 colorselector_example_01.c \
40 transit_example_01.c \
41 transit_example_02.c \
42 transit_example_03.c \
43 transit_example_04.c \
49 general_funcs_example.c \
51 hoversel_example_01.c \
55 calendar_example_01.c \
56 calendar_example_02.c \
57 calendar_example_03.c \
58 calendar_example_04.c \
59 calendar_example_05.c \
60 calendar_example_06.c \
62 conformant_example_01.c \
63 conformant_example_02.c \
69 flipselector_example.c \
70 fileselector_example.c \
71 fileselector_button_example.c \
72 fileselector_entry_example.c \
73 diskselector_example_01.c \
74 diskselector_example_02.c \
83 $(EDJE_CC) $(EDJE_FLAGS) $< $@
85 if EFL_INSTALL_EXAMPLES
86 files_DATA += $(SRCS) \
99 actionslider_example_01 \
100 anchorblock_example_01 \
101 animator_example_01 \
105 colorselector_example_01 \
116 general_funcs_example \
118 hoversel_example_01 \
122 calendar_example_01 \
123 calendar_example_02 \
124 calendar_example_03 \
125 calendar_example_04 \
126 calendar_example_05 \
127 calendar_example_06 \
129 conformant_example_01 \
130 conformant_example_02 \
132 diskselector_example_01 \
133 diskselector_example_02 \
138 flipselector_example \
139 fileselector_example \
140 fileselector_button_example \
141 fileselector_entry_example \
145 # This variable will hold the list of screenshots that will be made
146 # by "make screenshots". Each item in the list is of the form:
147 # <example executable>:<screenshot filename>:<delay in seconds>
149 actionslider_example_01:actionslider_01.png:0.0 \
150 bg_example_02:bg_01.png:0.0 \
151 box_example_02:box_example_02.png:1.3 \
152 bubble_example_01:bubble_example_01.png:0.0 \
153 button_example_01:button_01.png:0.0 \
154 check_example_01:check_example_01.png:0.0 \
155 colorselector_example_01:colorselector_example_01.png:0.0 \
156 animator_example_01:animator_example_01.png:0.2 \
157 animator_example_01:animator_example_02.png:0.5 \
158 animator_example_01:animator_example_03.png:0.9 \
159 flip_example_01:flip_example_01.png:0.0 \
160 frame_example_01:frame_example_01.png:0.0 \
161 hover_example_01:hover_example_01.png:0.0 \
162 hoversel_example_01:hoversel_example_01.png:0.0 \
163 label_example_01:label_example_01.png:0.0 \
164 theme_example_01:theme_example_01.png:0.0 \
165 calendar_example_01:calendar_example_01.png:0.0 \
166 calendar_example_02:calendar_example_02.png:0.0 \
167 calendar_example_03:calendar_example_03.png:0.0 \
168 calendar_example_04:calendar_example_04.png:0.0 \
169 calendar_example_05:calendar_example_05.png:0.0 \
170 calendar_example_06:calendar_example_06.png:0.0 \
171 clock_example:clock_example.png:0.5 \
172 image_example_01:image_example_01.png:0.0 \
173 diskselector_example_01:diskselector_example_01.png:0.2 \
174 diskselector_example_02:diskselector_example_02.png:0.2 \
175 icon_example_01:icon_example_01.png:0.0 \
176 layout_example_01:layout_example_01.png:0.0 \
177 layout_example_02:layout_example_02.png:0.0 \
178 layout_example_03:layout_example_03.png:0.0 \
179 flipselector_example:flipselector_example.png:0.0 \
180 fileselector_example:fileselector_example.png:0.0 \
181 index_example_02:index_example_03.png:0.3
184 @mkdir -p $(top_srcdir)/doc/img/screenshots
185 @for ss in $(SCREENSHOTS); do \
186 SS_ENTRY=($${ss//:/ }) ; \
187 EXAMPLE=$${SS_ENTRY[0]} ; \
188 SS_FILE=$${SS_ENTRY[1]} ; \
189 SS_DELAY=$${SS_ENTRY[2]} ; \
190 ELM_ENGINE="shot:delay=$${SS_DELAY}:file=$(top_srcdir)/doc/img/screenshots/$${SS_FILE}" ./$${EXAMPLE} ; \
191 convert $(top_srcdir)/doc/img/screenshots/$${SS_FILE} $(top_srcdir)/doc/img/screenshots/$${SS_FILE/.png/.eps} ; \
197 @echo "Examples are not built. Run \"./configure --enable-build-examples\" first."