requirements_ecore_file="evil ${requirements_ecore_file}"
requirements_ecore_imf="evil ${requirements_ecore_imf}"
requirements_ecore_imf_evas="evil ${requirements_ecore_imf_evas}"
- EFL_ECORE_BUILD="-DEFL_ECORE_BUILD"
- EFL_ECORE_CON_BUILD="-DEFL_ECORE_CON_BUILD"
- EFL_ECORE_EVAS_BUILD="-DEFL_ECORE_EVAS_BUILD"
- EFL_ECORE_FILE_BUILD="-DEFL_ECORE_FILE_BUILD"
- EFL_ECORE_IMF_BUILD="-DEFL_ECORE_IMF_BUILD"
- EFL_ECORE_IMF_EVAS_BUILD="-DEFL_ECORE_IMF_EVAS_BUILD"
- EFL_ECORE_INPUT_BUILD="-DEFL_ECORE_INPUT_BUILD"
- EFL_ECORE_INPUT_EVAS_BUILD="-DEFL_ECORE_INPUT_EVAS_BUILD"
- EFL_ECORE_IPC_BUILD="-DEFL_ECORE_IPC_BUILD"
;;
esac
have_win32=""
have_wince=""
case "$host_os" in
- mingw32ce* | cegcc*)
- EFL_ECORE_WINCE_BUILD="-DEFL_ECORE_WINCE_BUILD"
+ mingw32ce*)
requirements_ecore_wince="evil ${requirements_ecore_wince}"
have_wince="yes"
;;
mingw*)
- EFL_ECORE_WIN32_BUILD="-DEFL_ECORE_WIN32_BUILD"
- EFL_ECORE_SDL_BUILD="-DEFL_ECORE_SDL_BUILD"
requirements_ecore_win32="evil ${requirements_ecore_win32}"
requirements_ecore_sdl="evil ${requirements_ecore_sdl}"
have_win32="yes"
WIN32_LIBS=""
case "$host_os" in
- mingw32ce* | cegcc*)
+ mingw32ce*)
WIN32_LIBS="-lws2"
dlopen_libs="-ldl"
;;
have_addrinfo="no"
case "$host_os" in
- mingw* | cegcc*)
+ mingw*)
AC_DEFINE(HAVE_DLFCN_H, 1, [Define to 1 if you have the <dlfcn.h> header file.])
AC_DEFINE(HAVE_SYS_MMAN_H, 1, [Define to 1 if you have the <sys/mman.h> header file.])
AC_DEFINE(HAVE_SYS_TIME_H, 1, [Define to 1 if you have the <sys/time.h> header file.])
AC_HEADER_STDC
AC_C___ATTRIBUTE__
-WIN32_CPPFLAGS=""
-WIN32_CFLAGS=""
-case "$host_os" in
- mingw32ce*)
- WIN32_CPPFLAGS="-D_WIN32_WCE=0x0420"
- ;;
- cegcc*)
- WIN32_CPPFLAGS="-D_WIN32_WCE=0x0420"
- WIN32_CFLAGS="-mwin32"
- ;;
- mingw*)
- WIN32_CPPFLAGS="-D_WIN32_WINNT=0x0501"
- ;;
-esac
-AC_SUBST(WIN32_CPPFLAGS)
-AC_SUBST(WIN32_CFLAGS)
-
### Checks for linker characteristics
-# use --enable-auto-import on Windows
-
-lt_enable_auto_import=""
-case "$host_os" in
- mingw* | cegcc*)
- lt_enable_auto_import="-Wl,--enable-auto-import"
- ;;
-esac
-AC_SUBST(lt_enable_auto_import)
-
### Checks for library functions
AC_ISC_POSIX
AC_FUNC_ALLOCA
-I$(top_srcdir)/src/lib/ecore_input \
-I$(top_srcdir)/src/lib/ecore_con \
-DPACKAGE_EXAMPLES_DIR=\"$(datadir)/$(PACKAGE)/examples\" \
-@GLIB_CFLAGS@ @EVIL_CFLAGS@ @EVAS_CFLAGS@ @EINA_CFLAGS@ @WIN32_CPPFLAGS@ @EFL_ECORE_BUILD@
+@GLIB_CFLAGS@ @EVIL_CFLAGS@ @EVAS_CFLAGS@ @EINA_CFLAGS@ @EFL_ECORE_BUILD@
ECOREBASELDADD = \
$(top_builddir)/src/lib/ecore/libecore.la \
MAINTAINERCLEANFILES = Makefile.in
-AM_CPPFLAGS = @GLIB_CFLAGS@ @EVIL_CFLAGS@ @EINA_CFLAGS@ @WIN32_CPPFLAGS@ @EFL_ECORE_BUILD@
-AM_CFLAGS = @WIN32_CFLAGS@ @EFL_PTHREAD_CFLAGS@
+AM_CPPFLAGS = \
+@GLIB_CFLAGS@ \
+@EVIL_CFLAGS@ \
+@EINA_CFLAGS@ \
+-DEFL_ECORE_BUILD
+
+AM_CFLAGS = @EFL_PTHREAD_CFLAGS@
lib_LTLIBRARIES = libecore.la
includes_HEADERS = \
ecore_timer.c \
ecore_thread.c \
ecore_glib.c \
-ecore_throttle.c
+ecore_throttle.c \
+ecore_private.h
if ECORE_HAVE_WIN32
endif
libecore_la_LIBADD = @dlopen_libs@ @EINA_LIBS@ @EVIL_LIBS@ @GLIB_LIBS@ @WIN32_LIBS@ @LTLIBINTL@ @EFL_PTHREAD_LIBS@ @rt_libs@ -lm
-libecore_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -version-info @version_info@ @release_info@ @EFL_PTHREAD_LIBS@
-
-EXTRA_DIST = ecore_private.h
+libecore_la_LDFLAGS = -no-undefined -version-info @version_info@ @release_info@ @EFL_PTHREAD_LIBS@
_ecore_thread_count_max = 1;
#ifdef EFL_HAVE_THREADS
-# ifdef EFL_HAVE_WIN32_THREADS
- LKI(_ecore_thread_win32_lock);
-# endif
LKI(_ecore_pending_job_threads_mutex);
LRWKI(_ecore_thread_global_hash_lock);
LKI(_ecore_thread_global_hash_mutex);
LKD(_ecore_thread_global_hash_mutex);
LKD(_ecore_running_job_mutex);
CDD(_ecore_thread_global_hash_cond);
-# ifdef EFL_HAVE_WIN32_THREADS
- LKU(_ecore_thread_win32_lock);
-# endif
#endif
}
-I$(top_builddir)/src/lib/ecore_con \
-I$(top_srcdir)/src/lib/ecore \
-I$(top_srcdir)/src/lib/ecore_con \
-@EFL_ECORE_CON_BUILD@ \
+-DEFL_ECORE_CON_BUILD \
@SSL_CFLAGS@ \
@CURL_CFLAGS@ \
@EVIL_CFLAGS@ \
@EINA_CFLAGS@ \
@TLS_CFLAGS@ \
@CARES_CFLAGS@ \
-@EET_CFLAGS@ \
-@WIN32_CPPFLAGS@
+@EET_CFLAGS@
lib_LTLIBRARIES = libecore_con.la
includes_HEADERS = Ecore_Con.h
ecore_con_socks.c \
ecore_con_ssl.c \
ecore_con_url.c \
-ecore_con_alloc.c
-
-libecore_con_la_CFLAGS = @WIN32_CFLAGS@
+ecore_con_alloc.c \
+ecore_con_private.h
if ECORE_HAVE_WIN32
libecore_con_la_SOURCES += ecore_con_local_win32.c
libecore_con_la_SOURCES += ecore_con_ares.c
else
if HAVE_IPV6
-libecore_con_la_CFLAGS += @ECORE_CON_CFLAGS@
+libecore_con_la_CFLAGS = @ECORE_CON_CFLAGS@
libecore_con_la_SOURCES += ecore_con_dns.c dns.c dns.h
else
libecore_con_la_SOURCES += ecore_con_info.c
$(top_builddir)/src/lib/ecore/libecore.la \
@SSL_LIBS@ @CURL_LIBS@ @EINA_LIBS@ @EVIL_LIBS@ @TLS_LIBS@ @CARES_LIBS@ @WIN32_LIBS@ @EET_LIBS@
-libecore_con_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -version-info @version_info@ @release_info@
-
-EXTRA_DIST = ecore_con_private.h
+libecore_con_la_LDFLAGS = -no-undefined -version-info @version_info@ @release_info@
-I$(top_builddir)/src/lib/ecore_evas \
-I$(top_builddir)/src/lib/ecore_input \
-I$(top_builddir)/src/lib/ecore_input_evas \
-@EFL_ECORE_EVAS_BUILD@ \
+-DEFL_ECORE_EVAS_BUILD \
$(ECORE_X_INC) \
$(ECORE_FB_INC) \
$(ECORE_DIRECTFB_INC) \
@EVIL_CFLAGS@ \
@WAYLAND_EGL_CFLAGS@
-AM_CFLAGS = @WIN32_CFLAGS@
-
lib_LTLIBRARIES = libecore_evas.la
includes_HEADERS = Ecore_Evas.h
includesdir = $(includedir)/ecore-@VMAJ@
ecore_evas_psl1ght.c \
ecore_evas_wayland_shm.c \
ecore_evas_wayland_egl.c \
-ecore_evas_extn.c
+ecore_evas_extn.c \
+ecore_evas_private.h
if BUILD_ECORE_WAYLAND
libecore_evas_la_SOURCES += \
@EFL_SHM_OPEN_LIBS@ \
@WAYLAND_EGL_LIBS@
-libecore_evas_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -version-info @version_info@ @release_info@
-
-EXTRA_DIST = \
-ecore_evas_private.h
+libecore_evas_la_LDFLAGS = -no-undefined -version-info @version_info@ @release_info@
-I$(top_srcdir)/src/lib/ecore \
-I$(top_srcdir)/src/lib/ecore_con \
-I$(top_builddir)/src/lib/ecore \
-@EFL_ECORE_FILE_BUILD@ \
+-DEFL_ECORE_FILE_BUILD \
@CURL_CFLAGS@ \
@EVIL_CFLAGS@ \
-@EINA_CFLAGS@ \
-@WIN32_CPPFLAGS@
-
-AM_CFLAGS = @WIN32_CFLAGS@
+@EINA_CFLAGS@
if BUILD_ECORE_CON
lib_ecore_con_la = $(top_builddir)/src/lib/ecore_con/libecore_con.la
ecore_file_monitor_win32.c \
ecore_file_monitor_poll.c \
ecore_file_path.c \
-ecore_file_download.c
+ecore_file_download.c \
+ecore_file_private.h
libecore_file_la_LIBADD = \
$(top_builddir)/src/lib/ecore/libecore.la \
@EVIL_LIBS@ \
@EINA_LIBS@
-libecore_file_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -version-info @version_info@ @release_info@
-
-EXTRA_DIST = ecore_file_private.h
-
+libecore_file_la_LDFLAGS = -no-undefined -version-info @version_info@ @release_info@
AM_CPPFLAGS = \
-I$(top_srcdir)/src/lib/ecore \
-DPACKAGE_LIB_DIR=\"$(libdir)\" \
-@EFL_ECORE_IMF_BUILD@ \
+-DEFL_ECORE_IMF_BUILD \
@EVIL_CFLAGS@ \
@EINA_CFLAGS@
-AM_CFLAGS = @WIN32_CFLAGS@
-
lib_LTLIBRARIES = libecore_imf.la
includes_HEADERS = Ecore_IMF.h
includesdir = $(includedir)/ecore-@VMAJ@
libecore_imf_la_SOURCES = \
ecore_imf.c \
ecore_imf_context.c \
-ecore_imf_module.c
+ecore_imf_module.c \
+ecore_imf_private.h
libecore_imf_la_LIBADD = \
$(top_builddir)/src/lib/ecore/libecore.la \
@EINA_LIBS@ \
@EVIL_LIBS@
-libecore_imf_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -version-info @version_info@ @release_info@
-
-EXTRA_DIST = ecore_imf_private.h
+libecore_imf_la_LDFLAGS = -no-undefined -version-info @version_info@ @release_info@
AM_CPPFLAGS = \
-I$(top_srcdir)/src/lib/ecore \
-I$(top_srcdir)/src/lib/ecore_imf \
-@EFL_ECORE_IMF_EVAS_BUILD@ \
+-DEFL_ECORE_IMF_EVAS_BUILD \
@EVAS_CFLAGS@ \
@EINA_CFLAGS@
@EVAS_LIBS@ \
@EINA_LIBS@
-libecore_imf_evas_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -version-info @version_info@ @release_info@
+libecore_imf_evas_la_LDFLAGS = -no-undefined -version-info @version_info@ @release_info@
AM_CPPFLAGS = \
-I$(top_srcdir)/src/lib/ecore \
-I$(top_builddir)/src/lib/ecore \
-@EFL_ECORE_INPUT_BUILD@ \
+-DEFL_ECORE_INPUT_BUILD \
@EINA_CFLAGS@ \
@EVIL_CFLAGS@
libecore_input_la_SOURCES = \
ecore_input.c \
ecore_input_compose.c \
-ecore_input_compose.h
+ecore_input_compose.h \
+ecore_input_private.h
libecore_input_la_LIBADD = \
$(top_builddir)/src/lib/ecore/libecore.la \
@EINA_LIBS@ \
@EVIL_LIBS@
-libecore_input_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -version-info @version_info@ @release_info@
-
-EXTRA_DIST = ecore_input_private.h
+libecore_input_la_LDFLAGS = -no-undefined -version-info @version_info@ @release_info@
-I$(top_builddir)/src/lib/ecore_input \
-I$(top_srcdir)/src/lib/ecore \
-I$(top_builddir)/src/lib/ecore \
-@EFL_ECORE_INPUT_EVAS_BUILD@ \
+-DEFL_ECORE_INPUT_EVAS_BUILD \
@EVAS_CFLAGS@ \
@EINA_CFLAGS@ \
@EVIL_CFLAGS@
includesdir = $(includedir)/ecore-@VMAJ@
libecore_input_evas_la_SOURCES = \
-ecore_input_evas.c
+ecore_input_evas.c \
+ecore_input_evas_private.h
libecore_input_evas_la_LIBADD = \
$(top_builddir)/src/lib/ecore_input/libecore_input.la \
@EINA_LIBS@ \
@EVIL_LIBS@
-libecore_input_evas_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -version-info @version_info@ @release_info@
-
-EXTRA_DIST = ecore_input_evas_private.h
+libecore_input_evas_la_LDFLAGS = -no-undefined -version-info @version_info@ @release_info@
-I$(top_srcdir)/src/lib/ecore \
-I$(top_srcdir)/src/lib/ecore_con \
-I$(top_srcdir)/src/lib/ecore_ipc \
-@EFL_ECORE_IPC_BUILD@ \
+-DEFL_ECORE_IPC_BUILD \
@SSL_CFLAGS@ \
@EVIL_CFLAGS@ \
-@EINA_CFLAGS@ \
-@WIN32_CPPFLAGS@
+@EINA_CFLAGS@
lib_LTLIBRARIES = libecore_ipc.la
includes_HEADERS = Ecore_Ipc.h
includesdir = $(includedir)/ecore-@VMAJ@
libecore_ipc_la_SOURCES = \
-ecore_ipc.c
+ecore_ipc.c \
+ecore_ipc_private.h
-libecore_ipc_la_CFLAGS = @WIN32_CFLAGS@
libecore_ipc_la_LIBADD = \
$(top_builddir)/src/lib/ecore/libecore.la \
$(top_builddir)/src/lib/ecore_con/libecore_con.la \
@WIN32_LIBS@
libecore_ipc_la_LDFLAGS = -no-undefined -version-info @version_info@ @release_info@
-
-EXTRA_DIST = ecore_ipc_private.h
libecore_psl1ght_la_SOURCES = \
ecore_psl1ght.c \
moveutil.c \
-spursutil.c
+spursutil.c \
+Ecore_Psl1ght_Keys.h \
+ecore_psl1ght_private.h
libecore_psl1ght_la_LIBADD = \
$(top_builddir)/src/lib/ecore/libecore.la \
$(top_builddir)/src/lib/ecore_input/libecore_input.la \
@EINA_LIBS@
-libecore_psl1ght_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -version-info @version_info@ @release_info@
-
-EXTRA_DIST = Ecore_Psl1ght_Keys.h ecore_psl1ght_private.h
+libecore_psl1ght_la_LDFLAGS = -no-undefined -version-info @version_info@ @release_info@
-I$(top_builddir)/src/lib/ecore \
-I$(top_builddir)/src/lib/ecore_evas \
-I$(top_builddir)/src/lib/ecore_input \
-@EFL_ECORE_SDL_BUILD@ \
+-DEFL_ECORE_SDL_BUILD \
@SDL_CFLAGS@ \
@EVAS_CFLAGS@ \
@EINA_CFLAGS@
includesdir = $(includedir)/ecore-@VMAJ@
libecore_sdl_la_SOURCES = \
-ecore_sdl.c
+ecore_sdl.c \
+ecore_sdl_private.h \
+Ecore_Sdl_Keys.h
libecore_sdl_la_LIBADD = \
$(top_builddir)/src/lib/ecore/libecore.la \
$(top_builddir)/src/lib/ecore_input/libecore_input.la \
@SDL_LIBS@ @EVIL_LIBS@ @EINA_LIBS@
-libecore_sdl_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -version-info @version_info@ @release_info@
-
-EXTRA_DIST = Ecore_Sdl_Keys.h ecore_sdl_private.h
+libecore_sdl_la_LDFLAGS = -no-undefined -version-info @version_info@ @release_info@
-I$(top_srcdir)/src/lib/ecore_input \
-I$(top_builddir)/src/lib/ecore \
-I$(top_builddir)/src/lib/ecore_input \
-@EFL_ECORE_WIN32_BUILD@ \
+-DEFL_ECORE_WIN32_BUILD \
@EVIL_CFLAGS@ \
-@EINA_CFLAGS@ \
-@WIN32_CPPFLAGS@
+@EINA_CFLAGS@
lib_LTLIBRARIES = libecore_win32.la
ecore_win32_dnd_drop_source.cpp \
ecore_win32_dnd_drop_target.cpp \
ecore_win32_event.c \
-ecore_win32_window.c
+ecore_win32_window.c \
+ecore_win32_private.h \
+ecore_win32_dnd_enumformatetc.h \
+ecore_win32_dnd_data_object.h \
+ecore_win32_dnd_drop_source.h \
+ecore_win32_dnd_drop_target.h
libecore_win32_la_LIBADD = \
@ecore_win32_libs@ \
@EINA_LIBS@ \
@EVIL_LIBS@
-libecore_win32_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -version-info @version_info@ @release_info@
-
-EXTRA_DIST = \
-ecore_win32_private.h \
-ecore_win32_dnd_enumformatetc.h \
-ecore_win32_dnd_data_object.h \
-ecore_win32_dnd_drop_source.h \
-ecore_win32_dnd_drop_target.h
+libecore_win32_la_LDFLAGS = -no-undefined -version-info @version_info@ @release_info@
-I$(top_srcdir)/src/lib/ecore_input \
-I$(top_builddir)/src/lib/ecore \
-I$(top_builddir)/src/lib/ecore_input \
-@EFL_ECORE_WINCE_BUILD@ \
+-DEFL_ECORE_WINCE_BUILD \
@EVAS_CFLAGS@ \
-@EINA_CFLAGS@ \
-@WIN32_CPPFLAGS@
-
-AM_CFLAGS = @WIN32_CFLAGS@
+@EINA_CFLAGS@
lib_LTLIBRARIES = libecore_wince.la
libecore_wince_la_SOURCES = \
ecore_wince.c \
ecore_wince_event.c \
-ecore_wince_window.c
+ecore_wince_window.c \
+ecore_wince_private.h
libecore_wince_la_LIBADD = \
@WIN32_LIBS@ \
@EINA_LIBS@ \
@EVIL_LIBS@
-libecore_wince_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -version-info @version_info@ @release_info@
-
-EXTRA_DIST = ecore_wince_private.h
+libecore_wince_la_LDFLAGS = -no-undefined -version-info @version_info@ @release_info@
@IBUS_LIBS@ \
@EVAS_LIBS@ \
@EINA_LIBS@
-ibus_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version
+ibus_la_LDFLAGS = -no-undefined -module -avoid-version
ibus_la_LIBTOOLFLAGS = --tag=disable-static
@SCIM_LIBS@ \
@EVAS_LIBS@ \
@EINA_LIBS@
-scim_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version
+scim_la_LDFLAGS = -no-undefined -module -avoid-version
scim_la_LIBTOOLFLAGS = --tag=disable-static
$(top_builddir)/src/lib/ecore_x/libecore_x.la \
@x_libs@ \
@EINA_LIBS@
-xim_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version
+xim_la_LDFLAGS = -no-undefined -module -avoid-version
xim_la_LIBTOOLFLAGS = --tag=disable-static