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,12 +8,9 @@ EDJE_CC_FLAGS = $(EDJE_CC_FLAGS_$(V)) -id $(srcdir) -fd $(srcdir)
EDJE_CODEGEN = @edje_codegen@
EDJE_CODEGEN_FLAGS = --prefix=codegen_example
examplesdir = $(datadir)/$(PACKAGE)/examples
examplesdir = $(pkgdatadir)/examples
if ENABLE_MULTISENSE
MULTISENSE_BIN_FILE = edje-multisense
MULTISENSE_C_FILE = edje-multisense.c
MULTISENSE_EDC_FILE = multisense.edc
SND_DIR = -sd $(srcdir)
endif
@ -47,8 +44,11 @@ EDCS = \
sigtest.edc \
animations2.edc \
basic2.edc \
signalsBubble.edc \
$(MULTISENSE_EDC_FILE)
signalsBubble.edc
if ENABLE_MULTISENSE
EDCS += multisense.edc
endif
.edc.edj:
$(EDJE_CC) $(EDJE_CC_FLAGS) $(SND_DIR) $< $(builddir)/$(@F)
@ -56,7 +56,7 @@ EDCS = \
EDJS = $(EDCS:%.edc=%.edj)
filesdir = $(datadir)/$(PACKAGE)/examples
filesdir = $(pkgdatadir)/examples
files_DATA = \
$(EDCS) \
bubble.png \
@ -81,8 +81,11 @@ files_DATA = \
animations2.c \
edje-basic2.c \
signals2.c \
edje-swallow2.c \
$(MULTISENSE_C_FILE)
edje-swallow2.c
if ENABLE_MULTISENSE
files_DATA += edje-multisense.c
endif
EXTRA_DIST = $(files_DATA)
@ -123,8 +126,11 @@ examples_PROGRAMS = \
animations2 \
edje-basic2 \
signals2 \
edje-swallow2 \
$(MULTISENSE_BIN_FILE)
edje-swallow2
if ENABLE_MULTISENSE
examples_PROGRAMS += edje-multisense
endif
LDADD = $(top_builddir)/src/lib/libedje.la @EDJE_LIBS@