autotools: build Sphere Hunter with the rest of the examples.

This commit is contained in:
Cedric BAIL 2014-12-10 06:05:24 +01:00
parent 3378828d7f
commit e59b5b8342
3 changed files with 45 additions and 0 deletions

View File

@ -460,6 +460,7 @@ src/modules/test_entry/Makefile
src/modules/test_map/Makefile
src/edje_externals/Makefile
src/examples/Makefile
src/examples/sphere_hunter/Makefile
src/tests/Makefile
src/imported/Makefile
src/imported/atspi/Makefile

View File

@ -1,5 +1,7 @@
MAINTAINERCLEANFILES = Makefile.in
SUBDIRS = sphere_hunter
include ../../Makefile_Elm_Helpers.am
.PHONY: screenshots

View File

@ -0,0 +1,42 @@
MAINTAINERCLEANFILES = Makefile.in
include ../../../Makefile_Elm_Helpers.am
examplesdir = $(pkgdatadir)/examples/sphere_hunter
filesdir = $(pkgdatadir)/examples/sphere_hunter
files_DATA =
AM_CPPFLAGS = \
-Wno-unused-parameter \
-I. \
-I$(top_srcdir)/src/lib \
-I$(top_builddir)/src/lib \
-DPACKAGE_DATA_DIR="\"$(pkgdatadir)\"" \
-DPACKAGE_BIN_DIR=\"$(bindir)\" \
-DPACKAGE_LIB_DIR=\"$(libdir)\" \
@ELEMENTARY_CFLAGS@
LDADD = \
@ELEMENTARY_LIBS@ \
$(top_builddir)/src/lib/libelementary.la
SRCS = evas_3d_sphere_hunter.c
.edc.edj:
$(AM_V_EDJ)$(EDJE_CC) $(EDJE_CC_FLAGS) $< $@
if EFL_BUILD_EXAMPLES
files_DATA += $(SRCS) sphere_hunter.edc sphere_hunter.edj
clean-local:
rm -f *.edj
sphere_hunter_SOURCES = \
evas_3d_sphere_hunter.c
examples_PROGRAMS = \
sphere_hunter
endif
EXTRA_DIST = sphere_hunter.edc score.jpg EFL_victory.png EFL_defeat.png