fi
AC_SUBST(DEBUG_CFLAGS)
+PKG_CHECK_MODULES(EINA, [eina-0])
+
EFL_CHECK_DOXYGEN([enable_doc="yes"], [enable_doc="no"])
AC_OUTPUT([
-I$(top_srcdir)/src/lib \
-DPACKAGE_BIN_DIR=\"$(bindir)\" \
-DPACKAGE_LIB_DIR=\"$(libdir)\" \
--DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\"
+-DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \
+@EINA_CFLAGS@
bin_PROGRAMS = eet
eet_SOURCES = eet_main.c
eet_CFLAGS = @WIN32_CFLAGS@
-eet_LDADD = $(top_builddir)/src/lib/libeet.la
+eet_LDADD = $(top_builddir)/src/lib/libeet.la @EINA_LIBS@
eet_LDFLAGS = @lt_enable_auto_import@
eet_DEPENDENCIES = $(top_builddir)/src/lib/libeet.la
-DPACKAGE_LIB_DIR=\"$(libdir)\" \
-DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \
@EVIL_CFLAGS@ \
+@EINA_CFLAGS@ \
@EFL_COVERAGE_CFLAGS@ \
@OPENSSL_CFLAGS@
eet_utils.c
libeet_la_CFLAGS = @WIN32_CFLAGS@
-libeet_la_LIBADD = @OPENSSL_LIBS@ @EFL_COVERAGE_LIBS@ @EVIL_LIBS@ @WIN32_LIBS@ -lz -ljpeg -lm
+libeet_la_LIBADD = @OPENSSL_LIBS@ @EFL_COVERAGE_LIBS@ @EVIL_LIBS@ @WIN32_LIBS@ @EINA_LIBS@ -lz -ljpeg -lm
libeet_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -version-info @version_info@
EXTRA_DIST = Eet_private.h
AM_CPPFLAGS = \
-I$(top_srcdir)/src/lib \
-@CHECK_CFLAGS@
-
+@CHECK_CFLAGS@ \
+@EINA_CFLAGS@
if EFL_ENABLE_TESTS
check_PROGRAMS = eet_suite
eet_suite_SOURCES = eet_suite.c eet_data_suite.c
-eet_suite_LDADD = @CHECK_LIBS@ $(top_builddir)/src/lib/libeet.la
+eet_suite_LDADD = @EINA_LIBS@ @CHECK_LIBS@ $(top_builddir)/src/lib/libeet.la
endif