aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/elementary/src/examples/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--libraries/elementary/src/examples/Makefile.am361
1 files changed, 361 insertions, 0 deletions
diff --git a/libraries/elementary/src/examples/Makefile.am b/libraries/elementary/src/examples/Makefile.am
new file mode 100644
index 0000000..966d64a
--- /dev/null
+++ b/libraries/elementary/src/examples/Makefile.am
@@ -0,0 +1,361 @@
1MAINTAINERCLEANFILES = Makefile.in
2
3.PHONY: screenshots
4
5examplesdir = $(pkgdatadir)/examples
6filesdir = $(pkgdatadir)/examples
7files_DATA =
8
9AM_CPPFLAGS = \
10-Wno-unused-parameter \
11-I. \
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_ETHUMB_CFLAGS@ \
20@ELEMENTARY_EMAP_CFLAGS@ \
21@ELEMENTARY_X_CFLAGS@ \
22@ELEMENTARY_CFLAGS@
23
24LDADD = \
25@ELEMENTARY_LIBS@ \
26@ELEMENTARY_ETHUMB_LIBS@ \
27@ELEMENTARY_X_LIBS@ \
28$(top_builddir)/src/lib/libelementary.la
29
30EDJE_CC = @edje_cc@
31EDJE_FLAGS_VERBOSE_ =
32EDJE_FLAGS_VERBOSE_0 =
33EDJE_FLAGS_VERBOSE_1 = -v
34EDJE_FLAGS = $(EDJE_FLAGS_$(V))
35
36SRCS = \
37actionslider_example_01.c \
38bg_example_01.c \
39bg_example_02.c \
40bg_example_03.c \
41box_example_02.c \
42bubble_example_01.c \
43button_example_00.c \
44button_example_01.c \
45calendar_example_01.c \
46calendar_example_02.c \
47calendar_example_03.c \
48calendar_example_04.c \
49calendar_example_05.c \
50calendar_example_06.c \
51check_example_01.c \
52clock_example.c \
53colorselector_example_01.c \
54conformant_example_01.c \
55conformant_example_02.c \
56ctxpopup_example_01.c \
57datetime_example.c \
58dayselector_example.c \
59diskselector_example_01.c \
60diskselector_example_02.c \
61efl_thread_1.c \
62efl_thread_2.c \
63efl_thread_3.c \
64efl_thread_4.c \
65efl_thread_5.c \
66efl_thread_6.c \
67efl_thread_win32_1.c \
68efl_thread_win32_2.c \
69efl_thread_win32_3.c \
70efl_thread_win32_4.c \
71entry_example.c \
72fileselector_button_example.c \
73fileselector_entry_example.c \
74fileselector_example.c \
75flip_example_01.c \
76flipselector_example.c \
77frame_example_01.c \
78general_funcs_example.c \
79gengrid_example.c \
80genlist_example_01.c \
81genlist_example_02.c \
82genlist_example_03.c \
83genlist_example_04.c \
84genlist_example_05.c \
85hover_example_01.c \
86hoversel_example_01.c \
87icon_example_01.c \
88image_example_01.c \
89index_example_01.c \
90index_example_02.c \
91inwin_example.c \
92label_example_01.c \
93layout_example.edc \
94layout_example_01.c \
95layout_example_02.c \
96layout_example_03.c \
97list_example_01.c \
98list_example_02.c \
99list_example_03.c \
100map_example_01.c \
101map_example_02.c \
102map_example_03.c \
103mapbuf_example.c \
104menu_example_01.c \
105notify_example_01.c \
106panes_example.c \
107panel_example_01.c \
108photocam_example_01.c \
109popup_example_01.c \
110popup_example_02.c \
111popup_example_03.c \
112progressbar_example.c \
113radio_example_01.c \
114segment_control_example.c \
115separator_example_01.c \
116slider_example.c \
117slideshow_example.c \
118spinner_example.c \
119scroller_example_01.c \
120table_example_01.c \
121table_example_02.c \
122theme_example.edc \
123theme_example_01.c \
124theme_example_02.c \
125thumb_example_01.c \
126toolbar_example_01.c \
127toolbar_example_02.c \
128toolbar_example_03.c \
129transit_example_01.c \
130transit_example_02.c \
131transit_example_03.c \
132transit_example_04.c \
133web_example.c \
134win_example.c
135
136.edc.edj:
137 $(EDJE_CC) $(EDJE_FLAGS) $< $@
138
139if EFL_INSTALL_EXAMPLES
140files_DATA += $(SRCS) \
141 dict.txt
142endif
143
144if EFL_BUILD_EXAMPLES
145files_DATA += \
146 theme_example.edj \
147 layout_example.edj
148
149clean-local:
150 rm -f *.edj
151
152examples_PROGRAMS = \
153actionslider_example_01 \
154bg_example_01 \
155bg_example_02 \
156bg_example_03 \
157box_example_02 \
158bubble_example_01 \
159button_example_00 \
160button_example_01 \
161calendar_example_01 \
162calendar_example_02 \
163calendar_example_03 \
164calendar_example_04 \
165calendar_example_05 \
166calendar_example_06 \
167check_example_01 \
168clock_example \
169colorselector_example_01 \
170conformant_example_01 \
171conformant_example_02 \
172ctxpopup_example_01 \
173datetime_example \
174dayselector_example \
175diskselector_example_01 \
176diskselector_example_02 \
177efl_thread_1 \
178efl_thread_2 \
179efl_thread_3 \
180efl_thread_4 \
181efl_thread_5 \
182efl_thread_6 \
183entry_example \
184fileselector_button_example \
185fileselector_entry_example \
186fileselector_example \
187flip_example_01 \
188flipselector_example \
189frame_example_01 \
190general_funcs_example \
191gengrid_example \
192genlist_example_01 \
193genlist_example_02 \
194genlist_example_03 \
195genlist_example_04 \
196genlist_example_05 \
197hover_example_01 \
198hoversel_example_01 \
199icon_example_01 \
200image_example_01 \
201index_example_01 \
202index_example_02 \
203inwin_example \
204label_example_01 \
205layout_example_01 \
206layout_example_02 \
207layout_example_03 \
208list_example_01 \
209list_example_02 \
210list_example_03 \
211map_example_01 \
212map_example_02 \
213map_example_03 \
214mapbuf_example \
215menu_example_01 \
216notify_example_01 \
217panes_example \
218panel_example_01 \
219photocam_example_01 \
220popup_example_01 \
221popup_example_02 \
222popup_example_03 \
223progressbar_example \
224radio_example_01 \
225segment_control_example \
226separator_example_01 \
227slider_example \
228slideshow_example \
229spinner_example \
230scroller_example_01 \
231table_example_01 \
232table_example_02 \
233theme_example_01 \
234theme_example_02 \
235thumb_example_01 \
236toolbar_example_01 \
237toolbar_example_02 \
238toolbar_example_03 \
239transit_example_01 \
240transit_example_02 \
241transit_example_03 \
242transit_example_04 \
243web_example \
244win_example
245
246if ELEMENTARY_WINDOWS_BUILD
247efl_thread_1_SOURCES = efl_thread_win32_1.c
248efl_thread_2_SOURCES = efl_thread_win32_2.c
249efl_thread_3_SOURCES = efl_thread_win32_3.c
250efl_thread_4_SOURCES = efl_thread_win32_4.c
251else
252efl_thread_1_SOURCES = efl_thread_1.c
253efl_thread_2_SOURCES = efl_thread_2.c
254efl_thread_3_SOURCES = efl_thread_3.c
255efl_thread_4_SOURCES = efl_thread_4.c
256endif
257
258# This variable will hold the list of screenshots that will be made
259# by "make screenshots". Each item in the list is of the form:
260# <example executable>:<screenshot filename>:<delay in seconds>
261SCREENSHOTS = \
262actionslider_example_01:actionslider_01.png:0.0 \
263bg_example_02:bg_01.png:0.0 \
264box_example_02:box_example_02.png:1.3 \
265bubble_example_01:bubble_example_01.png:0.0 \
266button_example_00:button_00.png:0.0 \
267button_example_01:button_01.png:0.0 \
268check_example_01:check_example_01.png:0.0 \
269colorselector_example_01:colorselector_example_01.png:0.0 \
270animator_example_01:animator_example_01.png:0.2 \
271animator_example_01:animator_example_02.png:0.5 \
272animator_example_01:animator_example_03.png:0.9 \
273flip_example_01:flip_example_01.png:0.0 \
274frame_example_01:frame_example_01.png:0.0 \
275hover_example_01:hover_example_01.png:0.0 \
276hoversel_example_01:hoversel_example_01.png:0.0 \
277label_example_01:label_example_01.png:0.0 \
278theme_example_01:theme_example_01.png:0.0 \
279conformant_example_01:conformant_example_01.png:0.0 \
280conformant_example_02:conformant_example_02.png:0.0 \
281calendar_example_01:calendar_example_01.png:0.0 \
282calendar_example_02:calendar_example_02.png:0.0 \
283calendar_example_03:calendar_example_03.png:0.0 \
284calendar_example_04:calendar_example_04.png:0.0 \
285calendar_example_05:calendar_example_05.png:0.0 \
286calendar_example_06:calendar_example_06.png:0.0 \
287datetime_example:datetime_example.png:0.0 \
288map_example_01:map_example_01.png:2 \
289map_example_02:map_example_02.png:2.5 \
290map_example_03:map_example_03.png:2 \
291toolbar_example_01:toolbar_example_01.png:0.0 \
292toolbar_example_02:toolbar_example_02.png:1 \
293toolbar_example_03:toolbar_example_03.png:1 \
294spinner_example:spinner_example.png:0.0 \
295clock_example:clock_example.png:0.5 \
296dayselector_example:dayselector_example.png:0.0 \
297mapbuf_example:mapbuf_example.png:0.0 \
298image_example_01:image_example_01.png:0.0 \
299diskselector_example_01:diskselector_example_01.png:0.2 \
300diskselector_example_02:diskselector_example_02.png:0.2 \
301icon_example_01:icon_example_01.png:0.0 \
302layout_example_01:layout_example_01.png:0.0 \
303layout_example_02:layout_example_02.png:0.0 \
304layout_example_03:layout_example_03.png:0.0 \
305list_example_01:list_example_01.png:0.0 \
306list_example_02:list_example_02.png:0.0 \
307list_example_03:list_example_03.png:0.0 \
308segment_control_example:segment_control_example.png:0.0 \
309flipselector_example:flipselector_example.png:0.0 \
310fileselector_example:fileselector_example.png:0.0 \
311index_example_02:index_example_03.png:0.3 \
312slider_example:slider_example.png:0.0 \
313panes_example:panes_example.png:0.0 \
314ctxpopup_example_01:ctxpopup_example_01.png:0.0 \
315separator_example_01:separator_example_01.png:0.0 \
316radio_example_01:radio_example_01.png:0.0 \
317panel_example_01:panel_example_01.png:0.0 \
318gengrid_example:gengrid_example.png:0.0 \
319genlist_example_01:genlist_example_01.png:0.1 \
320genlist_example_02:genlist_example_02.png:0.1 \
321genlist_example_03:genlist_example_03.png:0.1 \
322genlist_example_04:genlist_example_04.png:0.1 \
323genlist_example_05:genlist_example_05.png:0.1 \
324thumb_example_01:thumb_example_01.png:0.5 \
325entry_example:entry_example.png:0.0 \
326progressbar_example:progressbar_example.png:0.0 \
327notify_example_01:notify_example_01.png:0.0 \
328notify_example_01:notify_example_01_a.png:6.0 \
329popup_example_01:popup_example_01.png:1.0 \
330popup_example_01:popup_example_01_a.png:6.0 \
331popup_example_02:popup_example_02.png:0.2 \
332popup_example_03:popup_example_03.png:0.2 \
333slideshow_example:slideshow_example.png:1.0 \
334photocam_example_01:photocam_example_01.png:3 \
335scroller_example_01:scroller_example_01.png:0.0 \
336inwin_example:inwin_example.png:0.0 \
337inwin_example:inwin_example_a.png:0.2 \
338table_example_01:table_example_01.png:0.0 \
339table_example_02:table_example_02.png:0.0 \
340menu_example_01:menu_example_01.png:0.5
341
342HTML_SS_DIR=$(top_builddir)/doc/html/screenshots
343LATEX_SS_DIR=$(top_builddir)/doc/latex/screenshots
344screenshots: all
345 @mkdir -p $(HTML_SS_DIR)
346 @mkdir -p $(LATEX_SS_DIR)
347 @for ss in $(SCREENSHOTS); do \
348 SS_ENTRY=($${ss//:/ }) ; \
349 EXAMPLE=$${SS_ENTRY[0]} ; \
350 SS_FILE=$${SS_ENTRY[1]} ; \
351 SS_DELAY=$${SS_ENTRY[2]} ; \
352 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} ; \
353 convert $(HTML_SS_DIR)/$${SS_FILE} $(LATEX_SS_DIR)/$${SS_FILE/.png/.eps} ; \
354 done
355
356else
357
358screenshots:
359 @echo "Examples are not built. Run \"./configure --enable-build-examples\" first."
360
361endif