2011-06-15 07:22:11 -07:00
|
|
|
MAINTAINERCLEANFILES = Makefile.in
|
|
|
|
|
2011-06-16 14:08:05 -07:00
|
|
|
.PHONY: screenshots
|
|
|
|
|
2011-06-15 07:22:11 -07:00
|
|
|
pkglibdir = $(datadir)/$(PACKAGE)/examples
|
|
|
|
|
|
|
|
AM_CPPFLAGS = \
|
|
|
|
-I. \
|
|
|
|
-I$(top_srcdir)/src/lib \
|
|
|
|
-I$(top_builddir)/src/lib \
|
2011-06-16 07:10:23 -07:00
|
|
|
-DPACKAGE_DATA_DIR="\"$(datadir)/elementary\"" \
|
2011-06-22 07:52:05 -07:00
|
|
|
-DPACKAGE_BIN_DIR=\"$(bindir)\" \
|
|
|
|
-DPACKAGE_LIB_DIR=\"$(libdir)\" \
|
2011-06-15 07:22:11 -07:00
|
|
|
@ELEMENTARY_EDBUS_CFLAGS@ \
|
|
|
|
@ELEMENTARY_EFREET_CFLAGS@ \
|
|
|
|
@ELEMENTARY_ETHUMB_CFLAGS@ \
|
|
|
|
@ELEMENTARY_CFLAGS@
|
|
|
|
|
|
|
|
LDADD = \
|
2011-06-16 10:06:37 -07:00
|
|
|
@ELEMENTARY_LIBS@ \
|
2011-06-15 07:22:11 -07:00
|
|
|
$(top_builddir)/src/lib/libelementary.la
|
|
|
|
|
2011-06-22 12:06:01 -07:00
|
|
|
EDJE_CC = @edje_cc@
|
|
|
|
EDJE_FLAGS_VERBOSE_ =
|
|
|
|
EDJE_FLAGS_VERBOSE_0 =
|
|
|
|
EDJE_FLAGS_VERBOSE_1 = -v
|
|
|
|
EDJE_FLAGS = $(EDJE_FLAGS_$(V))
|
|
|
|
|
2011-06-15 07:22:11 -07:00
|
|
|
SRCS = \
|
2011-06-16 07:10:23 -07:00
|
|
|
actionslider_example_01.c \
|
2011-06-20 12:45:32 -07:00
|
|
|
anchorblock_example_01.c \
|
|
|
|
animator_example_01.c \
|
2011-06-29 13:47:41 -07:00
|
|
|
bubble_example_01.c \
|
2011-06-27 10:16:00 -07:00
|
|
|
button_example_01.c \
|
2011-07-11 07:56:41 -07:00
|
|
|
check_example_01.c \
|
2011-07-08 07:37:16 -07:00
|
|
|
colorselector_example_01.c
|
2011-07-08 07:37:32 -07:00
|
|
|
frame_example_01.c \
|
2011-06-21 07:28:32 -07:00
|
|
|
transit_example_01.c \
|
|
|
|
transit_example_02.c \
|
|
|
|
transit_example_03.c \
|
|
|
|
transit_example_04.c \
|
2011-06-16 07:10:23 -07:00
|
|
|
bg_example_01.c \
|
|
|
|
bg_example_02.c \
|
2011-06-22 07:52:05 -07:00
|
|
|
bg_example_03.c \
|
2011-06-29 14:04:23 -07:00
|
|
|
box_example_02.c \
|
2011-07-13 11:11:41 -07:00
|
|
|
flip_example_01.c \
|
2011-06-22 12:06:01 -07:00
|
|
|
general_funcs_example.c \
|
2011-07-14 07:37:53 -07:00
|
|
|
hover_example_01.c \
|
2011-07-12 10:52:27 -07:00
|
|
|
label_example_01.c \
|
2011-06-22 12:06:01 -07:00
|
|
|
theme_example_01.c \
|
|
|
|
theme_example_02.c \
|
2011-07-11 06:51:32 -07:00
|
|
|
clock_example.c \
|
2011-06-22 12:06:01 -07:00
|
|
|
theme_example.edc
|
2011-06-15 07:22:11 -07:00
|
|
|
|
|
|
|
pkglib_PROGRAMS =
|
|
|
|
|
|
|
|
if EFL_INSTALL_EXAMPLES
|
|
|
|
filesdir = $(datadir)/$(PACKAGE)/examples
|
|
|
|
files_DATA = $(SRCS)
|
|
|
|
endif
|
|
|
|
|
|
|
|
if EFL_BUILD_EXAMPLES
|
2011-06-22 12:06:01 -07:00
|
|
|
theme_example.edj: Makefile theme_example.edc
|
|
|
|
$(EDJE_CC) $(EDJE_FLAGS) \
|
|
|
|
$(top_srcdir)/src/examples/theme_example.edc \
|
|
|
|
$(top_builddir)/src/examples/theme_example.edj
|
|
|
|
|
|
|
|
clean-local:
|
|
|
|
rm -f *.edj
|
|
|
|
|
2011-06-15 07:22:11 -07:00
|
|
|
pkglib_PROGRAMS += \
|
2011-06-16 07:10:23 -07:00
|
|
|
actionslider_example_01 \
|
2011-06-20 12:45:32 -07:00
|
|
|
anchorblock_example_01 \
|
|
|
|
animator_example_01 \
|
2011-06-29 13:47:41 -07:00
|
|
|
bubble_example_01 \
|
2011-06-27 10:16:00 -07:00
|
|
|
button_example_01 \
|
2011-07-11 07:56:41 -07:00
|
|
|
check_example_01 \
|
2011-07-08 07:37:16 -07:00
|
|
|
colorselector_example_01 \
|
2011-07-08 07:37:32 -07:00
|
|
|
frame_example_01 \
|
2011-06-21 07:28:32 -07:00
|
|
|
transit_example_01 \
|
|
|
|
transit_example_02 \
|
|
|
|
transit_example_03 \
|
|
|
|
transit_example_04 \
|
2011-06-16 07:10:23 -07:00
|
|
|
bg_example_01 \
|
|
|
|
bg_example_02 \
|
2011-06-22 07:52:05 -07:00
|
|
|
bg_example_03 \
|
2011-06-29 14:04:23 -07:00
|
|
|
box_example_02 \
|
2011-07-13 11:11:41 -07:00
|
|
|
flip_example_01 \
|
2011-06-22 12:06:01 -07:00
|
|
|
general_funcs_example \
|
2011-07-14 07:37:53 -07:00
|
|
|
hover_example_01 \
|
2011-07-12 10:52:27 -07:00
|
|
|
label_example_01 \
|
2011-06-22 12:06:01 -07:00
|
|
|
theme_example_01 \
|
|
|
|
theme_example_02 \
|
2011-07-11 06:51:32 -07:00
|
|
|
clock_example \
|
2011-07-11 14:06:04 -07:00
|
|
|
flipselector_example \
|
2011-06-22 12:06:01 -07:00
|
|
|
theme_example.edj
|
2011-06-16 07:10:23 -07:00
|
|
|
|
2011-06-16 14:08:05 -07:00
|
|
|
# This variable will hold the list of screenshots that will be made
|
|
|
|
# by "make screenshots". Each item in the list is of the form:
|
|
|
|
# <example executable>:<screenshot filename>:<delay in seconds>
|
|
|
|
SCREENSHOTS = \
|
|
|
|
actionslider_example_01:actionslider_01.png:0.0 \
|
2011-06-20 12:45:32 -07:00
|
|
|
bg_example_02:bg_01.png:0.0 \
|
2011-06-29 14:04:23 -07:00
|
|
|
box_example_02:box_example_02.png:1.3 \
|
2011-06-29 15:09:27 -07:00
|
|
|
bubble_example_01:bubble_example_01.png:0.0 \
|
2011-06-27 10:16:00 -07:00
|
|
|
button_example_01:button_01.png:0.0 \
|
2011-07-11 07:56:41 -07:00
|
|
|
check_example_01:check_example_01.png:0.0 \
|
2011-07-08 07:37:16 -07:00
|
|
|
colorselector_example_01:colorselector_example_01.png:0.0 \
|
2011-06-20 12:45:32 -07:00
|
|
|
animator_example_01:animator_example_01.png:0.2 \
|
|
|
|
animator_example_01:animator_example_02.png:0.5 \
|
2011-06-22 12:06:01 -07:00
|
|
|
animator_example_01:animator_example_03.png:0.9 \
|
2011-07-13 11:11:41 -07:00
|
|
|
flip_example_01:flip_example_01.png:0.0 \
|
2011-07-08 07:37:32 -07:00
|
|
|
frame_example_01:frame_example_01.png:0.0 \
|
2011-07-14 07:37:53 -07:00
|
|
|
hover_example_01:hover_example_01.png:0.0 \
|
2011-07-12 10:52:27 -07:00
|
|
|
label_example_01:label_example_01.png:0.0 \
|
2011-07-11 06:51:32 -07:00
|
|
|
theme_example_01:theme_example_01.png:0.0 \
|
2011-07-11 14:06:04 -07:00
|
|
|
clock_example:clock_example.png:0.5 \
|
|
|
|
flipselector_example:flipselector_example.png:0.0
|
2011-06-16 14:08:05 -07:00
|
|
|
|
|
|
|
screenshots: all
|
|
|
|
@mkdir -p $(top_srcdir)/doc/img/screenshots
|
|
|
|
@for ss in $(SCREENSHOTS); do \
|
|
|
|
SS_ENTRY=($${ss//:/ }) ; \
|
|
|
|
EXAMPLE=$${SS_ENTRY[0]} ; \
|
|
|
|
SS_FILE=$${SS_ENTRY[1]} ; \
|
|
|
|
SS_DELAY=$${SS_ENTRY[2]} ; \
|
|
|
|
ELM_ENGINE="shot:delay=$${SS_DELAY}:file=$(top_srcdir)/doc/img/screenshots/$${SS_FILE}" ./$${EXAMPLE} ; \
|
2011-06-20 12:45:32 -07:00
|
|
|
convert $(top_srcdir)/doc/img/screenshots/$${SS_FILE} $(top_srcdir)/doc/img/screenshots/$${SS_FILE/.png/.eps} ; \
|
2011-06-16 14:08:05 -07:00
|
|
|
done
|
2011-06-15 07:22:11 -07:00
|
|
|
|
2011-06-16 14:08:05 -07:00
|
|
|
else
|
|
|
|
|
|
|
|
screenshots:
|
|
|
|
@echo "Examples are not built. Run \"./configure --enable-build-examples\" first."
|
|
|
|
|
|
|
|
endif
|