1 MAINTAINERCLEANFILES = Makefile.in
5 pkglibdir = $(datadir)/$(PACKAGE)/examples
9 -I$(top_srcdir)/src/lib \
10 -I$(top_builddir)/src/lib \
11 -DPACKAGE_DATA_DIR="\"$(datadir)/elementary\"" \
12 -DPACKAGE_BIN_DIR=\"$(bindir)\" \
13 -DPACKAGE_LIB_DIR=\"$(libdir)\" \
14 @ELEMENTARY_EDBUS_CFLAGS@ \
15 @ELEMENTARY_EFREET_CFLAGS@ \
16 @ELEMENTARY_ETHUMB_CFLAGS@ \
21 $(top_builddir)/src/lib/libelementary.la
25 EDJE_FLAGS_VERBOSE_0 =
26 EDJE_FLAGS_VERBOSE_1 = -v
27 EDJE_FLAGS = $(EDJE_FLAGS_$(V))
30 actionslider_example_01.c \
31 anchorblock_example_01.c \
32 animator_example_01.c \
36 colorselector_example_01.c
38 transit_example_01.c \
39 transit_example_02.c \
40 transit_example_03.c \
41 transit_example_04.c \
47 general_funcs_example.c \
52 calendar_example_01.c \
53 calendar_example_02.c \
54 calendar_example_03.c \
55 calendar_example_04.c \
56 calendar_example_05.c \
57 calendar_example_06.c \
64 if EFL_INSTALL_EXAMPLES
65 filesdir = $(datadir)/$(PACKAGE)/examples
70 theme_example.edj: Makefile theme_example.edc
71 $(EDJE_CC) $(EDJE_FLAGS) \
72 $(top_srcdir)/src/examples/theme_example.edc \
73 $(top_builddir)/src/examples/theme_example.edj
79 actionslider_example_01 \
80 anchorblock_example_01 \
85 colorselector_example_01 \
96 general_funcs_example \
101 calendar_example_01 \
102 calendar_example_02 \
103 calendar_example_03 \
104 calendar_example_04 \
105 calendar_example_05 \
106 calendar_example_06 \
109 flipselector_example \
112 # This variable will hold the list of screenshots that will be made
113 # by "make screenshots". Each item in the list is of the form:
114 # <example executable>:<screenshot filename>:<delay in seconds>
116 actionslider_example_01:actionslider_01.png:0.0 \
117 bg_example_02:bg_01.png:0.0 \
118 box_example_02:box_example_02.png:1.3 \
119 bubble_example_01:bubble_example_01.png:0.0 \
120 button_example_01:button_01.png:0.0 \
121 check_example_01:check_example_01.png:0.0 \
122 colorselector_example_01:colorselector_example_01.png:0.0 \
123 animator_example_01:animator_example_01.png:0.2 \
124 animator_example_01:animator_example_02.png:0.5 \
125 animator_example_01:animator_example_03.png:0.9 \
126 flip_example_01:flip_example_01.png:0.0 \
127 frame_example_01:frame_example_01.png:0.0 \
128 hover_example_01:hover_example_01.png:0.0 \
129 label_example_01:label_example_01.png:0.0 \
130 theme_example_01:theme_example_01.png:0.0 \
131 calendar_example_01:calendar_example_01.png:0.0 \
132 calendar_example_02:calendar_example_02.png:0.0 \
133 calendar_example_03:calendar_example_03.png:0.0 \
134 calendar_example_04:calendar_example_04.png:0.0 \
135 calendar_example_05:calendar_example_05.png:0.0 \
136 calendar_example_06:calendar_example_06.png:0.0 \
137 clock_example:clock_example.png:0.5 \
138 image_example_01:image_example_01.png:0.0 \
139 flipselector_example:flipselector_example.png:0.0
142 @mkdir -p $(top_srcdir)/doc/img/screenshots
143 @for ss in $(SCREENSHOTS); do \
144 SS_ENTRY=($${ss//:/ }) ; \
145 EXAMPLE=$${SS_ENTRY[0]} ; \
146 SS_FILE=$${SS_ENTRY[1]} ; \
147 SS_DELAY=$${SS_ENTRY[2]} ; \
148 ELM_ENGINE="shot:delay=$${SS_DELAY}:file=$(top_srcdir)/doc/img/screenshots/$${SS_FILE}" ./$${EXAMPLE} ; \
149 convert $(top_srcdir)/doc/img/screenshots/$${SS_FILE} $(top_srcdir)/doc/img/screenshots/$${SS_FILE/.png/.eps} ; \
155 @echo "Examples are not built. Run \"./configure --enable-build-examples\" first."