lib/emotion/emotion_smart.c \
lib/emotion/emotion_webcam.c \
lib/emotion/emotion_modules.c \
-lib/emotion/emotion_main.c
+lib/emotion/emotion_main.c \
+static_libs/buildsystem/buildsystem.h \
+static_libs/buildsystem/buildsystem_autotools.c
lib_emotion_libemotion_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
-DPACKAGE_BIN_DIR=\"$(bindir)\" \
-DPACKAGE_LIB_DIR=\"$(libdir)\" \
-DPACKAGE_DATA_DIR=\"$(datadir)/emotion\" \
-DPACKAGE_BUILD_DIR=\"$(abs_top_builddir)\" \
+-DPACKAGE_SRC_DIR=\"$(abs_top_srcdir)\" \
@EMOTION_CFLAGS@
lib_emotion_libemotion_la_LIBADD = @EMOTION_LIBS@
lib_emotion_libemotion_la_DEPENDENCIES = @EMOTION_INTERNAL_LIBS@
#endif
#include "emotion_private.h"
+#include "../../static_libs/buildsystem/buildsystem.h"
#include <unistd.h>
#ifdef EMOTION_STATIC_BUILD_XINE
const char **itr;
for (itr = built_modules; *itr != NULL; itr++)
{
- snprintf(buf, sizeof(buf),
- "%s/src/modules/emotion/%s/.libs",
- PACKAGE_BUILD_DIR, *itr);
+ bs_mod_get(buf, sizeof(buf), "emotion", *itr);
_emotion_modules = eina_module_list_get(_emotion_modules, buf,
EINA_FALSE, NULL, NULL);
}