2010-03-17 21:57:40 -07:00
|
|
|
MAINTAINERCLEANFILES = Makefile.in
|
|
|
|
|
|
|
|
pkglibdir = $(datadir)/$(PACKAGE)/examples
|
|
|
|
|
2011-06-17 14:16:59 -07:00
|
|
|
#put here all EDCs one needs to the tests
|
|
|
|
EDCS = aspect.edc
|
|
|
|
|
|
|
|
filesdir = $(datadir)/$(PACKAGE)/examples
|
|
|
|
files_DATA =
|
|
|
|
|
2010-03-17 21:57:40 -07:00
|
|
|
if BUILD_EXAMPLES
|
|
|
|
|
|
|
|
AM_CPPFLAGS = \
|
|
|
|
-I. \
|
|
|
|
-I$(top_srcdir)/src/lib \
|
|
|
|
-I$(top_srcdir)/src/lib/include \
|
|
|
|
-DPACKAGE_BIN_DIR=\"$(bindir)\" \
|
|
|
|
-DPACKAGE_LIB_DIR=\"$(libdir)\" \
|
|
|
|
-DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \
|
2011-06-09 10:00:24 -07:00
|
|
|
-DPACKAGE_EXAMPLES_DIR=\"$(datadir)/$(PACKAGE)/examples\" \
|
2010-03-17 21:57:40 -07:00
|
|
|
@EINA_CFLAGS@ \
|
|
|
|
@FREETYPE_CFLAGS@ \
|
2011-04-22 04:47:14 -07:00
|
|
|
@PIXMAN_CFLAGS@ \
|
2010-03-17 21:57:40 -07:00
|
|
|
@FRIBIDI_CFLAGS@ \
|
|
|
|
@EET_CFLAGS@ \
|
|
|
|
@FONTCONFIG_CFLAGS@ \
|
|
|
|
@pthread_cflags@
|
|
|
|
|
|
|
|
AM_CFLAGS = @WIN32_CFLAGS@
|
|
|
|
|
|
|
|
pkglib_PROGRAMS =
|
|
|
|
|
|
|
|
if BUILD_ENGINE_BUFFER
|
|
|
|
AM_CPPFLAGS += -I$(top_srcdir)/src/modules/engines/buffer
|
|
|
|
|
|
|
|
pkglib_PROGRAMS += evas_buffer_simple
|
|
|
|
evas_buffer_simple_SOURCES = evas-buffer-simple.c
|
|
|
|
evas_buffer_simple_LDADD = $(top_builddir)/src/lib/libevas.la
|
|
|
|
endif
|
|
|
|
|
2011-06-09 10:00:24 -07:00
|
|
|
pkglib_PROGRAMS += evas_init_shutdown
|
|
|
|
evas_init_shutdown_SOURCES = evas-init-shutdown.c
|
|
|
|
evas_init_shutdown_LDADD = $(top_builddir)/src/lib/libevas.la
|
|
|
|
|
2011-06-17 14:16:59 -07:00
|
|
|
#the ones using ecore_evas follow
|
2011-06-10 14:31:17 -07:00
|
|
|
AM_CPPFLAGS += @ECORE_EVAS_CFLAGS@
|
2011-06-09 10:00:24 -07:00
|
|
|
|
|
|
|
pkglib_PROGRAMS += evas_load_error_str
|
|
|
|
evas_load_error_str_SOURCES = evas-load-error-str.c
|
|
|
|
evas_load_error_str_LDADD = $(top_builddir)/src/lib/libevas.la @ECORE_EVAS_LIBS@
|
2010-03-17 21:57:40 -07:00
|
|
|
|
2011-06-10 14:32:02 -07:00
|
|
|
pkglib_PROGRAMS += evas_events
|
|
|
|
evas_events_SOURCES = evas-events.c
|
|
|
|
evas_events_LDADD = $(top_builddir)/src/lib/libevas.la @ECORE_EVAS_LIBS@
|
|
|
|
|
2011-06-14 13:12:53 -07:00
|
|
|
pkglib_PROGRAMS += evas_object_manipulation
|
|
|
|
evas_object_manipulation_SOURCES = evas-object-manipulation.c
|
|
|
|
evas_object_manipulation_LDADD = $(top_builddir)/src/lib/libevas.la @ECORE_EVAS_LIBS@
|
|
|
|
|
2011-06-17 14:17:07 -07:00
|
|
|
pkglib_PROGRAMS += evas_hints
|
|
|
|
evas_hints_SOURCES = evas-hints.c
|
|
|
|
evas_hints_LDADD = $(top_builddir)/src/lib/libevas.la @ECORE_EVAS_LIBS@
|
|
|
|
|
2011-06-27 09:04:51 -07:00
|
|
|
pkglib_PROGRAMS += evas_stacking
|
|
|
|
evas_stacking_SOURCES = evas-stacking.c
|
|
|
|
evas_stacking_LDADD = $(top_builddir)/src/lib/libevas.la @ECORE_EVAS_LIBS@
|
|
|
|
|
2011-06-17 14:16:59 -07:00
|
|
|
#the ones using ecore_evas and edje follow
|
|
|
|
AM_CPPFLAGS += @EDJE_CFLAGS@
|
|
|
|
|
|
|
|
pkglib_PROGRAMS += evas_aspect_hints
|
|
|
|
evas_aspect_hints_DEPS = $(srcdir)/aspect.edc
|
|
|
|
evas_aspect_hints_SOURCES = evas-aspect-hints.c
|
|
|
|
evas_aspect_hints_LDADD = $(top_builddir)/src/lib/libevas.la @ECORE_EVAS_LIBS@ @EDJE_LIBS@
|
|
|
|
|
|
|
|
aspect.edj: ${evas_aspect_hints_DEPS}
|
|
|
|
|
|
|
|
.edc.edj:
|
|
|
|
$(edje_cc) -v -id $(srcdir) $< $(builddir)/$(@F)
|
|
|
|
|
|
|
|
EDJS = $(EDCS:%.edc=%.edj)
|
|
|
|
|
|
|
|
files_DATA += $(EDJS)
|
|
|
|
|
2011-06-10 14:31:17 -07:00
|
|
|
endif # if BUILD_EXAMPLES
|
2010-03-17 21:57:40 -07:00
|
|
|
|
2011-06-17 14:16:59 -07:00
|
|
|
if INSTALL_EXAMPLES
|
|
|
|
|
|
|
|
#put here additional data when installing examples
|
|
|
|
files_DATA += $(srcdir)/enlightenment.png \
|
2011-06-14 13:12:53 -07:00
|
|
|
$(srcdir)/red.png
|
2010-03-17 21:57:40 -07:00
|
|
|
|
|
|
|
files_DATA += \
|
2011-06-17 14:16:59 -07:00
|
|
|
$(EDCS) \
|
2011-06-09 10:00:24 -07:00
|
|
|
$(srcdir)/evas-buffer-simple.c \
|
|
|
|
$(srcdir)/evas-init-shutdown.c \
|
2011-06-17 14:16:59 -07:00
|
|
|
$(srcdir)/evas-load-error-str.c \
|
|
|
|
$(srcdir)/evas-object-manipulation.c \
|
|
|
|
$(srcdir)/evas-events.c \
|
2011-06-17 14:17:07 -07:00
|
|
|
$(srcdir)/evas-aspect-hints.c \
|
2011-06-27 09:04:51 -07:00
|
|
|
$(srcdir)/evas-hints.c \
|
|
|
|
$(srcdir)/evas-stacking.c
|
2010-03-17 21:57:40 -07:00
|
|
|
endif
|
2011-06-22 15:38:05 -07:00
|
|
|
|
|
|
|
EXTRA_DIST = $(EDCS) \
|
2011-06-23 00:01:45 -07:00
|
|
|
$(srcdir)/evas-buffer-simple.c \
|
|
|
|
$(srcdir)/evas-init-shutdown.c \
|
|
|
|
$(srcdir)/evas-load-error-str.c \
|
|
|
|
$(srcdir)/evas-object-manipulation.c \
|
|
|
|
$(srcdir)/evas-events.c \
|
|
|
|
$(srcdir)/evas-aspect-hints.c \
|
|
|
|
$(srcdir)/evas-hints.c \
|
|
|
|
$(srcdir)/enlightenment.png \
|
|
|
|
$(srcdir)/red.png
|