lib/elementary/efl_selection_manager_private.h \
lib/elementary/efl_selection.c \
lib/elementary/efl_ui_dnd.c \
+ static_libs/buildsystem/buildsystem.h \
+ static_libs/buildsystem/buildsystem_autotools.c \
$(NULL)
-DPACKAGE_DATA_DIR=\"$(datadir)/elementary\" \
-DPACKAGE_BIN_DIR=\"$(bindir)\" \
-DPACKAGE_LIB_DIR=\"$(libdir)\" \
+-DPACKAGE_BUILD_DIR=\"$(abs_top_builddir)\" \
+-DPACKAGE_SRC_DIR=\"$(abs_top_srcdir)\" \
-DLOCALE_DIR=\"$(localedir)\" \
-DICON_DIR=\"$(datadir)/icons\" \
-DELM_TOP_BUILD_DIR=\"$(top_builddir)\" \
#endif
#include <Elementary.h>
-
+#include "../../static_libs/buildsystem/buildsystem.h"
#include "elm_priv.h"
/* what are moodules in elementary for? for modularising behavior and features
#ifdef NEED_RUN_IN_TREE
if (getenv("EFL_RUN_IN_TREE"))
{
- snprintf(buf, sizeof(buf),
- ELM_TOP_BUILD_DIR "/src/modules/elementary/%s/.libs/module"EFL_SHARED_EXTENSION, m->name);
+ bs_mod_get(buf, sizeof(buf), "elementary", m->name);
}
else
#endif
#include <Elementary.h>
+#include "../../static_libs/buildsystem/buildsystem.h"
#include "elm_priv.h"
#include "elm_widget_web.h"
{
char buf[PATH_MAX];
-#ifdef NEED_RUN_IN_TREE
- if (getenv("EFL_RUN_IN_TREE"))
- snprintf(buf, sizeof(buf),
- ELM_TOP_BUILD_DIR"/src/modules/web/%s/.libs/module"EFL_SHARED_EXTENSION,
- engine);
- else
-#endif
- snprintf(buf, sizeof(buf),
- "%s/elementary/modules/web/%s/%s/module"EFL_SHARED_EXTENSION,
- _elm_lib_dir, engine, MODULE_ARCH);
+ if (!bs_mod_get(buf, sizeof(buf), "elementary/web", engine))
+ snprintf(buf, sizeof(buf),
+ "%s/elementary/modules/web/%s/%s/module"EFL_SHARED_EXTENSION,
+ _elm_lib_dir, engine, MODULE_ARCH);
if (ewm.m)
{