Makefile: compilation succed without png support
authorJérémy Zurcher <jeremy@asynk.ch>
Thu, 30 May 2013 21:47:35 +0000 (23:47 +0200)
committerJérémy Zurcher <jeremy@asynk.ch>
Thu, 30 May 2013 21:47:35 +0000 (23:47 +0200)
use --enable-image-loader-png=no
related to T64 and D133

src/Makefile_Emotion.am
src/Makefile_Ethumb.am
src/examples/edje/Makefile.am

index 74b5db7..4689f7d 100644 (file)
@@ -142,6 +142,7 @@ edje_external_emotion_module_la_LIBTOOLFLAGS = --tag=disable-static
 ### Unit tests
 
 if EFL_ENABLE_TESTS
+if BUILD_LOADER_PNG
 
 bin_PROGRAMS += tests/emotion/emotion_test
 
@@ -194,6 +195,7 @@ emotiondatafilesdir = $(datadir)/emotion/data
 emotiondatafiles_DATA = tests/emotion/data/theme.edj
 CLEANFILES += tests/emotion/data/theme.edj
 endif
+endif
 
 EXTRA_DIST += \
 $(EMOTION_DATA_FILES) \
index 50f873c..3137731 100644 (file)
@@ -27,6 +27,7 @@ lib_ethumb_libethumb_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@
 ## Modules
 
 # Emotion
+if BUILD_LOADER_PNG
 ethumbmoduleemotiondir = $(libdir)/ethumb/modules/emotion/$(MODULE_ARCH)
 ethumbmoduleemotion_LTLIBRARIES = modules/ethumb/emotion/module.la
 modules_ethumb_emotion_module_la_SOURCES = \
@@ -57,6 +58,7 @@ CLEANFILES += modules/ethumb/emotion/template.edj
 EXTRA_DIST += \
 modules/ethumb/emotion/template.edc \
 modules/ethumb/emotion/placeholder.png
+endif
 
 
 ### Binary
index a88f885..fc3ec35 100644 (file)
@@ -205,6 +205,8 @@ uninstall-local:
        done
 
 if ALWAYS_BUILD_EXAMPLES
+if BUILD_LOADER_PNG
 noinst_PROGRAMS = $(EXTRA_PROGRAMS)
 nodist_pkgdata_DATA = $(EDJS)
 endif
+endif