ecore: don't build binary if not requested.

SVN revision: 65442
This commit is contained in:
Cedric BAIL 2011-11-20 14:37:14 +00:00
parent c0ea91460a
commit 1e44040cf6
1 changed files with 5 additions and 1 deletions

View File

@ -8,6 +8,10 @@ ECORE_CONFIG_PROG =
ECORE_CONFIG_LIB =
endif
if EFL_ENABLE_TESTS
ECORE_TEST_PROG = ecore_test
endif
AM_CPPFLAGS = \
-I$(top_srcdir)/src/lib/ecore \
-I$(top_srcdir)/src/lib/ecore_config \
@ -18,7 +22,7 @@ AM_CPPFLAGS = \
-DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \
@EINA_CFLAGS@ @EVAS_CFLAGS@
bin_PROGRAMS = $(ECORE_CONFIG_PROG) ecore_test
bin_PROGRAMS = $(ECORE_CONFIG_PROG) $(ECORE_TEST_PROG)
ecore_config_SOURCES = \
ecore_config.c