From ab144cb47475bface1ece6fc9869b135cd4a8ab7 Mon Sep 17 00:00:00 2001 From: Vincent Torri Date: Fri, 21 Sep 2012 08:15:58 +0000 Subject: merge: fix compilation when no EFL is installed... tested on linux and windows. And disable valgrind as there's a link problem in eet binary, i'll check that later SVN revision: 76938 --- src/bin/eet/Makefile.am | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) (limited to 'src/bin/eet') diff --git a/src/bin/eet/Makefile.am b/src/bin/eet/Makefile.am index af5fa844c8..eb536c4514 100644 --- a/src/bin/eet/Makefile.am +++ b/src/bin/eet/Makefile.am @@ -1,17 +1,33 @@ - MAINTAINERCLEANFILES = Makefile.in AM_CPPFLAGS = \ +-I$(top_srcdir)/src/include/eina \ -I$(top_srcdir)/src/lib/eet \ +-I$(top_builddir)/src/include/eina \ -I$(top_builddir)/src/lib/eet \ -DPACKAGE_BIN_DIR=\"$(bindir)\" \ -DPACKAGE_LIB_DIR=\"$(libdir)\" \ -DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \ @EET_CFLAGS@ +if HAVE_WINDOWS +AM_CPPFLAGS += \ +-I$(top_srcdir)/src/lib/evil \ +-I$(top_builddir)/src/lib/evil +endif + bin_PROGRAMS = @EET_PRG@ EXTRA_PROGRAMS = eet eet_SOURCES = eet_main.c -eet_LDADD = $(top_builddir)/src/lib/eet/libeet.la @EET_LIBS@ +eet_LDADD = \ +$(top_builddir)/src/lib/eet/libeet.la \ +$(top_builddir)/src/lib/eina/libeina.la + +if HAVE_WINDOWS +eet_LDADD += $(top_builddir)/src/lib/evil/libdl.la +endif + +eet_LDADD += @EET_LIBS@ + eet_LDFLAGS = @lt_enable_auto_import@ -- cgit v1.2.1