1 MAINTAINERCLEANFILES = Makefile.in
5 examplesdir = $(pkgdatadir)/examples
6 filesdir = $(pkgdatadir)/examples
10 -Wno-unused-parameter \
12 -I$(top_srcdir)/src/lib \
13 -I$(top_builddir)/src/lib \
14 -DPACKAGE_DATA_DIR="\"$(pkgdatadir)\"" \
15 -DPACKAGE_BIN_DIR=\"$(bindir)\" \
16 -DPACKAGE_LIB_DIR=\"$(libdir)\" \
17 @ELEMENTARY_EDBUS_CFLAGS@ \
18 @ELEMENTARY_EFREET_CFLAGS@ \
19 @ELEMENTARY_EWEATHER_CFLAGS@ \
20 @ELEMENTARY_ETHUMB_CFLAGS@ \
21 @ELEMENTARY_EMAP_CFLAGS@ \
22 @ELEMENTARY_X_CFLAGS@ \
27 @ELEMENTARY_ETHUMB_LIBS@ \
28 @ELEMENTARY_EMAP_LIBS@ \
30 $(top_builddir)/src/lib/libelementary.la
34 EDJE_FLAGS_VERBOSE_0 =
35 EDJE_FLAGS_VERBOSE_1 = -v
36 EDJE_FLAGS = $(EDJE_FLAGS_$(V))
38 ELEMENTARY_CODEGEN = $(top_builddir)/src/bin/@ELEMENTARY_CODEGEN_PRG@
39 ELEMENTARY_CODEGEN_FLAGS = --prefix=codegen_example
42 actionslider_example_01.c \
50 calendar_example_01.c \
51 calendar_example_02.c \
52 calendar_example_03.c \
53 calendar_example_04.c \
54 calendar_example_05.c \
55 calendar_example_06.c \
59 colorselector_example_01.c \
60 conformant_example_01.c \
61 conformant_example_02.c \
62 ctxpopup_example_01.c \
64 dayselector_example.c \
65 diskselector_example_01.c \
66 diskselector_example_02.c \
73 efl_thread_win32_1.c \
74 efl_thread_win32_2.c \
75 efl_thread_win32_3.c \
76 efl_thread_win32_4.c \
78 fileselector_button_example.c \
79 fileselector_entry_example.c \
80 fileselector_example.c \
82 flipselector_example.c \
84 general_funcs_example.c \
86 genlist_example_01.c \
87 genlist_example_02.c \
88 genlist_example_03.c \
89 genlist_example_04.c \
90 genlist_example_05.c \
93 hoversel_example_01.c \
101 layout_example_01.c \
102 layout_example_02.c \
103 layout_example_03.c \
112 notify_example_01.c \
115 photocam_example_01.c \
119 progressbar_example.c \
121 segment_control_example.c \
122 separator_example_01.c \
124 slideshow_example.c \
126 scroller_example_01.c \
133 toolbar_example_01.c \
134 toolbar_example_02.c \
135 toolbar_example_03.c \
136 transit_example_01.c \
137 transit_example_02.c \
138 transit_example_03.c \
139 transit_example_04.c \
145 $(EDJE_CC) $(EDJE_FLAGS) $< $@
147 if EFL_INSTALL_EXAMPLES
148 files_DATA += $(SRCS) \
152 if EFL_BUILD_EXAMPLES
161 codegen_example_generated.c codegen_example_generated.h: codegen_example.edj
162 $(ELEMENTARY_CODEGEN) $(ELEMENTARY_CODEGEN_FLAGS) codegen_example.edj \
163 elm/example/mylayout/default codegen_example_generated.c codegen_example_generated.h
165 BUILT_SOURCES = codegen_example_generated.c codegen_example_generated.h
167 codegen_example_SOURCES = \
169 nodist_codegen_example_SOURCES = \
170 codegen_example_generated.c \
171 codegen_example_generated.h
173 examples_PROGRAMS = \
174 actionslider_example_01 \
182 calendar_example_01 \
183 calendar_example_02 \
184 calendar_example_03 \
185 calendar_example_04 \
186 calendar_example_05 \
187 calendar_example_06 \
191 colorselector_example_01 \
192 conformant_example_01 \
193 conformant_example_02 \
194 ctxpopup_example_01 \
196 dayselector_example \
197 diskselector_example_01 \
198 diskselector_example_02 \
206 fileselector_button_example \
207 fileselector_entry_example \
208 fileselector_example \
210 flipselector_example \
212 general_funcs_example \
221 hoversel_example_01 \
242 photocam_example_01 \
246 progressbar_example \
248 segment_control_example \
249 separator_example_01 \
253 scroller_example_01 \
270 if ELEMENTARY_WINDOWS_BUILD
271 efl_thread_1_SOURCES = efl_thread_win32_1.c
272 efl_thread_2_SOURCES = efl_thread_win32_2.c
273 efl_thread_3_SOURCES = efl_thread_win32_3.c
274 efl_thread_4_SOURCES = efl_thread_win32_4.c
276 efl_thread_1_SOURCES = efl_thread_1.c
277 efl_thread_2_SOURCES = efl_thread_2.c
278 efl_thread_3_SOURCES = efl_thread_3.c
279 efl_thread_4_SOURCES = efl_thread_4.c
282 # This variable will hold the list of screenshots that will be made
283 # by "make screenshots". Each item in the list is of the form:
284 # <example executable>:<screenshot filename>:<delay in seconds>
286 actionslider_example_01:actionslider_01.png:0.0 \
287 bg_example_02:bg_01.png:0.0 \
288 box_example_02:box_example_02.png:1.3 \
289 bubble_example_01:bubble_example_01.png:0.0 \
290 button_example_00:button_00.png:0.0 \
291 button_example_01:button_01.png:0.0 \
292 check_example_01:check_example_01.png:0.0 \
293 colorselector_example_01:colorselector_example_01.png:0.0 \
294 animator_example_01:animator_example_01.png:0.2 \
295 animator_example_01:animator_example_02.png:0.5 \
296 animator_example_01:animator_example_03.png:0.9 \
297 flip_example_01:flip_example_01.png:0.0 \
298 frame_example_01:frame_example_01.png:0.0 \
299 hover_example_01:hover_example_01.png:0.0 \
300 hoversel_example_01:hoversel_example_01.png:0.0 \
301 label_example_01:label_example_01.png:0.0 \
302 theme_example_01:theme_example_01.png:0.0 \
303 conformant_example_01:conformant_example_01.png:0.0 \
304 conformant_example_02:conformant_example_02.png:0.0 \
305 calendar_example_01:calendar_example_01.png:0.0 \
306 calendar_example_02:calendar_example_02.png:0.0 \
307 calendar_example_03:calendar_example_03.png:0.0 \
308 calendar_example_04:calendar_example_04.png:0.0 \
309 calendar_example_05:calendar_example_05.png:0.0 \
310 calendar_example_06:calendar_example_06.png:0.0 \
311 datetime_example:datetime_example.png:0.0 \
312 map_example_01:map_example_01.png:2 \
313 map_example_02:map_example_02.png:2.5 \
314 map_example_03:map_example_03.png:2 \
315 toolbar_example_01:toolbar_example_01.png:0.0 \
316 toolbar_example_02:toolbar_example_02.png:1 \
317 toolbar_example_03:toolbar_example_03.png:1 \
318 spinner_example:spinner_example.png:0.0 \
319 clock_example:clock_example.png:0.5 \
320 dayselector_example:dayselector_example.png:0.0 \
321 mapbuf_example:mapbuf_example.png:0.0 \
322 image_example_01:image_example_01.png:0.0 \
323 diskselector_example_01:diskselector_example_01.png:0.2 \
324 diskselector_example_02:diskselector_example_02.png:0.2 \
325 icon_example_01:icon_example_01.png:0.0 \
326 layout_example_01:layout_example_01.png:0.0 \
327 layout_example_02:layout_example_02.png:0.0 \
328 layout_example_03:layout_example_03.png:0.0 \
329 list_example_01:list_example_01.png:0.0 \
330 list_example_02:list_example_02.png:0.0 \
331 list_example_03:list_example_03.png:0.0 \
332 segment_control_example:segment_control_example.png:0.0 \
333 flipselector_example:flipselector_example.png:0.0 \
334 fileselector_example:fileselector_example.png:0.0 \
335 index_example_02:index_example_03.png:0.3 \
336 slider_example:slider_example.png:0.0 \
337 panes_example:panes_example.png:0.0 \
338 ctxpopup_example_01:ctxpopup_example_01.png:0.0 \
339 separator_example_01:separator_example_01.png:0.0 \
340 radio_example_01:radio_example_01.png:0.0 \
341 panel_example_01:panel_example_01.png:0.0 \
342 gengrid_example:gengrid_example.png:0.0 \
343 genlist_example_01:genlist_example_01.png:0.1 \
344 genlist_example_02:genlist_example_02.png:0.1 \
345 genlist_example_03:genlist_example_03.png:0.1 \
346 genlist_example_04:genlist_example_04.png:0.1 \
347 genlist_example_05:genlist_example_05.png:0.1 \
348 glview_example_01:glview_example_01.png:0.0 \
349 thumb_example_01:thumb_example_01.png:0.5 \
350 entry_example:entry_example.png:0.0 \
351 progressbar_example:progressbar_example.png:0.0 \
352 notify_example_01:notify_example_01.png:0.0 \
353 notify_example_01:notify_example_01_a.png:6.0 \
354 popup_example_01:popup_example_01.png:1.0 \
355 popup_example_01:popup_example_01_a.png:6.0 \
356 popup_example_02:popup_example_02.png:0.2 \
357 popup_example_03:popup_example_03.png:0.2 \
358 slideshow_example:slideshow_example.png:1.0 \
359 photocam_example_01:photocam_example_01.png:3 \
360 scroller_example_01:scroller_example_01.png:0.0 \
361 inwin_example:inwin_example.png:0.0 \
362 inwin_example:inwin_example_a.png:0.2 \
363 table_example_01:table_example_01.png:0.0 \
364 table_example_02:table_example_02.png:0.0 \
365 menu_example_01:menu_example_01.png:0.5
367 HTML_SS_DIR=$(top_builddir)/doc/html/screenshots
368 LATEX_SS_DIR=$(top_builddir)/doc/latex/screenshots
370 @mkdir -p $(HTML_SS_DIR)
371 @mkdir -p $(LATEX_SS_DIR)
372 @for ss in $(SCREENSHOTS); do \
373 SS_ENTRY=($${ss//:/ }) ; \
374 EXAMPLE=$${SS_ENTRY[0]} ; \
375 SS_FILE=$${SS_ENTRY[1]} ; \
376 SS_DELAY=$${SS_ENTRY[2]} ; \
377 ILLUME_KBD=0,0,240,123 ILLUME_IND=0,0,240,32 ILLUME_STK=0,288,240,32 ELM_ENGINE="shot:delay=$${SS_DELAY}:file=$(HTML_SS_DIR)/$${SS_FILE}" ./$${EXAMPLE} ; \
378 convert $(HTML_SS_DIR)/$${SS_FILE} $(LATEX_SS_DIR)/$${SS_FILE/.png/.eps} ; \
384 @echo "Examples are not built. Run \"./configure --enable-build-examples\" first."
388 EXTRA_DIST = dict.txt layout_example.edc theme_example.edc codegen_example.edc