2008-07-30 05:46:55 -07:00
|
|
|
MAINTAINERCLEANFILES = Makefile.in
|
|
|
|
|
|
|
|
AM_CPPFLAGS = \
|
2008-08-01 05:27:44 -07:00
|
|
|
-I$(top_srcdir)/src/include \
|
2008-10-15 09:23:14 -07:00
|
|
|
-I$(top_builddir)/src/include \
|
2008-08-18 01:18:16 -07:00
|
|
|
-DPACKAGE_BIN_DIR=\"$(bindir)\" \
|
|
|
|
-DPACKAGE_LIB_DIR=\"$(libdir)\" \
|
2009-06-25 12:55:06 -07:00
|
|
|
-DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \
|
2009-09-25 08:39:53 -07:00
|
|
|
@EINA_CPPFLAGS@ \
|
2010-02-01 22:48:52 -08:00
|
|
|
@EFL_EINA_BUILD@
|
2008-07-30 05:46:55 -07:00
|
|
|
|
2009-09-06 22:54:42 -07:00
|
|
|
base_sources = \
|
2010-11-06 16:40:21 -07:00
|
|
|
eina_accessor.c \
|
|
|
|
eina_array.c \
|
|
|
|
eina_benchmark.c \
|
|
|
|
eina_binshare.c \
|
|
|
|
eina_convert.c \
|
|
|
|
eina_counter.c \
|
|
|
|
eina_cpu.c \
|
2008-07-30 05:46:55 -07:00
|
|
|
eina_error.c \
|
2010-11-06 16:40:21 -07:00
|
|
|
eina_fp.c \
|
|
|
|
eina_hamster.c \
|
2008-07-30 05:46:55 -07:00
|
|
|
eina_hash.c \
|
|
|
|
eina_inlist.c \
|
2010-11-06 16:40:21 -07:00
|
|
|
eina_iterator.c \
|
|
|
|
eina_lalloc.c \
|
2008-07-30 05:46:55 -07:00
|
|
|
eina_list.c \
|
2010-11-06 16:40:21 -07:00
|
|
|
eina_log.c \
|
2008-07-31 08:08:19 -07:00
|
|
|
eina_magic.c \
|
2008-08-06 08:53:03 -07:00
|
|
|
eina_main.c \
|
2010-11-06 16:40:21 -07:00
|
|
|
eina_matrixsparse.c \
|
|
|
|
eina_mempool.c \
|
|
|
|
eina_module.c \
|
|
|
|
eina_quadtree.c \
|
2008-08-27 03:07:12 -07:00
|
|
|
eina_rbtree.c \
|
2008-10-27 13:24:12 -07:00
|
|
|
eina_rectangle.c \
|
2010-01-27 12:47:47 -08:00
|
|
|
eina_safety_checks.c \
|
2010-11-06 16:40:21 -07:00
|
|
|
eina_sched.c \
|
|
|
|
eina_share_common.c \
|
2010-01-27 12:47:47 -08:00
|
|
|
eina_str.c \
|
2010-04-29 10:21:14 -07:00
|
|
|
eina_strbuf.c \
|
2010-07-27 02:05:41 -07:00
|
|
|
eina_strbuf_common.c \
|
2010-11-06 16:40:21 -07:00
|
|
|
eina_stringshare.c \
|
|
|
|
eina_tiler.c \
|
2010-07-27 01:22:20 -07:00
|
|
|
eina_unicode.c \
|
2010-11-06 16:40:21 -07:00
|
|
|
eina_ustrbuf.c \
|
|
|
|
eina_ustringshare.c \
|
2011-04-06 03:14:03 -07:00
|
|
|
eina_value.c \
|
eina: add Eina_Object API.
This API is what could be used by all EFL library for their exposed
type (Evas_Object, Ecore_Timer, Ecore_Animator, Eio_File, ...). The
purpose of Eina_Object is to provide an "obscure" pointer that is
infact an ID with a generation count that will never be dereferenced
directly.
This provide the benefit of always accessing a living object
with 1/256 chance to being the expected generation of it, that will
always be of the right type.
It also provide asynchronous repacking ability (still highly
inefficient, but not really hard to improve), simple inheritance
with constructor/destructor and link between object.
All this implementation is highly open for comment, idea, review,
fix and change. I didn't got the time to write a sample test right
now. Maybe will come tomorrow. Same for docs.
SVN revision: 58562
2011-04-11 11:00:34 -07:00
|
|
|
eina_simple_xml_parser.c \
|
2011-04-24 00:35:30 -07:00
|
|
|
eina_object.c \
|
|
|
|
eina_prefix.c
|
2008-07-30 05:46:55 -07:00
|
|
|
|
2010-11-06 14:00:58 -07:00
|
|
|
if EINA_HAVE_WIN32
|
|
|
|
base_sources += eina_file_win32.c
|
|
|
|
else
|
|
|
|
base_sources += eina_file.c
|
|
|
|
endif
|
|
|
|
|
2010-08-19 01:30:01 -07:00
|
|
|
EXTRA_DIST = \
|
2010-11-06 16:40:21 -07:00
|
|
|
eina_share_common.h \
|
|
|
|
eina_private.h \
|
|
|
|
eina_strbuf_common.h \
|
|
|
|
eina_strbuf_template_c.x
|
2010-08-19 01:30:01 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
2009-09-06 22:54:42 -07:00
|
|
|
if EINA_STATIC_BUILD_CHAINED_POOL
|
2009-11-05 17:02:35 -08:00
|
|
|
base_sources += $(top_srcdir)/src/modules/mp/chained_pool/eina_chained_mempool.c
|
2008-09-22 22:17:49 -07:00
|
|
|
endif
|
|
|
|
|
2010-07-26 08:52:43 -07:00
|
|
|
if EINA_STATIC_BUILD_ONE_BIG
|
|
|
|
base_sources += $(top_srcdir)/src/modules/mp/one_big/eina_one_big.c
|
|
|
|
endif
|
|
|
|
|
2008-09-22 22:17:49 -07:00
|
|
|
if EINA_STATIC_BUILD_EMEMOA_FIXED
|
2009-11-05 17:02:35 -08:00
|
|
|
base_sources += $(top_srcdir)/src/modules/mp/ememoa_fixed/eina_ememoa_fixed.c
|
2008-09-22 22:17:49 -07:00
|
|
|
endif
|
|
|
|
|
|
|
|
if EINA_STATIC_BUILD_EMEMOA_UNKNOWN
|
2009-11-05 17:02:35 -08:00
|
|
|
base_sources += $(top_srcdir)/src/modules/mp/ememoa_unknown/eina_ememoa_unknown.c
|
2008-09-22 22:17:49 -07:00
|
|
|
endif
|
|
|
|
|
2009-06-19 23:42:32 -07:00
|
|
|
if EINA_STATIC_BUILD_FIXED_BITMAP
|
2009-11-05 17:02:35 -08:00
|
|
|
base_sources += $(top_srcdir)/src/modules/mp/fixed_bitmap/eina_fixed_bitmap.c
|
2009-06-19 23:42:32 -07:00
|
|
|
endif
|
|
|
|
|
2008-09-22 22:17:49 -07:00
|
|
|
if EINA_STATIC_BUILD_PASS_THROUGH
|
2009-11-05 17:02:35 -08:00
|
|
|
base_sources += $(top_srcdir)/src/modules/mp/pass_through/eina_pass_through.c
|
2009-09-06 22:54:42 -07:00
|
|
|
endif
|
2008-09-22 22:17:49 -07:00
|
|
|
|
2009-09-06 22:54:42 -07:00
|
|
|
lib_LTLIBRARIES = libeina.la
|
2008-09-22 22:17:49 -07:00
|
|
|
|
2009-09-06 22:54:42 -07:00
|
|
|
if EINA_AMALGAMATION
|
2009-11-05 17:02:35 -08:00
|
|
|
nodist_libeina_la_SOURCES = eina_amalgamation.c
|
2009-09-06 22:54:42 -07:00
|
|
|
|
2009-11-05 17:02:35 -08:00
|
|
|
eina_amalgamation.c: $(base_sources) Makefile
|
2009-11-01 13:00:22 -08:00
|
|
|
-rm -f eina_amalgamation.c
|
|
|
|
|
|
|
|
@echo "#ifdef HAVE_CONFIG_H" >> eina_amalgamation.c
|
|
|
|
@echo "#include \"config.h\"" >> eina_amalgamation.c
|
|
|
|
@echo "#endif" >> eina_amalgamation.c
|
|
|
|
|
|
|
|
@echo "#ifdef HAVE_ALLOCA_H" >> eina_amalgamation.c
|
|
|
|
@echo "# include <alloca.h>" >> eina_amalgamation.c
|
|
|
|
@echo "#elif defined __GNUC__" >> eina_amalgamation.c
|
|
|
|
@echo "# define alloca __builtin_alloca" >> eina_amalgamation.c
|
|
|
|
@echo "#elif defined _AIX" >> eina_amalgamation.c
|
|
|
|
@echo "# define alloca __alloca" >> eina_amalgamation.c
|
|
|
|
@echo "#elif defined _MSC_VER" >> eina_amalgamation.c
|
|
|
|
@echo "# include <malloc.h>" >> eina_amalgamation.c
|
|
|
|
@echo "# define alloca _alloca" >> eina_amalgamation.c
|
|
|
|
@echo "#else" >> eina_amalgamation.c
|
|
|
|
@echo "# include <stddef.h>" >> eina_amalgamation.c
|
|
|
|
@echo "# ifdef __cplusplus" >> eina_amalgamation.c
|
|
|
|
@echo "#extern \"C\"" >> eina_amalgamation.c
|
|
|
|
@echo "# endif" >> eina_amalgamation.c
|
|
|
|
@echo "#void *alloca (size_t);" >> eina_amalgamation.c
|
|
|
|
@echo "#endif" >> eina_amalgamation.c
|
|
|
|
|
|
|
|
@echo "#include <stdio.h>" >> eina_amalgamation.c
|
|
|
|
@echo "#include <stdlib.h>" >> eina_amalgamation.c
|
|
|
|
@echo "#include <string.h>" >> eina_amalgamation.c
|
|
|
|
@echo "#include <dlfcn.h>" >> eina_amalgamation.c
|
|
|
|
@echo "#include <sys/types.h>" >> eina_amalgamation.c
|
|
|
|
@echo "#include <dirent.h>" >> eina_amalgamation.c
|
|
|
|
@echo "#include <assert.h>" >> eina_amalgamation.c
|
|
|
|
@echo "#include <errno.h>" >> eina_amalgamation.c
|
2009-11-07 08:09:58 -08:00
|
|
|
@echo "#include <fnmatch.h>" >> eina_amalgamation.c
|
2009-11-01 13:00:22 -08:00
|
|
|
|
|
|
|
@echo "#ifdef HAVE_EVIL" >> eina_amalgamation.c
|
|
|
|
@echo "# include <Evil.h>" >> eina_amalgamation.c
|
|
|
|
@echo "#endif" >> eina_amalgamation.c
|
|
|
|
|
|
|
|
@echo "#include \"eina_config.h\"" >> eina_amalgamation.c
|
|
|
|
@echo "#include \"eina_private.h\"" >> eina_amalgamation.c
|
|
|
|
@echo "#include \"eina_safety_checks.h\"" >> eina_amalgamation.c
|
|
|
|
@echo "#include \"Eina.h\"" >> eina_amalgamation.c
|
2010-08-17 00:39:53 -07:00
|
|
|
@echo "#include \"eina_strbuf_common.h\"" >> eina_amalgamation.c
|
2010-07-27 08:15:45 -07:00
|
|
|
@echo "#include \"eina_share_common.h\"" >> eina_amalgamation.c
|
2009-09-06 22:54:42 -07:00
|
|
|
|
2009-11-05 17:02:35 -08:00
|
|
|
@for f in $(base_sources); do \
|
2010-04-24 07:31:23 -07:00
|
|
|
if [ `echo $$f | sed -e 's/^...\(.\).*/\1/'` != '/' ]; then \
|
2009-09-09 13:37:23 -07:00
|
|
|
file="$(srcdir)/$$f" ; \
|
|
|
|
else \
|
|
|
|
file="$$f" ; \
|
|
|
|
fi ; \
|
2009-11-01 13:00:22 -08:00
|
|
|
echo "/* file: $$file */" >> eina_amalgamation.c; \
|
2009-11-07 08:09:58 -08:00
|
|
|
grep -v -e '^# *include \+.\(config\|eina_[a-z_]\+\|Evil\|stdio\|stdlib\|string\|dlfcn\|dirent\|assert\|errno\|fnmatch\)[.]h.*' $$file >> eina_amalgamation.c; \
|
2009-09-06 22:54:42 -07:00
|
|
|
done
|
|
|
|
@echo "eina_amalgamation.c generated"
|
|
|
|
|
|
|
|
else
|
2009-11-05 17:02:35 -08:00
|
|
|
libeina_la_SOURCES = $(base_sources)
|
2008-09-22 22:17:49 -07:00
|
|
|
endif
|
|
|
|
|
2010-02-08 05:14:30 -08:00
|
|
|
libeina_la_LIBADD = @EINA_LIBS@ @dlopen_libs@
|
2010-02-01 22:48:52 -08:00
|
|
|
libeina_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -version-info @version_info@ @release_info@ @EFL_PTHREAD_LIBS@
|
|
|
|
libeina_la_CFLAGS = @EINA_CFLAGS@ @EFL_PTHREAD_CFLAGS@
|
2008-08-31 07:05:17 -07:00
|
|
|
|
|
|
|
clean-local:
|
2009-11-03 08:52:45 -08:00
|
|
|
rm -rf *.gcno eina_amalgamation.c
|