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 \
79 ctxpopup_example_01.c \
81 separator_example_01.c
86 $(EDJE_CC) $(EDJE_FLAGS) $< $@
88 if EFL_INSTALL_EXAMPLES
89 files_DATA += $(SRCS) \
102 actionslider_example_01 \
103 anchorblock_example_01 \
104 animator_example_01 \
108 colorselector_example_01 \
119 general_funcs_example \
121 hoversel_example_01 \
125 calendar_example_01 \
126 calendar_example_02 \
127 calendar_example_03 \
128 calendar_example_04 \
129 calendar_example_05 \
130 calendar_example_06 \
132 conformant_example_01 \
133 conformant_example_02 \
135 diskselector_example_01 \
136 diskselector_example_02 \
141 ctxpopup_example_01 \
142 flipselector_example \
143 fileselector_example \
144 fileselector_button_example \
145 fileselector_entry_example \
151 # This variable will hold the list of screenshots that will be made
152 # by "make screenshots". Each item in the list is of the form:
153 # <example executable>:<screenshot filename>:<delay in seconds>
155 actionslider_example_01:actionslider_01.png:0.0 \
156 bg_example_02:bg_01.png:0.0 \
157 box_example_02:box_example_02.png:1.3 \
158 bubble_example_01:bubble_example_01.png:0.0 \
159 button_example_01:button_01.png:0.0 \
160 check_example_01:check_example_01.png:0.0 \
161 colorselector_example_01:colorselector_example_01.png:0.0 \
162 animator_example_01:animator_example_01.png:0.2 \
163 animator_example_01:animator_example_02.png:0.5 \
164 animator_example_01:animator_example_03.png:0.9 \
165 flip_example_01:flip_example_01.png:0.0 \
166 frame_example_01:frame_example_01.png:0.0 \
167 hover_example_01:hover_example_01.png:0.0 \
168 hoversel_example_01:hoversel_example_01.png:0.0 \
169 label_example_01:label_example_01.png:0.0 \
170 theme_example_01:theme_example_01.png:0.0 \
171 conformant_example_01:conformant_example_01.png:0.0 \
172 conformant_example_02:conformant_example_02.png:0.0 \
173 calendar_example_01:calendar_example_01.png:0.0 \
174 calendar_example_02:calendar_example_02.png:0.0 \
175 calendar_example_03:calendar_example_03.png:0.0 \
176 calendar_example_04:calendar_example_04.png:0.0 \
177 calendar_example_05:calendar_example_05.png:0.0 \
178 calendar_example_06:calendar_example_06.png:0.0 \
179 clock_example:clock_example.png:0.5 \
180 image_example_01:image_example_01.png:0.0 \
181 diskselector_example_01:diskselector_example_01.png:0.2 \
182 diskselector_example_02:diskselector_example_02.png:0.2 \
183 icon_example_01:icon_example_01.png:0.0 \
184 layout_example_01:layout_example_01.png:0.0 \
185 layout_example_02:layout_example_02.png:0.0 \
186 layout_example_03:layout_example_03.png:0.0 \
187 flipselector_example:flipselector_example.png:0.0 \
188 fileselector_example:fileselector_example.png:0.0 \
189 index_example_02:index_example_03.png:0.3 \
190 ctxpopup_example_01:ctxpopup_example_01.png:0.0 \
191 pager_example_01:pager_example_01.png:0.0 \
192 separator_example_01:separator_example_01.png:0.0
194 HTML_SS_DIR=$(top_builddir)/doc/html/screenshots
195 LATEX_SS_DIR=$(top_builddir)/doc/latex/screenshots
197 @mkdir -p $(HTML_SS_DIR)
198 @mkdir -p $(LATEX_SS_DIR)
199 @for ss in $(SCREENSHOTS); do \
200 SS_ENTRY=($${ss//:/ }) ; \
201 EXAMPLE=$${SS_ENTRY[0]} ; \
202 SS_FILE=$${SS_ENTRY[1]} ; \
203 SS_DELAY=$${SS_ENTRY[2]} ; \
204 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} ; \
205 convert $(HTML_SS_DIR)/$${SS_FILE} $(LATEX_SS_DIR)/$${SS_FILE/.png/.eps} ; \
211 @echo "Examples are not built. Run \"./configure --enable-build-examples\" first."