Edje: clean up autotools

SVN revision: 76338
This commit is contained in:
Vincent Torri 2012-09-08 08:40:36 +00:00
parent 849362bd06
commit b751d12d93
1 changed files with 84 additions and 78 deletions

View File

@ -8,47 +8,47 @@ EDJE_CC_FLAGS = $(EDJE_CC_FLAGS_$(V)) -id $(srcdir) -fd $(srcdir)
EDJE_CODEGEN = @edje_codegen@ EDJE_CODEGEN = @edje_codegen@
EDJE_CODEGEN_FLAGS = --prefix=codegen_example EDJE_CODEGEN_FLAGS = --prefix=codegen_example
examplesdir = $(datadir)/$(PACKAGE)/examples examplesdir = $(pkgdatadir)/examples
if ENABLE_MULTISENSE if ENABLE_MULTISENSE
MULTISENSE_BIN_FILE = edje-multisense
MULTISENSE_C_FILE = edje-multisense.c
MULTISENSE_EDC_FILE = multisense.edc
SND_DIR = -sd $(srcdir) SND_DIR = -sd $(srcdir)
endif endif
#put here all EDCs one needs to the examples #put here all EDCs one needs to the examples
EDCS = \ EDCS = \
basic.edc \ basic.edc \
swallow.edc \ swallow.edc \
text.edc \ text.edc \
table.edc \ table.edc \
box.edc \ box.edc \
codegen.edc \ codegen.edc \
drag.edc \ drag.edc \
edje_example.edc \ edje_example.edc \
embryo_custom_state.edc \ embryo_custom_state.edc \
embryo_pong.edc \ embryo_pong.edc \
embryo_run_program.edc \ embryo_run_program.edc \
embryo_set_state.edc \ embryo_set_state.edc \
embryo_set_text.edc \ embryo_set_text.edc \
embryo_timer.edc \ embryo_timer.edc \
external_elm_anchorblock.edc \ external_elm_anchorblock.edc \
external_elm_button.edc \ external_elm_button.edc \
external_elm_check.edc \ external_elm_check.edc \
external_elm_panes.edc \ external_elm_panes.edc \
external_emotion_elm.edc \ external_emotion_elm.edc \
toggle_using_filter.edc \ toggle_using_filter.edc \
signals-messages.edc \ signals-messages.edc \
color-class.edc \ color-class.edc \
perspective.edc \ perspective.edc \
animations.edc \ animations.edc \
lua_script.edc \ lua_script.edc \
sigtest.edc \ sigtest.edc \
animations2.edc \ animations2.edc \
basic2.edc \ basic2.edc \
signalsBubble.edc \ signalsBubble.edc
$(MULTISENSE_EDC_FILE)
if ENABLE_MULTISENSE
EDCS += multisense.edc
endif
.edc.edj: .edc.edj:
$(EDJE_CC) $(EDJE_CC_FLAGS) $(SND_DIR) $< $(builddir)/$(@F) $(EDJE_CC) $(EDJE_CC_FLAGS) $(SND_DIR) $< $(builddir)/$(@F)
@ -56,33 +56,36 @@ EDCS = \
EDJS = $(EDCS:%.edc=%.edj) EDJS = $(EDCS:%.edc=%.edj)
filesdir = $(datadir)/$(PACKAGE)/examples filesdir = $(pkgdatadir)/examples
files_DATA = \ files_DATA = \
$(EDCS) \ $(EDCS) \
bubble.png \ bubble.png \
red.png \ red.png \
test.png \ test.png \
Vera.ttf \ Vera.ttf \
duck.wav \ duck.wav \
edje-codegen-example.c \ edje-codegen-example.c \
edje_example.c \ edje_example.c \
edje-basic.c \ edje-basic.c \
edje-swallow.c \ edje-swallow.c \
edje-text.c \ edje-text.c \
edje-table.c \ edje-table.c \
edje-box.c \ edje-box.c \
edje-box2.c \ edje-box2.c \
edje-drag.c \ edje-drag.c \
edje-signals-messages.c \ edje-signals-messages.c \
edje-color-class.c \ edje-color-class.c \
edje-perspective.c \ edje-perspective.c \
edje-animations.c \ edje-animations.c \
sigtest.c \ sigtest.c \
animations2.c \ animations2.c \
edje-basic2.c \ edje-basic2.c \
signals2.c \ signals2.c \
edje-swallow2.c \ edje-swallow2.c
$(MULTISENSE_C_FILE)
if ENABLE_MULTISENSE
files_DATA += edje-multisense.c
endif
EXTRA_DIST = $(files_DATA) EXTRA_DIST = $(files_DATA)
@ -107,24 +110,27 @@ edje_codegen_example_SOURCES = \
files_DATA += $(EDJS) files_DATA += $(EDJS)
examples_PROGRAMS = \ examples_PROGRAMS = \
edje-animations \ edje-animations \
edje-basic \ edje-basic \
edje-box \ edje-box \
edje-box2 \ edje-box2 \
edje-codegen-example \ edje-codegen-example \
edje-color-class \ edje-color-class \
edje-drag\ edje-drag\
edje-perspective \ edje-perspective \
edje-signals-messages \ edje-signals-messages \
edje-swallow \ edje-swallow \
edje-table \ edje-table \
edje-text \ edje-text \
sigtest \ sigtest \
animations2 \ animations2 \
edje-basic2 \ edje-basic2 \
signals2 \ signals2 \
edje-swallow2 \ edje-swallow2
$(MULTISENSE_BIN_FILE)
if ENABLE_MULTISENSE
examples_PROGRAMS += edje-multisense
endif
LDADD = $(top_builddir)/src/lib/libedje.la @EDJE_LIBS@ LDADD = $(top_builddir)/src/lib/libedje.la @EDJE_LIBS@