diff options
author | David Walter Seikel | 2012-01-04 18:41:13 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-01-04 18:41:13 +1000 |
commit | dd7595a3475407a7fa96a97393bae8c5220e8762 (patch) | |
tree | e341e911d7eb911a51684a7412ef7f7c7605d28e /libraries/eina/src/modules/mp | |
parent | Add the skeleton. (diff) | |
download | SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.zip SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.gz SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.bz2 SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.xz |
Add the base Enlightenment Foundation Libraries - eina, eet, evas, ecore, embryo, and edje.
Note that embryo wont be used, but I'm not sure yet if you can build edje without it.
Diffstat (limited to '')
23 files changed, 7289 insertions, 0 deletions
diff --git a/libraries/eina/src/modules/mp/Makefile.am b/libraries/eina/src/modules/mp/Makefile.am new file mode 100644 index 0000000..435d57a --- /dev/null +++ b/libraries/eina/src/modules/mp/Makefile.am | |||
@@ -0,0 +1,45 @@ | |||
1 | MAINTAINERCLEANFILES = Makefile.in | ||
2 | |||
3 | SUBDIRS = | ||
4 | |||
5 | if EINA_BUILD_BUDDY | ||
6 | if !EINA_STATIC_BUILD_BUDDY | ||
7 | SUBDIRS += buddy | ||
8 | endif | ||
9 | endif | ||
10 | |||
11 | if EINA_BUILD_CHAINED_POOL | ||
12 | if !EINA_STATIC_BUILD_CHAINED_POOL | ||
13 | SUBDIRS += chained_pool | ||
14 | endif | ||
15 | endif | ||
16 | |||
17 | if EINA_BUILD_EMEMOA_FIXED | ||
18 | if !EINA_STATIC_BUILD_EMEMOA_FIXED | ||
19 | SUBDIRS += ememoa_fixed | ||
20 | endif | ||
21 | endif | ||
22 | |||
23 | if EINA_BUILD_EMEMOA_UNKNOWN | ||
24 | if !EINA_STATIC_BUILD_EMEMOA_UNKNOWN | ||
25 | SUBDIRS += ememoa_unknown | ||
26 | endif | ||
27 | endif | ||
28 | |||
29 | if EINA_BUILD_FIXED_BITMAP | ||
30 | if !EINA_STATIC_BUILD_FIXED_BITMAP | ||
31 | SUBDIRS += fixed_bitmap | ||
32 | endif | ||
33 | endif | ||
34 | |||
35 | if EINA_BUILD_ONE_BIG | ||
36 | if !EINA_STATIC_BUILD_ONE_BIG | ||
37 | SUBDIRS += one_big | ||
38 | endif | ||
39 | endif | ||
40 | |||
41 | if EINA_BUILD_PASS_THROUGH | ||
42 | if !EINA_STATIC_BUILD_PASS_THROUGH | ||
43 | SUBDIRS += pass_through | ||
44 | endif | ||
45 | endif | ||
diff --git a/libraries/eina/src/modules/mp/Makefile.in b/libraries/eina/src/modules/mp/Makefile.in new file mode 100644 index 0000000..d7e67ad --- /dev/null +++ b/libraries/eina/src/modules/mp/Makefile.in | |||
@@ -0,0 +1,639 @@ | |||
1 | # Makefile.in generated by automake 1.11.1 from Makefile.am. | ||
2 | # @configure_input@ | ||
3 | |||
4 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | ||
5 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, | ||
6 | # Inc. | ||
7 | # This Makefile.in is free software; the Free Software Foundation | ||
8 | # gives unlimited permission to copy and/or distribute it, | ||
9 | # with or without modifications, as long as this notice is preserved. | ||
10 | |||
11 | # This program is distributed in the hope that it will be useful, | ||
12 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without | ||
13 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A | ||
14 | # PARTICULAR PURPOSE. | ||
15 | |||
16 | @SET_MAKE@ | ||
17 | VPATH = @srcdir@ | ||
18 | pkgdatadir = $(datadir)/@PACKAGE@ | ||
19 | pkgincludedir = $(includedir)/@PACKAGE@ | ||
20 | pkglibdir = $(libdir)/@PACKAGE@ | ||
21 | pkglibexecdir = $(libexecdir)/@PACKAGE@ | ||
22 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | ||
23 | install_sh_DATA = $(install_sh) -c -m 644 | ||
24 | install_sh_PROGRAM = $(install_sh) -c | ||
25 | install_sh_SCRIPT = $(install_sh) -c | ||
26 | INSTALL_HEADER = $(INSTALL_DATA) | ||
27 | transform = $(program_transform_name) | ||
28 | NORMAL_INSTALL = : | ||
29 | PRE_INSTALL = : | ||
30 | POST_INSTALL = : | ||
31 | NORMAL_UNINSTALL = : | ||
32 | PRE_UNINSTALL = : | ||
33 | POST_UNINSTALL = : | ||
34 | build_triplet = @build@ | ||
35 | host_triplet = @host@ | ||
36 | @EINA_BUILD_BUDDY_TRUE@@EINA_STATIC_BUILD_BUDDY_FALSE@am__append_1 = buddy | ||
37 | @EINA_BUILD_CHAINED_POOL_TRUE@@EINA_STATIC_BUILD_CHAINED_POOL_FALSE@am__append_2 = chained_pool | ||
38 | @EINA_BUILD_EMEMOA_FIXED_TRUE@@EINA_STATIC_BUILD_EMEMOA_FIXED_FALSE@am__append_3 = ememoa_fixed | ||
39 | @EINA_BUILD_EMEMOA_UNKNOWN_TRUE@@EINA_STATIC_BUILD_EMEMOA_UNKNOWN_FALSE@am__append_4 = ememoa_unknown | ||
40 | @EINA_BUILD_FIXED_BITMAP_TRUE@@EINA_STATIC_BUILD_FIXED_BITMAP_FALSE@am__append_5 = fixed_bitmap | ||
41 | @EINA_BUILD_ONE_BIG_TRUE@@EINA_STATIC_BUILD_ONE_BIG_FALSE@am__append_6 = one_big | ||
42 | @EINA_BUILD_PASS_THROUGH_TRUE@@EINA_STATIC_BUILD_PASS_THROUGH_FALSE@am__append_7 = pass_through | ||
43 | subdir = src/modules/mp | ||
44 | DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in | ||
45 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | ||
46 | am__aclocal_m4_deps = $(top_srcdir)/m4/efl_attribute.m4 \ | ||
47 | $(top_srcdir)/m4/efl_benchmark.m4 \ | ||
48 | $(top_srcdir)/m4/efl_compiler_flag.m4 \ | ||
49 | $(top_srcdir)/m4/efl_coverage.m4 $(top_srcdir)/m4/efl_cpu.m4 \ | ||
50 | $(top_srcdir)/m4/efl_doxygen.m4 \ | ||
51 | $(top_srcdir)/m4/efl_examples.m4 \ | ||
52 | $(top_srcdir)/m4/efl_fnmatch.m4 \ | ||
53 | $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ | ||
54 | $(top_srcdir)/m4/efl_threads.m4 \ | ||
55 | $(top_srcdir)/m4/efl_voltron.m4 $(top_srcdir)/m4/eina_bench.m4 \ | ||
56 | $(top_srcdir)/m4/eina_check.m4 $(top_srcdir)/m4/libtool.m4 \ | ||
57 | $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ | ||
58 | $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ | ||
59 | $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac | ||
60 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | ||
61 | $(ACLOCAL_M4) | ||
62 | mkinstalldirs = $(install_sh) -d | ||
63 | CONFIG_HEADER = $(top_builddir)/config.h | ||
64 | CONFIG_CLEAN_FILES = | ||
65 | CONFIG_CLEAN_VPATH_FILES = | ||
66 | AM_V_GEN = $(am__v_GEN_$(V)) | ||
67 | am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) | ||
68 | am__v_GEN_0 = @echo " GEN " $@; | ||
69 | AM_V_at = $(am__v_at_$(V)) | ||
70 | am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) | ||
71 | am__v_at_0 = @ | ||
72 | SOURCES = | ||
73 | DIST_SOURCES = | ||
74 | RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ | ||
75 | html-recursive info-recursive install-data-recursive \ | ||
76 | install-dvi-recursive install-exec-recursive \ | ||
77 | install-html-recursive install-info-recursive \ | ||
78 | install-pdf-recursive install-ps-recursive install-recursive \ | ||
79 | installcheck-recursive installdirs-recursive pdf-recursive \ | ||
80 | ps-recursive uninstall-recursive | ||
81 | RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ | ||
82 | distclean-recursive maintainer-clean-recursive | ||
83 | AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ | ||
84 | $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ | ||
85 | distdir | ||
86 | ETAGS = etags | ||
87 | CTAGS = ctags | ||
88 | DIST_SUBDIRS = buddy chained_pool ememoa_fixed ememoa_unknown \ | ||
89 | fixed_bitmap one_big pass_through | ||
90 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
91 | am__relativize = \ | ||
92 | dir0=`pwd`; \ | ||
93 | sed_first='s,^\([^/]*\)/.*$$,\1,'; \ | ||
94 | sed_rest='s,^[^/]*/*,,'; \ | ||
95 | sed_last='s,^.*/\([^/]*\)$$,\1,'; \ | ||
96 | sed_butlast='s,/*[^/]*$$,,'; \ | ||
97 | while test -n "$$dir1"; do \ | ||
98 | first=`echo "$$dir1" | sed -e "$$sed_first"`; \ | ||
99 | if test "$$first" != "."; then \ | ||
100 | if test "$$first" = ".."; then \ | ||
101 | dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ | ||
102 | dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ | ||
103 | else \ | ||
104 | first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ | ||
105 | if test "$$first2" = "$$first"; then \ | ||
106 | dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ | ||
107 | else \ | ||
108 | dir2="../$$dir2"; \ | ||
109 | fi; \ | ||
110 | dir0="$$dir0"/"$$first"; \ | ||
111 | fi; \ | ||
112 | fi; \ | ||
113 | dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ | ||
114 | done; \ | ||
115 | reldir="$$dir2" | ||
116 | ACLOCAL = @ACLOCAL@ | ||
117 | ALLOCA = @ALLOCA@ | ||
118 | AMTAR = @AMTAR@ | ||
119 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | ||
120 | AR = @AR@ | ||
121 | AS = @AS@ | ||
122 | AUTOCONF = @AUTOCONF@ | ||
123 | AUTOHEADER = @AUTOHEADER@ | ||
124 | AUTOMAKE = @AUTOMAKE@ | ||
125 | AWK = @AWK@ | ||
126 | CC = @CC@ | ||
127 | CCDEPMODE = @CCDEPMODE@ | ||
128 | CFLAGS = @CFLAGS@ | ||
129 | CHECK_CFLAGS = @CHECK_CFLAGS@ | ||
130 | CHECK_LIBS = @CHECK_LIBS@ | ||
131 | CPP = @CPP@ | ||
132 | CPPFLAGS = @CPPFLAGS@ | ||
133 | CXX = @CXX@ | ||
134 | CXXCPP = @CXXCPP@ | ||
135 | CXXDEPMODE = @CXXDEPMODE@ | ||
136 | CXXFLAGS = @CXXFLAGS@ | ||
137 | CYGPATH_W = @CYGPATH_W@ | ||
138 | DEFS = @DEFS@ | ||
139 | DEPDIR = @DEPDIR@ | ||
140 | DLLTOOL = @DLLTOOL@ | ||
141 | DSYMUTIL = @DSYMUTIL@ | ||
142 | DUMPBIN = @DUMPBIN@ | ||
143 | ECHO_C = @ECHO_C@ | ||
144 | ECHO_N = @ECHO_N@ | ||
145 | ECHO_T = @ECHO_T@ | ||
146 | ECORE_EVAS_CFLAGS = @ECORE_EVAS_CFLAGS@ | ||
147 | ECORE_EVAS_LIBS = @ECORE_EVAS_LIBS@ | ||
148 | EFL_COVERAGE_CFLAGS = @EFL_COVERAGE_CFLAGS@ | ||
149 | EFL_COVERAGE_LIBS = @EFL_COVERAGE_LIBS@ | ||
150 | EFL_EINA_BUILD = @EFL_EINA_BUILD@ | ||
151 | EFL_FNMATCH_LIBS = @EFL_FNMATCH_LIBS@ | ||
152 | EFL_PTHREAD_CFLAGS = @EFL_PTHREAD_CFLAGS@ | ||
153 | EFL_PTHREAD_LIBS = @EFL_PTHREAD_LIBS@ | ||
154 | EFL_SIMD_FLAGS = @EFL_SIMD_FLAGS@ | ||
155 | EGREP = @EGREP@ | ||
156 | EINA_CFLAGS = @EINA_CFLAGS@ | ||
157 | EINA_CONFIGURE_DEFAULT_MEMPOOL = @EINA_CONFIGURE_DEFAULT_MEMPOOL@ | ||
158 | EINA_CONFIGURE_HAVE_DEBUG_THREADS = @EINA_CONFIGURE_HAVE_DEBUG_THREADS@ | ||
159 | EINA_CONFIGURE_HAVE_INTTYPES_H = @EINA_CONFIGURE_HAVE_INTTYPES_H@ | ||
160 | EINA_CONFIGURE_HAVE_ON_OFF_THREADS = @EINA_CONFIGURE_HAVE_ON_OFF_THREADS@ | ||
161 | EINA_CONFIGURE_HAVE_STDINT_H = @EINA_CONFIGURE_HAVE_STDINT_H@ | ||
162 | EINA_CONFIGURE_HAVE_THREADS = @EINA_CONFIGURE_HAVE_THREADS@ | ||
163 | EINA_CONFIGURE_MAGIC_DEBUG = @EINA_CONFIGURE_MAGIC_DEBUG@ | ||
164 | EINA_CONFIGURE_SAFETY_CHECKS = @EINA_CONFIGURE_SAFETY_CHECKS@ | ||
165 | EINA_CPPFLAGS = @EINA_CPPFLAGS@ | ||
166 | EINA_LIBS = @EINA_LIBS@ | ||
167 | EINA_SIZEOF_WCHAR_T = @EINA_SIZEOF_WCHAR_T@ | ||
168 | EMEMOA_CFLAGS = @EMEMOA_CFLAGS@ | ||
169 | EMEMOA_LIBS = @EMEMOA_LIBS@ | ||
170 | ESCAPE_CFLAGS = @ESCAPE_CFLAGS@ | ||
171 | ESCAPE_LIBS = @ESCAPE_LIBS@ | ||
172 | EVIL_CFLAGS = @EVIL_CFLAGS@ | ||
173 | EVIL_LIBS = @EVIL_LIBS@ | ||
174 | EXEEXT = @EXEEXT@ | ||
175 | FGREP = @FGREP@ | ||
176 | GLIB_CFLAGS = @GLIB_CFLAGS@ | ||
177 | GLIB_LIBS = @GLIB_LIBS@ | ||
178 | GREP = @GREP@ | ||
179 | INSTALL = @INSTALL@ | ||
180 | INSTALL_DATA = @INSTALL_DATA@ | ||
181 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | ||
182 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | ||
183 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | ||
184 | LD = @LD@ | ||
185 | LDFLAGS = @LDFLAGS@ | ||
186 | LIBOBJS = @LIBOBJS@ | ||
187 | LIBS = @LIBS@ | ||
188 | LIBTOOL = @LIBTOOL@ | ||
189 | LIPO = @LIPO@ | ||
190 | LN_S = @LN_S@ | ||
191 | LTLIBOBJS = @LTLIBOBJS@ | ||
192 | MAKEINFO = @MAKEINFO@ | ||
193 | MKDIR_P = @MKDIR_P@ | ||
194 | MODULE_ARCH = @MODULE_ARCH@ | ||
195 | NM = @NM@ | ||
196 | NMEDIT = @NMEDIT@ | ||
197 | OBJDUMP = @OBJDUMP@ | ||
198 | OBJEXT = @OBJEXT@ | ||
199 | OTOOL = @OTOOL@ | ||
200 | OTOOL64 = @OTOOL64@ | ||
201 | PACKAGE = @PACKAGE@ | ||
202 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | ||
203 | PACKAGE_NAME = @PACKAGE_NAME@ | ||
204 | PACKAGE_STRING = @PACKAGE_STRING@ | ||
205 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | ||
206 | PACKAGE_URL = @PACKAGE_URL@ | ||
207 | PACKAGE_VERSION = @PACKAGE_VERSION@ | ||
208 | PATH_SEPARATOR = @PATH_SEPARATOR@ | ||
209 | PKG_CONFIG = @PKG_CONFIG@ | ||
210 | PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ | ||
211 | PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ | ||
212 | RANLIB = @RANLIB@ | ||
213 | SED = @SED@ | ||
214 | SET_MAKE = @SET_MAKE@ | ||
215 | SHELL = @SHELL@ | ||
216 | STRIP = @STRIP@ | ||
217 | VALGRIND_CFLAGS = @VALGRIND_CFLAGS@ | ||
218 | VALGRIND_LIBS = @VALGRIND_LIBS@ | ||
219 | VERSION = @VERSION@ | ||
220 | VMAJ = @VMAJ@ | ||
221 | abs_builddir = @abs_builddir@ | ||
222 | abs_srcdir = @abs_srcdir@ | ||
223 | abs_top_builddir = @abs_top_builddir@ | ||
224 | abs_top_srcdir = @abs_top_srcdir@ | ||
225 | ac_ct_CC = @ac_ct_CC@ | ||
226 | ac_ct_CXX = @ac_ct_CXX@ | ||
227 | ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ | ||
228 | am__include = @am__include@ | ||
229 | am__leading_dot = @am__leading_dot@ | ||
230 | am__quote = @am__quote@ | ||
231 | am__tar = @am__tar@ | ||
232 | am__untar = @am__untar@ | ||
233 | bindir = @bindir@ | ||
234 | build = @build@ | ||
235 | build_alias = @build_alias@ | ||
236 | build_cpu = @build_cpu@ | ||
237 | build_os = @build_os@ | ||
238 | build_vendor = @build_vendor@ | ||
239 | builddir = @builddir@ | ||
240 | datadir = @datadir@ | ||
241 | datarootdir = @datarootdir@ | ||
242 | dlopen_libs = @dlopen_libs@ | ||
243 | docdir = @docdir@ | ||
244 | dvidir = @dvidir@ | ||
245 | efl_doxygen = @efl_doxygen@ | ||
246 | efl_have_doxygen = @efl_have_doxygen@ | ||
247 | exec_prefix = @exec_prefix@ | ||
248 | have_lcov = @have_lcov@ | ||
249 | host = @host@ | ||
250 | host_alias = @host_alias@ | ||
251 | host_cpu = @host_cpu@ | ||
252 | host_os = @host_os@ | ||
253 | host_vendor = @host_vendor@ | ||
254 | htmldir = @htmldir@ | ||
255 | iconv_libs = @iconv_libs@ | ||
256 | includedir = @includedir@ | ||
257 | infodir = @infodir@ | ||
258 | install_sh = @install_sh@ | ||
259 | libdir = @libdir@ | ||
260 | libexecdir = @libexecdir@ | ||
261 | localedir = @localedir@ | ||
262 | localstatedir = @localstatedir@ | ||
263 | lt_ECHO = @lt_ECHO@ | ||
264 | lt_enable_auto_import = @lt_enable_auto_import@ | ||
265 | mandir = @mandir@ | ||
266 | mkdir_p = @mkdir_p@ | ||
267 | oldincludedir = @oldincludedir@ | ||
268 | pdfdir = @pdfdir@ | ||
269 | pkgconfig_requires_private = @pkgconfig_requires_private@ | ||
270 | prefix = @prefix@ | ||
271 | program_transform_name = @program_transform_name@ | ||
272 | psdir = @psdir@ | ||
273 | release_info = @release_info@ | ||
274 | requirement_eina = @requirement_eina@ | ||
275 | rt_libs = @rt_libs@ | ||
276 | sbindir = @sbindir@ | ||
277 | sharedstatedir = @sharedstatedir@ | ||
278 | srcdir = @srcdir@ | ||
279 | sysconfdir = @sysconfdir@ | ||
280 | target_alias = @target_alias@ | ||
281 | top_build_prefix = @top_build_prefix@ | ||
282 | top_builddir = @top_builddir@ | ||
283 | top_srcdir = @top_srcdir@ | ||
284 | version_info = @version_info@ | ||
285 | MAINTAINERCLEANFILES = Makefile.in | ||
286 | SUBDIRS = $(am__append_1) $(am__append_2) $(am__append_3) \ | ||
287 | $(am__append_4) $(am__append_5) $(am__append_6) \ | ||
288 | $(am__append_7) | ||
289 | all: all-recursive | ||
290 | |||
291 | .SUFFIXES: | ||
292 | $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) | ||
293 | @for dep in $?; do \ | ||
294 | case '$(am__configure_deps)' in \ | ||
295 | *$$dep*) \ | ||
296 | ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ | ||
297 | && { if test -f $@; then exit 0; else break; fi; }; \ | ||
298 | exit 1;; \ | ||
299 | esac; \ | ||
300 | done; \ | ||
301 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/modules/mp/Makefile'; \ | ||
302 | $(am__cd) $(top_srcdir) && \ | ||
303 | $(AUTOMAKE) --gnu src/modules/mp/Makefile | ||
304 | .PRECIOUS: Makefile | ||
305 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | ||
306 | @case '$?' in \ | ||
307 | *config.status*) \ | ||
308 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ | ||
309 | *) \ | ||
310 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ | ||
311 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ | ||
312 | esac; | ||
313 | |||
314 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | ||
315 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
316 | |||
317 | $(top_srcdir)/configure: $(am__configure_deps) | ||
318 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
319 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) | ||
320 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
321 | $(am__aclocal_m4_deps): | ||
322 | |||
323 | mostlyclean-libtool: | ||
324 | -rm -f *.lo | ||
325 | |||
326 | clean-libtool: | ||
327 | -rm -rf .libs _libs | ||
328 | |||
329 | # This directory's subdirectories are mostly independent; you can cd | ||
330 | # into them and run `make' without going through this Makefile. | ||
331 | # To change the values of `make' variables: instead of editing Makefiles, | ||
332 | # (1) if the variable is set in `config.status', edit `config.status' | ||
333 | # (which will cause the Makefiles to be regenerated when you run `make'); | ||
334 | # (2) otherwise, pass the desired values on the `make' command line. | ||
335 | $(RECURSIVE_TARGETS): | ||
336 | @fail= failcom='exit 1'; \ | ||
337 | for f in x $$MAKEFLAGS; do \ | ||
338 | case $$f in \ | ||
339 | *=* | --[!k]*);; \ | ||
340 | *k*) failcom='fail=yes';; \ | ||
341 | esac; \ | ||
342 | done; \ | ||
343 | dot_seen=no; \ | ||
344 | target=`echo $@ | sed s/-recursive//`; \ | ||
345 | list='$(SUBDIRS)'; for subdir in $$list; do \ | ||
346 | echo "Making $$target in $$subdir"; \ | ||
347 | if test "$$subdir" = "."; then \ | ||
348 | dot_seen=yes; \ | ||
349 | local_target="$$target-am"; \ | ||
350 | else \ | ||
351 | local_target="$$target"; \ | ||
352 | fi; \ | ||
353 | ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ | ||
354 | || eval $$failcom; \ | ||
355 | done; \ | ||
356 | if test "$$dot_seen" = "no"; then \ | ||
357 | $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ | ||
358 | fi; test -z "$$fail" | ||
359 | |||
360 | $(RECURSIVE_CLEAN_TARGETS): | ||
361 | @fail= failcom='exit 1'; \ | ||
362 | for f in x $$MAKEFLAGS; do \ | ||
363 | case $$f in \ | ||
364 | *=* | --[!k]*);; \ | ||
365 | *k*) failcom='fail=yes';; \ | ||
366 | esac; \ | ||
367 | done; \ | ||
368 | dot_seen=no; \ | ||
369 | case "$@" in \ | ||
370 | distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ | ||
371 | *) list='$(SUBDIRS)' ;; \ | ||
372 | esac; \ | ||
373 | rev=''; for subdir in $$list; do \ | ||
374 | if test "$$subdir" = "."; then :; else \ | ||
375 | rev="$$subdir $$rev"; \ | ||
376 | fi; \ | ||
377 | done; \ | ||
378 | rev="$$rev ."; \ | ||
379 | target=`echo $@ | sed s/-recursive//`; \ | ||
380 | for subdir in $$rev; do \ | ||
381 | echo "Making $$target in $$subdir"; \ | ||
382 | if test "$$subdir" = "."; then \ | ||
383 | local_target="$$target-am"; \ | ||
384 | else \ | ||
385 | local_target="$$target"; \ | ||
386 | fi; \ | ||
387 | ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ | ||
388 | || eval $$failcom; \ | ||
389 | done && test -z "$$fail" | ||
390 | tags-recursive: | ||
391 | list='$(SUBDIRS)'; for subdir in $$list; do \ | ||
392 | test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ | ||
393 | done | ||
394 | ctags-recursive: | ||
395 | list='$(SUBDIRS)'; for subdir in $$list; do \ | ||
396 | test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ | ||
397 | done | ||
398 | |||
399 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | ||
400 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
401 | unique=`for i in $$list; do \ | ||
402 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
403 | done | \ | ||
404 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
405 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
406 | mkid -fID $$unique | ||
407 | tags: TAGS | ||
408 | |||
409 | TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | ||
410 | $(TAGS_FILES) $(LISP) | ||
411 | set x; \ | ||
412 | here=`pwd`; \ | ||
413 | if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ | ||
414 | include_option=--etags-include; \ | ||
415 | empty_fix=.; \ | ||
416 | else \ | ||
417 | include_option=--include; \ | ||
418 | empty_fix=; \ | ||
419 | fi; \ | ||
420 | list='$(SUBDIRS)'; for subdir in $$list; do \ | ||
421 | if test "$$subdir" = .; then :; else \ | ||
422 | test ! -f $$subdir/TAGS || \ | ||
423 | set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ | ||
424 | fi; \ | ||
425 | done; \ | ||
426 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
427 | unique=`for i in $$list; do \ | ||
428 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
429 | done | \ | ||
430 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
431 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
432 | shift; \ | ||
433 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ | ||
434 | test -n "$$unique" || unique=$$empty_fix; \ | ||
435 | if test $$# -gt 0; then \ | ||
436 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
437 | "$$@" $$unique; \ | ||
438 | else \ | ||
439 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
440 | $$unique; \ | ||
441 | fi; \ | ||
442 | fi | ||
443 | ctags: CTAGS | ||
444 | CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | ||
445 | $(TAGS_FILES) $(LISP) | ||
446 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
447 | unique=`for i in $$list; do \ | ||
448 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
449 | done | \ | ||
450 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
451 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
452 | test -z "$(CTAGS_ARGS)$$unique" \ | ||
453 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ | ||
454 | $$unique | ||
455 | |||
456 | GTAGS: | ||
457 | here=`$(am__cd) $(top_builddir) && pwd` \ | ||
458 | && $(am__cd) $(top_srcdir) \ | ||
459 | && gtags -i $(GTAGS_ARGS) "$$here" | ||
460 | |||
461 | distclean-tags: | ||
462 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
463 | |||
464 | distdir: $(DISTFILES) | ||
465 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
466 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
467 | list='$(DISTFILES)'; \ | ||
468 | dist_files=`for file in $$list; do echo $$file; done | \ | ||
469 | sed -e "s|^$$srcdirstrip/||;t" \ | ||
470 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | ||
471 | case $$dist_files in \ | ||
472 | */*) $(MKDIR_P) `echo "$$dist_files" | \ | ||
473 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | ||
474 | sort -u` ;; \ | ||
475 | esac; \ | ||
476 | for file in $$dist_files; do \ | ||
477 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | ||
478 | if test -d $$d/$$file; then \ | ||
479 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | ||
480 | if test -d "$(distdir)/$$file"; then \ | ||
481 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
482 | fi; \ | ||
483 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | ||
484 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | ||
485 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
486 | fi; \ | ||
487 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | ||
488 | else \ | ||
489 | test -f "$(distdir)/$$file" \ | ||
490 | || cp -p $$d/$$file "$(distdir)/$$file" \ | ||
491 | || exit 1; \ | ||
492 | fi; \ | ||
493 | done | ||
494 | @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ | ||
495 | if test "$$subdir" = .; then :; else \ | ||
496 | test -d "$(distdir)/$$subdir" \ | ||
497 | || $(MKDIR_P) "$(distdir)/$$subdir" \ | ||
498 | || exit 1; \ | ||
499 | fi; \ | ||
500 | done | ||
501 | @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ | ||
502 | if test "$$subdir" = .; then :; else \ | ||
503 | dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ | ||
504 | $(am__relativize); \ | ||
505 | new_distdir=$$reldir; \ | ||
506 | dir1=$$subdir; dir2="$(top_distdir)"; \ | ||
507 | $(am__relativize); \ | ||
508 | new_top_distdir=$$reldir; \ | ||
509 | echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ | ||
510 | echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ | ||
511 | ($(am__cd) $$subdir && \ | ||
512 | $(MAKE) $(AM_MAKEFLAGS) \ | ||
513 | top_distdir="$$new_top_distdir" \ | ||
514 | distdir="$$new_distdir" \ | ||
515 | am__remove_distdir=: \ | ||
516 | am__skip_length_check=: \ | ||
517 | am__skip_mode_fix=: \ | ||
518 | distdir) \ | ||
519 | || exit 1; \ | ||
520 | fi; \ | ||
521 | done | ||
522 | check-am: all-am | ||
523 | check: check-recursive | ||
524 | all-am: Makefile | ||
525 | installdirs: installdirs-recursive | ||
526 | installdirs-am: | ||
527 | install: install-recursive | ||
528 | install-exec: install-exec-recursive | ||
529 | install-data: install-data-recursive | ||
530 | uninstall: uninstall-recursive | ||
531 | |||
532 | install-am: all-am | ||
533 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | ||
534 | |||
535 | installcheck: installcheck-recursive | ||
536 | install-strip: | ||
537 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||
538 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||
539 | `test -z '$(STRIP)' || \ | ||
540 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install | ||
541 | mostlyclean-generic: | ||
542 | |||
543 | clean-generic: | ||
544 | |||
545 | distclean-generic: | ||
546 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | ||
547 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | ||
548 | |||
549 | maintainer-clean-generic: | ||
550 | @echo "This command is intended for maintainers to use" | ||
551 | @echo "it deletes files that may require special tools to rebuild." | ||
552 | -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) | ||
553 | clean: clean-recursive | ||
554 | |||
555 | clean-am: clean-generic clean-libtool mostlyclean-am | ||
556 | |||
557 | distclean: distclean-recursive | ||
558 | -rm -f Makefile | ||
559 | distclean-am: clean-am distclean-generic distclean-tags | ||
560 | |||
561 | dvi: dvi-recursive | ||
562 | |||
563 | dvi-am: | ||
564 | |||
565 | html: html-recursive | ||
566 | |||
567 | html-am: | ||
568 | |||
569 | info: info-recursive | ||
570 | |||
571 | info-am: | ||
572 | |||
573 | install-data-am: | ||
574 | |||
575 | install-dvi: install-dvi-recursive | ||
576 | |||
577 | install-dvi-am: | ||
578 | |||
579 | install-exec-am: | ||
580 | |||
581 | install-html: install-html-recursive | ||
582 | |||
583 | install-html-am: | ||
584 | |||
585 | install-info: install-info-recursive | ||
586 | |||
587 | install-info-am: | ||
588 | |||
589 | install-man: | ||
590 | |||
591 | install-pdf: install-pdf-recursive | ||
592 | |||
593 | install-pdf-am: | ||
594 | |||
595 | install-ps: install-ps-recursive | ||
596 | |||
597 | install-ps-am: | ||
598 | |||
599 | installcheck-am: | ||
600 | |||
601 | maintainer-clean: maintainer-clean-recursive | ||
602 | -rm -f Makefile | ||
603 | maintainer-clean-am: distclean-am maintainer-clean-generic | ||
604 | |||
605 | mostlyclean: mostlyclean-recursive | ||
606 | |||
607 | mostlyclean-am: mostlyclean-generic mostlyclean-libtool | ||
608 | |||
609 | pdf: pdf-recursive | ||
610 | |||
611 | pdf-am: | ||
612 | |||
613 | ps: ps-recursive | ||
614 | |||
615 | ps-am: | ||
616 | |||
617 | uninstall-am: | ||
618 | |||
619 | .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \ | ||
620 | install-am install-strip tags-recursive | ||
621 | |||
622 | .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ | ||
623 | all all-am check check-am clean clean-generic clean-libtool \ | ||
624 | ctags ctags-recursive distclean distclean-generic \ | ||
625 | distclean-libtool distclean-tags distdir dvi dvi-am html \ | ||
626 | html-am info info-am install install-am install-data \ | ||
627 | install-data-am install-dvi install-dvi-am install-exec \ | ||
628 | install-exec-am install-html install-html-am install-info \ | ||
629 | install-info-am install-man install-pdf install-pdf-am \ | ||
630 | install-ps install-ps-am install-strip installcheck \ | ||
631 | installcheck-am installdirs installdirs-am maintainer-clean \ | ||
632 | maintainer-clean-generic mostlyclean mostlyclean-generic \ | ||
633 | mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \ | ||
634 | uninstall uninstall-am | ||
635 | |||
636 | |||
637 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | ||
638 | # Otherwise a system limit (for SysV at least) may be exceeded. | ||
639 | .NOEXPORT: | ||
diff --git a/libraries/eina/src/modules/mp/buddy/Makefile.am b/libraries/eina/src/modules/mp/buddy/Makefile.am new file mode 100644 index 0000000..c699c9d --- /dev/null +++ b/libraries/eina/src/modules/mp/buddy/Makefile.am | |||
@@ -0,0 +1,29 @@ | |||
1 | MAINTAINERCLEANFILES = Makefile.in | ||
2 | |||
3 | AM_CPPFLAGS = \ | ||
4 | -I. \ | ||
5 | -I$(top_srcdir)/src/include \ | ||
6 | -I$(top_builddir)/src/include \ | ||
7 | -I$(top_srcdir)/src/lib \ | ||
8 | -I$(top_builddir)/src/lib \ | ||
9 | @EINA_CPPFLAGS@ \ | ||
10 | @EFL_EINA_BUILD@ | ||
11 | |||
12 | controllerdir = $(libdir)/eina/modules/mp/buddy/$(MODULE_ARCH) | ||
13 | controller_LTLIBRARIES = module.la | ||
14 | |||
15 | module_la_SOURCES = \ | ||
16 | eina_buddy.c | ||
17 | |||
18 | module_la_CFLAGS = @EINA_CFLAGS@ | ||
19 | module_la_LIBADD = $(top_builddir)/src/lib/libeina.la @EINA_LIBS@ | ||
20 | module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version | ||
21 | module_la_LIBTOOLFLAGS = --tag=disable-static | ||
22 | |||
23 | install-data-hook: | ||
24 | rm -f $(DESTDIR)$(controllerdir)/$(controller_LTLIBRARIES) | ||
25 | uninstall-hook: | ||
26 | rm -f $(DESTDIR)$(controllerdir)/module.* | ||
27 | |||
28 | clean-local: | ||
29 | rm -rf *.gcno | ||
diff --git a/libraries/eina/src/modules/mp/buddy/Makefile.in b/libraries/eina/src/modules/mp/buddy/Makefile.in new file mode 100644 index 0000000..64d7fc7 --- /dev/null +++ b/libraries/eina/src/modules/mp/buddy/Makefile.in | |||
@@ -0,0 +1,643 @@ | |||
1 | # Makefile.in generated by automake 1.11.1 from Makefile.am. | ||
2 | # @configure_input@ | ||
3 | |||
4 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | ||
5 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, | ||
6 | # Inc. | ||
7 | # This Makefile.in is free software; the Free Software Foundation | ||
8 | # gives unlimited permission to copy and/or distribute it, | ||
9 | # with or without modifications, as long as this notice is preserved. | ||
10 | |||
11 | # This program is distributed in the hope that it will be useful, | ||
12 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without | ||
13 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A | ||
14 | # PARTICULAR PURPOSE. | ||
15 | |||
16 | @SET_MAKE@ | ||
17 | |||
18 | VPATH = @srcdir@ | ||
19 | pkgdatadir = $(datadir)/@PACKAGE@ | ||
20 | pkgincludedir = $(includedir)/@PACKAGE@ | ||
21 | pkglibdir = $(libdir)/@PACKAGE@ | ||
22 | pkglibexecdir = $(libexecdir)/@PACKAGE@ | ||
23 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | ||
24 | install_sh_DATA = $(install_sh) -c -m 644 | ||
25 | install_sh_PROGRAM = $(install_sh) -c | ||
26 | install_sh_SCRIPT = $(install_sh) -c | ||
27 | INSTALL_HEADER = $(INSTALL_DATA) | ||
28 | transform = $(program_transform_name) | ||
29 | NORMAL_INSTALL = : | ||
30 | PRE_INSTALL = : | ||
31 | POST_INSTALL = : | ||
32 | NORMAL_UNINSTALL = : | ||
33 | PRE_UNINSTALL = : | ||
34 | POST_UNINSTALL = : | ||
35 | build_triplet = @build@ | ||
36 | host_triplet = @host@ | ||
37 | subdir = src/modules/mp/buddy | ||
38 | DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in | ||
39 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | ||
40 | am__aclocal_m4_deps = $(top_srcdir)/m4/efl_attribute.m4 \ | ||
41 | $(top_srcdir)/m4/efl_benchmark.m4 \ | ||
42 | $(top_srcdir)/m4/efl_compiler_flag.m4 \ | ||
43 | $(top_srcdir)/m4/efl_coverage.m4 $(top_srcdir)/m4/efl_cpu.m4 \ | ||
44 | $(top_srcdir)/m4/efl_doxygen.m4 \ | ||
45 | $(top_srcdir)/m4/efl_examples.m4 \ | ||
46 | $(top_srcdir)/m4/efl_fnmatch.m4 \ | ||
47 | $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ | ||
48 | $(top_srcdir)/m4/efl_threads.m4 \ | ||
49 | $(top_srcdir)/m4/efl_voltron.m4 $(top_srcdir)/m4/eina_bench.m4 \ | ||
50 | $(top_srcdir)/m4/eina_check.m4 $(top_srcdir)/m4/libtool.m4 \ | ||
51 | $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ | ||
52 | $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ | ||
53 | $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac | ||
54 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | ||
55 | $(ACLOCAL_M4) | ||
56 | mkinstalldirs = $(install_sh) -d | ||
57 | CONFIG_HEADER = $(top_builddir)/config.h | ||
58 | CONFIG_CLEAN_FILES = | ||
59 | CONFIG_CLEAN_VPATH_FILES = | ||
60 | am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; | ||
61 | am__vpath_adj = case $$p in \ | ||
62 | $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ | ||
63 | *) f=$$p;; \ | ||
64 | esac; | ||
65 | am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; | ||
66 | am__install_max = 40 | ||
67 | am__nobase_strip_setup = \ | ||
68 | srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` | ||
69 | am__nobase_strip = \ | ||
70 | for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" | ||
71 | am__nobase_list = $(am__nobase_strip_setup); \ | ||
72 | for p in $$list; do echo "$$p $$p"; done | \ | ||
73 | sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ | ||
74 | $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ | ||
75 | if (++n[$$2] == $(am__install_max)) \ | ||
76 | { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ | ||
77 | END { for (dir in files) print dir, files[dir] }' | ||
78 | am__base_list = \ | ||
79 | sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ | ||
80 | sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | ||
81 | am__installdirs = "$(DESTDIR)$(controllerdir)" | ||
82 | LTLIBRARIES = $(controller_LTLIBRARIES) | ||
83 | module_la_DEPENDENCIES = $(top_builddir)/src/lib/libeina.la | ||
84 | am_module_la_OBJECTS = module_la-eina_buddy.lo | ||
85 | module_la_OBJECTS = $(am_module_la_OBJECTS) | ||
86 | AM_V_lt = $(am__v_lt_$(V)) | ||
87 | am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) | ||
88 | am__v_lt_0 = --silent | ||
89 | module_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ | ||
90 | $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ | ||
91 | $(module_la_CFLAGS) $(CFLAGS) $(module_la_LDFLAGS) $(LDFLAGS) \ | ||
92 | -o $@ | ||
93 | DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) | ||
94 | depcomp = $(SHELL) $(top_srcdir)/depcomp | ||
95 | am__depfiles_maybe = depfiles | ||
96 | am__mv = mv -f | ||
97 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ | ||
98 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | ||
99 | LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ | ||
100 | $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ | ||
101 | $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ | ||
102 | $(AM_CFLAGS) $(CFLAGS) | ||
103 | AM_V_CC = $(am__v_CC_$(V)) | ||
104 | am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) | ||
105 | am__v_CC_0 = @echo " CC " $@; | ||
106 | AM_V_at = $(am__v_at_$(V)) | ||
107 | am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) | ||
108 | am__v_at_0 = @ | ||
109 | CCLD = $(CC) | ||
110 | LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ | ||
111 | $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ | ||
112 | $(AM_LDFLAGS) $(LDFLAGS) -o $@ | ||
113 | AM_V_CCLD = $(am__v_CCLD_$(V)) | ||
114 | am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) | ||
115 | am__v_CCLD_0 = @echo " CCLD " $@; | ||
116 | AM_V_GEN = $(am__v_GEN_$(V)) | ||
117 | am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) | ||
118 | am__v_GEN_0 = @echo " GEN " $@; | ||
119 | SOURCES = $(module_la_SOURCES) | ||
120 | DIST_SOURCES = $(module_la_SOURCES) | ||
121 | ETAGS = etags | ||
122 | CTAGS = ctags | ||
123 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
124 | ACLOCAL = @ACLOCAL@ | ||
125 | ALLOCA = @ALLOCA@ | ||
126 | AMTAR = @AMTAR@ | ||
127 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | ||
128 | AR = @AR@ | ||
129 | AS = @AS@ | ||
130 | AUTOCONF = @AUTOCONF@ | ||
131 | AUTOHEADER = @AUTOHEADER@ | ||
132 | AUTOMAKE = @AUTOMAKE@ | ||
133 | AWK = @AWK@ | ||
134 | CC = @CC@ | ||
135 | CCDEPMODE = @CCDEPMODE@ | ||
136 | CFLAGS = @CFLAGS@ | ||
137 | CHECK_CFLAGS = @CHECK_CFLAGS@ | ||
138 | CHECK_LIBS = @CHECK_LIBS@ | ||
139 | CPP = @CPP@ | ||
140 | CPPFLAGS = @CPPFLAGS@ | ||
141 | CXX = @CXX@ | ||
142 | CXXCPP = @CXXCPP@ | ||
143 | CXXDEPMODE = @CXXDEPMODE@ | ||
144 | CXXFLAGS = @CXXFLAGS@ | ||
145 | CYGPATH_W = @CYGPATH_W@ | ||
146 | DEFS = @DEFS@ | ||
147 | DEPDIR = @DEPDIR@ | ||
148 | DLLTOOL = @DLLTOOL@ | ||
149 | DSYMUTIL = @DSYMUTIL@ | ||
150 | DUMPBIN = @DUMPBIN@ | ||
151 | ECHO_C = @ECHO_C@ | ||
152 | ECHO_N = @ECHO_N@ | ||
153 | ECHO_T = @ECHO_T@ | ||
154 | ECORE_EVAS_CFLAGS = @ECORE_EVAS_CFLAGS@ | ||
155 | ECORE_EVAS_LIBS = @ECORE_EVAS_LIBS@ | ||
156 | EFL_COVERAGE_CFLAGS = @EFL_COVERAGE_CFLAGS@ | ||
157 | EFL_COVERAGE_LIBS = @EFL_COVERAGE_LIBS@ | ||
158 | EFL_EINA_BUILD = @EFL_EINA_BUILD@ | ||
159 | EFL_FNMATCH_LIBS = @EFL_FNMATCH_LIBS@ | ||
160 | EFL_PTHREAD_CFLAGS = @EFL_PTHREAD_CFLAGS@ | ||
161 | EFL_PTHREAD_LIBS = @EFL_PTHREAD_LIBS@ | ||
162 | EFL_SIMD_FLAGS = @EFL_SIMD_FLAGS@ | ||
163 | EGREP = @EGREP@ | ||
164 | EINA_CFLAGS = @EINA_CFLAGS@ | ||
165 | EINA_CONFIGURE_DEFAULT_MEMPOOL = @EINA_CONFIGURE_DEFAULT_MEMPOOL@ | ||
166 | EINA_CONFIGURE_HAVE_DEBUG_THREADS = @EINA_CONFIGURE_HAVE_DEBUG_THREADS@ | ||
167 | EINA_CONFIGURE_HAVE_INTTYPES_H = @EINA_CONFIGURE_HAVE_INTTYPES_H@ | ||
168 | EINA_CONFIGURE_HAVE_ON_OFF_THREADS = @EINA_CONFIGURE_HAVE_ON_OFF_THREADS@ | ||
169 | EINA_CONFIGURE_HAVE_STDINT_H = @EINA_CONFIGURE_HAVE_STDINT_H@ | ||
170 | EINA_CONFIGURE_HAVE_THREADS = @EINA_CONFIGURE_HAVE_THREADS@ | ||
171 | EINA_CONFIGURE_MAGIC_DEBUG = @EINA_CONFIGURE_MAGIC_DEBUG@ | ||
172 | EINA_CONFIGURE_SAFETY_CHECKS = @EINA_CONFIGURE_SAFETY_CHECKS@ | ||
173 | EINA_CPPFLAGS = @EINA_CPPFLAGS@ | ||
174 | EINA_LIBS = @EINA_LIBS@ | ||
175 | EINA_SIZEOF_WCHAR_T = @EINA_SIZEOF_WCHAR_T@ | ||
176 | EMEMOA_CFLAGS = @EMEMOA_CFLAGS@ | ||
177 | EMEMOA_LIBS = @EMEMOA_LIBS@ | ||
178 | ESCAPE_CFLAGS = @ESCAPE_CFLAGS@ | ||
179 | ESCAPE_LIBS = @ESCAPE_LIBS@ | ||
180 | EVIL_CFLAGS = @EVIL_CFLAGS@ | ||
181 | EVIL_LIBS = @EVIL_LIBS@ | ||
182 | EXEEXT = @EXEEXT@ | ||
183 | FGREP = @FGREP@ | ||
184 | GLIB_CFLAGS = @GLIB_CFLAGS@ | ||
185 | GLIB_LIBS = @GLIB_LIBS@ | ||
186 | GREP = @GREP@ | ||
187 | INSTALL = @INSTALL@ | ||
188 | INSTALL_DATA = @INSTALL_DATA@ | ||
189 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | ||
190 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | ||
191 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | ||
192 | LD = @LD@ | ||
193 | LDFLAGS = @LDFLAGS@ | ||
194 | LIBOBJS = @LIBOBJS@ | ||
195 | LIBS = @LIBS@ | ||
196 | LIBTOOL = @LIBTOOL@ | ||
197 | LIPO = @LIPO@ | ||
198 | LN_S = @LN_S@ | ||
199 | LTLIBOBJS = @LTLIBOBJS@ | ||
200 | MAKEINFO = @MAKEINFO@ | ||
201 | MKDIR_P = @MKDIR_P@ | ||
202 | MODULE_ARCH = @MODULE_ARCH@ | ||
203 | NM = @NM@ | ||
204 | NMEDIT = @NMEDIT@ | ||
205 | OBJDUMP = @OBJDUMP@ | ||
206 | OBJEXT = @OBJEXT@ | ||
207 | OTOOL = @OTOOL@ | ||
208 | OTOOL64 = @OTOOL64@ | ||
209 | PACKAGE = @PACKAGE@ | ||
210 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | ||
211 | PACKAGE_NAME = @PACKAGE_NAME@ | ||
212 | PACKAGE_STRING = @PACKAGE_STRING@ | ||
213 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | ||
214 | PACKAGE_URL = @PACKAGE_URL@ | ||
215 | PACKAGE_VERSION = @PACKAGE_VERSION@ | ||
216 | PATH_SEPARATOR = @PATH_SEPARATOR@ | ||
217 | PKG_CONFIG = @PKG_CONFIG@ | ||
218 | PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ | ||
219 | PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ | ||
220 | RANLIB = @RANLIB@ | ||
221 | SED = @SED@ | ||
222 | SET_MAKE = @SET_MAKE@ | ||
223 | SHELL = @SHELL@ | ||
224 | STRIP = @STRIP@ | ||
225 | VALGRIND_CFLAGS = @VALGRIND_CFLAGS@ | ||
226 | VALGRIND_LIBS = @VALGRIND_LIBS@ | ||
227 | VERSION = @VERSION@ | ||
228 | VMAJ = @VMAJ@ | ||
229 | abs_builddir = @abs_builddir@ | ||
230 | abs_srcdir = @abs_srcdir@ | ||
231 | abs_top_builddir = @abs_top_builddir@ | ||
232 | abs_top_srcdir = @abs_top_srcdir@ | ||
233 | ac_ct_CC = @ac_ct_CC@ | ||
234 | ac_ct_CXX = @ac_ct_CXX@ | ||
235 | ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ | ||
236 | am__include = @am__include@ | ||
237 | am__leading_dot = @am__leading_dot@ | ||
238 | am__quote = @am__quote@ | ||
239 | am__tar = @am__tar@ | ||
240 | am__untar = @am__untar@ | ||
241 | bindir = @bindir@ | ||
242 | build = @build@ | ||
243 | build_alias = @build_alias@ | ||
244 | build_cpu = @build_cpu@ | ||
245 | build_os = @build_os@ | ||
246 | build_vendor = @build_vendor@ | ||
247 | builddir = @builddir@ | ||
248 | datadir = @datadir@ | ||
249 | datarootdir = @datarootdir@ | ||
250 | dlopen_libs = @dlopen_libs@ | ||
251 | docdir = @docdir@ | ||
252 | dvidir = @dvidir@ | ||
253 | efl_doxygen = @efl_doxygen@ | ||
254 | efl_have_doxygen = @efl_have_doxygen@ | ||
255 | exec_prefix = @exec_prefix@ | ||
256 | have_lcov = @have_lcov@ | ||
257 | host = @host@ | ||
258 | host_alias = @host_alias@ | ||
259 | host_cpu = @host_cpu@ | ||
260 | host_os = @host_os@ | ||
261 | host_vendor = @host_vendor@ | ||
262 | htmldir = @htmldir@ | ||
263 | iconv_libs = @iconv_libs@ | ||
264 | includedir = @includedir@ | ||
265 | infodir = @infodir@ | ||
266 | install_sh = @install_sh@ | ||
267 | libdir = @libdir@ | ||
268 | libexecdir = @libexecdir@ | ||
269 | localedir = @localedir@ | ||
270 | localstatedir = @localstatedir@ | ||
271 | lt_ECHO = @lt_ECHO@ | ||
272 | lt_enable_auto_import = @lt_enable_auto_import@ | ||
273 | mandir = @mandir@ | ||
274 | mkdir_p = @mkdir_p@ | ||
275 | oldincludedir = @oldincludedir@ | ||
276 | pdfdir = @pdfdir@ | ||
277 | pkgconfig_requires_private = @pkgconfig_requires_private@ | ||
278 | prefix = @prefix@ | ||
279 | program_transform_name = @program_transform_name@ | ||
280 | psdir = @psdir@ | ||
281 | release_info = @release_info@ | ||
282 | requirement_eina = @requirement_eina@ | ||
283 | rt_libs = @rt_libs@ | ||
284 | sbindir = @sbindir@ | ||
285 | sharedstatedir = @sharedstatedir@ | ||
286 | srcdir = @srcdir@ | ||
287 | sysconfdir = @sysconfdir@ | ||
288 | target_alias = @target_alias@ | ||
289 | top_build_prefix = @top_build_prefix@ | ||
290 | top_builddir = @top_builddir@ | ||
291 | top_srcdir = @top_srcdir@ | ||
292 | version_info = @version_info@ | ||
293 | MAINTAINERCLEANFILES = Makefile.in | ||
294 | AM_CPPFLAGS = \ | ||
295 | -I. \ | ||
296 | -I$(top_srcdir)/src/include \ | ||
297 | -I$(top_builddir)/src/include \ | ||
298 | -I$(top_srcdir)/src/lib \ | ||
299 | -I$(top_builddir)/src/lib \ | ||
300 | @EINA_CPPFLAGS@ \ | ||
301 | @EFL_EINA_BUILD@ | ||
302 | |||
303 | controllerdir = $(libdir)/eina/modules/mp/buddy/$(MODULE_ARCH) | ||
304 | controller_LTLIBRARIES = module.la | ||
305 | module_la_SOURCES = \ | ||
306 | eina_buddy.c | ||
307 | |||
308 | module_la_CFLAGS = @EINA_CFLAGS@ | ||
309 | module_la_LIBADD = $(top_builddir)/src/lib/libeina.la @EINA_LIBS@ | ||
310 | module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version | ||
311 | module_la_LIBTOOLFLAGS = --tag=disable-static | ||
312 | all: all-am | ||
313 | |||
314 | .SUFFIXES: | ||
315 | .SUFFIXES: .c .lo .o .obj | ||
316 | $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) | ||
317 | @for dep in $?; do \ | ||
318 | case '$(am__configure_deps)' in \ | ||
319 | *$$dep*) \ | ||
320 | ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ | ||
321 | && { if test -f $@; then exit 0; else break; fi; }; \ | ||
322 | exit 1;; \ | ||
323 | esac; \ | ||
324 | done; \ | ||
325 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/modules/mp/buddy/Makefile'; \ | ||
326 | $(am__cd) $(top_srcdir) && \ | ||
327 | $(AUTOMAKE) --gnu src/modules/mp/buddy/Makefile | ||
328 | .PRECIOUS: Makefile | ||
329 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | ||
330 | @case '$?' in \ | ||
331 | *config.status*) \ | ||
332 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ | ||
333 | *) \ | ||
334 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ | ||
335 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ | ||
336 | esac; | ||
337 | |||
338 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | ||
339 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
340 | |||
341 | $(top_srcdir)/configure: $(am__configure_deps) | ||
342 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
343 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) | ||
344 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
345 | $(am__aclocal_m4_deps): | ||
346 | install-controllerLTLIBRARIES: $(controller_LTLIBRARIES) | ||
347 | @$(NORMAL_INSTALL) | ||
348 | test -z "$(controllerdir)" || $(MKDIR_P) "$(DESTDIR)$(controllerdir)" | ||
349 | @list='$(controller_LTLIBRARIES)'; test -n "$(controllerdir)" || list=; \ | ||
350 | list2=; for p in $$list; do \ | ||
351 | if test -f $$p; then \ | ||
352 | list2="$$list2 $$p"; \ | ||
353 | else :; fi; \ | ||
354 | done; \ | ||
355 | test -z "$$list2" || { \ | ||
356 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(controllerdir)'"; \ | ||
357 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(controllerdir)"; \ | ||
358 | } | ||
359 | |||
360 | uninstall-controllerLTLIBRARIES: | ||
361 | @$(NORMAL_UNINSTALL) | ||
362 | @list='$(controller_LTLIBRARIES)'; test -n "$(controllerdir)" || list=; \ | ||
363 | for p in $$list; do \ | ||
364 | $(am__strip_dir) \ | ||
365 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(controllerdir)/$$f'"; \ | ||
366 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(controllerdir)/$$f"; \ | ||
367 | done | ||
368 | |||
369 | clean-controllerLTLIBRARIES: | ||
370 | -test -z "$(controller_LTLIBRARIES)" || rm -f $(controller_LTLIBRARIES) | ||
371 | @list='$(controller_LTLIBRARIES)'; for p in $$list; do \ | ||
372 | dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ | ||
373 | test "$$dir" != "$$p" || dir=.; \ | ||
374 | echo "rm -f \"$${dir}/so_locations\""; \ | ||
375 | rm -f "$${dir}/so_locations"; \ | ||
376 | done | ||
377 | module.la: $(module_la_OBJECTS) $(module_la_DEPENDENCIES) | ||
378 | $(AM_V_CCLD)$(module_la_LINK) -rpath $(controllerdir) $(module_la_OBJECTS) $(module_la_LIBADD) $(LIBS) | ||
379 | |||
380 | mostlyclean-compile: | ||
381 | -rm -f *.$(OBJEXT) | ||
382 | |||
383 | distclean-compile: | ||
384 | -rm -f *.tab.c | ||
385 | |||
386 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/module_la-eina_buddy.Plo@am__quote@ | ||
387 | |||
388 | .c.o: | ||
389 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | ||
390 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | ||
391 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
392 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | ||
393 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
394 | @am__fastdepCC_FALSE@ $(COMPILE) -c $< | ||
395 | |||
396 | .c.obj: | ||
397 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | ||
398 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | ||
399 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
400 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | ||
401 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
402 | @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` | ||
403 | |||
404 | .c.lo: | ||
405 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | ||
406 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo | ||
407 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
408 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ | ||
409 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
410 | @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< | ||
411 | |||
412 | module_la-eina_buddy.lo: eina_buddy.c | ||
413 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(module_la_CFLAGS) $(CFLAGS) -MT module_la-eina_buddy.lo -MD -MP -MF $(DEPDIR)/module_la-eina_buddy.Tpo -c -o module_la-eina_buddy.lo `test -f 'eina_buddy.c' || echo '$(srcdir)/'`eina_buddy.c | ||
414 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/module_la-eina_buddy.Tpo $(DEPDIR)/module_la-eina_buddy.Plo | ||
415 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
416 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='eina_buddy.c' object='module_la-eina_buddy.lo' libtool=yes @AMDEPBACKSLASH@ | ||
417 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
418 | @am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(module_la_CFLAGS) $(CFLAGS) -c -o module_la-eina_buddy.lo `test -f 'eina_buddy.c' || echo '$(srcdir)/'`eina_buddy.c | ||
419 | |||
420 | mostlyclean-libtool: | ||
421 | -rm -f *.lo | ||
422 | |||
423 | clean-libtool: | ||
424 | -rm -rf .libs _libs | ||
425 | |||
426 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | ||
427 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
428 | unique=`for i in $$list; do \ | ||
429 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
430 | done | \ | ||
431 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
432 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
433 | mkid -fID $$unique | ||
434 | tags: TAGS | ||
435 | |||
436 | TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | ||
437 | $(TAGS_FILES) $(LISP) | ||
438 | set x; \ | ||
439 | here=`pwd`; \ | ||
440 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
441 | unique=`for i in $$list; do \ | ||
442 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
443 | done | \ | ||
444 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
445 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
446 | shift; \ | ||
447 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ | ||
448 | test -n "$$unique" || unique=$$empty_fix; \ | ||
449 | if test $$# -gt 0; then \ | ||
450 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
451 | "$$@" $$unique; \ | ||
452 | else \ | ||
453 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
454 | $$unique; \ | ||
455 | fi; \ | ||
456 | fi | ||
457 | ctags: CTAGS | ||
458 | CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | ||
459 | $(TAGS_FILES) $(LISP) | ||
460 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
461 | unique=`for i in $$list; do \ | ||
462 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
463 | done | \ | ||
464 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
465 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
466 | test -z "$(CTAGS_ARGS)$$unique" \ | ||
467 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ | ||
468 | $$unique | ||
469 | |||
470 | GTAGS: | ||
471 | here=`$(am__cd) $(top_builddir) && pwd` \ | ||
472 | && $(am__cd) $(top_srcdir) \ | ||
473 | && gtags -i $(GTAGS_ARGS) "$$here" | ||
474 | |||
475 | distclean-tags: | ||
476 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
477 | |||
478 | distdir: $(DISTFILES) | ||
479 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
480 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
481 | list='$(DISTFILES)'; \ | ||
482 | dist_files=`for file in $$list; do echo $$file; done | \ | ||
483 | sed -e "s|^$$srcdirstrip/||;t" \ | ||
484 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | ||
485 | case $$dist_files in \ | ||
486 | */*) $(MKDIR_P) `echo "$$dist_files" | \ | ||
487 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | ||
488 | sort -u` ;; \ | ||
489 | esac; \ | ||
490 | for file in $$dist_files; do \ | ||
491 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | ||
492 | if test -d $$d/$$file; then \ | ||
493 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | ||
494 | if test -d "$(distdir)/$$file"; then \ | ||
495 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
496 | fi; \ | ||
497 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | ||
498 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | ||
499 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
500 | fi; \ | ||
501 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | ||
502 | else \ | ||
503 | test -f "$(distdir)/$$file" \ | ||
504 | || cp -p $$d/$$file "$(distdir)/$$file" \ | ||
505 | || exit 1; \ | ||
506 | fi; \ | ||
507 | done | ||
508 | check-am: all-am | ||
509 | check: check-am | ||
510 | all-am: Makefile $(LTLIBRARIES) | ||
511 | installdirs: | ||
512 | for dir in "$(DESTDIR)$(controllerdir)"; do \ | ||
513 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ | ||
514 | done | ||
515 | install: install-am | ||
516 | install-exec: install-exec-am | ||
517 | install-data: install-data-am | ||
518 | uninstall: uninstall-am | ||
519 | |||
520 | install-am: all-am | ||
521 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | ||
522 | |||
523 | installcheck: installcheck-am | ||
524 | install-strip: | ||
525 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||
526 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||
527 | `test -z '$(STRIP)' || \ | ||
528 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install | ||
529 | mostlyclean-generic: | ||
530 | |||
531 | clean-generic: | ||
532 | |||
533 | distclean-generic: | ||
534 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | ||
535 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | ||
536 | |||
537 | maintainer-clean-generic: | ||
538 | @echo "This command is intended for maintainers to use" | ||
539 | @echo "it deletes files that may require special tools to rebuild." | ||
540 | -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) | ||
541 | clean: clean-am | ||
542 | |||
543 | clean-am: clean-controllerLTLIBRARIES clean-generic clean-libtool \ | ||
544 | clean-local mostlyclean-am | ||
545 | |||
546 | distclean: distclean-am | ||
547 | -rm -rf ./$(DEPDIR) | ||
548 | -rm -f Makefile | ||
549 | distclean-am: clean-am distclean-compile distclean-generic \ | ||
550 | distclean-tags | ||
551 | |||
552 | dvi: dvi-am | ||
553 | |||
554 | dvi-am: | ||
555 | |||
556 | html: html-am | ||
557 | |||
558 | html-am: | ||
559 | |||
560 | info: info-am | ||
561 | |||
562 | info-am: | ||
563 | |||
564 | install-data-am: install-controllerLTLIBRARIES | ||
565 | @$(NORMAL_INSTALL) | ||
566 | $(MAKE) $(AM_MAKEFLAGS) install-data-hook | ||
567 | install-dvi: install-dvi-am | ||
568 | |||
569 | install-dvi-am: | ||
570 | |||
571 | install-exec-am: | ||
572 | |||
573 | install-html: install-html-am | ||
574 | |||
575 | install-html-am: | ||
576 | |||
577 | install-info: install-info-am | ||
578 | |||
579 | install-info-am: | ||
580 | |||
581 | install-man: | ||
582 | |||
583 | install-pdf: install-pdf-am | ||
584 | |||
585 | install-pdf-am: | ||
586 | |||
587 | install-ps: install-ps-am | ||
588 | |||
589 | install-ps-am: | ||
590 | |||
591 | installcheck-am: | ||
592 | |||
593 | maintainer-clean: maintainer-clean-am | ||
594 | -rm -rf ./$(DEPDIR) | ||
595 | -rm -f Makefile | ||
596 | maintainer-clean-am: distclean-am maintainer-clean-generic | ||
597 | |||
598 | mostlyclean: mostlyclean-am | ||
599 | |||
600 | mostlyclean-am: mostlyclean-compile mostlyclean-generic \ | ||
601 | mostlyclean-libtool | ||
602 | |||
603 | pdf: pdf-am | ||
604 | |||
605 | pdf-am: | ||
606 | |||
607 | ps: ps-am | ||
608 | |||
609 | ps-am: | ||
610 | |||
611 | uninstall-am: uninstall-controllerLTLIBRARIES | ||
612 | @$(NORMAL_INSTALL) | ||
613 | $(MAKE) $(AM_MAKEFLAGS) uninstall-hook | ||
614 | .MAKE: install-am install-data-am install-strip uninstall-am | ||
615 | |||
616 | .PHONY: CTAGS GTAGS all all-am check check-am clean \ | ||
617 | clean-controllerLTLIBRARIES clean-generic clean-libtool \ | ||
618 | clean-local ctags distclean distclean-compile \ | ||
619 | distclean-generic distclean-libtool distclean-tags distdir dvi \ | ||
620 | dvi-am html html-am info info-am install install-am \ | ||
621 | install-controllerLTLIBRARIES install-data install-data-am \ | ||
622 | install-data-hook install-dvi install-dvi-am install-exec \ | ||
623 | install-exec-am install-html install-html-am install-info \ | ||
624 | install-info-am install-man install-pdf install-pdf-am \ | ||
625 | install-ps install-ps-am install-strip installcheck \ | ||
626 | installcheck-am installdirs maintainer-clean \ | ||
627 | maintainer-clean-generic mostlyclean mostlyclean-compile \ | ||
628 | mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ | ||
629 | tags uninstall uninstall-am uninstall-controllerLTLIBRARIES \ | ||
630 | uninstall-hook | ||
631 | |||
632 | |||
633 | install-data-hook: | ||
634 | rm -f $(DESTDIR)$(controllerdir)/$(controller_LTLIBRARIES) | ||
635 | uninstall-hook: | ||
636 | rm -f $(DESTDIR)$(controllerdir)/module.* | ||
637 | |||
638 | clean-local: | ||
639 | rm -rf *.gcno | ||
640 | |||
641 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | ||
642 | # Otherwise a system limit (for SysV at least) may be exceeded. | ||
643 | .NOEXPORT: | ||
diff --git a/libraries/eina/src/modules/mp/buddy/eina_buddy.c b/libraries/eina/src/modules/mp/buddy/eina_buddy.c new file mode 100644 index 0000000..f402c6f --- /dev/null +++ b/libraries/eina/src/modules/mp/buddy/eina_buddy.c | |||
@@ -0,0 +1,292 @@ | |||
1 | /* EINA - EFL data type library | ||
2 | * Copyright (C) 2009 Jorge Luis Zapata Muga | ||
3 | * | ||
4 | * This library is free software; you can redistribute it and/or | ||
5 | * modify it under the terms of the GNU Lesser General Public | ||
6 | * License as published by the Free Software Foundation; either | ||
7 | * version 2.1 of the License, or (at your option) any later version. | ||
8 | * | ||
9 | * This library is distributed in the hope that it will be useful, | ||
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
12 | * Lesser General Public License for more details. | ||
13 | * | ||
14 | * You should have received a copy of the GNU Lesser General Public | ||
15 | * License along with this library; | ||
16 | * if not, see <http://www.gnu.org/licenses/>. | ||
17 | */ | ||
18 | |||
19 | /* | ||
20 | * This is a naive 'buddy' allocator following Knuth's documentation. | ||
21 | * The main difference is that we dont store the block information | ||
22 | * on the block memory itself but on another malloc'd area. | ||
23 | * This is useful for managing memory which isn't as fast as the main | ||
24 | * memory like the video memory | ||
25 | * The algorithm uses an area to store the linked list of blocks. | ||
26 | * Each block size is equal to the minimum allocatable block size for | ||
27 | * the memory pool and the number of blocks is equal to the size of the | ||
28 | * memory pool divided by the block size. | ||
29 | */ | ||
30 | #ifdef HAVE_CONFIG_H | ||
31 | # include "config.h" | ||
32 | #endif | ||
33 | |||
34 | #include <stdio.h> | ||
35 | |||
36 | #include "eina_types.h" | ||
37 | #include "eina_inlist.h" | ||
38 | #include "eina_module.h" | ||
39 | #include "eina_mempool.h" | ||
40 | #include "eina_private.h" | ||
41 | |||
42 | typedef struct _Block | ||
43 | { | ||
44 | EINA_INLIST; | ||
45 | Eina_Bool available : 1; | ||
46 | unsigned short int order : 7; /* final order is order + min_order */ | ||
47 | } Block; | ||
48 | |||
49 | typedef struct _Buddy | ||
50 | { | ||
51 | void *heap; /* start address of the heap */ | ||
52 | size_t size; /* total size in bytes of the heap */ | ||
53 | unsigned int min_order; /* minimum size is 1 << min_order */ | ||
54 | unsigned int max_order; /* maximum size is 1 << max_order */ | ||
55 | unsigned int num_order; /* number of orders */ | ||
56 | Eina_Inlist **areas; /* one area per order */ | ||
57 | Block *blocks; /* the allocated block information */ | ||
58 | } Buddy; | ||
59 | |||
60 | /* get the minimum order greater or equal to size */ | ||
61 | static inline unsigned int _get_order(Buddy *b, size_t size) | ||
62 | { | ||
63 | unsigned int i; | ||
64 | size_t bytes; | ||
65 | |||
66 | bytes = 1 << b->min_order; | ||
67 | for (i = 0; bytes < size && i < b->num_order; i++) | ||
68 | { | ||
69 | bytes += bytes; | ||
70 | } | ||
71 | //printf("order for size %d is %d\n", size, i + b->min_order); | ||
72 | return i; | ||
73 | } | ||
74 | |||
75 | static inline void *_get_offset(Buddy *b, Block *block) | ||
76 | { | ||
77 | void *ret; | ||
78 | |||
79 | ret = (char *)b->heap + ((block - &b->blocks[0]) << b->min_order); | ||
80 | return ret; | ||
81 | } | ||
82 | |||
83 | static void *_init(__UNUSED__ const char *context, | ||
84 | __UNUSED__ const char *options, | ||
85 | va_list args) | ||
86 | { | ||
87 | Buddy *b; | ||
88 | int i; | ||
89 | size_t bytes; | ||
90 | size_t size; | ||
91 | size_t min_order; | ||
92 | void *heap; | ||
93 | |||
94 | heap = va_arg(args, void *); | ||
95 | size = va_arg(args, size_t); | ||
96 | min_order = va_arg(args, int); | ||
97 | /* the minimum order we support is 15 (32K) */ | ||
98 | min_order = min_order < 15 ? 15 : min_order; | ||
99 | bytes = 1 << min_order; | ||
100 | for (i = 0; bytes <= size; i++) | ||
101 | { | ||
102 | bytes += bytes; | ||
103 | } | ||
104 | if (!i) | ||
105 | return NULL; | ||
106 | |||
107 | b = malloc(sizeof(Buddy)); | ||
108 | b->heap = heap; | ||
109 | b->size = size; | ||
110 | b->min_order = min_order; | ||
111 | b->max_order = min_order + i - 1; | ||
112 | b->num_order = i; | ||
113 | b->areas = calloc(b->num_order, sizeof(Eina_Inlist *)); | ||
114 | b->blocks = calloc(1 << (b->num_order - 1), sizeof(Block)); | ||
115 | /* setup the initial free area */ | ||
116 | b->blocks[0].available = EINA_TRUE; | ||
117 | b->areas[b->num_order - 1] = EINA_INLIST_GET(&(b->blocks[0])); | ||
118 | |||
119 | return b; | ||
120 | } | ||
121 | |||
122 | static void _shutdown(void *data) | ||
123 | { | ||
124 | Buddy *b = data; | ||
125 | |||
126 | free(b->blocks); | ||
127 | free(b->areas); | ||
128 | free(b); | ||
129 | } | ||
130 | |||
131 | static void _free(void *data, void *element) | ||
132 | { | ||
133 | Buddy *b = data; | ||
134 | Block *block, *buddy; | ||
135 | size_t offset; | ||
136 | size_t index; | ||
137 | |||
138 | offset = (unsigned char *)element - (unsigned char *)b->heap; | ||
139 | if (offset > b->size) | ||
140 | return; | ||
141 | |||
142 | index = offset >> b->min_order; | ||
143 | block = &b->blocks[index]; | ||
144 | |||
145 | //printf("free %x index = %d order = %d buddy = %d\n", offset, index, block->order, index ^ (1 << block->order)); | ||
146 | /* we should always work with the buddy at right */ | ||
147 | if (index & (1 << block->order)) | ||
148 | { | ||
149 | Block *left; | ||
150 | |||
151 | index = index ^ (1 << block->order); | ||
152 | left = &b->blocks[index]; | ||
153 | if (!left->available) | ||
154 | goto end; | ||
155 | else | ||
156 | { | ||
157 | buddy = block; | ||
158 | block = left; | ||
159 | b->areas[block->order] = eina_inlist_remove(b->areas[block->order], | ||
160 | EINA_INLIST_GET(block)); | ||
161 | block->order++; | ||
162 | } | ||
163 | } | ||
164 | |||
165 | check: | ||
166 | /* already on the last order */ | ||
167 | if (block->order + b->min_order == b->max_order) | ||
168 | { | ||
169 | goto end; /* get the buddy */ | ||
170 | |||
171 | } | ||
172 | |||
173 | buddy = &b->blocks[index ^ (1 << block->order)]; | ||
174 | if (!buddy->available) | ||
175 | { | ||
176 | goto end; /* merge two blocks */ | ||
177 | |||
178 | } | ||
179 | |||
180 | b->areas[block->order] = eina_inlist_remove(b->areas[block->order], | ||
181 | EINA_INLIST_GET(buddy)); | ||
182 | block->order++; | ||
183 | goto check; | ||
184 | end: | ||
185 | /* add the block to the free list */ | ||
186 | block->available = EINA_TRUE; | ||
187 | b->areas[block->order] = eina_inlist_append(b->areas[block->order], | ||
188 | EINA_INLIST_GET(block)); | ||
189 | } | ||
190 | |||
191 | static void *_alloc(void *data, unsigned int size) | ||
192 | { | ||
193 | Buddy *b = data; | ||
194 | Block *block, *buddy; | ||
195 | unsigned int k, j; | ||
196 | |||
197 | k = j = _get_order(b, size); | ||
198 | /* get a free list of order k where k <= j <= max_order */ | ||
199 | while ((j < b->num_order) && !b->areas[j]) | ||
200 | j++; | ||
201 | /* check that the order is on our range */ | ||
202 | if (j + b->min_order > b->max_order) | ||
203 | return NULL; | ||
204 | |||
205 | /* get a free element on this order, if not, go splitting until we find one */ | ||
206 | //printf("getting order %d (%d) for size %d\n", j, k, size); | ||
207 | found: | ||
208 | if (j == k) | ||
209 | { | ||
210 | void *ret; | ||
211 | |||
212 | block = EINA_INLIST_CONTAINER_GET(b->areas[j], Block); | ||
213 | block->available = EINA_FALSE; | ||
214 | block->order = j; | ||
215 | /* remove the block from the list */ | ||
216 | b->areas[j] = eina_inlist_remove(b->areas[j], EINA_INLIST_GET(block)); | ||
217 | ret = _get_offset(b, block); | ||
218 | |||
219 | return ret; | ||
220 | } | ||
221 | |||
222 | block = EINA_INLIST_CONTAINER_GET(b->areas[j], Block); | ||
223 | /* split */ | ||
224 | b->areas[j] = eina_inlist_remove(b->areas[j], EINA_INLIST_GET(block)); | ||
225 | j--; | ||
226 | b->areas[j] = eina_inlist_append(b->areas[j], EINA_INLIST_GET(block)); | ||
227 | buddy = block + (1 << j); | ||
228 | buddy->order = j; | ||
229 | buddy->available = EINA_TRUE; | ||
230 | b->areas[j] = eina_inlist_append(b->areas[j], EINA_INLIST_GET(buddy)); | ||
231 | |||
232 | goto found; | ||
233 | } | ||
234 | |||
235 | static void _statistics(void *data) | ||
236 | { | ||
237 | Buddy *b = data; | ||
238 | unsigned int i; | ||
239 | |||
240 | printf("Information:\n"); | ||
241 | printf( | ||
242 | "size = %li, min_order = %d, max_order = %d, num_order = %d, num_blocks = %d (%luKB)\n", | ||
243 | b->size, | ||
244 | b->min_order, | ||
245 | b->max_order, | ||
246 | b->num_order, | ||
247 | 1 << b->num_order, | ||
248 | ((1 << (b->num_order)) * sizeof(Block)) / 1024); | ||
249 | printf("Area dumping:"); | ||
250 | /* iterate over the free lists and dump the maps */ | ||
251 | for (i = 0; i < b->num_order; i++) | ||
252 | { | ||
253 | Block *block; | ||
254 | |||
255 | printf("\n2^%d:", b->min_order + i); | ||
256 | EINA_INLIST_FOREACH(b->areas[i], block) | ||
257 | { | ||
258 | printf(" %li", (block - &b->blocks[0])); | ||
259 | } | ||
260 | } | ||
261 | printf("\nBlocks dumping:\n"); | ||
262 | } | ||
263 | |||
264 | static Eina_Mempool_Backend _backend = { | ||
265 | "buddy", | ||
266 | &_init, | ||
267 | &_free, | ||
268 | &_alloc, | ||
269 | NULL, /* realloc */ | ||
270 | NULL, /* garbage collect */ | ||
271 | &_statistics, | ||
272 | &_shutdown, | ||
273 | NULL /* repack */ | ||
274 | }; | ||
275 | |||
276 | Eina_Bool buddy_init(void) | ||
277 | { | ||
278 | return eina_mempool_register(&_backend); | ||
279 | } | ||
280 | |||
281 | void buddy_shutdown(void) | ||
282 | { | ||
283 | eina_mempool_unregister(&_backend); | ||
284 | } | ||
285 | |||
286 | |||
287 | #ifndef EINA_STATIC_BUILD_BUDDY | ||
288 | |||
289 | EINA_MODULE_INIT(buddy_init); | ||
290 | EINA_MODULE_SHUTDOWN(buddy_shutdown); | ||
291 | |||
292 | #endif /* ! EINA_STATIC_BUILD_BUDDY */ | ||
diff --git a/libraries/eina/src/modules/mp/chained_pool/Makefile.am b/libraries/eina/src/modules/mp/chained_pool/Makefile.am new file mode 100644 index 0000000..815bab7 --- /dev/null +++ b/libraries/eina/src/modules/mp/chained_pool/Makefile.am | |||
@@ -0,0 +1,30 @@ | |||
1 | MAINTAINERCLEANFILES = Makefile.in | ||
2 | |||
3 | AM_CPPFLAGS = \ | ||
4 | -I. \ | ||
5 | -I$(top_srcdir)/src/include \ | ||
6 | -I$(top_builddir)/src/include \ | ||
7 | -I$(top_srcdir)/src/lib \ | ||
8 | -I$(top_builddir)/src/lib \ | ||
9 | @EINA_CPPFLAGS@ \ | ||
10 | @EFL_EINA_BUILD@ \ | ||
11 | @VALGRIND_CFLAGS@ | ||
12 | |||
13 | controllerdir = $(libdir)/eina/modules/mp/chained_pool/$(MODULE_ARCH) | ||
14 | controller_LTLIBRARIES = module.la | ||
15 | |||
16 | module_la_SOURCES = \ | ||
17 | eina_chained_mempool.c | ||
18 | |||
19 | module_la_CFLAGS = @EINA_CFLAGS@ @EFL_PTHREAD_CFLAGS@ | ||
20 | module_la_LIBADD = $(top_builddir)/src/lib/libeina.la @EINA_LIBS@ | ||
21 | module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version @EFL_PTHREAD_LIBS@ | ||
22 | module_la_LIBTOOLFLAGS = --tag=disable-static | ||
23 | |||
24 | install-data-hook: | ||
25 | rm -f $(DESTDIR)$(controllerdir)/$(controller_LTLIBRARIES) | ||
26 | uninstall-hook: | ||
27 | rm -f $(DESTDIR)$(controllerdir)/module.* | ||
28 | |||
29 | clean-local: | ||
30 | rm -rf *.gcno | ||
diff --git a/libraries/eina/src/modules/mp/chained_pool/Makefile.in b/libraries/eina/src/modules/mp/chained_pool/Makefile.in new file mode 100644 index 0000000..b728672 --- /dev/null +++ b/libraries/eina/src/modules/mp/chained_pool/Makefile.in | |||
@@ -0,0 +1,644 @@ | |||
1 | # Makefile.in generated by automake 1.11.1 from Makefile.am. | ||
2 | # @configure_input@ | ||
3 | |||
4 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | ||
5 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, | ||
6 | # Inc. | ||
7 | # This Makefile.in is free software; the Free Software Foundation | ||
8 | # gives unlimited permission to copy and/or distribute it, | ||
9 | # with or without modifications, as long as this notice is preserved. | ||
10 | |||
11 | # This program is distributed in the hope that it will be useful, | ||
12 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without | ||
13 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A | ||
14 | # PARTICULAR PURPOSE. | ||
15 | |||
16 | @SET_MAKE@ | ||
17 | |||
18 | VPATH = @srcdir@ | ||
19 | pkgdatadir = $(datadir)/@PACKAGE@ | ||
20 | pkgincludedir = $(includedir)/@PACKAGE@ | ||
21 | pkglibdir = $(libdir)/@PACKAGE@ | ||
22 | pkglibexecdir = $(libexecdir)/@PACKAGE@ | ||
23 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | ||
24 | install_sh_DATA = $(install_sh) -c -m 644 | ||
25 | install_sh_PROGRAM = $(install_sh) -c | ||
26 | install_sh_SCRIPT = $(install_sh) -c | ||
27 | INSTALL_HEADER = $(INSTALL_DATA) | ||
28 | transform = $(program_transform_name) | ||
29 | NORMAL_INSTALL = : | ||
30 | PRE_INSTALL = : | ||
31 | POST_INSTALL = : | ||
32 | NORMAL_UNINSTALL = : | ||
33 | PRE_UNINSTALL = : | ||
34 | POST_UNINSTALL = : | ||
35 | build_triplet = @build@ | ||
36 | host_triplet = @host@ | ||
37 | subdir = src/modules/mp/chained_pool | ||
38 | DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in | ||
39 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | ||
40 | am__aclocal_m4_deps = $(top_srcdir)/m4/efl_attribute.m4 \ | ||
41 | $(top_srcdir)/m4/efl_benchmark.m4 \ | ||
42 | $(top_srcdir)/m4/efl_compiler_flag.m4 \ | ||
43 | $(top_srcdir)/m4/efl_coverage.m4 $(top_srcdir)/m4/efl_cpu.m4 \ | ||
44 | $(top_srcdir)/m4/efl_doxygen.m4 \ | ||
45 | $(top_srcdir)/m4/efl_examples.m4 \ | ||
46 | $(top_srcdir)/m4/efl_fnmatch.m4 \ | ||
47 | $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ | ||
48 | $(top_srcdir)/m4/efl_threads.m4 \ | ||
49 | $(top_srcdir)/m4/efl_voltron.m4 $(top_srcdir)/m4/eina_bench.m4 \ | ||
50 | $(top_srcdir)/m4/eina_check.m4 $(top_srcdir)/m4/libtool.m4 \ | ||
51 | $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ | ||
52 | $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ | ||
53 | $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac | ||
54 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | ||
55 | $(ACLOCAL_M4) | ||
56 | mkinstalldirs = $(install_sh) -d | ||
57 | CONFIG_HEADER = $(top_builddir)/config.h | ||
58 | CONFIG_CLEAN_FILES = | ||
59 | CONFIG_CLEAN_VPATH_FILES = | ||
60 | am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; | ||
61 | am__vpath_adj = case $$p in \ | ||
62 | $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ | ||
63 | *) f=$$p;; \ | ||
64 | esac; | ||
65 | am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; | ||
66 | am__install_max = 40 | ||
67 | am__nobase_strip_setup = \ | ||
68 | srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` | ||
69 | am__nobase_strip = \ | ||
70 | for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" | ||
71 | am__nobase_list = $(am__nobase_strip_setup); \ | ||
72 | for p in $$list; do echo "$$p $$p"; done | \ | ||
73 | sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ | ||
74 | $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ | ||
75 | if (++n[$$2] == $(am__install_max)) \ | ||
76 | { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ | ||
77 | END { for (dir in files) print dir, files[dir] }' | ||
78 | am__base_list = \ | ||
79 | sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ | ||
80 | sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | ||
81 | am__installdirs = "$(DESTDIR)$(controllerdir)" | ||
82 | LTLIBRARIES = $(controller_LTLIBRARIES) | ||
83 | module_la_DEPENDENCIES = $(top_builddir)/src/lib/libeina.la | ||
84 | am_module_la_OBJECTS = module_la-eina_chained_mempool.lo | ||
85 | module_la_OBJECTS = $(am_module_la_OBJECTS) | ||
86 | AM_V_lt = $(am__v_lt_$(V)) | ||
87 | am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) | ||
88 | am__v_lt_0 = --silent | ||
89 | module_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ | ||
90 | $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ | ||
91 | $(module_la_CFLAGS) $(CFLAGS) $(module_la_LDFLAGS) $(LDFLAGS) \ | ||
92 | -o $@ | ||
93 | DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) | ||
94 | depcomp = $(SHELL) $(top_srcdir)/depcomp | ||
95 | am__depfiles_maybe = depfiles | ||
96 | am__mv = mv -f | ||
97 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ | ||
98 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | ||
99 | LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ | ||
100 | $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ | ||
101 | $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ | ||
102 | $(AM_CFLAGS) $(CFLAGS) | ||
103 | AM_V_CC = $(am__v_CC_$(V)) | ||
104 | am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) | ||
105 | am__v_CC_0 = @echo " CC " $@; | ||
106 | AM_V_at = $(am__v_at_$(V)) | ||
107 | am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) | ||
108 | am__v_at_0 = @ | ||
109 | CCLD = $(CC) | ||
110 | LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ | ||
111 | $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ | ||
112 | $(AM_LDFLAGS) $(LDFLAGS) -o $@ | ||
113 | AM_V_CCLD = $(am__v_CCLD_$(V)) | ||
114 | am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) | ||
115 | am__v_CCLD_0 = @echo " CCLD " $@; | ||
116 | AM_V_GEN = $(am__v_GEN_$(V)) | ||
117 | am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) | ||
118 | am__v_GEN_0 = @echo " GEN " $@; | ||
119 | SOURCES = $(module_la_SOURCES) | ||
120 | DIST_SOURCES = $(module_la_SOURCES) | ||
121 | ETAGS = etags | ||
122 | CTAGS = ctags | ||
123 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
124 | ACLOCAL = @ACLOCAL@ | ||
125 | ALLOCA = @ALLOCA@ | ||
126 | AMTAR = @AMTAR@ | ||
127 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | ||
128 | AR = @AR@ | ||
129 | AS = @AS@ | ||
130 | AUTOCONF = @AUTOCONF@ | ||
131 | AUTOHEADER = @AUTOHEADER@ | ||
132 | AUTOMAKE = @AUTOMAKE@ | ||
133 | AWK = @AWK@ | ||
134 | CC = @CC@ | ||
135 | CCDEPMODE = @CCDEPMODE@ | ||
136 | CFLAGS = @CFLAGS@ | ||
137 | CHECK_CFLAGS = @CHECK_CFLAGS@ | ||
138 | CHECK_LIBS = @CHECK_LIBS@ | ||
139 | CPP = @CPP@ | ||
140 | CPPFLAGS = @CPPFLAGS@ | ||
141 | CXX = @CXX@ | ||
142 | CXXCPP = @CXXCPP@ | ||
143 | CXXDEPMODE = @CXXDEPMODE@ | ||
144 | CXXFLAGS = @CXXFLAGS@ | ||
145 | CYGPATH_W = @CYGPATH_W@ | ||
146 | DEFS = @DEFS@ | ||
147 | DEPDIR = @DEPDIR@ | ||
148 | DLLTOOL = @DLLTOOL@ | ||
149 | DSYMUTIL = @DSYMUTIL@ | ||
150 | DUMPBIN = @DUMPBIN@ | ||
151 | ECHO_C = @ECHO_C@ | ||
152 | ECHO_N = @ECHO_N@ | ||
153 | ECHO_T = @ECHO_T@ | ||
154 | ECORE_EVAS_CFLAGS = @ECORE_EVAS_CFLAGS@ | ||
155 | ECORE_EVAS_LIBS = @ECORE_EVAS_LIBS@ | ||
156 | EFL_COVERAGE_CFLAGS = @EFL_COVERAGE_CFLAGS@ | ||
157 | EFL_COVERAGE_LIBS = @EFL_COVERAGE_LIBS@ | ||
158 | EFL_EINA_BUILD = @EFL_EINA_BUILD@ | ||
159 | EFL_FNMATCH_LIBS = @EFL_FNMATCH_LIBS@ | ||
160 | EFL_PTHREAD_CFLAGS = @EFL_PTHREAD_CFLAGS@ | ||
161 | EFL_PTHREAD_LIBS = @EFL_PTHREAD_LIBS@ | ||
162 | EFL_SIMD_FLAGS = @EFL_SIMD_FLAGS@ | ||
163 | EGREP = @EGREP@ | ||
164 | EINA_CFLAGS = @EINA_CFLAGS@ | ||
165 | EINA_CONFIGURE_DEFAULT_MEMPOOL = @EINA_CONFIGURE_DEFAULT_MEMPOOL@ | ||
166 | EINA_CONFIGURE_HAVE_DEBUG_THREADS = @EINA_CONFIGURE_HAVE_DEBUG_THREADS@ | ||
167 | EINA_CONFIGURE_HAVE_INTTYPES_H = @EINA_CONFIGURE_HAVE_INTTYPES_H@ | ||
168 | EINA_CONFIGURE_HAVE_ON_OFF_THREADS = @EINA_CONFIGURE_HAVE_ON_OFF_THREADS@ | ||
169 | EINA_CONFIGURE_HAVE_STDINT_H = @EINA_CONFIGURE_HAVE_STDINT_H@ | ||
170 | EINA_CONFIGURE_HAVE_THREADS = @EINA_CONFIGURE_HAVE_THREADS@ | ||
171 | EINA_CONFIGURE_MAGIC_DEBUG = @EINA_CONFIGURE_MAGIC_DEBUG@ | ||
172 | EINA_CONFIGURE_SAFETY_CHECKS = @EINA_CONFIGURE_SAFETY_CHECKS@ | ||
173 | EINA_CPPFLAGS = @EINA_CPPFLAGS@ | ||
174 | EINA_LIBS = @EINA_LIBS@ | ||
175 | EINA_SIZEOF_WCHAR_T = @EINA_SIZEOF_WCHAR_T@ | ||
176 | EMEMOA_CFLAGS = @EMEMOA_CFLAGS@ | ||
177 | EMEMOA_LIBS = @EMEMOA_LIBS@ | ||
178 | ESCAPE_CFLAGS = @ESCAPE_CFLAGS@ | ||
179 | ESCAPE_LIBS = @ESCAPE_LIBS@ | ||
180 | EVIL_CFLAGS = @EVIL_CFLAGS@ | ||
181 | EVIL_LIBS = @EVIL_LIBS@ | ||
182 | EXEEXT = @EXEEXT@ | ||
183 | FGREP = @FGREP@ | ||
184 | GLIB_CFLAGS = @GLIB_CFLAGS@ | ||
185 | GLIB_LIBS = @GLIB_LIBS@ | ||
186 | GREP = @GREP@ | ||
187 | INSTALL = @INSTALL@ | ||
188 | INSTALL_DATA = @INSTALL_DATA@ | ||
189 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | ||
190 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | ||
191 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | ||
192 | LD = @LD@ | ||
193 | LDFLAGS = @LDFLAGS@ | ||
194 | LIBOBJS = @LIBOBJS@ | ||
195 | LIBS = @LIBS@ | ||
196 | LIBTOOL = @LIBTOOL@ | ||
197 | LIPO = @LIPO@ | ||
198 | LN_S = @LN_S@ | ||
199 | LTLIBOBJS = @LTLIBOBJS@ | ||
200 | MAKEINFO = @MAKEINFO@ | ||
201 | MKDIR_P = @MKDIR_P@ | ||
202 | MODULE_ARCH = @MODULE_ARCH@ | ||
203 | NM = @NM@ | ||
204 | NMEDIT = @NMEDIT@ | ||
205 | OBJDUMP = @OBJDUMP@ | ||
206 | OBJEXT = @OBJEXT@ | ||
207 | OTOOL = @OTOOL@ | ||
208 | OTOOL64 = @OTOOL64@ | ||
209 | PACKAGE = @PACKAGE@ | ||
210 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | ||
211 | PACKAGE_NAME = @PACKAGE_NAME@ | ||
212 | PACKAGE_STRING = @PACKAGE_STRING@ | ||
213 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | ||
214 | PACKAGE_URL = @PACKAGE_URL@ | ||
215 | PACKAGE_VERSION = @PACKAGE_VERSION@ | ||
216 | PATH_SEPARATOR = @PATH_SEPARATOR@ | ||
217 | PKG_CONFIG = @PKG_CONFIG@ | ||
218 | PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ | ||
219 | PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ | ||
220 | RANLIB = @RANLIB@ | ||
221 | SED = @SED@ | ||
222 | SET_MAKE = @SET_MAKE@ | ||
223 | SHELL = @SHELL@ | ||
224 | STRIP = @STRIP@ | ||
225 | VALGRIND_CFLAGS = @VALGRIND_CFLAGS@ | ||
226 | VALGRIND_LIBS = @VALGRIND_LIBS@ | ||
227 | VERSION = @VERSION@ | ||
228 | VMAJ = @VMAJ@ | ||
229 | abs_builddir = @abs_builddir@ | ||
230 | abs_srcdir = @abs_srcdir@ | ||
231 | abs_top_builddir = @abs_top_builddir@ | ||
232 | abs_top_srcdir = @abs_top_srcdir@ | ||
233 | ac_ct_CC = @ac_ct_CC@ | ||
234 | ac_ct_CXX = @ac_ct_CXX@ | ||
235 | ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ | ||
236 | am__include = @am__include@ | ||
237 | am__leading_dot = @am__leading_dot@ | ||
238 | am__quote = @am__quote@ | ||
239 | am__tar = @am__tar@ | ||
240 | am__untar = @am__untar@ | ||
241 | bindir = @bindir@ | ||
242 | build = @build@ | ||
243 | build_alias = @build_alias@ | ||
244 | build_cpu = @build_cpu@ | ||
245 | build_os = @build_os@ | ||
246 | build_vendor = @build_vendor@ | ||
247 | builddir = @builddir@ | ||
248 | datadir = @datadir@ | ||
249 | datarootdir = @datarootdir@ | ||
250 | dlopen_libs = @dlopen_libs@ | ||
251 | docdir = @docdir@ | ||
252 | dvidir = @dvidir@ | ||
253 | efl_doxygen = @efl_doxygen@ | ||
254 | efl_have_doxygen = @efl_have_doxygen@ | ||
255 | exec_prefix = @exec_prefix@ | ||
256 | have_lcov = @have_lcov@ | ||
257 | host = @host@ | ||
258 | host_alias = @host_alias@ | ||
259 | host_cpu = @host_cpu@ | ||
260 | host_os = @host_os@ | ||
261 | host_vendor = @host_vendor@ | ||
262 | htmldir = @htmldir@ | ||
263 | iconv_libs = @iconv_libs@ | ||
264 | includedir = @includedir@ | ||
265 | infodir = @infodir@ | ||
266 | install_sh = @install_sh@ | ||
267 | libdir = @libdir@ | ||
268 | libexecdir = @libexecdir@ | ||
269 | localedir = @localedir@ | ||
270 | localstatedir = @localstatedir@ | ||
271 | lt_ECHO = @lt_ECHO@ | ||
272 | lt_enable_auto_import = @lt_enable_auto_import@ | ||
273 | mandir = @mandir@ | ||
274 | mkdir_p = @mkdir_p@ | ||
275 | oldincludedir = @oldincludedir@ | ||
276 | pdfdir = @pdfdir@ | ||
277 | pkgconfig_requires_private = @pkgconfig_requires_private@ | ||
278 | prefix = @prefix@ | ||
279 | program_transform_name = @program_transform_name@ | ||
280 | psdir = @psdir@ | ||
281 | release_info = @release_info@ | ||
282 | requirement_eina = @requirement_eina@ | ||
283 | rt_libs = @rt_libs@ | ||
284 | sbindir = @sbindir@ | ||
285 | sharedstatedir = @sharedstatedir@ | ||
286 | srcdir = @srcdir@ | ||
287 | sysconfdir = @sysconfdir@ | ||
288 | target_alias = @target_alias@ | ||
289 | top_build_prefix = @top_build_prefix@ | ||
290 | top_builddir = @top_builddir@ | ||
291 | top_srcdir = @top_srcdir@ | ||
292 | version_info = @version_info@ | ||
293 | MAINTAINERCLEANFILES = Makefile.in | ||
294 | AM_CPPFLAGS = \ | ||
295 | -I. \ | ||
296 | -I$(top_srcdir)/src/include \ | ||
297 | -I$(top_builddir)/src/include \ | ||
298 | -I$(top_srcdir)/src/lib \ | ||
299 | -I$(top_builddir)/src/lib \ | ||
300 | @EINA_CPPFLAGS@ \ | ||
301 | @EFL_EINA_BUILD@ \ | ||
302 | @VALGRIND_CFLAGS@ | ||
303 | |||
304 | controllerdir = $(libdir)/eina/modules/mp/chained_pool/$(MODULE_ARCH) | ||
305 | controller_LTLIBRARIES = module.la | ||
306 | module_la_SOURCES = \ | ||
307 | eina_chained_mempool.c | ||
308 | |||
309 | module_la_CFLAGS = @EINA_CFLAGS@ @EFL_PTHREAD_CFLAGS@ | ||
310 | module_la_LIBADD = $(top_builddir)/src/lib/libeina.la @EINA_LIBS@ | ||
311 | module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version @EFL_PTHREAD_LIBS@ | ||
312 | module_la_LIBTOOLFLAGS = --tag=disable-static | ||
313 | all: all-am | ||
314 | |||
315 | .SUFFIXES: | ||
316 | .SUFFIXES: .c .lo .o .obj | ||
317 | $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) | ||
318 | @for dep in $?; do \ | ||
319 | case '$(am__configure_deps)' in \ | ||
320 | *$$dep*) \ | ||
321 | ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ | ||
322 | && { if test -f $@; then exit 0; else break; fi; }; \ | ||
323 | exit 1;; \ | ||
324 | esac; \ | ||
325 | done; \ | ||
326 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/modules/mp/chained_pool/Makefile'; \ | ||
327 | $(am__cd) $(top_srcdir) && \ | ||
328 | $(AUTOMAKE) --gnu src/modules/mp/chained_pool/Makefile | ||
329 | .PRECIOUS: Makefile | ||
330 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | ||
331 | @case '$?' in \ | ||
332 | *config.status*) \ | ||
333 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ | ||
334 | *) \ | ||
335 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ | ||
336 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ | ||
337 | esac; | ||
338 | |||
339 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | ||
340 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
341 | |||
342 | $(top_srcdir)/configure: $(am__configure_deps) | ||
343 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
344 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) | ||
345 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
346 | $(am__aclocal_m4_deps): | ||
347 | install-controllerLTLIBRARIES: $(controller_LTLIBRARIES) | ||
348 | @$(NORMAL_INSTALL) | ||
349 | test -z "$(controllerdir)" || $(MKDIR_P) "$(DESTDIR)$(controllerdir)" | ||
350 | @list='$(controller_LTLIBRARIES)'; test -n "$(controllerdir)" || list=; \ | ||
351 | list2=; for p in $$list; do \ | ||
352 | if test -f $$p; then \ | ||
353 | list2="$$list2 $$p"; \ | ||
354 | else :; fi; \ | ||
355 | done; \ | ||
356 | test -z "$$list2" || { \ | ||
357 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(controllerdir)'"; \ | ||
358 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(controllerdir)"; \ | ||
359 | } | ||
360 | |||
361 | uninstall-controllerLTLIBRARIES: | ||
362 | @$(NORMAL_UNINSTALL) | ||
363 | @list='$(controller_LTLIBRARIES)'; test -n "$(controllerdir)" || list=; \ | ||
364 | for p in $$list; do \ | ||
365 | $(am__strip_dir) \ | ||
366 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(controllerdir)/$$f'"; \ | ||
367 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(controllerdir)/$$f"; \ | ||
368 | done | ||
369 | |||
370 | clean-controllerLTLIBRARIES: | ||
371 | -test -z "$(controller_LTLIBRARIES)" || rm -f $(controller_LTLIBRARIES) | ||
372 | @list='$(controller_LTLIBRARIES)'; for p in $$list; do \ | ||
373 | dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ | ||
374 | test "$$dir" != "$$p" || dir=.; \ | ||
375 | echo "rm -f \"$${dir}/so_locations\""; \ | ||
376 | rm -f "$${dir}/so_locations"; \ | ||
377 | done | ||
378 | module.la: $(module_la_OBJECTS) $(module_la_DEPENDENCIES) | ||
379 | $(AM_V_CCLD)$(module_la_LINK) -rpath $(controllerdir) $(module_la_OBJECTS) $(module_la_LIBADD) $(LIBS) | ||
380 | |||
381 | mostlyclean-compile: | ||
382 | -rm -f *.$(OBJEXT) | ||
383 | |||
384 | distclean-compile: | ||
385 | -rm -f *.tab.c | ||
386 | |||
387 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/module_la-eina_chained_mempool.Plo@am__quote@ | ||
388 | |||
389 | .c.o: | ||
390 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | ||
391 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | ||
392 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
393 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | ||
394 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
395 | @am__fastdepCC_FALSE@ $(COMPILE) -c $< | ||
396 | |||
397 | .c.obj: | ||
398 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | ||
399 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | ||
400 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
401 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | ||
402 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
403 | @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` | ||
404 | |||
405 | .c.lo: | ||
406 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | ||
407 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo | ||
408 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
409 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ | ||
410 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
411 | @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< | ||
412 | |||
413 | module_la-eina_chained_mempool.lo: eina_chained_mempool.c | ||
414 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(module_la_CFLAGS) $(CFLAGS) -MT module_la-eina_chained_mempool.lo -MD -MP -MF $(DEPDIR)/module_la-eina_chained_mempool.Tpo -c -o module_la-eina_chained_mempool.lo `test -f 'eina_chained_mempool.c' || echo '$(srcdir)/'`eina_chained_mempool.c | ||
415 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/module_la-eina_chained_mempool.Tpo $(DEPDIR)/module_la-eina_chained_mempool.Plo | ||
416 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
417 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='eina_chained_mempool.c' object='module_la-eina_chained_mempool.lo' libtool=yes @AMDEPBACKSLASH@ | ||
418 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
419 | @am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(module_la_CFLAGS) $(CFLAGS) -c -o module_la-eina_chained_mempool.lo `test -f 'eina_chained_mempool.c' || echo '$(srcdir)/'`eina_chained_mempool.c | ||
420 | |||
421 | mostlyclean-libtool: | ||
422 | -rm -f *.lo | ||
423 | |||
424 | clean-libtool: | ||
425 | -rm -rf .libs _libs | ||
426 | |||
427 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | ||
428 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
429 | unique=`for i in $$list; do \ | ||
430 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
431 | done | \ | ||
432 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
433 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
434 | mkid -fID $$unique | ||
435 | tags: TAGS | ||
436 | |||
437 | TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | ||
438 | $(TAGS_FILES) $(LISP) | ||
439 | set x; \ | ||
440 | here=`pwd`; \ | ||
441 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
442 | unique=`for i in $$list; do \ | ||
443 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
444 | done | \ | ||
445 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
446 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
447 | shift; \ | ||
448 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ | ||
449 | test -n "$$unique" || unique=$$empty_fix; \ | ||
450 | if test $$# -gt 0; then \ | ||
451 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
452 | "$$@" $$unique; \ | ||
453 | else \ | ||
454 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
455 | $$unique; \ | ||
456 | fi; \ | ||
457 | fi | ||
458 | ctags: CTAGS | ||
459 | CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | ||
460 | $(TAGS_FILES) $(LISP) | ||
461 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
462 | unique=`for i in $$list; do \ | ||
463 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
464 | done | \ | ||
465 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
466 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
467 | test -z "$(CTAGS_ARGS)$$unique" \ | ||
468 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ | ||
469 | $$unique | ||
470 | |||
471 | GTAGS: | ||
472 | here=`$(am__cd) $(top_builddir) && pwd` \ | ||
473 | && $(am__cd) $(top_srcdir) \ | ||
474 | && gtags -i $(GTAGS_ARGS) "$$here" | ||
475 | |||
476 | distclean-tags: | ||
477 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
478 | |||
479 | distdir: $(DISTFILES) | ||
480 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
481 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
482 | list='$(DISTFILES)'; \ | ||
483 | dist_files=`for file in $$list; do echo $$file; done | \ | ||
484 | sed -e "s|^$$srcdirstrip/||;t" \ | ||
485 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | ||
486 | case $$dist_files in \ | ||
487 | */*) $(MKDIR_P) `echo "$$dist_files" | \ | ||
488 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | ||
489 | sort -u` ;; \ | ||
490 | esac; \ | ||
491 | for file in $$dist_files; do \ | ||
492 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | ||
493 | if test -d $$d/$$file; then \ | ||
494 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | ||
495 | if test -d "$(distdir)/$$file"; then \ | ||
496 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
497 | fi; \ | ||
498 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | ||
499 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | ||
500 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
501 | fi; \ | ||
502 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | ||
503 | else \ | ||
504 | test -f "$(distdir)/$$file" \ | ||
505 | || cp -p $$d/$$file "$(distdir)/$$file" \ | ||
506 | || exit 1; \ | ||
507 | fi; \ | ||
508 | done | ||
509 | check-am: all-am | ||
510 | check: check-am | ||
511 | all-am: Makefile $(LTLIBRARIES) | ||
512 | installdirs: | ||
513 | for dir in "$(DESTDIR)$(controllerdir)"; do \ | ||
514 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ | ||
515 | done | ||
516 | install: install-am | ||
517 | install-exec: install-exec-am | ||
518 | install-data: install-data-am | ||
519 | uninstall: uninstall-am | ||
520 | |||
521 | install-am: all-am | ||
522 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | ||
523 | |||
524 | installcheck: installcheck-am | ||
525 | install-strip: | ||
526 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||
527 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||
528 | `test -z '$(STRIP)' || \ | ||
529 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install | ||
530 | mostlyclean-generic: | ||
531 | |||
532 | clean-generic: | ||
533 | |||
534 | distclean-generic: | ||
535 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | ||
536 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | ||
537 | |||
538 | maintainer-clean-generic: | ||
539 | @echo "This command is intended for maintainers to use" | ||
540 | @echo "it deletes files that may require special tools to rebuild." | ||
541 | -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) | ||
542 | clean: clean-am | ||
543 | |||
544 | clean-am: clean-controllerLTLIBRARIES clean-generic clean-libtool \ | ||
545 | clean-local mostlyclean-am | ||
546 | |||
547 | distclean: distclean-am | ||
548 | -rm -rf ./$(DEPDIR) | ||
549 | -rm -f Makefile | ||
550 | distclean-am: clean-am distclean-compile distclean-generic \ | ||
551 | distclean-tags | ||
552 | |||
553 | dvi: dvi-am | ||
554 | |||
555 | dvi-am: | ||
556 | |||
557 | html: html-am | ||
558 | |||
559 | html-am: | ||
560 | |||
561 | info: info-am | ||
562 | |||
563 | info-am: | ||
564 | |||
565 | install-data-am: install-controllerLTLIBRARIES | ||
566 | @$(NORMAL_INSTALL) | ||
567 | $(MAKE) $(AM_MAKEFLAGS) install-data-hook | ||
568 | install-dvi: install-dvi-am | ||
569 | |||
570 | install-dvi-am: | ||
571 | |||
572 | install-exec-am: | ||
573 | |||
574 | install-html: install-html-am | ||
575 | |||
576 | install-html-am: | ||
577 | |||
578 | install-info: install-info-am | ||
579 | |||
580 | install-info-am: | ||
581 | |||
582 | install-man: | ||
583 | |||
584 | install-pdf: install-pdf-am | ||
585 | |||
586 | install-pdf-am: | ||
587 | |||
588 | install-ps: install-ps-am | ||
589 | |||
590 | install-ps-am: | ||
591 | |||
592 | installcheck-am: | ||
593 | |||
594 | maintainer-clean: maintainer-clean-am | ||
595 | -rm -rf ./$(DEPDIR) | ||
596 | -rm -f Makefile | ||
597 | maintainer-clean-am: distclean-am maintainer-clean-generic | ||
598 | |||
599 | mostlyclean: mostlyclean-am | ||
600 | |||
601 | mostlyclean-am: mostlyclean-compile mostlyclean-generic \ | ||
602 | mostlyclean-libtool | ||
603 | |||
604 | pdf: pdf-am | ||
605 | |||
606 | pdf-am: | ||
607 | |||
608 | ps: ps-am | ||
609 | |||
610 | ps-am: | ||
611 | |||
612 | uninstall-am: uninstall-controllerLTLIBRARIES | ||
613 | @$(NORMAL_INSTALL) | ||
614 | $(MAKE) $(AM_MAKEFLAGS) uninstall-hook | ||
615 | .MAKE: install-am install-data-am install-strip uninstall-am | ||
616 | |||
617 | .PHONY: CTAGS GTAGS all all-am check check-am clean \ | ||
618 | clean-controllerLTLIBRARIES clean-generic clean-libtool \ | ||
619 | clean-local ctags distclean distclean-compile \ | ||
620 | distclean-generic distclean-libtool distclean-tags distdir dvi \ | ||
621 | dvi-am html html-am info info-am install install-am \ | ||
622 | install-controllerLTLIBRARIES install-data install-data-am \ | ||
623 | install-data-hook install-dvi install-dvi-am install-exec \ | ||
624 | install-exec-am install-html install-html-am install-info \ | ||
625 | install-info-am install-man install-pdf install-pdf-am \ | ||
626 | install-ps install-ps-am install-strip installcheck \ | ||
627 | installcheck-am installdirs maintainer-clean \ | ||
628 | maintainer-clean-generic mostlyclean mostlyclean-compile \ | ||
629 | mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ | ||
630 | tags uninstall uninstall-am uninstall-controllerLTLIBRARIES \ | ||
631 | uninstall-hook | ||
632 | |||
633 | |||
634 | install-data-hook: | ||
635 | rm -f $(DESTDIR)$(controllerdir)/$(controller_LTLIBRARIES) | ||
636 | uninstall-hook: | ||
637 | rm -f $(DESTDIR)$(controllerdir)/module.* | ||
638 | |||
639 | clean-local: | ||
640 | rm -rf *.gcno | ||
641 | |||
642 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | ||
643 | # Otherwise a system limit (for SysV at least) may be exceeded. | ||
644 | .NOEXPORT: | ||
diff --git a/libraries/eina/src/modules/mp/chained_pool/eina_chained_mempool.c b/libraries/eina/src/modules/mp/chained_pool/eina_chained_mempool.c new file mode 100644 index 0000000..009b62b --- /dev/null +++ b/libraries/eina/src/modules/mp/chained_pool/eina_chained_mempool.c | |||
@@ -0,0 +1,547 @@ | |||
1 | /* EINA - EFL data type library | ||
2 | * Copyright (C) 2008-2010 Cedric BAIL, Vincent Torri | ||
3 | * | ||
4 | * This library is free software; you can redistribute it and/or | ||
5 | * modify it under the terms of the GNU Lesser General Public | ||
6 | * License as published by the Free Software Foundation; either | ||
7 | * version 2.1 of the License, or (at your option) any later version. | ||
8 | * | ||
9 | * This library is distributed in the hope that it will be useful, | ||
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
12 | * Lesser General Public License for more details. | ||
13 | * | ||
14 | * You should have received a copy of the GNU Lesser General Public | ||
15 | * License along with this library; | ||
16 | * if not, see <http://www.gnu.org/licenses/>. | ||
17 | */ | ||
18 | |||
19 | #ifdef HAVE_CONFIG_H | ||
20 | # include "config.h" | ||
21 | #endif | ||
22 | |||
23 | #include <stdlib.h> | ||
24 | #include <string.h> | ||
25 | |||
26 | #ifdef EFL_HAVE_POSIX_THREADS | ||
27 | #include <pthread.h> | ||
28 | |||
29 | # ifdef EFL_DEBUG_THREADS | ||
30 | # include <assert.h> | ||
31 | # endif | ||
32 | #endif | ||
33 | |||
34 | #ifdef EFL_HAVE_WIN32_THREADS | ||
35 | # define WIN32_LEAN_AND_MEAN | ||
36 | # include <windows.h> | ||
37 | # undef WIN32_LEAN_AND_MEAN | ||
38 | #endif | ||
39 | |||
40 | #include "eina_inlist.h" | ||
41 | #include "eina_error.h" | ||
42 | #include "eina_module.h" | ||
43 | #include "eina_mempool.h" | ||
44 | #include "eina_trash.h" | ||
45 | #include "eina_rbtree.h" | ||
46 | #include "eina_lock.h" | ||
47 | |||
48 | #include "eina_private.h" | ||
49 | |||
50 | #ifndef NVALGRIND | ||
51 | # include <valgrind/memcheck.h> | ||
52 | #endif | ||
53 | |||
54 | #ifdef DEBUG | ||
55 | #include <assert.h> | ||
56 | #include "eina_log.h" | ||
57 | |||
58 | static int _eina_chained_mp_log_dom = -1; | ||
59 | |||
60 | #ifdef INF | ||
61 | #undef INF | ||
62 | #endif | ||
63 | #define INF(...) EINA_LOG_DOM_INFO(_eina_chained_mp_log_dom, __VA_ARGS__) | ||
64 | #endif | ||
65 | |||
66 | typedef struct _Chained_Mempool Chained_Mempool; | ||
67 | struct _Chained_Mempool | ||
68 | { | ||
69 | Eina_Inlist *first; | ||
70 | Eina_Rbtree *root; | ||
71 | const char *name; | ||
72 | int item_alloc; | ||
73 | int pool_size; | ||
74 | int alloc_size; | ||
75 | int group_size; | ||
76 | int usage; | ||
77 | #ifdef EFL_DEBUG_THREADS | ||
78 | pthread_t self; | ||
79 | #endif | ||
80 | Eina_Lock mutex; | ||
81 | }; | ||
82 | |||
83 | typedef struct _Chained_Pool Chained_Pool; | ||
84 | struct _Chained_Pool | ||
85 | { | ||
86 | EINA_INLIST; | ||
87 | EINA_RBTREE; | ||
88 | Eina_Trash *base; | ||
89 | int usage; | ||
90 | |||
91 | unsigned char *last; | ||
92 | unsigned char *limit; | ||
93 | }; | ||
94 | |||
95 | static inline Eina_Rbtree_Direction | ||
96 | _eina_chained_mp_pool_cmp(const Eina_Rbtree *left, const Eina_Rbtree *right, __UNUSED__ void *data) | ||
97 | { | ||
98 | if (left < right) return EINA_RBTREE_LEFT; | ||
99 | return EINA_RBTREE_RIGHT; | ||
100 | } | ||
101 | |||
102 | static inline int | ||
103 | _eina_chained_mp_pool_key_cmp(const Eina_Rbtree *node, const void *key, | ||
104 | __UNUSED__ int length, __UNUSED__ void *data) | ||
105 | { | ||
106 | const Chained_Pool *r = EINA_RBTREE_CONTAINER_GET(node, const Chained_Pool); | ||
107 | |||
108 | if (key > (void *) r->limit) return -1; | ||
109 | if (key < (void *) r) return 1; | ||
110 | return 0; | ||
111 | } | ||
112 | |||
113 | static inline Chained_Pool * | ||
114 | _eina_chained_mp_pool_new(Chained_Mempool *pool) | ||
115 | { | ||
116 | Chained_Pool *p; | ||
117 | unsigned char *ptr; | ||
118 | unsigned int alignof; | ||
119 | |||
120 | eina_error_set(0); | ||
121 | p = malloc(pool->alloc_size); | ||
122 | if (!p) | ||
123 | { | ||
124 | eina_error_set(EINA_ERROR_OUT_OF_MEMORY); | ||
125 | return NULL; | ||
126 | } | ||
127 | |||
128 | alignof = eina_mempool_alignof(sizeof(Chained_Pool)); | ||
129 | ptr = (unsigned char *)p + alignof; | ||
130 | p->usage = 0; | ||
131 | p->base = NULL; | ||
132 | |||
133 | p->last = ptr; | ||
134 | p->limit = ptr + pool->item_alloc * pool->pool_size; | ||
135 | |||
136 | #ifndef NVALGRIND | ||
137 | VALGRIND_MAKE_MEM_NOACCESS(ptr, pool->alloc_size - alignof); | ||
138 | #endif | ||
139 | |||
140 | return p; | ||
141 | } | ||
142 | |||
143 | static inline void | ||
144 | _eina_chained_mp_pool_free(Chained_Pool *p) | ||
145 | { | ||
146 | free(p); | ||
147 | } | ||
148 | |||
149 | static int | ||
150 | _eina_chained_mempool_usage_cmp(const Eina_Inlist *l1, const Eina_Inlist *l2) | ||
151 | { | ||
152 | const Chained_Pool *p1; | ||
153 | const Chained_Pool *p2; | ||
154 | |||
155 | p1 = EINA_INLIST_CONTAINER_GET(l1, const Chained_Pool); | ||
156 | p2 = EINA_INLIST_CONTAINER_GET(l2, const Chained_Pool); | ||
157 | |||
158 | return p2->usage - p1->usage; | ||
159 | } | ||
160 | |||
161 | static void * | ||
162 | _eina_chained_mempool_alloc_in(Chained_Mempool *pool, Chained_Pool *p) | ||
163 | { | ||
164 | void *mem; | ||
165 | |||
166 | if (p->last) | ||
167 | { | ||
168 | mem = p->last; | ||
169 | p->last += pool->item_alloc; | ||
170 | if (p->last >= p->limit) | ||
171 | p->last = NULL; | ||
172 | } | ||
173 | else | ||
174 | { | ||
175 | #ifndef NVALGRIND | ||
176 | VALGRIND_MAKE_MEM_DEFINED(p->base, pool->item_alloc); | ||
177 | #endif | ||
178 | // Request a free pointer | ||
179 | mem = eina_trash_pop(&p->base); | ||
180 | } | ||
181 | |||
182 | // move to end - it just filled up | ||
183 | if (!p->base && !p->last) | ||
184 | pool->first = eina_inlist_demote(pool->first, EINA_INLIST_GET(p)); | ||
185 | |||
186 | p->usage++; | ||
187 | pool->usage++; | ||
188 | |||
189 | #ifndef NVALGRIND | ||
190 | VALGRIND_MEMPOOL_ALLOC(pool, mem, pool->item_alloc); | ||
191 | #endif | ||
192 | |||
193 | return mem; | ||
194 | } | ||
195 | |||
196 | static Eina_Bool | ||
197 | _eina_chained_mempool_free_in(Chained_Mempool *pool, Chained_Pool *p, void *ptr) | ||
198 | { | ||
199 | void *pmem; | ||
200 | |||
201 | // pool mem base | ||
202 | pmem = (void *)(((unsigned char *)p) + sizeof(Chained_Pool)); | ||
203 | |||
204 | // is it in pool mem? | ||
205 | if (ptr < pmem) | ||
206 | { | ||
207 | #ifdef DEBUG | ||
208 | INF("%p is inside the private part of %p pool from %p Chained_Mempool (could be the sign of a buffer underrun).", ptr, p, pool); | ||
209 | #endif | ||
210 | return EINA_FALSE; | ||
211 | } | ||
212 | |||
213 | // freed node points to prev free node | ||
214 | eina_trash_push(&p->base, ptr); | ||
215 | // next free node is now the one we freed | ||
216 | p->usage--; | ||
217 | pool->usage--; | ||
218 | if (p->usage == 0) | ||
219 | { | ||
220 | // free bucket | ||
221 | pool->first = eina_inlist_remove(pool->first, EINA_INLIST_GET(p)); | ||
222 | pool->root = eina_rbtree_inline_remove(pool->root, EINA_RBTREE_GET(p), | ||
223 | _eina_chained_mp_pool_cmp, NULL); | ||
224 | _eina_chained_mp_pool_free(p); | ||
225 | |||
226 | return EINA_TRUE; | ||
227 | } | ||
228 | else | ||
229 | { | ||
230 | // move to front | ||
231 | pool->first = eina_inlist_promote(pool->first, EINA_INLIST_GET(p)); | ||
232 | } | ||
233 | |||
234 | return EINA_FALSE; | ||
235 | } | ||
236 | |||
237 | static void * | ||
238 | eina_chained_mempool_malloc(void *data, __UNUSED__ unsigned int size) | ||
239 | { | ||
240 | Chained_Mempool *pool = data; | ||
241 | Chained_Pool *p = NULL; | ||
242 | void *mem; | ||
243 | |||
244 | if (!eina_lock_take(&pool->mutex)) | ||
245 | { | ||
246 | #ifdef EFL_DEBUG_THREADS | ||
247 | assert(pthread_equal(pool->self, pthread_self())); | ||
248 | #endif | ||
249 | } | ||
250 | |||
251 | // Either we have some free space in the first one, or there is no free space. | ||
252 | if (pool->first) p = EINA_INLIST_CONTAINER_GET(pool->first, Chained_Pool); | ||
253 | |||
254 | // base is not NULL - has a free slot | ||
255 | if (p && !p->base && !p->last) | ||
256 | p = NULL; | ||
257 | |||
258 | #ifdef DEBUG | ||
259 | if (p == NULL) | ||
260 | EINA_INLIST_FOREACH(pool->first, p) | ||
261 | assert(!p->base && !p->last); | ||
262 | #endif | ||
263 | |||
264 | // we have reached the end of the list - no free pools | ||
265 | if (!p) | ||
266 | { | ||
267 | p = _eina_chained_mp_pool_new(pool); | ||
268 | if (!p) | ||
269 | { | ||
270 | eina_lock_release(&pool->mutex); | ||
271 | return NULL; | ||
272 | } | ||
273 | |||
274 | pool->first = eina_inlist_prepend(pool->first, EINA_INLIST_GET(p)); | ||
275 | pool->root = eina_rbtree_inline_insert(pool->root, EINA_RBTREE_GET(p), | ||
276 | _eina_chained_mp_pool_cmp, NULL); | ||
277 | } | ||
278 | |||
279 | mem = _eina_chained_mempool_alloc_in(pool, p); | ||
280 | |||
281 | eina_lock_release(&pool->mutex); | ||
282 | |||
283 | return mem; | ||
284 | } | ||
285 | |||
286 | static void | ||
287 | eina_chained_mempool_free(void *data, void *ptr) | ||
288 | { | ||
289 | Chained_Mempool *pool = data; | ||
290 | Eina_Rbtree *r; | ||
291 | Chained_Pool *p; | ||
292 | |||
293 | // look 4 pool | ||
294 | if (!eina_lock_take(&pool->mutex)) | ||
295 | { | ||
296 | #ifdef EFL_DEBUG_THREADS | ||
297 | assert(pthread_equal(pool->self, pthread_self())); | ||
298 | #endif | ||
299 | } | ||
300 | |||
301 | // searching for the right mempool | ||
302 | r = eina_rbtree_inline_lookup(pool->root, ptr, 0, _eina_chained_mp_pool_key_cmp, NULL); | ||
303 | |||
304 | // related mempool not found | ||
305 | if (!r) | ||
306 | { | ||
307 | #ifdef DEBUG | ||
308 | INF("%p is not the property of %p Chained_Mempool", ptr, pool); | ||
309 | #endif | ||
310 | goto on_error; | ||
311 | } | ||
312 | |||
313 | p = EINA_RBTREE_CONTAINER_GET(r, Chained_Pool); | ||
314 | |||
315 | _eina_chained_mempool_free_in(pool, p, ptr); | ||
316 | |||
317 | on_error: | ||
318 | #ifndef NVALGRIND | ||
319 | if (ptr) | ||
320 | { | ||
321 | VALGRIND_MEMPOOL_FREE(pool, ptr); | ||
322 | } | ||
323 | #endif | ||
324 | |||
325 | eina_lock_release(&pool->mutex); | ||
326 | return; | ||
327 | } | ||
328 | |||
329 | static void | ||
330 | eina_chained_mempool_repack(void *data, | ||
331 | Eina_Mempool_Repack_Cb cb, | ||
332 | void *cb_data) | ||
333 | { | ||
334 | Chained_Mempool *pool = data; | ||
335 | Chained_Pool *start; | ||
336 | Chained_Pool *tail; | ||
337 | |||
338 | /* FIXME: Improvement - per Chained_Pool lock */ | ||
339 | if (!eina_lock_take(&pool->mutex)) | ||
340 | { | ||
341 | #ifdef EFL_DEBUG_THREADS | ||
342 | assert(pthread_equal(pool->self, pthread_self())); | ||
343 | #endif | ||
344 | } | ||
345 | |||
346 | pool->first = eina_inlist_sort(pool->first, | ||
347 | (Eina_Compare_Cb) _eina_chained_mempool_usage_cmp); | ||
348 | |||
349 | /* | ||
350 | idea : remove the almost empty pool at the beginning of the list by | ||
351 | moving data in the last pool with empty slot | ||
352 | */ | ||
353 | tail = EINA_INLIST_CONTAINER_GET(pool->first->last, Chained_Pool); | ||
354 | while (tail && tail->usage == pool->pool_size) | ||
355 | tail = EINA_INLIST_CONTAINER_GET((EINA_INLIST_GET(tail)->prev), Chained_Pool); | ||
356 | |||
357 | while (tail) | ||
358 | { | ||
359 | unsigned char *src; | ||
360 | unsigned char *dst; | ||
361 | |||
362 | start = EINA_INLIST_CONTAINER_GET(pool->first, Chained_Pool); | ||
363 | |||
364 | if (start == tail || start->usage == pool->pool_size) | ||
365 | break; | ||
366 | |||
367 | for (src = start->limit - pool->group_size; | ||
368 | src != start->limit; | ||
369 | src += pool->item_alloc) | ||
370 | { | ||
371 | Eina_Bool is_free = EINA_FALSE; | ||
372 | Eina_Bool is_dead; | ||
373 | |||
374 | /* Do we have something inside that piece of memory */ | ||
375 | if (start->last != NULL && src >= start->last) | ||
376 | { | ||
377 | is_free = EINA_TRUE; | ||
378 | } | ||
379 | else | ||
380 | { | ||
381 | Eina_Trash *over = start->base; | ||
382 | |||
383 | while (over != NULL && (unsigned char*) over != src) | ||
384 | over = over->next; | ||
385 | |||
386 | if (over == NULL) | ||
387 | is_free = EINA_TRUE; | ||
388 | } | ||
389 | |||
390 | if (is_free) continue ; | ||
391 | |||
392 | /* get a new memory pointer from the latest most occuped pool */ | ||
393 | dst = _eina_chained_mempool_alloc_in(pool, tail); | ||
394 | /* move data from one to another */ | ||
395 | memcpy(dst, src, pool->item_alloc); | ||
396 | /* notify caller */ | ||
397 | cb(dst, src, cb_data); | ||
398 | /* destroy old pointer */ | ||
399 | is_dead = _eina_chained_mempool_free_in(pool, start, src); | ||
400 | |||
401 | /* search last tail with empty slot */ | ||
402 | while (tail && tail->usage == pool->pool_size) | ||
403 | tail = EINA_INLIST_CONTAINER_GET((EINA_INLIST_GET(tail)->prev), | ||
404 | Chained_Pool); | ||
405 | /* no more free space */ | ||
406 | if (!tail || tail == start) break; | ||
407 | if (is_dead) break; | ||
408 | } | ||
409 | } | ||
410 | |||
411 | /* FIXME: improvement - reorder pool so that the most used one get in front */ | ||
412 | eina_lock_release(&pool->mutex); | ||
413 | } | ||
414 | |||
415 | static void * | ||
416 | eina_chained_mempool_realloc(__UNUSED__ void *data, | ||
417 | __UNUSED__ void *element, | ||
418 | __UNUSED__ unsigned int size) | ||
419 | { | ||
420 | return NULL; | ||
421 | } | ||
422 | |||
423 | static void * | ||
424 | eina_chained_mempool_init(const char *context, | ||
425 | __UNUSED__ const char *option, | ||
426 | va_list args) | ||
427 | { | ||
428 | Chained_Mempool *mp; | ||
429 | int item_size; | ||
430 | size_t length; | ||
431 | |||
432 | length = context ? strlen(context) + 1 : 0; | ||
433 | |||
434 | mp = calloc(1, sizeof(Chained_Mempool) + length); | ||
435 | if (!mp) | ||
436 | return NULL; | ||
437 | |||
438 | item_size = va_arg(args, int); | ||
439 | mp->pool_size = va_arg(args, int); | ||
440 | |||
441 | if (length) | ||
442 | { | ||
443 | mp->name = (const char *)(mp + 1); | ||
444 | memcpy((char *)mp->name, context, length); | ||
445 | } | ||
446 | |||
447 | mp->item_alloc = eina_mempool_alignof(item_size); | ||
448 | mp->group_size = mp->item_alloc * mp->pool_size; | ||
449 | mp->alloc_size = mp->group_size + eina_mempool_alignof(sizeof(Chained_Pool)); | ||
450 | |||
451 | #ifndef NVALGRIND | ||
452 | VALGRIND_CREATE_MEMPOOL(mp, 0, 1); | ||
453 | #endif | ||
454 | |||
455 | #ifdef EFL_DEBUG_THREADS | ||
456 | mp->self = pthread_self(); | ||
457 | #endif | ||
458 | |||
459 | eina_lock_new(&mp->mutex); | ||
460 | |||
461 | return mp; | ||
462 | } | ||
463 | |||
464 | static void | ||
465 | eina_chained_mempool_shutdown(void *data) | ||
466 | { | ||
467 | Chained_Mempool *mp; | ||
468 | |||
469 | mp = (Chained_Mempool *)data; | ||
470 | |||
471 | while (mp->first) | ||
472 | { | ||
473 | Chained_Pool *p = (Chained_Pool *)mp->first; | ||
474 | |||
475 | #ifdef DEBUG | ||
476 | if (p->usage > 0) | ||
477 | INF("Bad news we are destroying not an empty mempool [%s]\n", | ||
478 | mp->name); | ||
479 | |||
480 | #endif | ||
481 | |||
482 | mp->first = eina_inlist_remove(mp->first, mp->first); | ||
483 | mp->root = eina_rbtree_inline_remove(mp->root, EINA_RBTREE_GET(p), | ||
484 | _eina_chained_mp_pool_cmp, NULL); | ||
485 | _eina_chained_mp_pool_free(p); | ||
486 | } | ||
487 | |||
488 | #ifdef DEBUG | ||
489 | if (mp->root) | ||
490 | INF("Bad news, list of pool and rbtree are out of sync for %p !", mp); | ||
491 | #endif | ||
492 | |||
493 | #ifndef NVALGRIND | ||
494 | VALGRIND_DESTROY_MEMPOOL(mp); | ||
495 | #endif | ||
496 | |||
497 | eina_lock_free(&mp->mutex); | ||
498 | |||
499 | #ifdef EFL_DEBUG_THREADS | ||
500 | assert(pthread_equal(mp->self, pthread_self())); | ||
501 | #endif | ||
502 | |||
503 | free(mp); | ||
504 | } | ||
505 | |||
506 | static Eina_Mempool_Backend _eina_chained_mp_backend = { | ||
507 | "chained_mempool", | ||
508 | &eina_chained_mempool_init, | ||
509 | &eina_chained_mempool_free, | ||
510 | &eina_chained_mempool_malloc, | ||
511 | &eina_chained_mempool_realloc, | ||
512 | NULL, | ||
513 | NULL, | ||
514 | &eina_chained_mempool_shutdown, | ||
515 | &eina_chained_mempool_repack | ||
516 | }; | ||
517 | |||
518 | Eina_Bool chained_init(void) | ||
519 | { | ||
520 | #ifdef DEBUG | ||
521 | _eina_chained_mp_log_dom = eina_log_domain_register("eina_mempool", | ||
522 | EINA_LOG_COLOR_DEFAULT); | ||
523 | if (_eina_chained_mp_log_dom < 0) | ||
524 | { | ||
525 | EINA_LOG_ERR("Could not register log domain: eina_mempool"); | ||
526 | return EINA_FALSE; | ||
527 | } | ||
528 | |||
529 | #endif | ||
530 | return eina_mempool_register(&_eina_chained_mp_backend); | ||
531 | } | ||
532 | |||
533 | void chained_shutdown(void) | ||
534 | { | ||
535 | eina_mempool_unregister(&_eina_chained_mp_backend); | ||
536 | #ifdef DEBUG | ||
537 | eina_log_domain_unregister(_eina_chained_mp_log_dom); | ||
538 | _eina_chained_mp_log_dom = -1; | ||
539 | #endif | ||
540 | } | ||
541 | |||
542 | #ifndef EINA_STATIC_BUILD_CHAINED_POOL | ||
543 | |||
544 | EINA_MODULE_INIT(chained_init); | ||
545 | EINA_MODULE_SHUTDOWN(chained_shutdown); | ||
546 | |||
547 | #endif /* ! EINA_STATIC_BUILD_CHAINED_POOL */ | ||
diff --git a/libraries/eina/src/modules/mp/ememoa_fixed/Makefile.am b/libraries/eina/src/modules/mp/ememoa_fixed/Makefile.am new file mode 100644 index 0000000..4a27b3e --- /dev/null +++ b/libraries/eina/src/modules/mp/ememoa_fixed/Makefile.am | |||
@@ -0,0 +1,30 @@ | |||
1 | MAINTAINERCLEANFILES = Makefile.in | ||
2 | |||
3 | AM_CPPFLAGS = \ | ||
4 | -I. \ | ||
5 | -I$(top_srcdir)/src/include \ | ||
6 | -I$(top_builddir)/src/include \ | ||
7 | -I$(top_srcdir)/src/lib \ | ||
8 | -I$(top_builddir)/src/lib \ | ||
9 | @EINA_CPPFLAGS@ \ | ||
10 | @EMEMOA_CFLAGS@ \ | ||
11 | @EFL_EINA_BUILD@ | ||
12 | |||
13 | controllerdir = $(libdir)/eina/modules/mp/ememoa_fixed/$(MODULE_ARCH) | ||
14 | controller_LTLIBRARIES = module.la | ||
15 | |||
16 | module_la_SOURCES = \ | ||
17 | eina_ememoa_fixed.c | ||
18 | |||
19 | module_la_CFLAGS = @EINA_CFLAGS@ | ||
20 | module_la_LIBADD = $(top_builddir)/src/lib/libeina.la @EMEMOA_LIBS@ @EINA_LIBS@ | ||
21 | module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version | ||
22 | module_la_LIBTOOLFLAGS = --tag=disable-static | ||
23 | |||
24 | install-data-hook: | ||
25 | rm -f $(DESTDIR)$(controllerdir)/$(controller_LTLIBRARIES) | ||
26 | uninstall-hook: | ||
27 | rm -f $(DESTDIR)$(controllerdir)/module.* | ||
28 | |||
29 | clean-local: | ||
30 | rm -rf *.gcno | ||
diff --git a/libraries/eina/src/modules/mp/ememoa_fixed/Makefile.in b/libraries/eina/src/modules/mp/ememoa_fixed/Makefile.in new file mode 100644 index 0000000..ec97bb1 --- /dev/null +++ b/libraries/eina/src/modules/mp/ememoa_fixed/Makefile.in | |||
@@ -0,0 +1,644 @@ | |||
1 | # Makefile.in generated by automake 1.11.1 from Makefile.am. | ||
2 | # @configure_input@ | ||
3 | |||
4 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | ||
5 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, | ||
6 | # Inc. | ||
7 | # This Makefile.in is free software; the Free Software Foundation | ||
8 | # gives unlimited permission to copy and/or distribute it, | ||
9 | # with or without modifications, as long as this notice is preserved. | ||
10 | |||
11 | # This program is distributed in the hope that it will be useful, | ||
12 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without | ||
13 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A | ||
14 | # PARTICULAR PURPOSE. | ||
15 | |||
16 | @SET_MAKE@ | ||
17 | |||
18 | VPATH = @srcdir@ | ||
19 | pkgdatadir = $(datadir)/@PACKAGE@ | ||
20 | pkgincludedir = $(includedir)/@PACKAGE@ | ||
21 | pkglibdir = $(libdir)/@PACKAGE@ | ||
22 | pkglibexecdir = $(libexecdir)/@PACKAGE@ | ||
23 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | ||
24 | install_sh_DATA = $(install_sh) -c -m 644 | ||
25 | install_sh_PROGRAM = $(install_sh) -c | ||
26 | install_sh_SCRIPT = $(install_sh) -c | ||
27 | INSTALL_HEADER = $(INSTALL_DATA) | ||
28 | transform = $(program_transform_name) | ||
29 | NORMAL_INSTALL = : | ||
30 | PRE_INSTALL = : | ||
31 | POST_INSTALL = : | ||
32 | NORMAL_UNINSTALL = : | ||
33 | PRE_UNINSTALL = : | ||
34 | POST_UNINSTALL = : | ||
35 | build_triplet = @build@ | ||
36 | host_triplet = @host@ | ||
37 | subdir = src/modules/mp/ememoa_fixed | ||
38 | DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in | ||
39 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | ||
40 | am__aclocal_m4_deps = $(top_srcdir)/m4/efl_attribute.m4 \ | ||
41 | $(top_srcdir)/m4/efl_benchmark.m4 \ | ||
42 | $(top_srcdir)/m4/efl_compiler_flag.m4 \ | ||
43 | $(top_srcdir)/m4/efl_coverage.m4 $(top_srcdir)/m4/efl_cpu.m4 \ | ||
44 | $(top_srcdir)/m4/efl_doxygen.m4 \ | ||
45 | $(top_srcdir)/m4/efl_examples.m4 \ | ||
46 | $(top_srcdir)/m4/efl_fnmatch.m4 \ | ||
47 | $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ | ||
48 | $(top_srcdir)/m4/efl_threads.m4 \ | ||
49 | $(top_srcdir)/m4/efl_voltron.m4 $(top_srcdir)/m4/eina_bench.m4 \ | ||
50 | $(top_srcdir)/m4/eina_check.m4 $(top_srcdir)/m4/libtool.m4 \ | ||
51 | $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ | ||
52 | $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ | ||
53 | $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac | ||
54 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | ||
55 | $(ACLOCAL_M4) | ||
56 | mkinstalldirs = $(install_sh) -d | ||
57 | CONFIG_HEADER = $(top_builddir)/config.h | ||
58 | CONFIG_CLEAN_FILES = | ||
59 | CONFIG_CLEAN_VPATH_FILES = | ||
60 | am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; | ||
61 | am__vpath_adj = case $$p in \ | ||
62 | $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ | ||
63 | *) f=$$p;; \ | ||
64 | esac; | ||
65 | am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; | ||
66 | am__install_max = 40 | ||
67 | am__nobase_strip_setup = \ | ||
68 | srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` | ||
69 | am__nobase_strip = \ | ||
70 | for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" | ||
71 | am__nobase_list = $(am__nobase_strip_setup); \ | ||
72 | for p in $$list; do echo "$$p $$p"; done | \ | ||
73 | sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ | ||
74 | $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ | ||
75 | if (++n[$$2] == $(am__install_max)) \ | ||
76 | { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ | ||
77 | END { for (dir in files) print dir, files[dir] }' | ||
78 | am__base_list = \ | ||
79 | sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ | ||
80 | sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | ||
81 | am__installdirs = "$(DESTDIR)$(controllerdir)" | ||
82 | LTLIBRARIES = $(controller_LTLIBRARIES) | ||
83 | module_la_DEPENDENCIES = $(top_builddir)/src/lib/libeina.la | ||
84 | am_module_la_OBJECTS = module_la-eina_ememoa_fixed.lo | ||
85 | module_la_OBJECTS = $(am_module_la_OBJECTS) | ||
86 | AM_V_lt = $(am__v_lt_$(V)) | ||
87 | am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) | ||
88 | am__v_lt_0 = --silent | ||
89 | module_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ | ||
90 | $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ | ||
91 | $(module_la_CFLAGS) $(CFLAGS) $(module_la_LDFLAGS) $(LDFLAGS) \ | ||
92 | -o $@ | ||
93 | DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) | ||
94 | depcomp = $(SHELL) $(top_srcdir)/depcomp | ||
95 | am__depfiles_maybe = depfiles | ||
96 | am__mv = mv -f | ||
97 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ | ||
98 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | ||
99 | LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ | ||
100 | $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ | ||
101 | $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ | ||
102 | $(AM_CFLAGS) $(CFLAGS) | ||
103 | AM_V_CC = $(am__v_CC_$(V)) | ||
104 | am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) | ||
105 | am__v_CC_0 = @echo " CC " $@; | ||
106 | AM_V_at = $(am__v_at_$(V)) | ||
107 | am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) | ||
108 | am__v_at_0 = @ | ||
109 | CCLD = $(CC) | ||
110 | LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ | ||
111 | $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ | ||
112 | $(AM_LDFLAGS) $(LDFLAGS) -o $@ | ||
113 | AM_V_CCLD = $(am__v_CCLD_$(V)) | ||
114 | am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) | ||
115 | am__v_CCLD_0 = @echo " CCLD " $@; | ||
116 | AM_V_GEN = $(am__v_GEN_$(V)) | ||
117 | am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) | ||
118 | am__v_GEN_0 = @echo " GEN " $@; | ||
119 | SOURCES = $(module_la_SOURCES) | ||
120 | DIST_SOURCES = $(module_la_SOURCES) | ||
121 | ETAGS = etags | ||
122 | CTAGS = ctags | ||
123 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
124 | ACLOCAL = @ACLOCAL@ | ||
125 | ALLOCA = @ALLOCA@ | ||
126 | AMTAR = @AMTAR@ | ||
127 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | ||
128 | AR = @AR@ | ||
129 | AS = @AS@ | ||
130 | AUTOCONF = @AUTOCONF@ | ||
131 | AUTOHEADER = @AUTOHEADER@ | ||
132 | AUTOMAKE = @AUTOMAKE@ | ||
133 | AWK = @AWK@ | ||
134 | CC = @CC@ | ||
135 | CCDEPMODE = @CCDEPMODE@ | ||
136 | CFLAGS = @CFLAGS@ | ||
137 | CHECK_CFLAGS = @CHECK_CFLAGS@ | ||
138 | CHECK_LIBS = @CHECK_LIBS@ | ||
139 | CPP = @CPP@ | ||
140 | CPPFLAGS = @CPPFLAGS@ | ||
141 | CXX = @CXX@ | ||
142 | CXXCPP = @CXXCPP@ | ||
143 | CXXDEPMODE = @CXXDEPMODE@ | ||
144 | CXXFLAGS = @CXXFLAGS@ | ||
145 | CYGPATH_W = @CYGPATH_W@ | ||
146 | DEFS = @DEFS@ | ||
147 | DEPDIR = @DEPDIR@ | ||
148 | DLLTOOL = @DLLTOOL@ | ||
149 | DSYMUTIL = @DSYMUTIL@ | ||
150 | DUMPBIN = @DUMPBIN@ | ||
151 | ECHO_C = @ECHO_C@ | ||
152 | ECHO_N = @ECHO_N@ | ||
153 | ECHO_T = @ECHO_T@ | ||
154 | ECORE_EVAS_CFLAGS = @ECORE_EVAS_CFLAGS@ | ||
155 | ECORE_EVAS_LIBS = @ECORE_EVAS_LIBS@ | ||
156 | EFL_COVERAGE_CFLAGS = @EFL_COVERAGE_CFLAGS@ | ||
157 | EFL_COVERAGE_LIBS = @EFL_COVERAGE_LIBS@ | ||
158 | EFL_EINA_BUILD = @EFL_EINA_BUILD@ | ||
159 | EFL_FNMATCH_LIBS = @EFL_FNMATCH_LIBS@ | ||
160 | EFL_PTHREAD_CFLAGS = @EFL_PTHREAD_CFLAGS@ | ||
161 | EFL_PTHREAD_LIBS = @EFL_PTHREAD_LIBS@ | ||
162 | EFL_SIMD_FLAGS = @EFL_SIMD_FLAGS@ | ||
163 | EGREP = @EGREP@ | ||
164 | EINA_CFLAGS = @EINA_CFLAGS@ | ||
165 | EINA_CONFIGURE_DEFAULT_MEMPOOL = @EINA_CONFIGURE_DEFAULT_MEMPOOL@ | ||
166 | EINA_CONFIGURE_HAVE_DEBUG_THREADS = @EINA_CONFIGURE_HAVE_DEBUG_THREADS@ | ||
167 | EINA_CONFIGURE_HAVE_INTTYPES_H = @EINA_CONFIGURE_HAVE_INTTYPES_H@ | ||
168 | EINA_CONFIGURE_HAVE_ON_OFF_THREADS = @EINA_CONFIGURE_HAVE_ON_OFF_THREADS@ | ||
169 | EINA_CONFIGURE_HAVE_STDINT_H = @EINA_CONFIGURE_HAVE_STDINT_H@ | ||
170 | EINA_CONFIGURE_HAVE_THREADS = @EINA_CONFIGURE_HAVE_THREADS@ | ||
171 | EINA_CONFIGURE_MAGIC_DEBUG = @EINA_CONFIGURE_MAGIC_DEBUG@ | ||
172 | EINA_CONFIGURE_SAFETY_CHECKS = @EINA_CONFIGURE_SAFETY_CHECKS@ | ||
173 | EINA_CPPFLAGS = @EINA_CPPFLAGS@ | ||
174 | EINA_LIBS = @EINA_LIBS@ | ||
175 | EINA_SIZEOF_WCHAR_T = @EINA_SIZEOF_WCHAR_T@ | ||
176 | EMEMOA_CFLAGS = @EMEMOA_CFLAGS@ | ||
177 | EMEMOA_LIBS = @EMEMOA_LIBS@ | ||
178 | ESCAPE_CFLAGS = @ESCAPE_CFLAGS@ | ||
179 | ESCAPE_LIBS = @ESCAPE_LIBS@ | ||
180 | EVIL_CFLAGS = @EVIL_CFLAGS@ | ||
181 | EVIL_LIBS = @EVIL_LIBS@ | ||
182 | EXEEXT = @EXEEXT@ | ||
183 | FGREP = @FGREP@ | ||
184 | GLIB_CFLAGS = @GLIB_CFLAGS@ | ||
185 | GLIB_LIBS = @GLIB_LIBS@ | ||
186 | GREP = @GREP@ | ||
187 | INSTALL = @INSTALL@ | ||
188 | INSTALL_DATA = @INSTALL_DATA@ | ||
189 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | ||
190 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | ||
191 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | ||
192 | LD = @LD@ | ||
193 | LDFLAGS = @LDFLAGS@ | ||
194 | LIBOBJS = @LIBOBJS@ | ||
195 | LIBS = @LIBS@ | ||
196 | LIBTOOL = @LIBTOOL@ | ||
197 | LIPO = @LIPO@ | ||
198 | LN_S = @LN_S@ | ||
199 | LTLIBOBJS = @LTLIBOBJS@ | ||
200 | MAKEINFO = @MAKEINFO@ | ||
201 | MKDIR_P = @MKDIR_P@ | ||
202 | MODULE_ARCH = @MODULE_ARCH@ | ||
203 | NM = @NM@ | ||
204 | NMEDIT = @NMEDIT@ | ||
205 | OBJDUMP = @OBJDUMP@ | ||
206 | OBJEXT = @OBJEXT@ | ||
207 | OTOOL = @OTOOL@ | ||
208 | OTOOL64 = @OTOOL64@ | ||
209 | PACKAGE = @PACKAGE@ | ||
210 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | ||
211 | PACKAGE_NAME = @PACKAGE_NAME@ | ||
212 | PACKAGE_STRING = @PACKAGE_STRING@ | ||
213 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | ||
214 | PACKAGE_URL = @PACKAGE_URL@ | ||
215 | PACKAGE_VERSION = @PACKAGE_VERSION@ | ||
216 | PATH_SEPARATOR = @PATH_SEPARATOR@ | ||
217 | PKG_CONFIG = @PKG_CONFIG@ | ||
218 | PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ | ||
219 | PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ | ||
220 | RANLIB = @RANLIB@ | ||
221 | SED = @SED@ | ||
222 | SET_MAKE = @SET_MAKE@ | ||
223 | SHELL = @SHELL@ | ||
224 | STRIP = @STRIP@ | ||
225 | VALGRIND_CFLAGS = @VALGRIND_CFLAGS@ | ||
226 | VALGRIND_LIBS = @VALGRIND_LIBS@ | ||
227 | VERSION = @VERSION@ | ||
228 | VMAJ = @VMAJ@ | ||
229 | abs_builddir = @abs_builddir@ | ||
230 | abs_srcdir = @abs_srcdir@ | ||
231 | abs_top_builddir = @abs_top_builddir@ | ||
232 | abs_top_srcdir = @abs_top_srcdir@ | ||
233 | ac_ct_CC = @ac_ct_CC@ | ||
234 | ac_ct_CXX = @ac_ct_CXX@ | ||
235 | ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ | ||
236 | am__include = @am__include@ | ||
237 | am__leading_dot = @am__leading_dot@ | ||
238 | am__quote = @am__quote@ | ||
239 | am__tar = @am__tar@ | ||
240 | am__untar = @am__untar@ | ||
241 | bindir = @bindir@ | ||
242 | build = @build@ | ||
243 | build_alias = @build_alias@ | ||
244 | build_cpu = @build_cpu@ | ||
245 | build_os = @build_os@ | ||
246 | build_vendor = @build_vendor@ | ||
247 | builddir = @builddir@ | ||
248 | datadir = @datadir@ | ||
249 | datarootdir = @datarootdir@ | ||
250 | dlopen_libs = @dlopen_libs@ | ||
251 | docdir = @docdir@ | ||
252 | dvidir = @dvidir@ | ||
253 | efl_doxygen = @efl_doxygen@ | ||
254 | efl_have_doxygen = @efl_have_doxygen@ | ||
255 | exec_prefix = @exec_prefix@ | ||
256 | have_lcov = @have_lcov@ | ||
257 | host = @host@ | ||
258 | host_alias = @host_alias@ | ||
259 | host_cpu = @host_cpu@ | ||
260 | host_os = @host_os@ | ||
261 | host_vendor = @host_vendor@ | ||
262 | htmldir = @htmldir@ | ||
263 | iconv_libs = @iconv_libs@ | ||
264 | includedir = @includedir@ | ||
265 | infodir = @infodir@ | ||
266 | install_sh = @install_sh@ | ||
267 | libdir = @libdir@ | ||
268 | libexecdir = @libexecdir@ | ||
269 | localedir = @localedir@ | ||
270 | localstatedir = @localstatedir@ | ||
271 | lt_ECHO = @lt_ECHO@ | ||
272 | lt_enable_auto_import = @lt_enable_auto_import@ | ||
273 | mandir = @mandir@ | ||
274 | mkdir_p = @mkdir_p@ | ||
275 | oldincludedir = @oldincludedir@ | ||
276 | pdfdir = @pdfdir@ | ||
277 | pkgconfig_requires_private = @pkgconfig_requires_private@ | ||
278 | prefix = @prefix@ | ||
279 | program_transform_name = @program_transform_name@ | ||
280 | psdir = @psdir@ | ||
281 | release_info = @release_info@ | ||
282 | requirement_eina = @requirement_eina@ | ||
283 | rt_libs = @rt_libs@ | ||
284 | sbindir = @sbindir@ | ||
285 | sharedstatedir = @sharedstatedir@ | ||
286 | srcdir = @srcdir@ | ||
287 | sysconfdir = @sysconfdir@ | ||
288 | target_alias = @target_alias@ | ||
289 | top_build_prefix = @top_build_prefix@ | ||
290 | top_builddir = @top_builddir@ | ||
291 | top_srcdir = @top_srcdir@ | ||
292 | version_info = @version_info@ | ||
293 | MAINTAINERCLEANFILES = Makefile.in | ||
294 | AM_CPPFLAGS = \ | ||
295 | -I. \ | ||
296 | -I$(top_srcdir)/src/include \ | ||
297 | -I$(top_builddir)/src/include \ | ||
298 | -I$(top_srcdir)/src/lib \ | ||
299 | -I$(top_builddir)/src/lib \ | ||
300 | @EINA_CPPFLAGS@ \ | ||
301 | @EMEMOA_CFLAGS@ \ | ||
302 | @EFL_EINA_BUILD@ | ||
303 | |||
304 | controllerdir = $(libdir)/eina/modules/mp/ememoa_fixed/$(MODULE_ARCH) | ||
305 | controller_LTLIBRARIES = module.la | ||
306 | module_la_SOURCES = \ | ||
307 | eina_ememoa_fixed.c | ||
308 | |||
309 | module_la_CFLAGS = @EINA_CFLAGS@ | ||
310 | module_la_LIBADD = $(top_builddir)/src/lib/libeina.la @EMEMOA_LIBS@ @EINA_LIBS@ | ||
311 | module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version | ||
312 | module_la_LIBTOOLFLAGS = --tag=disable-static | ||
313 | all: all-am | ||
314 | |||
315 | .SUFFIXES: | ||
316 | .SUFFIXES: .c .lo .o .obj | ||
317 | $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) | ||
318 | @for dep in $?; do \ | ||
319 | case '$(am__configure_deps)' in \ | ||
320 | *$$dep*) \ | ||
321 | ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ | ||
322 | && { if test -f $@; then exit 0; else break; fi; }; \ | ||
323 | exit 1;; \ | ||
324 | esac; \ | ||
325 | done; \ | ||
326 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/modules/mp/ememoa_fixed/Makefile'; \ | ||
327 | $(am__cd) $(top_srcdir) && \ | ||
328 | $(AUTOMAKE) --gnu src/modules/mp/ememoa_fixed/Makefile | ||
329 | .PRECIOUS: Makefile | ||
330 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | ||
331 | @case '$?' in \ | ||
332 | *config.status*) \ | ||
333 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ | ||
334 | *) \ | ||
335 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ | ||
336 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ | ||
337 | esac; | ||
338 | |||
339 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | ||
340 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
341 | |||
342 | $(top_srcdir)/configure: $(am__configure_deps) | ||
343 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
344 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) | ||
345 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
346 | $(am__aclocal_m4_deps): | ||
347 | install-controllerLTLIBRARIES: $(controller_LTLIBRARIES) | ||
348 | @$(NORMAL_INSTALL) | ||
349 | test -z "$(controllerdir)" || $(MKDIR_P) "$(DESTDIR)$(controllerdir)" | ||
350 | @list='$(controller_LTLIBRARIES)'; test -n "$(controllerdir)" || list=; \ | ||
351 | list2=; for p in $$list; do \ | ||
352 | if test -f $$p; then \ | ||
353 | list2="$$list2 $$p"; \ | ||
354 | else :; fi; \ | ||
355 | done; \ | ||
356 | test -z "$$list2" || { \ | ||
357 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(controllerdir)'"; \ | ||
358 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(controllerdir)"; \ | ||
359 | } | ||
360 | |||
361 | uninstall-controllerLTLIBRARIES: | ||
362 | @$(NORMAL_UNINSTALL) | ||
363 | @list='$(controller_LTLIBRARIES)'; test -n "$(controllerdir)" || list=; \ | ||
364 | for p in $$list; do \ | ||
365 | $(am__strip_dir) \ | ||
366 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(controllerdir)/$$f'"; \ | ||
367 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(controllerdir)/$$f"; \ | ||
368 | done | ||
369 | |||
370 | clean-controllerLTLIBRARIES: | ||
371 | -test -z "$(controller_LTLIBRARIES)" || rm -f $(controller_LTLIBRARIES) | ||
372 | @list='$(controller_LTLIBRARIES)'; for p in $$list; do \ | ||
373 | dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ | ||
374 | test "$$dir" != "$$p" || dir=.; \ | ||
375 | echo "rm -f \"$${dir}/so_locations\""; \ | ||
376 | rm -f "$${dir}/so_locations"; \ | ||
377 | done | ||
378 | module.la: $(module_la_OBJECTS) $(module_la_DEPENDENCIES) | ||
379 | $(AM_V_CCLD)$(module_la_LINK) -rpath $(controllerdir) $(module_la_OBJECTS) $(module_la_LIBADD) $(LIBS) | ||
380 | |||
381 | mostlyclean-compile: | ||
382 | -rm -f *.$(OBJEXT) | ||
383 | |||
384 | distclean-compile: | ||
385 | -rm -f *.tab.c | ||
386 | |||
387 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/module_la-eina_ememoa_fixed.Plo@am__quote@ | ||
388 | |||
389 | .c.o: | ||
390 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | ||
391 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | ||
392 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
393 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | ||
394 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
395 | @am__fastdepCC_FALSE@ $(COMPILE) -c $< | ||
396 | |||
397 | .c.obj: | ||
398 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | ||
399 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | ||
400 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
401 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | ||
402 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
403 | @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` | ||
404 | |||
405 | .c.lo: | ||
406 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | ||
407 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo | ||
408 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
409 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ | ||
410 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
411 | @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< | ||
412 | |||
413 | module_la-eina_ememoa_fixed.lo: eina_ememoa_fixed.c | ||
414 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(module_la_CFLAGS) $(CFLAGS) -MT module_la-eina_ememoa_fixed.lo -MD -MP -MF $(DEPDIR)/module_la-eina_ememoa_fixed.Tpo -c -o module_la-eina_ememoa_fixed.lo `test -f 'eina_ememoa_fixed.c' || echo '$(srcdir)/'`eina_ememoa_fixed.c | ||
415 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/module_la-eina_ememoa_fixed.Tpo $(DEPDIR)/module_la-eina_ememoa_fixed.Plo | ||
416 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
417 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='eina_ememoa_fixed.c' object='module_la-eina_ememoa_fixed.lo' libtool=yes @AMDEPBACKSLASH@ | ||
418 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
419 | @am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(module_la_CFLAGS) $(CFLAGS) -c -o module_la-eina_ememoa_fixed.lo `test -f 'eina_ememoa_fixed.c' || echo '$(srcdir)/'`eina_ememoa_fixed.c | ||
420 | |||
421 | mostlyclean-libtool: | ||
422 | -rm -f *.lo | ||
423 | |||
424 | clean-libtool: | ||
425 | -rm -rf .libs _libs | ||
426 | |||
427 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | ||
428 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
429 | unique=`for i in $$list; do \ | ||
430 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
431 | done | \ | ||
432 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
433 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
434 | mkid -fID $$unique | ||
435 | tags: TAGS | ||
436 | |||
437 | TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | ||
438 | $(TAGS_FILES) $(LISP) | ||
439 | set x; \ | ||
440 | here=`pwd`; \ | ||
441 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
442 | unique=`for i in $$list; do \ | ||
443 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
444 | done | \ | ||
445 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
446 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
447 | shift; \ | ||
448 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ | ||
449 | test -n "$$unique" || unique=$$empty_fix; \ | ||
450 | if test $$# -gt 0; then \ | ||
451 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
452 | "$$@" $$unique; \ | ||
453 | else \ | ||
454 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
455 | $$unique; \ | ||
456 | fi; \ | ||
457 | fi | ||
458 | ctags: CTAGS | ||
459 | CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | ||
460 | $(TAGS_FILES) $(LISP) | ||
461 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
462 | unique=`for i in $$list; do \ | ||
463 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
464 | done | \ | ||
465 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
466 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
467 | test -z "$(CTAGS_ARGS)$$unique" \ | ||
468 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ | ||
469 | $$unique | ||
470 | |||
471 | GTAGS: | ||
472 | here=`$(am__cd) $(top_builddir) && pwd` \ | ||
473 | && $(am__cd) $(top_srcdir) \ | ||
474 | && gtags -i $(GTAGS_ARGS) "$$here" | ||
475 | |||
476 | distclean-tags: | ||
477 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
478 | |||
479 | distdir: $(DISTFILES) | ||
480 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
481 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
482 | list='$(DISTFILES)'; \ | ||
483 | dist_files=`for file in $$list; do echo $$file; done | \ | ||
484 | sed -e "s|^$$srcdirstrip/||;t" \ | ||
485 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | ||
486 | case $$dist_files in \ | ||
487 | */*) $(MKDIR_P) `echo "$$dist_files" | \ | ||
488 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | ||
489 | sort -u` ;; \ | ||
490 | esac; \ | ||
491 | for file in $$dist_files; do \ | ||
492 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | ||
493 | if test -d $$d/$$file; then \ | ||
494 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | ||
495 | if test -d "$(distdir)/$$file"; then \ | ||
496 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
497 | fi; \ | ||
498 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | ||
499 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | ||
500 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
501 | fi; \ | ||
502 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | ||
503 | else \ | ||
504 | test -f "$(distdir)/$$file" \ | ||
505 | || cp -p $$d/$$file "$(distdir)/$$file" \ | ||
506 | || exit 1; \ | ||
507 | fi; \ | ||
508 | done | ||
509 | check-am: all-am | ||
510 | check: check-am | ||
511 | all-am: Makefile $(LTLIBRARIES) | ||
512 | installdirs: | ||
513 | for dir in "$(DESTDIR)$(controllerdir)"; do \ | ||
514 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ | ||
515 | done | ||
516 | install: install-am | ||
517 | install-exec: install-exec-am | ||
518 | install-data: install-data-am | ||
519 | uninstall: uninstall-am | ||
520 | |||
521 | install-am: all-am | ||
522 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | ||
523 | |||
524 | installcheck: installcheck-am | ||
525 | install-strip: | ||
526 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||
527 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||
528 | `test -z '$(STRIP)' || \ | ||
529 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install | ||
530 | mostlyclean-generic: | ||
531 | |||
532 | clean-generic: | ||
533 | |||
534 | distclean-generic: | ||
535 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | ||
536 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | ||
537 | |||
538 | maintainer-clean-generic: | ||
539 | @echo "This command is intended for maintainers to use" | ||
540 | @echo "it deletes files that may require special tools to rebuild." | ||
541 | -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) | ||
542 | clean: clean-am | ||
543 | |||
544 | clean-am: clean-controllerLTLIBRARIES clean-generic clean-libtool \ | ||
545 | clean-local mostlyclean-am | ||
546 | |||
547 | distclean: distclean-am | ||
548 | -rm -rf ./$(DEPDIR) | ||
549 | -rm -f Makefile | ||
550 | distclean-am: clean-am distclean-compile distclean-generic \ | ||
551 | distclean-tags | ||
552 | |||
553 | dvi: dvi-am | ||
554 | |||
555 | dvi-am: | ||
556 | |||
557 | html: html-am | ||
558 | |||
559 | html-am: | ||
560 | |||
561 | info: info-am | ||
562 | |||
563 | info-am: | ||
564 | |||
565 | install-data-am: install-controllerLTLIBRARIES | ||
566 | @$(NORMAL_INSTALL) | ||
567 | $(MAKE) $(AM_MAKEFLAGS) install-data-hook | ||
568 | install-dvi: install-dvi-am | ||
569 | |||
570 | install-dvi-am: | ||
571 | |||
572 | install-exec-am: | ||
573 | |||
574 | install-html: install-html-am | ||
575 | |||
576 | install-html-am: | ||
577 | |||
578 | install-info: install-info-am | ||
579 | |||
580 | install-info-am: | ||
581 | |||
582 | install-man: | ||
583 | |||
584 | install-pdf: install-pdf-am | ||
585 | |||
586 | install-pdf-am: | ||
587 | |||
588 | install-ps: install-ps-am | ||
589 | |||
590 | install-ps-am: | ||
591 | |||
592 | installcheck-am: | ||
593 | |||
594 | maintainer-clean: maintainer-clean-am | ||
595 | -rm -rf ./$(DEPDIR) | ||
596 | -rm -f Makefile | ||
597 | maintainer-clean-am: distclean-am maintainer-clean-generic | ||
598 | |||
599 | mostlyclean: mostlyclean-am | ||
600 | |||
601 | mostlyclean-am: mostlyclean-compile mostlyclean-generic \ | ||
602 | mostlyclean-libtool | ||
603 | |||
604 | pdf: pdf-am | ||
605 | |||
606 | pdf-am: | ||
607 | |||
608 | ps: ps-am | ||
609 | |||
610 | ps-am: | ||
611 | |||
612 | uninstall-am: uninstall-controllerLTLIBRARIES | ||
613 | @$(NORMAL_INSTALL) | ||
614 | $(MAKE) $(AM_MAKEFLAGS) uninstall-hook | ||
615 | .MAKE: install-am install-data-am install-strip uninstall-am | ||
616 | |||
617 | .PHONY: CTAGS GTAGS all all-am check check-am clean \ | ||
618 | clean-controllerLTLIBRARIES clean-generic clean-libtool \ | ||
619 | clean-local ctags distclean distclean-compile \ | ||
620 | distclean-generic distclean-libtool distclean-tags distdir dvi \ | ||
621 | dvi-am html html-am info info-am install install-am \ | ||
622 | install-controllerLTLIBRARIES install-data install-data-am \ | ||
623 | install-data-hook install-dvi install-dvi-am install-exec \ | ||
624 | install-exec-am install-html install-html-am install-info \ | ||
625 | install-info-am install-man install-pdf install-pdf-am \ | ||
626 | install-ps install-ps-am install-strip installcheck \ | ||
627 | installcheck-am installdirs maintainer-clean \ | ||
628 | maintainer-clean-generic mostlyclean mostlyclean-compile \ | ||
629 | mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ | ||
630 | tags uninstall uninstall-am uninstall-controllerLTLIBRARIES \ | ||
631 | uninstall-hook | ||
632 | |||
633 | |||
634 | install-data-hook: | ||
635 | rm -f $(DESTDIR)$(controllerdir)/$(controller_LTLIBRARIES) | ||
636 | uninstall-hook: | ||
637 | rm -f $(DESTDIR)$(controllerdir)/module.* | ||
638 | |||
639 | clean-local: | ||
640 | rm -rf *.gcno | ||
641 | |||
642 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | ||
643 | # Otherwise a system limit (for SysV at least) may be exceeded. | ||
644 | .NOEXPORT: | ||
diff --git a/libraries/eina/src/modules/mp/ememoa_fixed/eina_ememoa_fixed.c b/libraries/eina/src/modules/mp/ememoa_fixed/eina_ememoa_fixed.c new file mode 100644 index 0000000..0d02f80 --- /dev/null +++ b/libraries/eina/src/modules/mp/ememoa_fixed/eina_ememoa_fixed.c | |||
@@ -0,0 +1,176 @@ | |||
1 | /* EINA - EFL data type library | ||
2 | * Copyright (C) 2008 Cedric BAIL | ||
3 | * | ||
4 | * This library is free software; you can redistribute it and/or | ||
5 | * modify it under the terms of the GNU Lesser General Public | ||
6 | * License as published by the Free Software Foundation; either | ||
7 | * version 2.1 of the License, or (at your option) any later version. | ||
8 | * | ||
9 | * This library is distributed in the hope that it will be useful, | ||
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
12 | * Lesser General Public License for more details. | ||
13 | * | ||
14 | * You should have received a copy of the GNU Lesser General Public | ||
15 | * License along with this library; | ||
16 | * if not, see <http://www.gnu.org/licenses/>. | ||
17 | */ | ||
18 | |||
19 | #ifdef HAVE_CONFIG_H | ||
20 | # include "config.h" | ||
21 | #endif | ||
22 | |||
23 | #include <stdlib.h> | ||
24 | #include <string.h> | ||
25 | #include <ememoa_mempool_fixed.h> | ||
26 | |||
27 | #include "eina_inlist.h" | ||
28 | #include "eina_error.h" | ||
29 | #include "eina_module.h" | ||
30 | #include "eina_mempool.h" | ||
31 | |||
32 | #include "eina_private.h" | ||
33 | |||
34 | typedef struct _Eina_Ememoa_Fixed_Mempool Eina_Ememoa_Fixed_Mempool; | ||
35 | struct _Eina_Ememoa_Fixed_Mempool | ||
36 | { | ||
37 | struct ememoa_mempool_desc_s *desc; | ||
38 | int pool; | ||
39 | }; | ||
40 | |||
41 | static void * | ||
42 | eina_ememoa_fixed_malloc(void *data, __UNUSED__ unsigned int size) | ||
43 | { | ||
44 | Eina_Ememoa_Fixed_Mempool *efm = data; | ||
45 | |||
46 | return ememoa_mempool_fixed_pop_object(efm->pool); | ||
47 | } | ||
48 | |||
49 | static void | ||
50 | eina_ememoa_fixed_free(void *data, void *ptr) | ||
51 | { | ||
52 | Eina_Ememoa_Fixed_Mempool *efm = data; | ||
53 | |||
54 | ememoa_mempool_fixed_push_object(efm->pool, ptr); | ||
55 | } | ||
56 | |||
57 | static void * | ||
58 | eina_ememoa_fixed_realloc(__UNUSED__ void *data, | ||
59 | __UNUSED__ void *element, | ||
60 | __UNUSED__ unsigned int size) | ||
61 | { | ||
62 | return NULL; | ||
63 | } | ||
64 | |||
65 | static void | ||
66 | eina_ememoa_fixed_gc(void *data) | ||
67 | { | ||
68 | Eina_Ememoa_Fixed_Mempool *efm = data; | ||
69 | |||
70 | ememoa_mempool_fixed_garbage_collect(efm->pool); | ||
71 | } | ||
72 | |||
73 | static void | ||
74 | eina_ememoa_fixed_statistics(void *data) | ||
75 | { | ||
76 | Eina_Ememoa_Fixed_Mempool *efm = data; | ||
77 | |||
78 | ememoa_mempool_fixed_display_statistic(efm->pool); | ||
79 | (void)efm; | ||
80 | } | ||
81 | |||
82 | static void * | ||
83 | eina_ememoa_fixed_init(const char *context, | ||
84 | __UNUSED__ const char *option, | ||
85 | va_list args) | ||
86 | { | ||
87 | struct ememoa_mempool_desc_s *desc = NULL; | ||
88 | Eina_Ememoa_Fixed_Mempool *efm = NULL; | ||
89 | Eina_Bool thread_protect; | ||
90 | int context_length; | ||
91 | int item_size; | ||
92 | int pool_size; | ||
93 | |||
94 | if (context) | ||
95 | { | ||
96 | context_length = strlen(context) + 1; | ||
97 | |||
98 | desc = calloc(1, sizeof (struct ememoa_mempool_desc_s) + context_length); | ||
99 | if (!desc) | ||
100 | goto on_error; | ||
101 | |||
102 | desc->name = (char *)(desc + 1); | ||
103 | memcpy((char *)desc->name, context, context_length); | ||
104 | } | ||
105 | |||
106 | item_size = va_arg(args, int); | ||
107 | pool_size = va_arg(args, int); | ||
108 | thread_protect = va_arg(args, int); | ||
109 | |||
110 | efm = malloc(sizeof (Eina_Ememoa_Fixed_Mempool)); | ||
111 | if (!efm) | ||
112 | goto on_error; | ||
113 | |||
114 | efm->desc = desc; | ||
115 | efm->pool = ememoa_mempool_fixed_init( | ||
116 | item_size, | ||
117 | pool_size, | ||
118 | thread_protect ? | ||
119 | EMEMOA_THREAD_PROTECTION : 0, | ||
120 | efm->desc); | ||
121 | if (efm->pool < 0) | ||
122 | goto on_error; | ||
123 | |||
124 | return efm; | ||
125 | |||
126 | on_error: | ||
127 | if (desc) | ||
128 | free(desc); | ||
129 | |||
130 | if (efm) | ||
131 | free(efm); | ||
132 | |||
133 | return NULL; | ||
134 | } | ||
135 | |||
136 | static void | ||
137 | eina_ememoa_fixed_shutdown(void *data) | ||
138 | { | ||
139 | Eina_Ememoa_Fixed_Mempool *efm = data; | ||
140 | |||
141 | if (efm->desc) | ||
142 | free(efm->desc); | ||
143 | |||
144 | ememoa_mempool_fixed_clean(efm->pool); | ||
145 | free(efm); | ||
146 | } | ||
147 | |||
148 | static Eina_Mempool_Backend _eina_ememoa_mp_backend = { | ||
149 | .name = "ememoa_fixed", | ||
150 | .init = &eina_ememoa_fixed_init, | ||
151 | .shutdown = &eina_ememoa_fixed_shutdown, | ||
152 | .realloc = &eina_ememoa_fixed_realloc, | ||
153 | .alloc = &eina_ememoa_fixed_malloc, | ||
154 | .free = &eina_ememoa_fixed_free, | ||
155 | .garbage_collect = &eina_ememoa_fixed_gc, | ||
156 | .statistics = &eina_ememoa_fixed_statistics, | ||
157 | .repack = NULL | ||
158 | }; | ||
159 | |||
160 | Eina_Bool ememoa_fixed_init(void) | ||
161 | { | ||
162 | return eina_mempool_register(&_eina_ememoa_mp_backend); | ||
163 | } | ||
164 | |||
165 | void ememoa_fixed_shutdown(void) | ||
166 | { | ||
167 | eina_mempool_unregister(&_eina_ememoa_mp_backend); | ||
168 | } | ||
169 | |||
170 | |||
171 | #ifndef EINA_STATIC_BUILD_EMEMOA_FIXED | ||
172 | |||
173 | EINA_MODULE_INIT(ememoa_fixed_init); | ||
174 | EINA_MODULE_SHUTDOWN(ememoa_fixed_shutdown); | ||
175 | |||
176 | #endif /* ! EINA_STATIC_BUILD_EMEMOA_FIXED */ | ||
diff --git a/libraries/eina/src/modules/mp/ememoa_unknown/Makefile.am b/libraries/eina/src/modules/mp/ememoa_unknown/Makefile.am new file mode 100644 index 0000000..2814e31 --- /dev/null +++ b/libraries/eina/src/modules/mp/ememoa_unknown/Makefile.am | |||
@@ -0,0 +1,30 @@ | |||
1 | MAINTAINERCLEANFILES = Makefile.in | ||
2 | |||
3 | AM_CPPFLAGS = \ | ||
4 | -I. \ | ||
5 | -I$(top_srcdir)/src/include \ | ||
6 | -I$(top_builddir)/src/include \ | ||
7 | -I$(top_srcdir)/src/lib \ | ||
8 | -I$(top_builddir)/src/lib \ | ||
9 | @EINA_CPPFLAGS@ \ | ||
10 | @EMEMOA_CFLAGS@ \ | ||
11 | @EFL_EINA_BUILD@ | ||
12 | |||
13 | controllerdir = $(libdir)/eina/modules/mp/ememoa_unknown/$(MODULE_ARCH) | ||
14 | controller_LTLIBRARIES = module.la | ||
15 | |||
16 | module_la_SOURCES = \ | ||
17 | eina_ememoa_unknown.c | ||
18 | |||
19 | module_la_CFLAGS = @EINA_CFLAGS@ | ||
20 | module_la_LIBADD = $(top_builddir)/src/lib/libeina.la @EMEMOA_LIBS@ @EINA_LIBS@ | ||
21 | module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version | ||
22 | module_la_LIBTOOLFLAGS = --tag=disable-static | ||
23 | |||
24 | install-data-hook: | ||
25 | rm -f $(DESTDIR)$(controllerdir)/$(controller_LTLIBRARIES) | ||
26 | uninstall-hook: | ||
27 | rm -f $(DESTDIR)$(controllerdir)/module.* | ||
28 | |||
29 | clean-local: | ||
30 | rm -rf *.gcno | ||
diff --git a/libraries/eina/src/modules/mp/ememoa_unknown/Makefile.in b/libraries/eina/src/modules/mp/ememoa_unknown/Makefile.in new file mode 100644 index 0000000..b295c64 --- /dev/null +++ b/libraries/eina/src/modules/mp/ememoa_unknown/Makefile.in | |||
@@ -0,0 +1,644 @@ | |||
1 | # Makefile.in generated by automake 1.11.1 from Makefile.am. | ||
2 | # @configure_input@ | ||
3 | |||
4 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | ||
5 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, | ||
6 | # Inc. | ||
7 | # This Makefile.in is free software; the Free Software Foundation | ||
8 | # gives unlimited permission to copy and/or distribute it, | ||
9 | # with or without modifications, as long as this notice is preserved. | ||
10 | |||
11 | # This program is distributed in the hope that it will be useful, | ||
12 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without | ||
13 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A | ||
14 | # PARTICULAR PURPOSE. | ||
15 | |||
16 | @SET_MAKE@ | ||
17 | |||
18 | VPATH = @srcdir@ | ||
19 | pkgdatadir = $(datadir)/@PACKAGE@ | ||
20 | pkgincludedir = $(includedir)/@PACKAGE@ | ||
21 | pkglibdir = $(libdir)/@PACKAGE@ | ||
22 | pkglibexecdir = $(libexecdir)/@PACKAGE@ | ||
23 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | ||
24 | install_sh_DATA = $(install_sh) -c -m 644 | ||
25 | install_sh_PROGRAM = $(install_sh) -c | ||
26 | install_sh_SCRIPT = $(install_sh) -c | ||
27 | INSTALL_HEADER = $(INSTALL_DATA) | ||
28 | transform = $(program_transform_name) | ||
29 | NORMAL_INSTALL = : | ||
30 | PRE_INSTALL = : | ||
31 | POST_INSTALL = : | ||
32 | NORMAL_UNINSTALL = : | ||
33 | PRE_UNINSTALL = : | ||
34 | POST_UNINSTALL = : | ||
35 | build_triplet = @build@ | ||
36 | host_triplet = @host@ | ||
37 | subdir = src/modules/mp/ememoa_unknown | ||
38 | DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in | ||
39 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | ||
40 | am__aclocal_m4_deps = $(top_srcdir)/m4/efl_attribute.m4 \ | ||
41 | $(top_srcdir)/m4/efl_benchmark.m4 \ | ||
42 | $(top_srcdir)/m4/efl_compiler_flag.m4 \ | ||
43 | $(top_srcdir)/m4/efl_coverage.m4 $(top_srcdir)/m4/efl_cpu.m4 \ | ||
44 | $(top_srcdir)/m4/efl_doxygen.m4 \ | ||
45 | $(top_srcdir)/m4/efl_examples.m4 \ | ||
46 | $(top_srcdir)/m4/efl_fnmatch.m4 \ | ||
47 | $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ | ||
48 | $(top_srcdir)/m4/efl_threads.m4 \ | ||
49 | $(top_srcdir)/m4/efl_voltron.m4 $(top_srcdir)/m4/eina_bench.m4 \ | ||
50 | $(top_srcdir)/m4/eina_check.m4 $(top_srcdir)/m4/libtool.m4 \ | ||
51 | $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ | ||
52 | $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ | ||
53 | $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac | ||
54 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | ||
55 | $(ACLOCAL_M4) | ||
56 | mkinstalldirs = $(install_sh) -d | ||
57 | CONFIG_HEADER = $(top_builddir)/config.h | ||
58 | CONFIG_CLEAN_FILES = | ||
59 | CONFIG_CLEAN_VPATH_FILES = | ||
60 | am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; | ||
61 | am__vpath_adj = case $$p in \ | ||
62 | $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ | ||
63 | *) f=$$p;; \ | ||
64 | esac; | ||
65 | am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; | ||
66 | am__install_max = 40 | ||
67 | am__nobase_strip_setup = \ | ||
68 | srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` | ||
69 | am__nobase_strip = \ | ||
70 | for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" | ||
71 | am__nobase_list = $(am__nobase_strip_setup); \ | ||
72 | for p in $$list; do echo "$$p $$p"; done | \ | ||
73 | sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ | ||
74 | $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ | ||
75 | if (++n[$$2] == $(am__install_max)) \ | ||
76 | { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ | ||
77 | END { for (dir in files) print dir, files[dir] }' | ||
78 | am__base_list = \ | ||
79 | sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ | ||
80 | sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | ||
81 | am__installdirs = "$(DESTDIR)$(controllerdir)" | ||
82 | LTLIBRARIES = $(controller_LTLIBRARIES) | ||
83 | module_la_DEPENDENCIES = $(top_builddir)/src/lib/libeina.la | ||
84 | am_module_la_OBJECTS = module_la-eina_ememoa_unknown.lo | ||
85 | module_la_OBJECTS = $(am_module_la_OBJECTS) | ||
86 | AM_V_lt = $(am__v_lt_$(V)) | ||
87 | am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) | ||
88 | am__v_lt_0 = --silent | ||
89 | module_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ | ||
90 | $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ | ||
91 | $(module_la_CFLAGS) $(CFLAGS) $(module_la_LDFLAGS) $(LDFLAGS) \ | ||
92 | -o $@ | ||
93 | DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) | ||
94 | depcomp = $(SHELL) $(top_srcdir)/depcomp | ||
95 | am__depfiles_maybe = depfiles | ||
96 | am__mv = mv -f | ||
97 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ | ||
98 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | ||
99 | LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ | ||
100 | $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ | ||
101 | $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ | ||
102 | $(AM_CFLAGS) $(CFLAGS) | ||
103 | AM_V_CC = $(am__v_CC_$(V)) | ||
104 | am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) | ||
105 | am__v_CC_0 = @echo " CC " $@; | ||
106 | AM_V_at = $(am__v_at_$(V)) | ||
107 | am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) | ||
108 | am__v_at_0 = @ | ||
109 | CCLD = $(CC) | ||
110 | LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ | ||
111 | $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ | ||
112 | $(AM_LDFLAGS) $(LDFLAGS) -o $@ | ||
113 | AM_V_CCLD = $(am__v_CCLD_$(V)) | ||
114 | am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) | ||
115 | am__v_CCLD_0 = @echo " CCLD " $@; | ||
116 | AM_V_GEN = $(am__v_GEN_$(V)) | ||
117 | am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) | ||
118 | am__v_GEN_0 = @echo " GEN " $@; | ||
119 | SOURCES = $(module_la_SOURCES) | ||
120 | DIST_SOURCES = $(module_la_SOURCES) | ||
121 | ETAGS = etags | ||
122 | CTAGS = ctags | ||
123 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
124 | ACLOCAL = @ACLOCAL@ | ||
125 | ALLOCA = @ALLOCA@ | ||
126 | AMTAR = @AMTAR@ | ||
127 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | ||
128 | AR = @AR@ | ||
129 | AS = @AS@ | ||
130 | AUTOCONF = @AUTOCONF@ | ||
131 | AUTOHEADER = @AUTOHEADER@ | ||
132 | AUTOMAKE = @AUTOMAKE@ | ||
133 | AWK = @AWK@ | ||
134 | CC = @CC@ | ||
135 | CCDEPMODE = @CCDEPMODE@ | ||
136 | CFLAGS = @CFLAGS@ | ||
137 | CHECK_CFLAGS = @CHECK_CFLAGS@ | ||
138 | CHECK_LIBS = @CHECK_LIBS@ | ||
139 | CPP = @CPP@ | ||
140 | CPPFLAGS = @CPPFLAGS@ | ||
141 | CXX = @CXX@ | ||
142 | CXXCPP = @CXXCPP@ | ||
143 | CXXDEPMODE = @CXXDEPMODE@ | ||
144 | CXXFLAGS = @CXXFLAGS@ | ||
145 | CYGPATH_W = @CYGPATH_W@ | ||
146 | DEFS = @DEFS@ | ||
147 | DEPDIR = @DEPDIR@ | ||
148 | DLLTOOL = @DLLTOOL@ | ||
149 | DSYMUTIL = @DSYMUTIL@ | ||
150 | DUMPBIN = @DUMPBIN@ | ||
151 | ECHO_C = @ECHO_C@ | ||
152 | ECHO_N = @ECHO_N@ | ||
153 | ECHO_T = @ECHO_T@ | ||
154 | ECORE_EVAS_CFLAGS = @ECORE_EVAS_CFLAGS@ | ||
155 | ECORE_EVAS_LIBS = @ECORE_EVAS_LIBS@ | ||
156 | EFL_COVERAGE_CFLAGS = @EFL_COVERAGE_CFLAGS@ | ||
157 | EFL_COVERAGE_LIBS = @EFL_COVERAGE_LIBS@ | ||
158 | EFL_EINA_BUILD = @EFL_EINA_BUILD@ | ||
159 | EFL_FNMATCH_LIBS = @EFL_FNMATCH_LIBS@ | ||
160 | EFL_PTHREAD_CFLAGS = @EFL_PTHREAD_CFLAGS@ | ||
161 | EFL_PTHREAD_LIBS = @EFL_PTHREAD_LIBS@ | ||
162 | EFL_SIMD_FLAGS = @EFL_SIMD_FLAGS@ | ||
163 | EGREP = @EGREP@ | ||
164 | EINA_CFLAGS = @EINA_CFLAGS@ | ||
165 | EINA_CONFIGURE_DEFAULT_MEMPOOL = @EINA_CONFIGURE_DEFAULT_MEMPOOL@ | ||
166 | EINA_CONFIGURE_HAVE_DEBUG_THREADS = @EINA_CONFIGURE_HAVE_DEBUG_THREADS@ | ||
167 | EINA_CONFIGURE_HAVE_INTTYPES_H = @EINA_CONFIGURE_HAVE_INTTYPES_H@ | ||
168 | EINA_CONFIGURE_HAVE_ON_OFF_THREADS = @EINA_CONFIGURE_HAVE_ON_OFF_THREADS@ | ||
169 | EINA_CONFIGURE_HAVE_STDINT_H = @EINA_CONFIGURE_HAVE_STDINT_H@ | ||
170 | EINA_CONFIGURE_HAVE_THREADS = @EINA_CONFIGURE_HAVE_THREADS@ | ||
171 | EINA_CONFIGURE_MAGIC_DEBUG = @EINA_CONFIGURE_MAGIC_DEBUG@ | ||
172 | EINA_CONFIGURE_SAFETY_CHECKS = @EINA_CONFIGURE_SAFETY_CHECKS@ | ||
173 | EINA_CPPFLAGS = @EINA_CPPFLAGS@ | ||
174 | EINA_LIBS = @EINA_LIBS@ | ||
175 | EINA_SIZEOF_WCHAR_T = @EINA_SIZEOF_WCHAR_T@ | ||
176 | EMEMOA_CFLAGS = @EMEMOA_CFLAGS@ | ||
177 | EMEMOA_LIBS = @EMEMOA_LIBS@ | ||
178 | ESCAPE_CFLAGS = @ESCAPE_CFLAGS@ | ||
179 | ESCAPE_LIBS = @ESCAPE_LIBS@ | ||
180 | EVIL_CFLAGS = @EVIL_CFLAGS@ | ||
181 | EVIL_LIBS = @EVIL_LIBS@ | ||
182 | EXEEXT = @EXEEXT@ | ||
183 | FGREP = @FGREP@ | ||
184 | GLIB_CFLAGS = @GLIB_CFLAGS@ | ||
185 | GLIB_LIBS = @GLIB_LIBS@ | ||
186 | GREP = @GREP@ | ||
187 | INSTALL = @INSTALL@ | ||
188 | INSTALL_DATA = @INSTALL_DATA@ | ||
189 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | ||
190 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | ||
191 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | ||
192 | LD = @LD@ | ||
193 | LDFLAGS = @LDFLAGS@ | ||
194 | LIBOBJS = @LIBOBJS@ | ||
195 | LIBS = @LIBS@ | ||
196 | LIBTOOL = @LIBTOOL@ | ||
197 | LIPO = @LIPO@ | ||
198 | LN_S = @LN_S@ | ||
199 | LTLIBOBJS = @LTLIBOBJS@ | ||
200 | MAKEINFO = @MAKEINFO@ | ||
201 | MKDIR_P = @MKDIR_P@ | ||
202 | MODULE_ARCH = @MODULE_ARCH@ | ||
203 | NM = @NM@ | ||
204 | NMEDIT = @NMEDIT@ | ||
205 | OBJDUMP = @OBJDUMP@ | ||
206 | OBJEXT = @OBJEXT@ | ||
207 | OTOOL = @OTOOL@ | ||
208 | OTOOL64 = @OTOOL64@ | ||
209 | PACKAGE = @PACKAGE@ | ||
210 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | ||
211 | PACKAGE_NAME = @PACKAGE_NAME@ | ||
212 | PACKAGE_STRING = @PACKAGE_STRING@ | ||
213 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | ||
214 | PACKAGE_URL = @PACKAGE_URL@ | ||
215 | PACKAGE_VERSION = @PACKAGE_VERSION@ | ||
216 | PATH_SEPARATOR = @PATH_SEPARATOR@ | ||
217 | PKG_CONFIG = @PKG_CONFIG@ | ||
218 | PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ | ||
219 | PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ | ||
220 | RANLIB = @RANLIB@ | ||
221 | SED = @SED@ | ||
222 | SET_MAKE = @SET_MAKE@ | ||
223 | SHELL = @SHELL@ | ||
224 | STRIP = @STRIP@ | ||
225 | VALGRIND_CFLAGS = @VALGRIND_CFLAGS@ | ||
226 | VALGRIND_LIBS = @VALGRIND_LIBS@ | ||
227 | VERSION = @VERSION@ | ||
228 | VMAJ = @VMAJ@ | ||
229 | abs_builddir = @abs_builddir@ | ||
230 | abs_srcdir = @abs_srcdir@ | ||
231 | abs_top_builddir = @abs_top_builddir@ | ||
232 | abs_top_srcdir = @abs_top_srcdir@ | ||
233 | ac_ct_CC = @ac_ct_CC@ | ||
234 | ac_ct_CXX = @ac_ct_CXX@ | ||
235 | ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ | ||
236 | am__include = @am__include@ | ||
237 | am__leading_dot = @am__leading_dot@ | ||
238 | am__quote = @am__quote@ | ||
239 | am__tar = @am__tar@ | ||
240 | am__untar = @am__untar@ | ||
241 | bindir = @bindir@ | ||
242 | build = @build@ | ||
243 | build_alias = @build_alias@ | ||
244 | build_cpu = @build_cpu@ | ||
245 | build_os = @build_os@ | ||
246 | build_vendor = @build_vendor@ | ||
247 | builddir = @builddir@ | ||
248 | datadir = @datadir@ | ||
249 | datarootdir = @datarootdir@ | ||
250 | dlopen_libs = @dlopen_libs@ | ||
251 | docdir = @docdir@ | ||
252 | dvidir = @dvidir@ | ||
253 | efl_doxygen = @efl_doxygen@ | ||
254 | efl_have_doxygen = @efl_have_doxygen@ | ||
255 | exec_prefix = @exec_prefix@ | ||
256 | have_lcov = @have_lcov@ | ||
257 | host = @host@ | ||
258 | host_alias = @host_alias@ | ||
259 | host_cpu = @host_cpu@ | ||
260 | host_os = @host_os@ | ||
261 | host_vendor = @host_vendor@ | ||
262 | htmldir = @htmldir@ | ||
263 | iconv_libs = @iconv_libs@ | ||
264 | includedir = @includedir@ | ||
265 | infodir = @infodir@ | ||
266 | install_sh = @install_sh@ | ||
267 | libdir = @libdir@ | ||
268 | libexecdir = @libexecdir@ | ||
269 | localedir = @localedir@ | ||
270 | localstatedir = @localstatedir@ | ||
271 | lt_ECHO = @lt_ECHO@ | ||
272 | lt_enable_auto_import = @lt_enable_auto_import@ | ||
273 | mandir = @mandir@ | ||
274 | mkdir_p = @mkdir_p@ | ||
275 | oldincludedir = @oldincludedir@ | ||
276 | pdfdir = @pdfdir@ | ||
277 | pkgconfig_requires_private = @pkgconfig_requires_private@ | ||
278 | prefix = @prefix@ | ||
279 | program_transform_name = @program_transform_name@ | ||
280 | psdir = @psdir@ | ||
281 | release_info = @release_info@ | ||
282 | requirement_eina = @requirement_eina@ | ||
283 | rt_libs = @rt_libs@ | ||
284 | sbindir = @sbindir@ | ||
285 | sharedstatedir = @sharedstatedir@ | ||
286 | srcdir = @srcdir@ | ||
287 | sysconfdir = @sysconfdir@ | ||
288 | target_alias = @target_alias@ | ||
289 | top_build_prefix = @top_build_prefix@ | ||
290 | top_builddir = @top_builddir@ | ||
291 | top_srcdir = @top_srcdir@ | ||
292 | version_info = @version_info@ | ||
293 | MAINTAINERCLEANFILES = Makefile.in | ||
294 | AM_CPPFLAGS = \ | ||
295 | -I. \ | ||
296 | -I$(top_srcdir)/src/include \ | ||
297 | -I$(top_builddir)/src/include \ | ||
298 | -I$(top_srcdir)/src/lib \ | ||
299 | -I$(top_builddir)/src/lib \ | ||
300 | @EINA_CPPFLAGS@ \ | ||
301 | @EMEMOA_CFLAGS@ \ | ||
302 | @EFL_EINA_BUILD@ | ||
303 | |||
304 | controllerdir = $(libdir)/eina/modules/mp/ememoa_unknown/$(MODULE_ARCH) | ||
305 | controller_LTLIBRARIES = module.la | ||
306 | module_la_SOURCES = \ | ||
307 | eina_ememoa_unknown.c | ||
308 | |||
309 | module_la_CFLAGS = @EINA_CFLAGS@ | ||
310 | module_la_LIBADD = $(top_builddir)/src/lib/libeina.la @EMEMOA_LIBS@ @EINA_LIBS@ | ||
311 | module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version | ||
312 | module_la_LIBTOOLFLAGS = --tag=disable-static | ||
313 | all: all-am | ||
314 | |||
315 | .SUFFIXES: | ||
316 | .SUFFIXES: .c .lo .o .obj | ||
317 | $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) | ||
318 | @for dep in $?; do \ | ||
319 | case '$(am__configure_deps)' in \ | ||
320 | *$$dep*) \ | ||
321 | ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ | ||
322 | && { if test -f $@; then exit 0; else break; fi; }; \ | ||
323 | exit 1;; \ | ||
324 | esac; \ | ||
325 | done; \ | ||
326 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/modules/mp/ememoa_unknown/Makefile'; \ | ||
327 | $(am__cd) $(top_srcdir) && \ | ||
328 | $(AUTOMAKE) --gnu src/modules/mp/ememoa_unknown/Makefile | ||
329 | .PRECIOUS: Makefile | ||
330 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | ||
331 | @case '$?' in \ | ||
332 | *config.status*) \ | ||
333 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ | ||
334 | *) \ | ||
335 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ | ||
336 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ | ||
337 | esac; | ||
338 | |||
339 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | ||
340 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
341 | |||
342 | $(top_srcdir)/configure: $(am__configure_deps) | ||
343 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
344 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) | ||
345 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
346 | $(am__aclocal_m4_deps): | ||
347 | install-controllerLTLIBRARIES: $(controller_LTLIBRARIES) | ||
348 | @$(NORMAL_INSTALL) | ||
349 | test -z "$(controllerdir)" || $(MKDIR_P) "$(DESTDIR)$(controllerdir)" | ||
350 | @list='$(controller_LTLIBRARIES)'; test -n "$(controllerdir)" || list=; \ | ||
351 | list2=; for p in $$list; do \ | ||
352 | if test -f $$p; then \ | ||
353 | list2="$$list2 $$p"; \ | ||
354 | else :; fi; \ | ||
355 | done; \ | ||
356 | test -z "$$list2" || { \ | ||
357 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(controllerdir)'"; \ | ||
358 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(controllerdir)"; \ | ||
359 | } | ||
360 | |||
361 | uninstall-controllerLTLIBRARIES: | ||
362 | @$(NORMAL_UNINSTALL) | ||
363 | @list='$(controller_LTLIBRARIES)'; test -n "$(controllerdir)" || list=; \ | ||
364 | for p in $$list; do \ | ||
365 | $(am__strip_dir) \ | ||
366 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(controllerdir)/$$f'"; \ | ||
367 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(controllerdir)/$$f"; \ | ||
368 | done | ||
369 | |||
370 | clean-controllerLTLIBRARIES: | ||
371 | -test -z "$(controller_LTLIBRARIES)" || rm -f $(controller_LTLIBRARIES) | ||
372 | @list='$(controller_LTLIBRARIES)'; for p in $$list; do \ | ||
373 | dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ | ||
374 | test "$$dir" != "$$p" || dir=.; \ | ||
375 | echo "rm -f \"$${dir}/so_locations\""; \ | ||
376 | rm -f "$${dir}/so_locations"; \ | ||
377 | done | ||
378 | module.la: $(module_la_OBJECTS) $(module_la_DEPENDENCIES) | ||
379 | $(AM_V_CCLD)$(module_la_LINK) -rpath $(controllerdir) $(module_la_OBJECTS) $(module_la_LIBADD) $(LIBS) | ||
380 | |||
381 | mostlyclean-compile: | ||
382 | -rm -f *.$(OBJEXT) | ||
383 | |||
384 | distclean-compile: | ||
385 | -rm -f *.tab.c | ||
386 | |||
387 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/module_la-eina_ememoa_unknown.Plo@am__quote@ | ||
388 | |||
389 | .c.o: | ||
390 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | ||
391 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | ||
392 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
393 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | ||
394 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
395 | @am__fastdepCC_FALSE@ $(COMPILE) -c $< | ||
396 | |||
397 | .c.obj: | ||
398 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | ||
399 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | ||
400 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
401 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | ||
402 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
403 | @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` | ||
404 | |||
405 | .c.lo: | ||
406 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | ||
407 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo | ||
408 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
409 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ | ||
410 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
411 | @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< | ||
412 | |||
413 | module_la-eina_ememoa_unknown.lo: eina_ememoa_unknown.c | ||
414 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(module_la_CFLAGS) $(CFLAGS) -MT module_la-eina_ememoa_unknown.lo -MD -MP -MF $(DEPDIR)/module_la-eina_ememoa_unknown.Tpo -c -o module_la-eina_ememoa_unknown.lo `test -f 'eina_ememoa_unknown.c' || echo '$(srcdir)/'`eina_ememoa_unknown.c | ||
415 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/module_la-eina_ememoa_unknown.Tpo $(DEPDIR)/module_la-eina_ememoa_unknown.Plo | ||
416 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
417 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='eina_ememoa_unknown.c' object='module_la-eina_ememoa_unknown.lo' libtool=yes @AMDEPBACKSLASH@ | ||
418 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
419 | @am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(module_la_CFLAGS) $(CFLAGS) -c -o module_la-eina_ememoa_unknown.lo `test -f 'eina_ememoa_unknown.c' || echo '$(srcdir)/'`eina_ememoa_unknown.c | ||
420 | |||
421 | mostlyclean-libtool: | ||
422 | -rm -f *.lo | ||
423 | |||
424 | clean-libtool: | ||
425 | -rm -rf .libs _libs | ||
426 | |||
427 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | ||
428 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
429 | unique=`for i in $$list; do \ | ||
430 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
431 | done | \ | ||
432 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
433 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
434 | mkid -fID $$unique | ||
435 | tags: TAGS | ||
436 | |||
437 | TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | ||
438 | $(TAGS_FILES) $(LISP) | ||
439 | set x; \ | ||
440 | here=`pwd`; \ | ||
441 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
442 | unique=`for i in $$list; do \ | ||
443 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
444 | done | \ | ||
445 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
446 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
447 | shift; \ | ||
448 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ | ||
449 | test -n "$$unique" || unique=$$empty_fix; \ | ||
450 | if test $$# -gt 0; then \ | ||
451 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
452 | "$$@" $$unique; \ | ||
453 | else \ | ||
454 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
455 | $$unique; \ | ||
456 | fi; \ | ||
457 | fi | ||
458 | ctags: CTAGS | ||
459 | CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | ||
460 | $(TAGS_FILES) $(LISP) | ||
461 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
462 | unique=`for i in $$list; do \ | ||
463 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
464 | done | \ | ||
465 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
466 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
467 | test -z "$(CTAGS_ARGS)$$unique" \ | ||
468 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ | ||
469 | $$unique | ||
470 | |||
471 | GTAGS: | ||
472 | here=`$(am__cd) $(top_builddir) && pwd` \ | ||
473 | && $(am__cd) $(top_srcdir) \ | ||
474 | && gtags -i $(GTAGS_ARGS) "$$here" | ||
475 | |||
476 | distclean-tags: | ||
477 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
478 | |||
479 | distdir: $(DISTFILES) | ||
480 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
481 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
482 | list='$(DISTFILES)'; \ | ||
483 | dist_files=`for file in $$list; do echo $$file; done | \ | ||
484 | sed -e "s|^$$srcdirstrip/||;t" \ | ||
485 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | ||
486 | case $$dist_files in \ | ||
487 | */*) $(MKDIR_P) `echo "$$dist_files" | \ | ||
488 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | ||
489 | sort -u` ;; \ | ||
490 | esac; \ | ||
491 | for file in $$dist_files; do \ | ||
492 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | ||
493 | if test -d $$d/$$file; then \ | ||
494 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | ||
495 | if test -d "$(distdir)/$$file"; then \ | ||
496 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
497 | fi; \ | ||
498 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | ||
499 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | ||
500 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
501 | fi; \ | ||
502 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | ||
503 | else \ | ||
504 | test -f "$(distdir)/$$file" \ | ||
505 | || cp -p $$d/$$file "$(distdir)/$$file" \ | ||
506 | || exit 1; \ | ||
507 | fi; \ | ||
508 | done | ||
509 | check-am: all-am | ||
510 | check: check-am | ||
511 | all-am: Makefile $(LTLIBRARIES) | ||
512 | installdirs: | ||
513 | for dir in "$(DESTDIR)$(controllerdir)"; do \ | ||
514 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ | ||
515 | done | ||
516 | install: install-am | ||
517 | install-exec: install-exec-am | ||
518 | install-data: install-data-am | ||
519 | uninstall: uninstall-am | ||
520 | |||
521 | install-am: all-am | ||
522 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | ||
523 | |||
524 | installcheck: installcheck-am | ||
525 | install-strip: | ||
526 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||
527 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||
528 | `test -z '$(STRIP)' || \ | ||
529 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install | ||
530 | mostlyclean-generic: | ||
531 | |||
532 | clean-generic: | ||
533 | |||
534 | distclean-generic: | ||
535 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | ||
536 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | ||
537 | |||
538 | maintainer-clean-generic: | ||
539 | @echo "This command is intended for maintainers to use" | ||
540 | @echo "it deletes files that may require special tools to rebuild." | ||
541 | -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) | ||
542 | clean: clean-am | ||
543 | |||
544 | clean-am: clean-controllerLTLIBRARIES clean-generic clean-libtool \ | ||
545 | clean-local mostlyclean-am | ||
546 | |||
547 | distclean: distclean-am | ||
548 | -rm -rf ./$(DEPDIR) | ||
549 | -rm -f Makefile | ||
550 | distclean-am: clean-am distclean-compile distclean-generic \ | ||
551 | distclean-tags | ||
552 | |||
553 | dvi: dvi-am | ||
554 | |||
555 | dvi-am: | ||
556 | |||
557 | html: html-am | ||
558 | |||
559 | html-am: | ||
560 | |||
561 | info: info-am | ||
562 | |||
563 | info-am: | ||
564 | |||
565 | install-data-am: install-controllerLTLIBRARIES | ||
566 | @$(NORMAL_INSTALL) | ||
567 | $(MAKE) $(AM_MAKEFLAGS) install-data-hook | ||
568 | install-dvi: install-dvi-am | ||
569 | |||
570 | install-dvi-am: | ||
571 | |||
572 | install-exec-am: | ||
573 | |||
574 | install-html: install-html-am | ||
575 | |||
576 | install-html-am: | ||
577 | |||
578 | install-info: install-info-am | ||
579 | |||
580 | install-info-am: | ||
581 | |||
582 | install-man: | ||
583 | |||
584 | install-pdf: install-pdf-am | ||
585 | |||
586 | install-pdf-am: | ||
587 | |||
588 | install-ps: install-ps-am | ||
589 | |||
590 | install-ps-am: | ||
591 | |||
592 | installcheck-am: | ||
593 | |||
594 | maintainer-clean: maintainer-clean-am | ||
595 | -rm -rf ./$(DEPDIR) | ||
596 | -rm -f Makefile | ||
597 | maintainer-clean-am: distclean-am maintainer-clean-generic | ||
598 | |||
599 | mostlyclean: mostlyclean-am | ||
600 | |||
601 | mostlyclean-am: mostlyclean-compile mostlyclean-generic \ | ||
602 | mostlyclean-libtool | ||
603 | |||
604 | pdf: pdf-am | ||
605 | |||
606 | pdf-am: | ||
607 | |||
608 | ps: ps-am | ||
609 | |||
610 | ps-am: | ||
611 | |||
612 | uninstall-am: uninstall-controllerLTLIBRARIES | ||
613 | @$(NORMAL_INSTALL) | ||
614 | $(MAKE) $(AM_MAKEFLAGS) uninstall-hook | ||
615 | .MAKE: install-am install-data-am install-strip uninstall-am | ||
616 | |||
617 | .PHONY: CTAGS GTAGS all all-am check check-am clean \ | ||
618 | clean-controllerLTLIBRARIES clean-generic clean-libtool \ | ||
619 | clean-local ctags distclean distclean-compile \ | ||
620 | distclean-generic distclean-libtool distclean-tags distdir dvi \ | ||
621 | dvi-am html html-am info info-am install install-am \ | ||
622 | install-controllerLTLIBRARIES install-data install-data-am \ | ||
623 | install-data-hook install-dvi install-dvi-am install-exec \ | ||
624 | install-exec-am install-html install-html-am install-info \ | ||
625 | install-info-am install-man install-pdf install-pdf-am \ | ||
626 | install-ps install-ps-am install-strip installcheck \ | ||
627 | installcheck-am installdirs maintainer-clean \ | ||
628 | maintainer-clean-generic mostlyclean mostlyclean-compile \ | ||
629 | mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ | ||
630 | tags uninstall uninstall-am uninstall-controllerLTLIBRARIES \ | ||
631 | uninstall-hook | ||
632 | |||
633 | |||
634 | install-data-hook: | ||
635 | rm -f $(DESTDIR)$(controllerdir)/$(controller_LTLIBRARIES) | ||
636 | uninstall-hook: | ||
637 | rm -f $(DESTDIR)$(controllerdir)/module.* | ||
638 | |||
639 | clean-local: | ||
640 | rm -rf *.gcno | ||
641 | |||
642 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | ||
643 | # Otherwise a system limit (for SysV at least) may be exceeded. | ||
644 | .NOEXPORT: | ||
diff --git a/libraries/eina/src/modules/mp/ememoa_unknown/eina_ememoa_unknown.c b/libraries/eina/src/modules/mp/ememoa_unknown/eina_ememoa_unknown.c new file mode 100644 index 0000000..56b99f6 --- /dev/null +++ b/libraries/eina/src/modules/mp/ememoa_unknown/eina_ememoa_unknown.c | |||
@@ -0,0 +1,182 @@ | |||
1 | /* EINA - EFL data type library | ||
2 | * Copyright (C) 2008 Cedric BAIL | ||
3 | * | ||
4 | * This library is free software; you can redistribute it and/or | ||
5 | * modify it under the terms of the GNU Lesser General Public | ||
6 | * License as published by the Free Software Foundation; either | ||
7 | * version 2.1 of the License, or (at your option) any later version. | ||
8 | * | ||
9 | * This library is distributed in the hope that it will be useful, | ||
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
12 | * Lesser General Public License for more details. | ||
13 | * | ||
14 | * You should have received a copy of the GNU Lesser General Public | ||
15 | * License along with this library; | ||
16 | * if not, see <http://www.gnu.org/licenses/>. | ||
17 | */ | ||
18 | |||
19 | #ifdef HAVE_CONFIG_H | ||
20 | # include "config.h" | ||
21 | #endif | ||
22 | |||
23 | #include <stdlib.h> | ||
24 | #include <string.h> | ||
25 | #include <ememoa_mempool_fixed.h> | ||
26 | #include <ememoa_mempool_unknown_size.h> | ||
27 | |||
28 | #include "eina_types.h" | ||
29 | #include "eina_module.h" | ||
30 | #include "eina_private.h" | ||
31 | #include "eina_mempool.h" | ||
32 | |||
33 | typedef struct _Eina_Ememoa_Unknown_Size_Mempool | ||
34 | Eina_Ememoa_Unknown_Size_Mempool; | ||
35 | struct _Eina_Ememoa_Unknown_Size_Mempool | ||
36 | { | ||
37 | struct ememoa_mempool_desc_s *desc; | ||
38 | int pool; | ||
39 | }; | ||
40 | |||
41 | static void * | ||
42 | eina_ememoa_unknown_size_malloc(void *data, unsigned int size) | ||
43 | { | ||
44 | Eina_Ememoa_Unknown_Size_Mempool *efm = data; | ||
45 | |||
46 | return ememoa_mempool_unknown_size_pop_object(efm->pool, size); | ||
47 | } | ||
48 | |||
49 | static void | ||
50 | eina_ememoa_unknown_size_free(void *data, void *ptr) | ||
51 | { | ||
52 | Eina_Ememoa_Unknown_Size_Mempool *efm = data; | ||
53 | |||
54 | ememoa_mempool_unknown_size_push_object(efm->pool, ptr); | ||
55 | } | ||
56 | |||
57 | static void * | ||
58 | eina_ememoa_unknown_size_realloc(void *data, void *element, unsigned int size) | ||
59 | { | ||
60 | Eina_Ememoa_Unknown_Size_Mempool *efm = data; | ||
61 | |||
62 | return ememoa_mempool_unknown_size_resize_object(efm->pool, element, size); | ||
63 | } | ||
64 | |||
65 | static void | ||
66 | eina_ememoa_unknown_size_gc(void *data) | ||
67 | { | ||
68 | Eina_Ememoa_Unknown_Size_Mempool *efm = data; | ||
69 | |||
70 | ememoa_mempool_unknown_size_garbage_collect(efm->pool); | ||
71 | } | ||
72 | |||
73 | static void | ||
74 | eina_ememoa_unknown_size_statistics(void *data) | ||
75 | { | ||
76 | Eina_Ememoa_Unknown_Size_Mempool *efm = data; | ||
77 | |||
78 | ememoa_mempool_unknown_size_display_statistic(efm->pool); | ||
79 | } | ||
80 | |||
81 | static void * | ||
82 | eina_ememoa_unknown_size_init(const char *context, | ||
83 | __UNUSED__ const char *option, | ||
84 | va_list args) | ||
85 | { | ||
86 | struct ememoa_mempool_desc_s *desc = NULL; | ||
87 | Eina_Ememoa_Unknown_Size_Mempool *efm = NULL; | ||
88 | Eina_Bool thread_protect; | ||
89 | unsigned int *items_map = NULL; | ||
90 | unsigned int items_count; | ||
91 | unsigned int i; | ||
92 | int context_length; | ||
93 | |||
94 | if (context) | ||
95 | { | ||
96 | context_length = strlen(context) + 1; | ||
97 | |||
98 | desc = calloc(1, sizeof (struct ememoa_mempool_desc_s) + context_length); | ||
99 | if (!desc) | ||
100 | goto on_error; | ||
101 | |||
102 | desc->name = (char *)(desc + 1); | ||
103 | memcpy((char *)desc->name, context, context_length); | ||
104 | } | ||
105 | |||
106 | thread_protect = va_arg(args, int); | ||
107 | items_count = va_arg(args, unsigned int); | ||
108 | |||
109 | items_map = malloc(sizeof (unsigned int) * 2 * items_count); | ||
110 | |||
111 | for (i = 0; i < (items_count << 1); ++i) | ||
112 | items_map[i] = va_arg(args, unsigned int); | ||
113 | |||
114 | efm = malloc(sizeof (Eina_Ememoa_Unknown_Size_Mempool)); | ||
115 | if (!efm) | ||
116 | goto on_error; | ||
117 | |||
118 | efm->desc = desc; | ||
119 | efm->pool = ememoa_mempool_unknown_size_init( | ||
120 | items_count, | ||
121 | items_map, | ||
122 | thread_protect ? | ||
123 | EMEMOA_THREAD_PROTECTION : 0, | ||
124 | efm->desc); | ||
125 | if (efm->pool < 0) | ||
126 | goto on_error; | ||
127 | |||
128 | return efm; | ||
129 | |||
130 | on_error: | ||
131 | if (items_map) | ||
132 | free(items_map); | ||
133 | |||
134 | if (desc) | ||
135 | free(desc); | ||
136 | |||
137 | if (efm) | ||
138 | free(efm); | ||
139 | |||
140 | return NULL; | ||
141 | } | ||
142 | |||
143 | static void | ||
144 | eina_ememoa_unknown_size_shutdown(void *data) | ||
145 | { | ||
146 | Eina_Ememoa_Unknown_Size_Mempool *efm = data; | ||
147 | |||
148 | if (efm->desc) | ||
149 | free(efm->desc); | ||
150 | |||
151 | ememoa_mempool_unknown_size_clean(efm->pool); | ||
152 | free(efm); | ||
153 | } | ||
154 | |||
155 | static Eina_Mempool_Backend _eina_ememoa_unknown_mp_backend = { | ||
156 | .name = "ememoa_unknown", | ||
157 | .init = &eina_ememoa_unknown_size_init, | ||
158 | .shutdown = &eina_ememoa_unknown_size_shutdown, | ||
159 | .realloc = &eina_ememoa_unknown_size_realloc, | ||
160 | .alloc = &eina_ememoa_unknown_size_malloc, | ||
161 | .free = &eina_ememoa_unknown_size_free, | ||
162 | .garbage_collect = &eina_ememoa_unknown_size_gc, | ||
163 | .statistics = &eina_ememoa_unknown_size_statistics, | ||
164 | .repack = NULL | ||
165 | }; | ||
166 | |||
167 | Eina_Bool ememoa_unknown_init(void) | ||
168 | { | ||
169 | return eina_mempool_register(&_eina_ememoa_unknown_mp_backend); | ||
170 | } | ||
171 | |||
172 | void ememoa_unknown_shutdown(void) | ||
173 | { | ||
174 | eina_mempool_unregister(&_eina_ememoa_unknown_mp_backend); | ||
175 | } | ||
176 | |||
177 | #ifndef EINA_STATIC_BUILD_EMEMOA_UNKNOWN | ||
178 | |||
179 | EINA_MODULE_INIT(ememoa_unknown_init); | ||
180 | EINA_MODULE_SHUTDOWN(ememoa_unknown_shutdown); | ||
181 | |||
182 | #endif /* ! EINA_STATIC_BUILD_EMEMOA_UNKNOWN */ | ||
diff --git a/libraries/eina/src/modules/mp/fixed_bitmap/Makefile.am b/libraries/eina/src/modules/mp/fixed_bitmap/Makefile.am new file mode 100644 index 0000000..caf239e --- /dev/null +++ b/libraries/eina/src/modules/mp/fixed_bitmap/Makefile.am | |||
@@ -0,0 +1,29 @@ | |||
1 | MAINTAINERCLEANFILES = Makefile.in | ||
2 | |||
3 | AM_CPPFLAGS = \ | ||
4 | -I. \ | ||
5 | -I$(top_srcdir)/src/include \ | ||
6 | -I$(top_builddir)/src/include \ | ||
7 | -I$(top_srcdir)/src/lib \ | ||
8 | -I$(top_builddir)/src/lib \ | ||
9 | @EINA_CPPFLAGS@ \ | ||
10 | @EFL_EINA_BUILD@ | ||
11 | |||
12 | controllerdir = $(libdir)/eina/modules/mp/fixed_bitmap/$(MODULE_ARCH) | ||
13 | controller_LTLIBRARIES = module.la | ||
14 | |||
15 | module_la_SOURCES = \ | ||
16 | eina_fixed_bitmap.c | ||
17 | |||
18 | module_la_CFLAGS = @EINA_CFLAGS@ | ||
19 | module_la_LIBADD = $(top_builddir)/src/lib/libeina.la @EINA_LIBS@ | ||
20 | module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version | ||
21 | module_la_LIBTOOLFLAGS = --tag=disable-static | ||
22 | |||
23 | install-data-hook: | ||
24 | rm -f $(DESTDIR)$(controllerdir)/$(controller_LTLIBRARIES) | ||
25 | uninstall-hook: | ||
26 | rm -f $(DESTDIR)$(controllerdir)/module.* | ||
27 | |||
28 | clean-local: | ||
29 | rm -rf *.gcno | ||
diff --git a/libraries/eina/src/modules/mp/fixed_bitmap/Makefile.in b/libraries/eina/src/modules/mp/fixed_bitmap/Makefile.in new file mode 100644 index 0000000..c1541fc --- /dev/null +++ b/libraries/eina/src/modules/mp/fixed_bitmap/Makefile.in | |||
@@ -0,0 +1,643 @@ | |||
1 | # Makefile.in generated by automake 1.11.1 from Makefile.am. | ||
2 | # @configure_input@ | ||
3 | |||
4 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | ||
5 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, | ||
6 | # Inc. | ||
7 | # This Makefile.in is free software; the Free Software Foundation | ||
8 | # gives unlimited permission to copy and/or distribute it, | ||
9 | # with or without modifications, as long as this notice is preserved. | ||
10 | |||
11 | # This program is distributed in the hope that it will be useful, | ||
12 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without | ||
13 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A | ||
14 | # PARTICULAR PURPOSE. | ||
15 | |||
16 | @SET_MAKE@ | ||
17 | |||
18 | VPATH = @srcdir@ | ||
19 | pkgdatadir = $(datadir)/@PACKAGE@ | ||
20 | pkgincludedir = $(includedir)/@PACKAGE@ | ||
21 | pkglibdir = $(libdir)/@PACKAGE@ | ||
22 | pkglibexecdir = $(libexecdir)/@PACKAGE@ | ||
23 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | ||
24 | install_sh_DATA = $(install_sh) -c -m 644 | ||
25 | install_sh_PROGRAM = $(install_sh) -c | ||
26 | install_sh_SCRIPT = $(install_sh) -c | ||
27 | INSTALL_HEADER = $(INSTALL_DATA) | ||
28 | transform = $(program_transform_name) | ||
29 | NORMAL_INSTALL = : | ||
30 | PRE_INSTALL = : | ||
31 | POST_INSTALL = : | ||
32 | NORMAL_UNINSTALL = : | ||
33 | PRE_UNINSTALL = : | ||
34 | POST_UNINSTALL = : | ||
35 | build_triplet = @build@ | ||
36 | host_triplet = @host@ | ||
37 | subdir = src/modules/mp/fixed_bitmap | ||
38 | DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in | ||
39 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | ||
40 | am__aclocal_m4_deps = $(top_srcdir)/m4/efl_attribute.m4 \ | ||
41 | $(top_srcdir)/m4/efl_benchmark.m4 \ | ||
42 | $(top_srcdir)/m4/efl_compiler_flag.m4 \ | ||
43 | $(top_srcdir)/m4/efl_coverage.m4 $(top_srcdir)/m4/efl_cpu.m4 \ | ||
44 | $(top_srcdir)/m4/efl_doxygen.m4 \ | ||
45 | $(top_srcdir)/m4/efl_examples.m4 \ | ||
46 | $(top_srcdir)/m4/efl_fnmatch.m4 \ | ||
47 | $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ | ||
48 | $(top_srcdir)/m4/efl_threads.m4 \ | ||
49 | $(top_srcdir)/m4/efl_voltron.m4 $(top_srcdir)/m4/eina_bench.m4 \ | ||
50 | $(top_srcdir)/m4/eina_check.m4 $(top_srcdir)/m4/libtool.m4 \ | ||
51 | $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ | ||
52 | $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ | ||
53 | $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac | ||
54 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | ||
55 | $(ACLOCAL_M4) | ||
56 | mkinstalldirs = $(install_sh) -d | ||
57 | CONFIG_HEADER = $(top_builddir)/config.h | ||
58 | CONFIG_CLEAN_FILES = | ||
59 | CONFIG_CLEAN_VPATH_FILES = | ||
60 | am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; | ||
61 | am__vpath_adj = case $$p in \ | ||
62 | $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ | ||
63 | *) f=$$p;; \ | ||
64 | esac; | ||
65 | am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; | ||
66 | am__install_max = 40 | ||
67 | am__nobase_strip_setup = \ | ||
68 | srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` | ||
69 | am__nobase_strip = \ | ||
70 | for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" | ||
71 | am__nobase_list = $(am__nobase_strip_setup); \ | ||
72 | for p in $$list; do echo "$$p $$p"; done | \ | ||
73 | sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ | ||
74 | $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ | ||
75 | if (++n[$$2] == $(am__install_max)) \ | ||
76 | { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ | ||
77 | END { for (dir in files) print dir, files[dir] }' | ||
78 | am__base_list = \ | ||
79 | sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ | ||
80 | sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | ||
81 | am__installdirs = "$(DESTDIR)$(controllerdir)" | ||
82 | LTLIBRARIES = $(controller_LTLIBRARIES) | ||
83 | module_la_DEPENDENCIES = $(top_builddir)/src/lib/libeina.la | ||
84 | am_module_la_OBJECTS = module_la-eina_fixed_bitmap.lo | ||
85 | module_la_OBJECTS = $(am_module_la_OBJECTS) | ||
86 | AM_V_lt = $(am__v_lt_$(V)) | ||
87 | am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) | ||
88 | am__v_lt_0 = --silent | ||
89 | module_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ | ||
90 | $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ | ||
91 | $(module_la_CFLAGS) $(CFLAGS) $(module_la_LDFLAGS) $(LDFLAGS) \ | ||
92 | -o $@ | ||
93 | DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) | ||
94 | depcomp = $(SHELL) $(top_srcdir)/depcomp | ||
95 | am__depfiles_maybe = depfiles | ||
96 | am__mv = mv -f | ||
97 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ | ||
98 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | ||
99 | LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ | ||
100 | $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ | ||
101 | $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ | ||
102 | $(AM_CFLAGS) $(CFLAGS) | ||
103 | AM_V_CC = $(am__v_CC_$(V)) | ||
104 | am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) | ||
105 | am__v_CC_0 = @echo " CC " $@; | ||
106 | AM_V_at = $(am__v_at_$(V)) | ||
107 | am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) | ||
108 | am__v_at_0 = @ | ||
109 | CCLD = $(CC) | ||
110 | LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ | ||
111 | $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ | ||
112 | $(AM_LDFLAGS) $(LDFLAGS) -o $@ | ||
113 | AM_V_CCLD = $(am__v_CCLD_$(V)) | ||
114 | am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) | ||
115 | am__v_CCLD_0 = @echo " CCLD " $@; | ||
116 | AM_V_GEN = $(am__v_GEN_$(V)) | ||
117 | am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) | ||
118 | am__v_GEN_0 = @echo " GEN " $@; | ||
119 | SOURCES = $(module_la_SOURCES) | ||
120 | DIST_SOURCES = $(module_la_SOURCES) | ||
121 | ETAGS = etags | ||
122 | CTAGS = ctags | ||
123 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
124 | ACLOCAL = @ACLOCAL@ | ||
125 | ALLOCA = @ALLOCA@ | ||
126 | AMTAR = @AMTAR@ | ||
127 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | ||
128 | AR = @AR@ | ||
129 | AS = @AS@ | ||
130 | AUTOCONF = @AUTOCONF@ | ||
131 | AUTOHEADER = @AUTOHEADER@ | ||
132 | AUTOMAKE = @AUTOMAKE@ | ||
133 | AWK = @AWK@ | ||
134 | CC = @CC@ | ||
135 | CCDEPMODE = @CCDEPMODE@ | ||
136 | CFLAGS = @CFLAGS@ | ||
137 | CHECK_CFLAGS = @CHECK_CFLAGS@ | ||
138 | CHECK_LIBS = @CHECK_LIBS@ | ||
139 | CPP = @CPP@ | ||
140 | CPPFLAGS = @CPPFLAGS@ | ||
141 | CXX = @CXX@ | ||
142 | CXXCPP = @CXXCPP@ | ||
143 | CXXDEPMODE = @CXXDEPMODE@ | ||
144 | CXXFLAGS = @CXXFLAGS@ | ||
145 | CYGPATH_W = @CYGPATH_W@ | ||
146 | DEFS = @DEFS@ | ||
147 | DEPDIR = @DEPDIR@ | ||
148 | DLLTOOL = @DLLTOOL@ | ||
149 | DSYMUTIL = @DSYMUTIL@ | ||
150 | DUMPBIN = @DUMPBIN@ | ||
151 | ECHO_C = @ECHO_C@ | ||
152 | ECHO_N = @ECHO_N@ | ||
153 | ECHO_T = @ECHO_T@ | ||
154 | ECORE_EVAS_CFLAGS = @ECORE_EVAS_CFLAGS@ | ||
155 | ECORE_EVAS_LIBS = @ECORE_EVAS_LIBS@ | ||
156 | EFL_COVERAGE_CFLAGS = @EFL_COVERAGE_CFLAGS@ | ||
157 | EFL_COVERAGE_LIBS = @EFL_COVERAGE_LIBS@ | ||
158 | EFL_EINA_BUILD = @EFL_EINA_BUILD@ | ||
159 | EFL_FNMATCH_LIBS = @EFL_FNMATCH_LIBS@ | ||
160 | EFL_PTHREAD_CFLAGS = @EFL_PTHREAD_CFLAGS@ | ||
161 | EFL_PTHREAD_LIBS = @EFL_PTHREAD_LIBS@ | ||
162 | EFL_SIMD_FLAGS = @EFL_SIMD_FLAGS@ | ||
163 | EGREP = @EGREP@ | ||
164 | EINA_CFLAGS = @EINA_CFLAGS@ | ||
165 | EINA_CONFIGURE_DEFAULT_MEMPOOL = @EINA_CONFIGURE_DEFAULT_MEMPOOL@ | ||
166 | EINA_CONFIGURE_HAVE_DEBUG_THREADS = @EINA_CONFIGURE_HAVE_DEBUG_THREADS@ | ||
167 | EINA_CONFIGURE_HAVE_INTTYPES_H = @EINA_CONFIGURE_HAVE_INTTYPES_H@ | ||
168 | EINA_CONFIGURE_HAVE_ON_OFF_THREADS = @EINA_CONFIGURE_HAVE_ON_OFF_THREADS@ | ||
169 | EINA_CONFIGURE_HAVE_STDINT_H = @EINA_CONFIGURE_HAVE_STDINT_H@ | ||
170 | EINA_CONFIGURE_HAVE_THREADS = @EINA_CONFIGURE_HAVE_THREADS@ | ||
171 | EINA_CONFIGURE_MAGIC_DEBUG = @EINA_CONFIGURE_MAGIC_DEBUG@ | ||
172 | EINA_CONFIGURE_SAFETY_CHECKS = @EINA_CONFIGURE_SAFETY_CHECKS@ | ||
173 | EINA_CPPFLAGS = @EINA_CPPFLAGS@ | ||
174 | EINA_LIBS = @EINA_LIBS@ | ||
175 | EINA_SIZEOF_WCHAR_T = @EINA_SIZEOF_WCHAR_T@ | ||
176 | EMEMOA_CFLAGS = @EMEMOA_CFLAGS@ | ||
177 | EMEMOA_LIBS = @EMEMOA_LIBS@ | ||
178 | ESCAPE_CFLAGS = @ESCAPE_CFLAGS@ | ||
179 | ESCAPE_LIBS = @ESCAPE_LIBS@ | ||
180 | EVIL_CFLAGS = @EVIL_CFLAGS@ | ||
181 | EVIL_LIBS = @EVIL_LIBS@ | ||
182 | EXEEXT = @EXEEXT@ | ||
183 | FGREP = @FGREP@ | ||
184 | GLIB_CFLAGS = @GLIB_CFLAGS@ | ||
185 | GLIB_LIBS = @GLIB_LIBS@ | ||
186 | GREP = @GREP@ | ||
187 | INSTALL = @INSTALL@ | ||
188 | INSTALL_DATA = @INSTALL_DATA@ | ||
189 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | ||
190 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | ||
191 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | ||
192 | LD = @LD@ | ||
193 | LDFLAGS = @LDFLAGS@ | ||
194 | LIBOBJS = @LIBOBJS@ | ||
195 | LIBS = @LIBS@ | ||
196 | LIBTOOL = @LIBTOOL@ | ||
197 | LIPO = @LIPO@ | ||
198 | LN_S = @LN_S@ | ||
199 | LTLIBOBJS = @LTLIBOBJS@ | ||
200 | MAKEINFO = @MAKEINFO@ | ||
201 | MKDIR_P = @MKDIR_P@ | ||
202 | MODULE_ARCH = @MODULE_ARCH@ | ||
203 | NM = @NM@ | ||
204 | NMEDIT = @NMEDIT@ | ||
205 | OBJDUMP = @OBJDUMP@ | ||
206 | OBJEXT = @OBJEXT@ | ||
207 | OTOOL = @OTOOL@ | ||
208 | OTOOL64 = @OTOOL64@ | ||
209 | PACKAGE = @PACKAGE@ | ||
210 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | ||
211 | PACKAGE_NAME = @PACKAGE_NAME@ | ||
212 | PACKAGE_STRING = @PACKAGE_STRING@ | ||
213 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | ||
214 | PACKAGE_URL = @PACKAGE_URL@ | ||
215 | PACKAGE_VERSION = @PACKAGE_VERSION@ | ||
216 | PATH_SEPARATOR = @PATH_SEPARATOR@ | ||
217 | PKG_CONFIG = @PKG_CONFIG@ | ||
218 | PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ | ||
219 | PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ | ||
220 | RANLIB = @RANLIB@ | ||
221 | SED = @SED@ | ||
222 | SET_MAKE = @SET_MAKE@ | ||
223 | SHELL = @SHELL@ | ||
224 | STRIP = @STRIP@ | ||
225 | VALGRIND_CFLAGS = @VALGRIND_CFLAGS@ | ||
226 | VALGRIND_LIBS = @VALGRIND_LIBS@ | ||
227 | VERSION = @VERSION@ | ||
228 | VMAJ = @VMAJ@ | ||
229 | abs_builddir = @abs_builddir@ | ||
230 | abs_srcdir = @abs_srcdir@ | ||
231 | abs_top_builddir = @abs_top_builddir@ | ||
232 | abs_top_srcdir = @abs_top_srcdir@ | ||
233 | ac_ct_CC = @ac_ct_CC@ | ||
234 | ac_ct_CXX = @ac_ct_CXX@ | ||
235 | ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ | ||
236 | am__include = @am__include@ | ||
237 | am__leading_dot = @am__leading_dot@ | ||
238 | am__quote = @am__quote@ | ||
239 | am__tar = @am__tar@ | ||
240 | am__untar = @am__untar@ | ||
241 | bindir = @bindir@ | ||
242 | build = @build@ | ||
243 | build_alias = @build_alias@ | ||
244 | build_cpu = @build_cpu@ | ||
245 | build_os = @build_os@ | ||
246 | build_vendor = @build_vendor@ | ||
247 | builddir = @builddir@ | ||
248 | datadir = @datadir@ | ||
249 | datarootdir = @datarootdir@ | ||
250 | dlopen_libs = @dlopen_libs@ | ||
251 | docdir = @docdir@ | ||
252 | dvidir = @dvidir@ | ||
253 | efl_doxygen = @efl_doxygen@ | ||
254 | efl_have_doxygen = @efl_have_doxygen@ | ||
255 | exec_prefix = @exec_prefix@ | ||
256 | have_lcov = @have_lcov@ | ||
257 | host = @host@ | ||
258 | host_alias = @host_alias@ | ||
259 | host_cpu = @host_cpu@ | ||
260 | host_os = @host_os@ | ||
261 | host_vendor = @host_vendor@ | ||
262 | htmldir = @htmldir@ | ||
263 | iconv_libs = @iconv_libs@ | ||
264 | includedir = @includedir@ | ||
265 | infodir = @infodir@ | ||
266 | install_sh = @install_sh@ | ||
267 | libdir = @libdir@ | ||
268 | libexecdir = @libexecdir@ | ||
269 | localedir = @localedir@ | ||
270 | localstatedir = @localstatedir@ | ||
271 | lt_ECHO = @lt_ECHO@ | ||
272 | lt_enable_auto_import = @lt_enable_auto_import@ | ||
273 | mandir = @mandir@ | ||
274 | mkdir_p = @mkdir_p@ | ||
275 | oldincludedir = @oldincludedir@ | ||
276 | pdfdir = @pdfdir@ | ||
277 | pkgconfig_requires_private = @pkgconfig_requires_private@ | ||
278 | prefix = @prefix@ | ||
279 | program_transform_name = @program_transform_name@ | ||
280 | psdir = @psdir@ | ||
281 | release_info = @release_info@ | ||
282 | requirement_eina = @requirement_eina@ | ||
283 | rt_libs = @rt_libs@ | ||
284 | sbindir = @sbindir@ | ||
285 | sharedstatedir = @sharedstatedir@ | ||
286 | srcdir = @srcdir@ | ||
287 | sysconfdir = @sysconfdir@ | ||
288 | target_alias = @target_alias@ | ||
289 | top_build_prefix = @top_build_prefix@ | ||
290 | top_builddir = @top_builddir@ | ||
291 | top_srcdir = @top_srcdir@ | ||
292 | version_info = @version_info@ | ||
293 | MAINTAINERCLEANFILES = Makefile.in | ||
294 | AM_CPPFLAGS = \ | ||
295 | -I. \ | ||
296 | -I$(top_srcdir)/src/include \ | ||
297 | -I$(top_builddir)/src/include \ | ||
298 | -I$(top_srcdir)/src/lib \ | ||
299 | -I$(top_builddir)/src/lib \ | ||
300 | @EINA_CPPFLAGS@ \ | ||
301 | @EFL_EINA_BUILD@ | ||
302 | |||
303 | controllerdir = $(libdir)/eina/modules/mp/fixed_bitmap/$(MODULE_ARCH) | ||
304 | controller_LTLIBRARIES = module.la | ||
305 | module_la_SOURCES = \ | ||
306 | eina_fixed_bitmap.c | ||
307 | |||
308 | module_la_CFLAGS = @EINA_CFLAGS@ | ||
309 | module_la_LIBADD = $(top_builddir)/src/lib/libeina.la @EINA_LIBS@ | ||
310 | module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version | ||
311 | module_la_LIBTOOLFLAGS = --tag=disable-static | ||
312 | all: all-am | ||
313 | |||
314 | .SUFFIXES: | ||
315 | .SUFFIXES: .c .lo .o .obj | ||
316 | $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) | ||
317 | @for dep in $?; do \ | ||
318 | case '$(am__configure_deps)' in \ | ||
319 | *$$dep*) \ | ||
320 | ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ | ||
321 | && { if test -f $@; then exit 0; else break; fi; }; \ | ||
322 | exit 1;; \ | ||
323 | esac; \ | ||
324 | done; \ | ||
325 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/modules/mp/fixed_bitmap/Makefile'; \ | ||
326 | $(am__cd) $(top_srcdir) && \ | ||
327 | $(AUTOMAKE) --gnu src/modules/mp/fixed_bitmap/Makefile | ||
328 | .PRECIOUS: Makefile | ||
329 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | ||
330 | @case '$?' in \ | ||
331 | *config.status*) \ | ||
332 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ | ||
333 | *) \ | ||
334 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ | ||
335 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ | ||
336 | esac; | ||
337 | |||
338 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | ||
339 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
340 | |||
341 | $(top_srcdir)/configure: $(am__configure_deps) | ||
342 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
343 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) | ||
344 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
345 | $(am__aclocal_m4_deps): | ||
346 | install-controllerLTLIBRARIES: $(controller_LTLIBRARIES) | ||
347 | @$(NORMAL_INSTALL) | ||
348 | test -z "$(controllerdir)" || $(MKDIR_P) "$(DESTDIR)$(controllerdir)" | ||
349 | @list='$(controller_LTLIBRARIES)'; test -n "$(controllerdir)" || list=; \ | ||
350 | list2=; for p in $$list; do \ | ||
351 | if test -f $$p; then \ | ||
352 | list2="$$list2 $$p"; \ | ||
353 | else :; fi; \ | ||
354 | done; \ | ||
355 | test -z "$$list2" || { \ | ||
356 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(controllerdir)'"; \ | ||
357 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(controllerdir)"; \ | ||
358 | } | ||
359 | |||
360 | uninstall-controllerLTLIBRARIES: | ||
361 | @$(NORMAL_UNINSTALL) | ||
362 | @list='$(controller_LTLIBRARIES)'; test -n "$(controllerdir)" || list=; \ | ||
363 | for p in $$list; do \ | ||
364 | $(am__strip_dir) \ | ||
365 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(controllerdir)/$$f'"; \ | ||
366 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(controllerdir)/$$f"; \ | ||
367 | done | ||
368 | |||
369 | clean-controllerLTLIBRARIES: | ||
370 | -test -z "$(controller_LTLIBRARIES)" || rm -f $(controller_LTLIBRARIES) | ||
371 | @list='$(controller_LTLIBRARIES)'; for p in $$list; do \ | ||
372 | dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ | ||
373 | test "$$dir" != "$$p" || dir=.; \ | ||
374 | echo "rm -f \"$${dir}/so_locations\""; \ | ||
375 | rm -f "$${dir}/so_locations"; \ | ||
376 | done | ||
377 | module.la: $(module_la_OBJECTS) $(module_la_DEPENDENCIES) | ||
378 | $(AM_V_CCLD)$(module_la_LINK) -rpath $(controllerdir) $(module_la_OBJECTS) $(module_la_LIBADD) $(LIBS) | ||
379 | |||
380 | mostlyclean-compile: | ||
381 | -rm -f *.$(OBJEXT) | ||
382 | |||
383 | distclean-compile: | ||
384 | -rm -f *.tab.c | ||
385 | |||
386 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/module_la-eina_fixed_bitmap.Plo@am__quote@ | ||
387 | |||
388 | .c.o: | ||
389 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | ||
390 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | ||
391 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
392 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | ||
393 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
394 | @am__fastdepCC_FALSE@ $(COMPILE) -c $< | ||
395 | |||
396 | .c.obj: | ||
397 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | ||
398 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | ||
399 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
400 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | ||
401 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
402 | @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` | ||
403 | |||
404 | .c.lo: | ||
405 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | ||
406 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo | ||
407 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
408 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ | ||
409 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
410 | @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< | ||
411 | |||
412 | module_la-eina_fixed_bitmap.lo: eina_fixed_bitmap.c | ||
413 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(module_la_CFLAGS) $(CFLAGS) -MT module_la-eina_fixed_bitmap.lo -MD -MP -MF $(DEPDIR)/module_la-eina_fixed_bitmap.Tpo -c -o module_la-eina_fixed_bitmap.lo `test -f 'eina_fixed_bitmap.c' || echo '$(srcdir)/'`eina_fixed_bitmap.c | ||
414 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/module_la-eina_fixed_bitmap.Tpo $(DEPDIR)/module_la-eina_fixed_bitmap.Plo | ||
415 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
416 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='eina_fixed_bitmap.c' object='module_la-eina_fixed_bitmap.lo' libtool=yes @AMDEPBACKSLASH@ | ||
417 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
418 | @am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(module_la_CFLAGS) $(CFLAGS) -c -o module_la-eina_fixed_bitmap.lo `test -f 'eina_fixed_bitmap.c' || echo '$(srcdir)/'`eina_fixed_bitmap.c | ||
419 | |||
420 | mostlyclean-libtool: | ||
421 | -rm -f *.lo | ||
422 | |||
423 | clean-libtool: | ||
424 | -rm -rf .libs _libs | ||
425 | |||
426 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | ||
427 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
428 | unique=`for i in $$list; do \ | ||
429 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
430 | done | \ | ||
431 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
432 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
433 | mkid -fID $$unique | ||
434 | tags: TAGS | ||
435 | |||
436 | TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | ||
437 | $(TAGS_FILES) $(LISP) | ||
438 | set x; \ | ||
439 | here=`pwd`; \ | ||
440 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
441 | unique=`for i in $$list; do \ | ||
442 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
443 | done | \ | ||
444 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
445 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
446 | shift; \ | ||
447 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ | ||
448 | test -n "$$unique" || unique=$$empty_fix; \ | ||
449 | if test $$# -gt 0; then \ | ||
450 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
451 | "$$@" $$unique; \ | ||
452 | else \ | ||
453 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
454 | $$unique; \ | ||
455 | fi; \ | ||
456 | fi | ||
457 | ctags: CTAGS | ||
458 | CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | ||
459 | $(TAGS_FILES) $(LISP) | ||
460 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
461 | unique=`for i in $$list; do \ | ||
462 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
463 | done | \ | ||
464 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
465 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
466 | test -z "$(CTAGS_ARGS)$$unique" \ | ||
467 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ | ||
468 | $$unique | ||
469 | |||
470 | GTAGS: | ||
471 | here=`$(am__cd) $(top_builddir) && pwd` \ | ||
472 | && $(am__cd) $(top_srcdir) \ | ||
473 | && gtags -i $(GTAGS_ARGS) "$$here" | ||
474 | |||
475 | distclean-tags: | ||
476 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
477 | |||
478 | distdir: $(DISTFILES) | ||
479 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
480 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
481 | list='$(DISTFILES)'; \ | ||
482 | dist_files=`for file in $$list; do echo $$file; done | \ | ||
483 | sed -e "s|^$$srcdirstrip/||;t" \ | ||
484 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | ||
485 | case $$dist_files in \ | ||
486 | */*) $(MKDIR_P) `echo "$$dist_files" | \ | ||
487 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | ||
488 | sort -u` ;; \ | ||
489 | esac; \ | ||
490 | for file in $$dist_files; do \ | ||
491 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | ||
492 | if test -d $$d/$$file; then \ | ||
493 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | ||
494 | if test -d "$(distdir)/$$file"; then \ | ||
495 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
496 | fi; \ | ||
497 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | ||
498 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | ||
499 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
500 | fi; \ | ||
501 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | ||
502 | else \ | ||
503 | test -f "$(distdir)/$$file" \ | ||
504 | || cp -p $$d/$$file "$(distdir)/$$file" \ | ||
505 | || exit 1; \ | ||
506 | fi; \ | ||
507 | done | ||
508 | check-am: all-am | ||
509 | check: check-am | ||
510 | all-am: Makefile $(LTLIBRARIES) | ||
511 | installdirs: | ||
512 | for dir in "$(DESTDIR)$(controllerdir)"; do \ | ||
513 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ | ||
514 | done | ||
515 | install: install-am | ||
516 | install-exec: install-exec-am | ||
517 | install-data: install-data-am | ||
518 | uninstall: uninstall-am | ||
519 | |||
520 | install-am: all-am | ||
521 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | ||
522 | |||
523 | installcheck: installcheck-am | ||
524 | install-strip: | ||
525 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||
526 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||
527 | `test -z '$(STRIP)' || \ | ||
528 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install | ||
529 | mostlyclean-generic: | ||
530 | |||
531 | clean-generic: | ||
532 | |||
533 | distclean-generic: | ||
534 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | ||
535 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | ||
536 | |||
537 | maintainer-clean-generic: | ||
538 | @echo "This command is intended for maintainers to use" | ||
539 | @echo "it deletes files that may require special tools to rebuild." | ||
540 | -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) | ||
541 | clean: clean-am | ||
542 | |||
543 | clean-am: clean-controllerLTLIBRARIES clean-generic clean-libtool \ | ||
544 | clean-local mostlyclean-am | ||
545 | |||
546 | distclean: distclean-am | ||
547 | -rm -rf ./$(DEPDIR) | ||
548 | -rm -f Makefile | ||
549 | distclean-am: clean-am distclean-compile distclean-generic \ | ||
550 | distclean-tags | ||
551 | |||
552 | dvi: dvi-am | ||
553 | |||
554 | dvi-am: | ||
555 | |||
556 | html: html-am | ||
557 | |||
558 | html-am: | ||
559 | |||
560 | info: info-am | ||
561 | |||
562 | info-am: | ||
563 | |||
564 | install-data-am: install-controllerLTLIBRARIES | ||
565 | @$(NORMAL_INSTALL) | ||
566 | $(MAKE) $(AM_MAKEFLAGS) install-data-hook | ||
567 | install-dvi: install-dvi-am | ||
568 | |||
569 | install-dvi-am: | ||
570 | |||
571 | install-exec-am: | ||
572 | |||
573 | install-html: install-html-am | ||
574 | |||
575 | install-html-am: | ||
576 | |||
577 | install-info: install-info-am | ||
578 | |||
579 | install-info-am: | ||
580 | |||
581 | install-man: | ||
582 | |||
583 | install-pdf: install-pdf-am | ||
584 | |||
585 | install-pdf-am: | ||
586 | |||
587 | install-ps: install-ps-am | ||
588 | |||
589 | install-ps-am: | ||
590 | |||
591 | installcheck-am: | ||
592 | |||
593 | maintainer-clean: maintainer-clean-am | ||
594 | -rm -rf ./$(DEPDIR) | ||
595 | -rm -f Makefile | ||
596 | maintainer-clean-am: distclean-am maintainer-clean-generic | ||
597 | |||
598 | mostlyclean: mostlyclean-am | ||
599 | |||
600 | mostlyclean-am: mostlyclean-compile mostlyclean-generic \ | ||
601 | mostlyclean-libtool | ||
602 | |||
603 | pdf: pdf-am | ||
604 | |||
605 | pdf-am: | ||
606 | |||
607 | ps: ps-am | ||
608 | |||
609 | ps-am: | ||
610 | |||
611 | uninstall-am: uninstall-controllerLTLIBRARIES | ||
612 | @$(NORMAL_INSTALL) | ||
613 | $(MAKE) $(AM_MAKEFLAGS) uninstall-hook | ||
614 | .MAKE: install-am install-data-am install-strip uninstall-am | ||
615 | |||
616 | .PHONY: CTAGS GTAGS all all-am check check-am clean \ | ||
617 | clean-controllerLTLIBRARIES clean-generic clean-libtool \ | ||
618 | clean-local ctags distclean distclean-compile \ | ||
619 | distclean-generic distclean-libtool distclean-tags distdir dvi \ | ||
620 | dvi-am html html-am info info-am install install-am \ | ||
621 | install-controllerLTLIBRARIES install-data install-data-am \ | ||
622 | install-data-hook install-dvi install-dvi-am install-exec \ | ||
623 | install-exec-am install-html install-html-am install-info \ | ||
624 | install-info-am install-man install-pdf install-pdf-am \ | ||
625 | install-ps install-ps-am install-strip installcheck \ | ||
626 | installcheck-am installdirs maintainer-clean \ | ||
627 | maintainer-clean-generic mostlyclean mostlyclean-compile \ | ||
628 | mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ | ||
629 | tags uninstall uninstall-am uninstall-controllerLTLIBRARIES \ | ||
630 | uninstall-hook | ||
631 | |||
632 | |||
633 | install-data-hook: | ||
634 | rm -f $(DESTDIR)$(controllerdir)/$(controller_LTLIBRARIES) | ||
635 | uninstall-hook: | ||
636 | rm -f $(DESTDIR)$(controllerdir)/module.* | ||
637 | |||
638 | clean-local: | ||
639 | rm -rf *.gcno | ||
640 | |||
641 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | ||
642 | # Otherwise a system limit (for SysV at least) may be exceeded. | ||
643 | .NOEXPORT: | ||
diff --git a/libraries/eina/src/modules/mp/fixed_bitmap/eina_fixed_bitmap.c b/libraries/eina/src/modules/mp/fixed_bitmap/eina_fixed_bitmap.c new file mode 100644 index 0000000..e053e15 --- /dev/null +++ b/libraries/eina/src/modules/mp/fixed_bitmap/eina_fixed_bitmap.c | |||
@@ -0,0 +1,270 @@ | |||
1 | /* EINA - EFL data type library | ||
2 | * Copyright (C) 2008 Cedric BAIL | ||
3 | * | ||
4 | * This library is free software; you can redistribute it and/or | ||
5 | * modify it under the terms of the GNU Lesser General Public | ||
6 | * License as published by the Free Software Foundation; either | ||
7 | * version 2.1 of the License, or (at your option) any later version. | ||
8 | * | ||
9 | * This library is distributed in the hope that it will be useful, | ||
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
12 | * Lesser General Public License for more details. | ||
13 | * | ||
14 | * You should have received a copy of the GNU Lesser General Public | ||
15 | * License along with this library; | ||
16 | * if not, see <http://www.gnu.org/licenses/>. | ||
17 | */ | ||
18 | |||
19 | #ifdef HAVE_CONFIG_H | ||
20 | # include "config.h" | ||
21 | #endif | ||
22 | |||
23 | #ifndef _MSC_VER | ||
24 | # include <stdint.h> | ||
25 | #endif | ||
26 | #include <string.h> | ||
27 | #include <assert.h> | ||
28 | |||
29 | #ifdef HAVE_EVIL | ||
30 | # include <Evil.h> | ||
31 | #endif | ||
32 | |||
33 | #include "eina_inlist.h" | ||
34 | #include "eina_rbtree.h" | ||
35 | #include "eina_error.h" | ||
36 | |||
37 | #include "eina_mempool.h" | ||
38 | |||
39 | #include "eina_private.h" | ||
40 | |||
41 | typedef struct _Eina_Fixed_Bitmap Eina_Fixed_Bitmap; | ||
42 | typedef struct _Eina_Fixed_Bitmap_Pool Eina_Fixed_Bitmap_Pool; | ||
43 | |||
44 | struct _Eina_Fixed_Bitmap | ||
45 | { | ||
46 | Eina_Rbtree *lookup; | ||
47 | Eina_Inlist *head; | ||
48 | |||
49 | int item_size; | ||
50 | }; | ||
51 | |||
52 | struct _Eina_Fixed_Bitmap_Pool | ||
53 | { | ||
54 | EINA_RBTREE; | ||
55 | EINA_INLIST; | ||
56 | |||
57 | uint32_t bitmask; | ||
58 | }; | ||
59 | |||
60 | static inline size_t | ||
61 | _eina_rbtree_inlist_delta(void) | ||
62 | { | ||
63 | Eina_Fixed_Bitmap_Pool tmp; | ||
64 | void *a = &tmp.__rbtree; | ||
65 | void *b = &tmp.__in_list; | ||
66 | |||
67 | return (char *)a - (char *)b; | ||
68 | } | ||
69 | |||
70 | static Eina_Rbtree_Direction | ||
71 | _eina_fixed_cmp(const Eina_Rbtree *left, | ||
72 | const Eina_Rbtree *right, | ||
73 | __UNUSED__ void *data) | ||
74 | { | ||
75 | if (left - right < 0) | ||
76 | return EINA_RBTREE_LEFT; | ||
77 | |||
78 | return EINA_RBTREE_RIGHT; | ||
79 | } | ||
80 | |||
81 | static int | ||
82 | _eina_fixed_cmp_key(const Eina_Rbtree *node, | ||
83 | const void *key, | ||
84 | __UNUSED__ int length, | ||
85 | Eina_Fixed_Bitmap *mp) | ||
86 | { | ||
87 | const void *a = node; | ||
88 | const void *b = key; | ||
89 | ssize_t delta; | ||
90 | ssize_t limit; | ||
91 | |||
92 | limit = sizeof (Eina_Fixed_Bitmap_Pool) + mp->item_size * 32; | ||
93 | delta = (char *)a - (char *)b; | ||
94 | |||
95 | if (delta > 0) | ||
96 | return 1; | ||
97 | |||
98 | if (delta + limit < 0) | ||
99 | return -1; | ||
100 | |||
101 | return 0; | ||
102 | } | ||
103 | |||
104 | static void | ||
105 | _eina_fixed_bitmap_pool_free(Eina_Fixed_Bitmap_Pool *pool, | ||
106 | __UNUSED__ void *data) | ||
107 | { | ||
108 | free(pool); | ||
109 | } | ||
110 | |||
111 | static void * | ||
112 | eina_fixed_bitmap_malloc(void *data, __UNUSED__ unsigned int size) | ||
113 | { | ||
114 | Eina_Fixed_Bitmap *mp = data; | ||
115 | Eina_Fixed_Bitmap_Pool *pool = NULL; | ||
116 | void *ptr; | ||
117 | int idx; | ||
118 | |||
119 | if (mp->head) | ||
120 | { | ||
121 | pool = | ||
122 | (Eina_Fixed_Bitmap_Pool *)((unsigned char *)mp->head + | ||
123 | _eina_rbtree_inlist_delta()); | ||
124 | |||
125 | if (pool->bitmask == 0) | ||
126 | pool = NULL; | ||
127 | } | ||
128 | |||
129 | if (!pool) | ||
130 | { | ||
131 | eina_error_set(0); | ||
132 | pool = malloc(sizeof (Eina_Fixed_Bitmap_Pool) + mp->item_size * 32); | ||
133 | if (!pool) | ||
134 | { | ||
135 | eina_error_set(EINA_ERROR_OUT_OF_MEMORY); | ||
136 | return NULL; | ||
137 | } | ||
138 | |||
139 | pool->bitmask = 0xFFFFFFFF; | ||
140 | |||
141 | mp->head = eina_inlist_prepend(mp->head, EINA_INLIST_GET(pool)); | ||
142 | mp->lookup = eina_rbtree_inline_insert(mp->lookup, EINA_RBTREE_GET( | ||
143 | pool), | ||
144 | EINA_RBTREE_CMP_NODE_CB( | ||
145 | _eina_fixed_cmp), NULL); | ||
146 | } | ||
147 | |||
148 | idx = ffs(pool->bitmask) - 1; | ||
149 | pool->bitmask &= ~(1 << idx); | ||
150 | ptr = (unsigned char *)(pool + 1) + idx * mp->item_size; | ||
151 | |||
152 | if (pool->bitmask == 0) | ||
153 | mp->head = eina_inlist_demote(mp->head, EINA_INLIST_GET(pool)); | ||
154 | |||
155 | return ptr; | ||
156 | } | ||
157 | |||
158 | static void | ||
159 | eina_fixed_bitmap_free(void *data, void *ptr) | ||
160 | { | ||
161 | Eina_Fixed_Bitmap *mp = data; | ||
162 | Eina_Fixed_Bitmap_Pool *pool; | ||
163 | void *a; | ||
164 | Eina_Bool push_front = EINA_FALSE; | ||
165 | ssize_t delta; | ||
166 | |||
167 | pool = (Eina_Fixed_Bitmap_Pool *)eina_rbtree_inline_lookup( | ||
168 | mp->lookup, | ||
169 | ptr, | ||
170 | 0, | ||
171 | EINA_RBTREE_CMP_KEY_CB( | ||
172 | _eina_fixed_cmp_key), | ||
173 | mp); | ||
174 | if (!pool) | ||
175 | return; | ||
176 | |||
177 | if (pool->bitmask != 0xFFFFFFFF) | ||
178 | push_front = EINA_TRUE; | ||
179 | |||
180 | a = pool; | ||
181 | delta = | ||
182 | ((char *)ptr - (char *)a - | ||
183 | sizeof (Eina_Fixed_Bitmap_Pool)) / mp->item_size; | ||
184 | |||
185 | assert(delta >= 0 && delta < 32); | ||
186 | |||
187 | pool->bitmask |= (1 << (delta & 0x1F)); | ||
188 | |||
189 | if (pool->bitmask == 0xFFFFFFFF) | ||
190 | { | ||
191 | mp->head = eina_inlist_remove(mp->head, EINA_INLIST_GET(pool)); | ||
192 | mp->lookup = eina_rbtree_inline_remove(mp->lookup, EINA_RBTREE_GET( | ||
193 | pool), | ||
194 | EINA_RBTREE_CMP_NODE_CB( | ||
195 | _eina_fixed_cmp), NULL); | ||
196 | free(pool); | ||
197 | } | ||
198 | else if (push_front) | ||
199 | mp->head = eina_inlist_promote(mp->head, EINA_INLIST_GET(pool)); | ||
200 | } | ||
201 | |||
202 | static void * | ||
203 | eina_fixed_bitmap_realloc(__UNUSED__ void *data, | ||
204 | __UNUSED__ void *element, | ||
205 | __UNUSED__ unsigned int size) | ||
206 | { | ||
207 | return NULL; | ||
208 | } | ||
209 | |||
210 | static void * | ||
211 | eina_fixed_bitmap_init(__UNUSED__ const char *context, | ||
212 | __UNUSED__ const char *option, | ||
213 | va_list args) | ||
214 | { | ||
215 | Eina_Fixed_Bitmap *mp; | ||
216 | int item_size; | ||
217 | |||
218 | mp = malloc(sizeof (Eina_Fixed_Bitmap)); | ||
219 | if (!mp) | ||
220 | return NULL; | ||
221 | |||
222 | item_size = va_arg(args, int); | ||
223 | |||
224 | mp->item_size = eina_mempool_alignof(item_size); | ||
225 | |||
226 | mp->lookup = NULL; | ||
227 | mp->head = NULL; | ||
228 | |||
229 | return mp; | ||
230 | } | ||
231 | |||
232 | static void | ||
233 | eina_fixed_bitmap_shutdown(void *data) | ||
234 | { | ||
235 | Eina_Fixed_Bitmap *mp = data; | ||
236 | |||
237 | eina_rbtree_delete(mp->lookup, | ||
238 | EINA_RBTREE_FREE_CB(_eina_fixed_bitmap_pool_free), NULL); | ||
239 | free(mp); | ||
240 | } | ||
241 | |||
242 | static Eina_Mempool_Backend _eina_fixed_bitmap_mp_backend = { | ||
243 | "fixed_bitmap", | ||
244 | &eina_fixed_bitmap_init, | ||
245 | &eina_fixed_bitmap_free, | ||
246 | &eina_fixed_bitmap_malloc, | ||
247 | &eina_fixed_bitmap_realloc, | ||
248 | NULL, | ||
249 | NULL, | ||
250 | &eina_fixed_bitmap_shutdown, | ||
251 | NULL | ||
252 | }; | ||
253 | |||
254 | Eina_Bool fixed_bitmap_init(void) | ||
255 | { | ||
256 | return eina_mempool_register(&_eina_fixed_bitmap_mp_backend); | ||
257 | } | ||
258 | |||
259 | void fixed_bitmap_shutdown(void) | ||
260 | { | ||
261 | eina_mempool_unregister(&_eina_fixed_bitmap_mp_backend); | ||
262 | } | ||
263 | |||
264 | #ifndef EINA_STATIC_BUILD_FIXED_BITMAP | ||
265 | |||
266 | EINA_MODULE_INIT(fixed_bitmap_init); | ||
267 | EINA_MODULE_SHUTDOWN(fixed_bitmap_shutdown); | ||
268 | |||
269 | #endif /* ! EINA_STATIC_BUILD_FIXED_BITMAP */ | ||
270 | |||
diff --git a/libraries/eina/src/modules/mp/one_big/Makefile.am b/libraries/eina/src/modules/mp/one_big/Makefile.am new file mode 100644 index 0000000..8ca1a62 --- /dev/null +++ b/libraries/eina/src/modules/mp/one_big/Makefile.am | |||
@@ -0,0 +1,30 @@ | |||
1 | MAINTAINERCLEANFILES = Makefile.in | ||
2 | |||
3 | AM_CPPFLAGS = \ | ||
4 | -I. \ | ||
5 | -I$(top_srcdir)/src/include \ | ||
6 | -I$(top_builddir)/src/include \ | ||
7 | -I$(top_srcdir)/src/lib \ | ||
8 | -I$(top_builddir)/src/lib \ | ||
9 | @EINA_CPPFLAGS@ \ | ||
10 | @EFL_EINA_BUILD@ \ | ||
11 | @VALGRIND_CFLAGS@ | ||
12 | |||
13 | controllerdir = $(libdir)/eina/modules/mp/one_big/$(MODULE_ARCH) | ||
14 | controller_LTLIBRARIES = module.la | ||
15 | |||
16 | module_la_SOURCES = \ | ||
17 | eina_one_big.c | ||
18 | |||
19 | module_la_CFLAGS = @EINA_CFLAGS@ @EFL_PTHREAD_CFLAGS@ | ||
20 | module_la_LIBADD = $(top_builddir)/src/lib/libeina.la @EINA_LIBS@ | ||
21 | module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version @EFL_PTHREAD_LIBS@ | ||
22 | module_la_LIBTOOLFLAGS = --tag=disable-static | ||
23 | |||
24 | install-data-hook: | ||
25 | rm -f $(DESTDIR)$(controllerdir)/$(controller_LTLIBRARIES) | ||
26 | uninstall-hook: | ||
27 | rm -f $(DESTDIR)$(controllerdir)/module.* | ||
28 | |||
29 | clean-local: | ||
30 | rm -rf *.gcno | ||
diff --git a/libraries/eina/src/modules/mp/one_big/Makefile.in b/libraries/eina/src/modules/mp/one_big/Makefile.in new file mode 100644 index 0000000..e999b78 --- /dev/null +++ b/libraries/eina/src/modules/mp/one_big/Makefile.in | |||
@@ -0,0 +1,644 @@ | |||
1 | # Makefile.in generated by automake 1.11.1 from Makefile.am. | ||
2 | # @configure_input@ | ||
3 | |||
4 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | ||
5 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, | ||
6 | # Inc. | ||
7 | # This Makefile.in is free software; the Free Software Foundation | ||
8 | # gives unlimited permission to copy and/or distribute it, | ||
9 | # with or without modifications, as long as this notice is preserved. | ||
10 | |||
11 | # This program is distributed in the hope that it will be useful, | ||
12 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without | ||
13 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A | ||
14 | # PARTICULAR PURPOSE. | ||
15 | |||
16 | @SET_MAKE@ | ||
17 | |||
18 | VPATH = @srcdir@ | ||
19 | pkgdatadir = $(datadir)/@PACKAGE@ | ||
20 | pkgincludedir = $(includedir)/@PACKAGE@ | ||
21 | pkglibdir = $(libdir)/@PACKAGE@ | ||
22 | pkglibexecdir = $(libexecdir)/@PACKAGE@ | ||
23 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | ||
24 | install_sh_DATA = $(install_sh) -c -m 644 | ||
25 | install_sh_PROGRAM = $(install_sh) -c | ||
26 | install_sh_SCRIPT = $(install_sh) -c | ||
27 | INSTALL_HEADER = $(INSTALL_DATA) | ||
28 | transform = $(program_transform_name) | ||
29 | NORMAL_INSTALL = : | ||
30 | PRE_INSTALL = : | ||
31 | POST_INSTALL = : | ||
32 | NORMAL_UNINSTALL = : | ||
33 | PRE_UNINSTALL = : | ||
34 | POST_UNINSTALL = : | ||
35 | build_triplet = @build@ | ||
36 | host_triplet = @host@ | ||
37 | subdir = src/modules/mp/one_big | ||
38 | DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in | ||
39 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | ||
40 | am__aclocal_m4_deps = $(top_srcdir)/m4/efl_attribute.m4 \ | ||
41 | $(top_srcdir)/m4/efl_benchmark.m4 \ | ||
42 | $(top_srcdir)/m4/efl_compiler_flag.m4 \ | ||
43 | $(top_srcdir)/m4/efl_coverage.m4 $(top_srcdir)/m4/efl_cpu.m4 \ | ||
44 | $(top_srcdir)/m4/efl_doxygen.m4 \ | ||
45 | $(top_srcdir)/m4/efl_examples.m4 \ | ||
46 | $(top_srcdir)/m4/efl_fnmatch.m4 \ | ||
47 | $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ | ||
48 | $(top_srcdir)/m4/efl_threads.m4 \ | ||
49 | $(top_srcdir)/m4/efl_voltron.m4 $(top_srcdir)/m4/eina_bench.m4 \ | ||
50 | $(top_srcdir)/m4/eina_check.m4 $(top_srcdir)/m4/libtool.m4 \ | ||
51 | $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ | ||
52 | $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ | ||
53 | $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac | ||
54 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | ||
55 | $(ACLOCAL_M4) | ||
56 | mkinstalldirs = $(install_sh) -d | ||
57 | CONFIG_HEADER = $(top_builddir)/config.h | ||
58 | CONFIG_CLEAN_FILES = | ||
59 | CONFIG_CLEAN_VPATH_FILES = | ||
60 | am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; | ||
61 | am__vpath_adj = case $$p in \ | ||
62 | $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ | ||
63 | *) f=$$p;; \ | ||
64 | esac; | ||
65 | am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; | ||
66 | am__install_max = 40 | ||
67 | am__nobase_strip_setup = \ | ||
68 | srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` | ||
69 | am__nobase_strip = \ | ||
70 | for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" | ||
71 | am__nobase_list = $(am__nobase_strip_setup); \ | ||
72 | for p in $$list; do echo "$$p $$p"; done | \ | ||
73 | sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ | ||
74 | $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ | ||
75 | if (++n[$$2] == $(am__install_max)) \ | ||
76 | { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ | ||
77 | END { for (dir in files) print dir, files[dir] }' | ||
78 | am__base_list = \ | ||
79 | sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ | ||
80 | sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | ||
81 | am__installdirs = "$(DESTDIR)$(controllerdir)" | ||
82 | LTLIBRARIES = $(controller_LTLIBRARIES) | ||
83 | module_la_DEPENDENCIES = $(top_builddir)/src/lib/libeina.la | ||
84 | am_module_la_OBJECTS = module_la-eina_one_big.lo | ||
85 | module_la_OBJECTS = $(am_module_la_OBJECTS) | ||
86 | AM_V_lt = $(am__v_lt_$(V)) | ||
87 | am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) | ||
88 | am__v_lt_0 = --silent | ||
89 | module_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ | ||
90 | $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ | ||
91 | $(module_la_CFLAGS) $(CFLAGS) $(module_la_LDFLAGS) $(LDFLAGS) \ | ||
92 | -o $@ | ||
93 | DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) | ||
94 | depcomp = $(SHELL) $(top_srcdir)/depcomp | ||
95 | am__depfiles_maybe = depfiles | ||
96 | am__mv = mv -f | ||
97 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ | ||
98 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | ||
99 | LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ | ||
100 | $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ | ||
101 | $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ | ||
102 | $(AM_CFLAGS) $(CFLAGS) | ||
103 | AM_V_CC = $(am__v_CC_$(V)) | ||
104 | am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) | ||
105 | am__v_CC_0 = @echo " CC " $@; | ||
106 | AM_V_at = $(am__v_at_$(V)) | ||
107 | am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) | ||
108 | am__v_at_0 = @ | ||
109 | CCLD = $(CC) | ||
110 | LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ | ||
111 | $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ | ||
112 | $(AM_LDFLAGS) $(LDFLAGS) -o $@ | ||
113 | AM_V_CCLD = $(am__v_CCLD_$(V)) | ||
114 | am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) | ||
115 | am__v_CCLD_0 = @echo " CCLD " $@; | ||
116 | AM_V_GEN = $(am__v_GEN_$(V)) | ||
117 | am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) | ||
118 | am__v_GEN_0 = @echo " GEN " $@; | ||
119 | SOURCES = $(module_la_SOURCES) | ||
120 | DIST_SOURCES = $(module_la_SOURCES) | ||
121 | ETAGS = etags | ||
122 | CTAGS = ctags | ||
123 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
124 | ACLOCAL = @ACLOCAL@ | ||
125 | ALLOCA = @ALLOCA@ | ||
126 | AMTAR = @AMTAR@ | ||
127 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | ||
128 | AR = @AR@ | ||
129 | AS = @AS@ | ||
130 | AUTOCONF = @AUTOCONF@ | ||
131 | AUTOHEADER = @AUTOHEADER@ | ||
132 | AUTOMAKE = @AUTOMAKE@ | ||
133 | AWK = @AWK@ | ||
134 | CC = @CC@ | ||
135 | CCDEPMODE = @CCDEPMODE@ | ||
136 | CFLAGS = @CFLAGS@ | ||
137 | CHECK_CFLAGS = @CHECK_CFLAGS@ | ||
138 | CHECK_LIBS = @CHECK_LIBS@ | ||
139 | CPP = @CPP@ | ||
140 | CPPFLAGS = @CPPFLAGS@ | ||
141 | CXX = @CXX@ | ||
142 | CXXCPP = @CXXCPP@ | ||
143 | CXXDEPMODE = @CXXDEPMODE@ | ||
144 | CXXFLAGS = @CXXFLAGS@ | ||
145 | CYGPATH_W = @CYGPATH_W@ | ||
146 | DEFS = @DEFS@ | ||
147 | DEPDIR = @DEPDIR@ | ||
148 | DLLTOOL = @DLLTOOL@ | ||
149 | DSYMUTIL = @DSYMUTIL@ | ||
150 | DUMPBIN = @DUMPBIN@ | ||
151 | ECHO_C = @ECHO_C@ | ||
152 | ECHO_N = @ECHO_N@ | ||
153 | ECHO_T = @ECHO_T@ | ||
154 | ECORE_EVAS_CFLAGS = @ECORE_EVAS_CFLAGS@ | ||
155 | ECORE_EVAS_LIBS = @ECORE_EVAS_LIBS@ | ||
156 | EFL_COVERAGE_CFLAGS = @EFL_COVERAGE_CFLAGS@ | ||
157 | EFL_COVERAGE_LIBS = @EFL_COVERAGE_LIBS@ | ||
158 | EFL_EINA_BUILD = @EFL_EINA_BUILD@ | ||
159 | EFL_FNMATCH_LIBS = @EFL_FNMATCH_LIBS@ | ||
160 | EFL_PTHREAD_CFLAGS = @EFL_PTHREAD_CFLAGS@ | ||
161 | EFL_PTHREAD_LIBS = @EFL_PTHREAD_LIBS@ | ||
162 | EFL_SIMD_FLAGS = @EFL_SIMD_FLAGS@ | ||
163 | EGREP = @EGREP@ | ||
164 | EINA_CFLAGS = @EINA_CFLAGS@ | ||
165 | EINA_CONFIGURE_DEFAULT_MEMPOOL = @EINA_CONFIGURE_DEFAULT_MEMPOOL@ | ||
166 | EINA_CONFIGURE_HAVE_DEBUG_THREADS = @EINA_CONFIGURE_HAVE_DEBUG_THREADS@ | ||
167 | EINA_CONFIGURE_HAVE_INTTYPES_H = @EINA_CONFIGURE_HAVE_INTTYPES_H@ | ||
168 | EINA_CONFIGURE_HAVE_ON_OFF_THREADS = @EINA_CONFIGURE_HAVE_ON_OFF_THREADS@ | ||
169 | EINA_CONFIGURE_HAVE_STDINT_H = @EINA_CONFIGURE_HAVE_STDINT_H@ | ||
170 | EINA_CONFIGURE_HAVE_THREADS = @EINA_CONFIGURE_HAVE_THREADS@ | ||
171 | EINA_CONFIGURE_MAGIC_DEBUG = @EINA_CONFIGURE_MAGIC_DEBUG@ | ||
172 | EINA_CONFIGURE_SAFETY_CHECKS = @EINA_CONFIGURE_SAFETY_CHECKS@ | ||
173 | EINA_CPPFLAGS = @EINA_CPPFLAGS@ | ||
174 | EINA_LIBS = @EINA_LIBS@ | ||
175 | EINA_SIZEOF_WCHAR_T = @EINA_SIZEOF_WCHAR_T@ | ||
176 | EMEMOA_CFLAGS = @EMEMOA_CFLAGS@ | ||
177 | EMEMOA_LIBS = @EMEMOA_LIBS@ | ||
178 | ESCAPE_CFLAGS = @ESCAPE_CFLAGS@ | ||
179 | ESCAPE_LIBS = @ESCAPE_LIBS@ | ||
180 | EVIL_CFLAGS = @EVIL_CFLAGS@ | ||
181 | EVIL_LIBS = @EVIL_LIBS@ | ||
182 | EXEEXT = @EXEEXT@ | ||
183 | FGREP = @FGREP@ | ||
184 | GLIB_CFLAGS = @GLIB_CFLAGS@ | ||
185 | GLIB_LIBS = @GLIB_LIBS@ | ||
186 | GREP = @GREP@ | ||
187 | INSTALL = @INSTALL@ | ||
188 | INSTALL_DATA = @INSTALL_DATA@ | ||
189 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | ||
190 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | ||
191 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | ||
192 | LD = @LD@ | ||
193 | LDFLAGS = @LDFLAGS@ | ||
194 | LIBOBJS = @LIBOBJS@ | ||
195 | LIBS = @LIBS@ | ||
196 | LIBTOOL = @LIBTOOL@ | ||
197 | LIPO = @LIPO@ | ||
198 | LN_S = @LN_S@ | ||
199 | LTLIBOBJS = @LTLIBOBJS@ | ||
200 | MAKEINFO = @MAKEINFO@ | ||
201 | MKDIR_P = @MKDIR_P@ | ||
202 | MODULE_ARCH = @MODULE_ARCH@ | ||
203 | NM = @NM@ | ||
204 | NMEDIT = @NMEDIT@ | ||
205 | OBJDUMP = @OBJDUMP@ | ||
206 | OBJEXT = @OBJEXT@ | ||
207 | OTOOL = @OTOOL@ | ||
208 | OTOOL64 = @OTOOL64@ | ||
209 | PACKAGE = @PACKAGE@ | ||
210 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | ||
211 | PACKAGE_NAME = @PACKAGE_NAME@ | ||
212 | PACKAGE_STRING = @PACKAGE_STRING@ | ||
213 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | ||
214 | PACKAGE_URL = @PACKAGE_URL@ | ||
215 | PACKAGE_VERSION = @PACKAGE_VERSION@ | ||
216 | PATH_SEPARATOR = @PATH_SEPARATOR@ | ||
217 | PKG_CONFIG = @PKG_CONFIG@ | ||
218 | PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ | ||
219 | PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ | ||
220 | RANLIB = @RANLIB@ | ||
221 | SED = @SED@ | ||
222 | SET_MAKE = @SET_MAKE@ | ||
223 | SHELL = @SHELL@ | ||
224 | STRIP = @STRIP@ | ||
225 | VALGRIND_CFLAGS = @VALGRIND_CFLAGS@ | ||
226 | VALGRIND_LIBS = @VALGRIND_LIBS@ | ||
227 | VERSION = @VERSION@ | ||
228 | VMAJ = @VMAJ@ | ||
229 | abs_builddir = @abs_builddir@ | ||
230 | abs_srcdir = @abs_srcdir@ | ||
231 | abs_top_builddir = @abs_top_builddir@ | ||
232 | abs_top_srcdir = @abs_top_srcdir@ | ||
233 | ac_ct_CC = @ac_ct_CC@ | ||
234 | ac_ct_CXX = @ac_ct_CXX@ | ||
235 | ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ | ||
236 | am__include = @am__include@ | ||
237 | am__leading_dot = @am__leading_dot@ | ||
238 | am__quote = @am__quote@ | ||
239 | am__tar = @am__tar@ | ||
240 | am__untar = @am__untar@ | ||
241 | bindir = @bindir@ | ||
242 | build = @build@ | ||
243 | build_alias = @build_alias@ | ||
244 | build_cpu = @build_cpu@ | ||
245 | build_os = @build_os@ | ||
246 | build_vendor = @build_vendor@ | ||
247 | builddir = @builddir@ | ||
248 | datadir = @datadir@ | ||
249 | datarootdir = @datarootdir@ | ||
250 | dlopen_libs = @dlopen_libs@ | ||
251 | docdir = @docdir@ | ||
252 | dvidir = @dvidir@ | ||
253 | efl_doxygen = @efl_doxygen@ | ||
254 | efl_have_doxygen = @efl_have_doxygen@ | ||
255 | exec_prefix = @exec_prefix@ | ||
256 | have_lcov = @have_lcov@ | ||
257 | host = @host@ | ||
258 | host_alias = @host_alias@ | ||
259 | host_cpu = @host_cpu@ | ||
260 | host_os = @host_os@ | ||
261 | host_vendor = @host_vendor@ | ||
262 | htmldir = @htmldir@ | ||
263 | iconv_libs = @iconv_libs@ | ||
264 | includedir = @includedir@ | ||
265 | infodir = @infodir@ | ||
266 | install_sh = @install_sh@ | ||
267 | libdir = @libdir@ | ||
268 | libexecdir = @libexecdir@ | ||
269 | localedir = @localedir@ | ||
270 | localstatedir = @localstatedir@ | ||
271 | lt_ECHO = @lt_ECHO@ | ||
272 | lt_enable_auto_import = @lt_enable_auto_import@ | ||
273 | mandir = @mandir@ | ||
274 | mkdir_p = @mkdir_p@ | ||
275 | oldincludedir = @oldincludedir@ | ||
276 | pdfdir = @pdfdir@ | ||
277 | pkgconfig_requires_private = @pkgconfig_requires_private@ | ||
278 | prefix = @prefix@ | ||
279 | program_transform_name = @program_transform_name@ | ||
280 | psdir = @psdir@ | ||
281 | release_info = @release_info@ | ||
282 | requirement_eina = @requirement_eina@ | ||
283 | rt_libs = @rt_libs@ | ||
284 | sbindir = @sbindir@ | ||
285 | sharedstatedir = @sharedstatedir@ | ||
286 | srcdir = @srcdir@ | ||
287 | sysconfdir = @sysconfdir@ | ||
288 | target_alias = @target_alias@ | ||
289 | top_build_prefix = @top_build_prefix@ | ||
290 | top_builddir = @top_builddir@ | ||
291 | top_srcdir = @top_srcdir@ | ||
292 | version_info = @version_info@ | ||
293 | MAINTAINERCLEANFILES = Makefile.in | ||
294 | AM_CPPFLAGS = \ | ||
295 | -I. \ | ||
296 | -I$(top_srcdir)/src/include \ | ||
297 | -I$(top_builddir)/src/include \ | ||
298 | -I$(top_srcdir)/src/lib \ | ||
299 | -I$(top_builddir)/src/lib \ | ||
300 | @EINA_CPPFLAGS@ \ | ||
301 | @EFL_EINA_BUILD@ \ | ||
302 | @VALGRIND_CFLAGS@ | ||
303 | |||
304 | controllerdir = $(libdir)/eina/modules/mp/one_big/$(MODULE_ARCH) | ||
305 | controller_LTLIBRARIES = module.la | ||
306 | module_la_SOURCES = \ | ||
307 | eina_one_big.c | ||
308 | |||
309 | module_la_CFLAGS = @EINA_CFLAGS@ @EFL_PTHREAD_CFLAGS@ | ||
310 | module_la_LIBADD = $(top_builddir)/src/lib/libeina.la @EINA_LIBS@ | ||
311 | module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version @EFL_PTHREAD_LIBS@ | ||
312 | module_la_LIBTOOLFLAGS = --tag=disable-static | ||
313 | all: all-am | ||
314 | |||
315 | .SUFFIXES: | ||
316 | .SUFFIXES: .c .lo .o .obj | ||
317 | $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) | ||
318 | @for dep in $?; do \ | ||
319 | case '$(am__configure_deps)' in \ | ||
320 | *$$dep*) \ | ||
321 | ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ | ||
322 | && { if test -f $@; then exit 0; else break; fi; }; \ | ||
323 | exit 1;; \ | ||
324 | esac; \ | ||
325 | done; \ | ||
326 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/modules/mp/one_big/Makefile'; \ | ||
327 | $(am__cd) $(top_srcdir) && \ | ||
328 | $(AUTOMAKE) --gnu src/modules/mp/one_big/Makefile | ||
329 | .PRECIOUS: Makefile | ||
330 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | ||
331 | @case '$?' in \ | ||
332 | *config.status*) \ | ||
333 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ | ||
334 | *) \ | ||
335 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ | ||
336 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ | ||
337 | esac; | ||
338 | |||
339 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | ||
340 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
341 | |||
342 | $(top_srcdir)/configure: $(am__configure_deps) | ||
343 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
344 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) | ||
345 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
346 | $(am__aclocal_m4_deps): | ||
347 | install-controllerLTLIBRARIES: $(controller_LTLIBRARIES) | ||
348 | @$(NORMAL_INSTALL) | ||
349 | test -z "$(controllerdir)" || $(MKDIR_P) "$(DESTDIR)$(controllerdir)" | ||
350 | @list='$(controller_LTLIBRARIES)'; test -n "$(controllerdir)" || list=; \ | ||
351 | list2=; for p in $$list; do \ | ||
352 | if test -f $$p; then \ | ||
353 | list2="$$list2 $$p"; \ | ||
354 | else :; fi; \ | ||
355 | done; \ | ||
356 | test -z "$$list2" || { \ | ||
357 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(controllerdir)'"; \ | ||
358 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(controllerdir)"; \ | ||
359 | } | ||
360 | |||
361 | uninstall-controllerLTLIBRARIES: | ||
362 | @$(NORMAL_UNINSTALL) | ||
363 | @list='$(controller_LTLIBRARIES)'; test -n "$(controllerdir)" || list=; \ | ||
364 | for p in $$list; do \ | ||
365 | $(am__strip_dir) \ | ||
366 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(controllerdir)/$$f'"; \ | ||
367 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(controllerdir)/$$f"; \ | ||
368 | done | ||
369 | |||
370 | clean-controllerLTLIBRARIES: | ||
371 | -test -z "$(controller_LTLIBRARIES)" || rm -f $(controller_LTLIBRARIES) | ||
372 | @list='$(controller_LTLIBRARIES)'; for p in $$list; do \ | ||
373 | dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ | ||
374 | test "$$dir" != "$$p" || dir=.; \ | ||
375 | echo "rm -f \"$${dir}/so_locations\""; \ | ||
376 | rm -f "$${dir}/so_locations"; \ | ||
377 | done | ||
378 | module.la: $(module_la_OBJECTS) $(module_la_DEPENDENCIES) | ||
379 | $(AM_V_CCLD)$(module_la_LINK) -rpath $(controllerdir) $(module_la_OBJECTS) $(module_la_LIBADD) $(LIBS) | ||
380 | |||
381 | mostlyclean-compile: | ||
382 | -rm -f *.$(OBJEXT) | ||
383 | |||
384 | distclean-compile: | ||
385 | -rm -f *.tab.c | ||
386 | |||
387 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/module_la-eina_one_big.Plo@am__quote@ | ||
388 | |||
389 | .c.o: | ||
390 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | ||
391 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | ||
392 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
393 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | ||
394 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
395 | @am__fastdepCC_FALSE@ $(COMPILE) -c $< | ||
396 | |||
397 | .c.obj: | ||
398 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | ||
399 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | ||
400 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
401 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | ||
402 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
403 | @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` | ||
404 | |||
405 | .c.lo: | ||
406 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | ||
407 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo | ||
408 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
409 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ | ||
410 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
411 | @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< | ||
412 | |||
413 | module_la-eina_one_big.lo: eina_one_big.c | ||
414 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(module_la_CFLAGS) $(CFLAGS) -MT module_la-eina_one_big.lo -MD -MP -MF $(DEPDIR)/module_la-eina_one_big.Tpo -c -o module_la-eina_one_big.lo `test -f 'eina_one_big.c' || echo '$(srcdir)/'`eina_one_big.c | ||
415 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/module_la-eina_one_big.Tpo $(DEPDIR)/module_la-eina_one_big.Plo | ||
416 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
417 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='eina_one_big.c' object='module_la-eina_one_big.lo' libtool=yes @AMDEPBACKSLASH@ | ||
418 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
419 | @am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(module_la_CFLAGS) $(CFLAGS) -c -o module_la-eina_one_big.lo `test -f 'eina_one_big.c' || echo '$(srcdir)/'`eina_one_big.c | ||
420 | |||
421 | mostlyclean-libtool: | ||
422 | -rm -f *.lo | ||
423 | |||
424 | clean-libtool: | ||
425 | -rm -rf .libs _libs | ||
426 | |||
427 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | ||
428 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
429 | unique=`for i in $$list; do \ | ||
430 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
431 | done | \ | ||
432 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
433 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
434 | mkid -fID $$unique | ||
435 | tags: TAGS | ||
436 | |||
437 | TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | ||
438 | $(TAGS_FILES) $(LISP) | ||
439 | set x; \ | ||
440 | here=`pwd`; \ | ||
441 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
442 | unique=`for i in $$list; do \ | ||
443 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
444 | done | \ | ||
445 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
446 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
447 | shift; \ | ||
448 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ | ||
449 | test -n "$$unique" || unique=$$empty_fix; \ | ||
450 | if test $$# -gt 0; then \ | ||
451 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
452 | "$$@" $$unique; \ | ||
453 | else \ | ||
454 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
455 | $$unique; \ | ||
456 | fi; \ | ||
457 | fi | ||
458 | ctags: CTAGS | ||
459 | CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | ||
460 | $(TAGS_FILES) $(LISP) | ||
461 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
462 | unique=`for i in $$list; do \ | ||
463 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
464 | done | \ | ||
465 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
466 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
467 | test -z "$(CTAGS_ARGS)$$unique" \ | ||
468 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ | ||
469 | $$unique | ||
470 | |||
471 | GTAGS: | ||
472 | here=`$(am__cd) $(top_builddir) && pwd` \ | ||
473 | && $(am__cd) $(top_srcdir) \ | ||
474 | && gtags -i $(GTAGS_ARGS) "$$here" | ||
475 | |||
476 | distclean-tags: | ||
477 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
478 | |||
479 | distdir: $(DISTFILES) | ||
480 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
481 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
482 | list='$(DISTFILES)'; \ | ||
483 | dist_files=`for file in $$list; do echo $$file; done | \ | ||
484 | sed -e "s|^$$srcdirstrip/||;t" \ | ||
485 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | ||
486 | case $$dist_files in \ | ||
487 | */*) $(MKDIR_P) `echo "$$dist_files" | \ | ||
488 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | ||
489 | sort -u` ;; \ | ||
490 | esac; \ | ||
491 | for file in $$dist_files; do \ | ||
492 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | ||
493 | if test -d $$d/$$file; then \ | ||
494 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | ||
495 | if test -d "$(distdir)/$$file"; then \ | ||
496 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
497 | fi; \ | ||
498 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | ||
499 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | ||
500 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
501 | fi; \ | ||
502 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | ||
503 | else \ | ||
504 | test -f "$(distdir)/$$file" \ | ||
505 | || cp -p $$d/$$file "$(distdir)/$$file" \ | ||
506 | || exit 1; \ | ||
507 | fi; \ | ||
508 | done | ||
509 | check-am: all-am | ||
510 | check: check-am | ||
511 | all-am: Makefile $(LTLIBRARIES) | ||
512 | installdirs: | ||
513 | for dir in "$(DESTDIR)$(controllerdir)"; do \ | ||
514 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ | ||
515 | done | ||
516 | install: install-am | ||
517 | install-exec: install-exec-am | ||
518 | install-data: install-data-am | ||
519 | uninstall: uninstall-am | ||
520 | |||
521 | install-am: all-am | ||
522 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | ||
523 | |||
524 | installcheck: installcheck-am | ||
525 | install-strip: | ||
526 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||
527 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||
528 | `test -z '$(STRIP)' || \ | ||
529 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install | ||
530 | mostlyclean-generic: | ||
531 | |||
532 | clean-generic: | ||
533 | |||
534 | distclean-generic: | ||
535 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | ||
536 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | ||
537 | |||
538 | maintainer-clean-generic: | ||
539 | @echo "This command is intended for maintainers to use" | ||
540 | @echo "it deletes files that may require special tools to rebuild." | ||
541 | -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) | ||
542 | clean: clean-am | ||
543 | |||
544 | clean-am: clean-controllerLTLIBRARIES clean-generic clean-libtool \ | ||
545 | clean-local mostlyclean-am | ||
546 | |||
547 | distclean: distclean-am | ||
548 | -rm -rf ./$(DEPDIR) | ||
549 | -rm -f Makefile | ||
550 | distclean-am: clean-am distclean-compile distclean-generic \ | ||
551 | distclean-tags | ||
552 | |||
553 | dvi: dvi-am | ||
554 | |||
555 | dvi-am: | ||
556 | |||
557 | html: html-am | ||
558 | |||
559 | html-am: | ||
560 | |||
561 | info: info-am | ||
562 | |||
563 | info-am: | ||
564 | |||
565 | install-data-am: install-controllerLTLIBRARIES | ||
566 | @$(NORMAL_INSTALL) | ||
567 | $(MAKE) $(AM_MAKEFLAGS) install-data-hook | ||
568 | install-dvi: install-dvi-am | ||
569 | |||
570 | install-dvi-am: | ||
571 | |||
572 | install-exec-am: | ||
573 | |||
574 | install-html: install-html-am | ||
575 | |||
576 | install-html-am: | ||
577 | |||
578 | install-info: install-info-am | ||
579 | |||
580 | install-info-am: | ||
581 | |||
582 | install-man: | ||
583 | |||
584 | install-pdf: install-pdf-am | ||
585 | |||
586 | install-pdf-am: | ||
587 | |||
588 | install-ps: install-ps-am | ||
589 | |||
590 | install-ps-am: | ||
591 | |||
592 | installcheck-am: | ||
593 | |||
594 | maintainer-clean: maintainer-clean-am | ||
595 | -rm -rf ./$(DEPDIR) | ||
596 | -rm -f Makefile | ||
597 | maintainer-clean-am: distclean-am maintainer-clean-generic | ||
598 | |||
599 | mostlyclean: mostlyclean-am | ||
600 | |||
601 | mostlyclean-am: mostlyclean-compile mostlyclean-generic \ | ||
602 | mostlyclean-libtool | ||
603 | |||
604 | pdf: pdf-am | ||
605 | |||
606 | pdf-am: | ||
607 | |||
608 | ps: ps-am | ||
609 | |||
610 | ps-am: | ||
611 | |||
612 | uninstall-am: uninstall-controllerLTLIBRARIES | ||
613 | @$(NORMAL_INSTALL) | ||
614 | $(MAKE) $(AM_MAKEFLAGS) uninstall-hook | ||
615 | .MAKE: install-am install-data-am install-strip uninstall-am | ||
616 | |||
617 | .PHONY: CTAGS GTAGS all all-am check check-am clean \ | ||
618 | clean-controllerLTLIBRARIES clean-generic clean-libtool \ | ||
619 | clean-local ctags distclean distclean-compile \ | ||
620 | distclean-generic distclean-libtool distclean-tags distdir dvi \ | ||
621 | dvi-am html html-am info info-am install install-am \ | ||
622 | install-controllerLTLIBRARIES install-data install-data-am \ | ||
623 | install-data-hook install-dvi install-dvi-am install-exec \ | ||
624 | install-exec-am install-html install-html-am install-info \ | ||
625 | install-info-am install-man install-pdf install-pdf-am \ | ||
626 | install-ps install-ps-am install-strip installcheck \ | ||
627 | installcheck-am installdirs maintainer-clean \ | ||
628 | maintainer-clean-generic mostlyclean mostlyclean-compile \ | ||
629 | mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ | ||
630 | tags uninstall uninstall-am uninstall-controllerLTLIBRARIES \ | ||
631 | uninstall-hook | ||
632 | |||
633 | |||
634 | install-data-hook: | ||
635 | rm -f $(DESTDIR)$(controllerdir)/$(controller_LTLIBRARIES) | ||
636 | uninstall-hook: | ||
637 | rm -f $(DESTDIR)$(controllerdir)/module.* | ||
638 | |||
639 | clean-local: | ||
640 | rm -rf *.gcno | ||
641 | |||
642 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | ||
643 | # Otherwise a system limit (for SysV at least) may be exceeded. | ||
644 | .NOEXPORT: | ||
diff --git a/libraries/eina/src/modules/mp/one_big/eina_one_big.c b/libraries/eina/src/modules/mp/one_big/eina_one_big.c new file mode 100644 index 0000000..dadec65 --- /dev/null +++ b/libraries/eina/src/modules/mp/one_big/eina_one_big.c | |||
@@ -0,0 +1,336 @@ | |||
1 | /* EINA - EFL data type library | ||
2 | * Copyright (C) 2010 Cedric BAIL, Vincent Torri | ||
3 | * | ||
4 | * This library is free software; you can redistribute it and/or | ||
5 | * modify it under the terms of the GNU Lesser General Public | ||
6 | * License as published by the Free Software Foundation; either | ||
7 | * version 2.1 of the License, or (at your option) any later version. | ||
8 | * | ||
9 | * This library is distributed in the hope that it will be useful, | ||
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
12 | * Lesser General Public License for more details. | ||
13 | * | ||
14 | * You should have received a copy of the GNU Lesser General Public | ||
15 | * License along with this library; | ||
16 | * if not, see <http://www.gnu.org/licenses/>. | ||
17 | */ | ||
18 | |||
19 | #ifdef HAVE_CONFIG_H | ||
20 | # include "config.h" | ||
21 | #endif | ||
22 | |||
23 | #include <stdlib.h> | ||
24 | #include <string.h> | ||
25 | |||
26 | #ifdef EFL_HAVE_POSIX_THREADS | ||
27 | # include <pthread.h> | ||
28 | #endif | ||
29 | |||
30 | #include <assert.h> | ||
31 | |||
32 | #ifdef EFL_HAVE_WIN32_THREADS | ||
33 | # define WIN32_LEAN_AND_MEAN | ||
34 | # include <windows.h> | ||
35 | # undef WIN32_LEAN_AND_MEAN | ||
36 | #endif | ||
37 | |||
38 | #include "eina_mempool.h" | ||
39 | #include "eina_trash.h" | ||
40 | #include "eina_inlist.h" | ||
41 | #include "eina_log.h" | ||
42 | #include "eina_lock.h" | ||
43 | |||
44 | #ifndef NVALGRIND | ||
45 | # include <valgrind/memcheck.h> | ||
46 | #endif | ||
47 | |||
48 | #include "eina_private.h" | ||
49 | |||
50 | #ifdef INF | ||
51 | #undef INF | ||
52 | #endif | ||
53 | #define INF(...) EINA_LOG_DOM_INFO(_eina_mempool_log_dom, __VA_ARGS__) | ||
54 | |||
55 | #ifdef WRN | ||
56 | #undef WRN | ||
57 | #endif | ||
58 | #define WRN(...) EINA_LOG_DOM_WARN(_eina_one_big_mp_log_dom, __VA_ARGS__) | ||
59 | |||
60 | static int _eina_one_big_mp_log_dom = -1; | ||
61 | |||
62 | typedef struct _One_Big One_Big; | ||
63 | struct _One_Big | ||
64 | { | ||
65 | const char *name; | ||
66 | |||
67 | int item_size; | ||
68 | |||
69 | int usage; | ||
70 | int over; | ||
71 | |||
72 | int served; | ||
73 | int max; | ||
74 | unsigned char *base; | ||
75 | |||
76 | Eina_Trash *empty; | ||
77 | Eina_Inlist *over_list; | ||
78 | |||
79 | #ifdef EFL_DEBUG_THREADS | ||
80 | pthread_t self; | ||
81 | #endif | ||
82 | Eina_Lock mutex; | ||
83 | }; | ||
84 | |||
85 | static void * | ||
86 | eina_one_big_malloc(void *data, __UNUSED__ unsigned int size) | ||
87 | { | ||
88 | One_Big *pool = data; | ||
89 | unsigned char *mem = NULL; | ||
90 | |||
91 | if (!eina_lock_take(&pool->mutex)) | ||
92 | { | ||
93 | #ifdef EFL_DEBUG_THREADS | ||
94 | assert(pthread_equal(pool->self, pthread_self())); | ||
95 | #endif | ||
96 | } | ||
97 | |||
98 | if (pool->empty) | ||
99 | { | ||
100 | #ifndef NVALGRIND | ||
101 | VALGRIND_MAKE_MEM_DEFINED(pool->empty, pool->item_size); | ||
102 | #endif | ||
103 | mem = eina_trash_pop(&pool->empty); | ||
104 | pool->usage++; | ||
105 | goto on_exit; | ||
106 | } | ||
107 | |||
108 | if (!pool->base) | ||
109 | { | ||
110 | pool->base = malloc(pool->item_size * pool->max); | ||
111 | if (!pool->base) | ||
112 | { | ||
113 | eina_error_set(EINA_ERROR_OUT_OF_MEMORY); | ||
114 | goto retry_smaller; | ||
115 | } | ||
116 | #ifndef NVALGRIND | ||
117 | VALGRIND_MAKE_MEM_NOACCESS(pool->base, pool->item_size * pool->max); | ||
118 | #endif | ||
119 | } | ||
120 | |||
121 | if (pool->served < pool->max) | ||
122 | { | ||
123 | mem = pool->base + (pool->served++ *pool->item_size); | ||
124 | pool->usage++; | ||
125 | goto on_exit; | ||
126 | } | ||
127 | |||
128 | retry_smaller: | ||
129 | eina_error_set(0); | ||
130 | mem = malloc(sizeof(Eina_Inlist) + pool->item_size); | ||
131 | if (!mem) | ||
132 | eina_error_set(EINA_ERROR_OUT_OF_MEMORY); | ||
133 | else | ||
134 | { | ||
135 | pool->over++; | ||
136 | memset(mem, 0, sizeof(Eina_Inlist)); | ||
137 | pool->over_list = eina_inlist_append(pool->over_list, | ||
138 | (Eina_Inlist *)mem); | ||
139 | mem = ((unsigned char *)mem) + sizeof(Eina_Inlist); | ||
140 | } | ||
141 | #ifndef NVALGRIND | ||
142 | VALGRIND_MAKE_MEM_NOACCESS(mem, pool->item_size); | ||
143 | #endif | ||
144 | |||
145 | on_exit: | ||
146 | eina_lock_release(&pool->mutex); | ||
147 | |||
148 | #ifndef NVALGRIND | ||
149 | VALGRIND_MEMPOOL_ALLOC(pool, mem, pool->item_size); | ||
150 | #endif | ||
151 | return mem; | ||
152 | } | ||
153 | |||
154 | static void | ||
155 | eina_one_big_free(void *data, void *ptr) | ||
156 | { | ||
157 | One_Big *pool = data; | ||
158 | |||
159 | if (!eina_lock_take(&pool->mutex)) | ||
160 | { | ||
161 | #ifdef EFL_DEBUG_THREADS | ||
162 | assert(pthread_equal(pool->self, pthread_self())); | ||
163 | #endif | ||
164 | } | ||
165 | |||
166 | if ((void *)pool->base <= ptr | ||
167 | && ptr < (void *)(pool->base + (pool->max * pool->item_size))) | ||
168 | { | ||
169 | eina_trash_push(&pool->empty, ptr); | ||
170 | pool->usage--; | ||
171 | } | ||
172 | else | ||
173 | { | ||
174 | #ifndef NDEBUG | ||
175 | Eina_Inlist *it; | ||
176 | #endif | ||
177 | Eina_Inlist *il; | ||
178 | |||
179 | il = (Eina_Inlist *)(((unsigned char *)ptr) - sizeof(Eina_Inlist)); | ||
180 | |||
181 | #ifndef NDEBUG | ||
182 | for (it = pool->over_list; it != NULL; it = it->next) | ||
183 | if (it == il) break; | ||
184 | |||
185 | assert(it != NULL); | ||
186 | #endif | ||
187 | |||
188 | pool->over_list = eina_inlist_remove(pool->over_list, il); | ||
189 | free(il); | ||
190 | pool->over--; | ||
191 | } | ||
192 | |||
193 | #ifndef NVALGRIND | ||
194 | VALGRIND_MEMPOOL_FREE(pool, ptr); | ||
195 | #endif | ||
196 | |||
197 | eina_lock_release(&pool->mutex); | ||
198 | } | ||
199 | |||
200 | static void * | ||
201 | eina_one_big_realloc(__UNUSED__ void *data, | ||
202 | __UNUSED__ void *element, | ||
203 | __UNUSED__ unsigned int size) | ||
204 | { | ||
205 | return NULL; | ||
206 | } | ||
207 | |||
208 | static void * | ||
209 | eina_one_big_init(const char *context, | ||
210 | __UNUSED__ const char *option, | ||
211 | va_list args) | ||
212 | { | ||
213 | One_Big *pool; | ||
214 | int item_size; | ||
215 | size_t length; | ||
216 | |||
217 | length = context ? strlen(context) + 1 : 0; | ||
218 | |||
219 | pool = calloc(1, sizeof (One_Big) + length); | ||
220 | if (!pool) | ||
221 | return NULL; | ||
222 | |||
223 | item_size = va_arg(args, int); | ||
224 | |||
225 | pool->item_size = eina_mempool_alignof(item_size); | ||
226 | pool->max = va_arg(args, int); | ||
227 | |||
228 | if (length) | ||
229 | { | ||
230 | pool->name = (const char *)(pool + 1); | ||
231 | memcpy((char *)pool->name, context, length); | ||
232 | } | ||
233 | |||
234 | #ifdef EFL_DEBUG_THREADS | ||
235 | pool->self = pthread_self(); | ||
236 | #endif | ||
237 | eina_lock_new(&pool->mutex); | ||
238 | |||
239 | #ifndef NVALGRIND | ||
240 | VALGRIND_CREATE_MEMPOOL(pool, 0, 1); | ||
241 | #endif | ||
242 | |||
243 | return pool; | ||
244 | } | ||
245 | |||
246 | static void | ||
247 | eina_one_big_shutdown(void *data) | ||
248 | { | ||
249 | One_Big *pool = data; | ||
250 | |||
251 | if (!pool) return; | ||
252 | if (!eina_lock_take(&pool->mutex)) | ||
253 | { | ||
254 | #ifdef EFL_DEBUG_THREADS | ||
255 | assert(pthread_equal(pool->self, pthread_self())); | ||
256 | #endif | ||
257 | } | ||
258 | |||
259 | if (pool->over > 0) | ||
260 | { | ||
261 | // FIXME: should we warn here? one_big mempool exceeded its alloc and now | ||
262 | // mempool is cleaning up the mess created. be quiet for now as we were before | ||
263 | // but edje seems to be a big offender at the moment! bad cedric! :) | ||
264 | // WRN( | ||
265 | // "Pool [%s] over by %i. cleaning up for you", | ||
266 | // pool->name, pool->over); | ||
267 | while (pool->over_list) | ||
268 | { | ||
269 | Eina_Inlist *il = pool->over_list; | ||
270 | pool->over_list = eina_inlist_remove(pool->over_list, il); | ||
271 | free(il); | ||
272 | pool->over--; | ||
273 | } | ||
274 | } | ||
275 | if (pool->over > 0) | ||
276 | { | ||
277 | WRN( | ||
278 | "Pool [%s] still over by %i\n", | ||
279 | pool->name, pool->over); | ||
280 | } | ||
281 | |||
282 | #ifndef NVALGRIND | ||
283 | VALGRIND_DESTROY_MEMPOOL(pool); | ||
284 | #endif | ||
285 | |||
286 | if (pool->base) free(pool->base); | ||
287 | |||
288 | eina_lock_release(&pool->mutex); | ||
289 | eina_lock_free(&pool->mutex); | ||
290 | free(pool); | ||
291 | } | ||
292 | |||
293 | |||
294 | static Eina_Mempool_Backend _eina_one_big_mp_backend = { | ||
295 | "one_big", | ||
296 | &eina_one_big_init, | ||
297 | &eina_one_big_free, | ||
298 | &eina_one_big_malloc, | ||
299 | &eina_one_big_realloc, | ||
300 | NULL, | ||
301 | NULL, | ||
302 | &eina_one_big_shutdown, | ||
303 | NULL | ||
304 | }; | ||
305 | |||
306 | Eina_Bool one_big_init(void) | ||
307 | { | ||
308 | #ifdef DEBUG | ||
309 | _eina_one_big_mp_log_dom = eina_log_domain_register("eina_one_big_mempool", | ||
310 | EINA_LOG_COLOR_DEFAULT); | ||
311 | if (_eina_one_big_mp_log_dom < 0) | ||
312 | { | ||
313 | EINA_LOG_ERR("Could not register log domain: eina_one_big_mempool"); | ||
314 | return EINA_FALSE; | ||
315 | } | ||
316 | |||
317 | #endif | ||
318 | return eina_mempool_register(&_eina_one_big_mp_backend); | ||
319 | } | ||
320 | |||
321 | void one_big_shutdown(void) | ||
322 | { | ||
323 | eina_mempool_unregister(&_eina_one_big_mp_backend); | ||
324 | #ifdef DEBUG | ||
325 | eina_log_domain_unregister(_eina_one_big_mp_log_dom); | ||
326 | _eina_one_big_mp_log_dom = -1; | ||
327 | #endif | ||
328 | } | ||
329 | |||
330 | #ifndef EINA_STATIC_BUILD_ONE_BIG | ||
331 | |||
332 | EINA_MODULE_INIT(one_big_init); | ||
333 | EINA_MODULE_SHUTDOWN(one_big_shutdown); | ||
334 | |||
335 | #endif /* ! EINA_STATIC_BUILD_ONE_BIG */ | ||
336 | |||
diff --git a/libraries/eina/src/modules/mp/pass_through/Makefile.am b/libraries/eina/src/modules/mp/pass_through/Makefile.am new file mode 100644 index 0000000..8f48974 --- /dev/null +++ b/libraries/eina/src/modules/mp/pass_through/Makefile.am | |||
@@ -0,0 +1,29 @@ | |||
1 | MAINTAINERCLEANFILES = Makefile.in | ||
2 | |||
3 | AM_CPPFLAGS = \ | ||
4 | -I. \ | ||
5 | -I$(top_srcdir)/src/include \ | ||
6 | -I$(top_builddir)/src/include \ | ||
7 | -I$(top_srcdir)/src/lib \ | ||
8 | -I$(top_builddir)/src/lib \ | ||
9 | @EINA_CPPFLAGS@ \ | ||
10 | @EFL_EINA_BUILD@ | ||
11 | |||
12 | controllerdir = $(libdir)//eina/modules/mp/pass_through/$(MODULE_ARCH) | ||
13 | controller_LTLIBRARIES = module.la | ||
14 | |||
15 | module_la_SOURCES = \ | ||
16 | eina_pass_through.c | ||
17 | |||
18 | module_la_CFLAGS = @EINA_CFLAGS@ | ||
19 | module_la_LIBADD = $(top_builddir)/src/lib/libeina.la @EINA_LIBS@ | ||
20 | module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version | ||
21 | module_la_LIBTOOLFLAGS = --tag=disable-static | ||
22 | |||
23 | install-data-hook: | ||
24 | rm -f $(DESTDIR)$(controllerdir)/$(controller_LTLIBRARIES) | ||
25 | uninstall-hook: | ||
26 | rm -f $(DESTDIR)$(controllerdir)/module.* | ||
27 | |||
28 | clean-local: | ||
29 | rm -rf *.gcno | ||
diff --git a/libraries/eina/src/modules/mp/pass_through/Makefile.in b/libraries/eina/src/modules/mp/pass_through/Makefile.in new file mode 100644 index 0000000..01e7b51 --- /dev/null +++ b/libraries/eina/src/modules/mp/pass_through/Makefile.in | |||
@@ -0,0 +1,643 @@ | |||
1 | # Makefile.in generated by automake 1.11.1 from Makefile.am. | ||
2 | # @configure_input@ | ||
3 | |||
4 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | ||
5 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, | ||
6 | # Inc. | ||
7 | # This Makefile.in is free software; the Free Software Foundation | ||
8 | # gives unlimited permission to copy and/or distribute it, | ||
9 | # with or without modifications, as long as this notice is preserved. | ||
10 | |||
11 | # This program is distributed in the hope that it will be useful, | ||
12 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without | ||
13 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A | ||
14 | # PARTICULAR PURPOSE. | ||
15 | |||
16 | @SET_MAKE@ | ||
17 | |||
18 | VPATH = @srcdir@ | ||
19 | pkgdatadir = $(datadir)/@PACKAGE@ | ||
20 | pkgincludedir = $(includedir)/@PACKAGE@ | ||
21 | pkglibdir = $(libdir)/@PACKAGE@ | ||
22 | pkglibexecdir = $(libexecdir)/@PACKAGE@ | ||
23 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | ||
24 | install_sh_DATA = $(install_sh) -c -m 644 | ||
25 | install_sh_PROGRAM = $(install_sh) -c | ||
26 | install_sh_SCRIPT = $(install_sh) -c | ||
27 | INSTALL_HEADER = $(INSTALL_DATA) | ||
28 | transform = $(program_transform_name) | ||
29 | NORMAL_INSTALL = : | ||
30 | PRE_INSTALL = : | ||
31 | POST_INSTALL = : | ||
32 | NORMAL_UNINSTALL = : | ||
33 | PRE_UNINSTALL = : | ||
34 | POST_UNINSTALL = : | ||
35 | build_triplet = @build@ | ||
36 | host_triplet = @host@ | ||
37 | subdir = src/modules/mp/pass_through | ||
38 | DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in | ||
39 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | ||
40 | am__aclocal_m4_deps = $(top_srcdir)/m4/efl_attribute.m4 \ | ||
41 | $(top_srcdir)/m4/efl_benchmark.m4 \ | ||
42 | $(top_srcdir)/m4/efl_compiler_flag.m4 \ | ||
43 | $(top_srcdir)/m4/efl_coverage.m4 $(top_srcdir)/m4/efl_cpu.m4 \ | ||
44 | $(top_srcdir)/m4/efl_doxygen.m4 \ | ||
45 | $(top_srcdir)/m4/efl_examples.m4 \ | ||
46 | $(top_srcdir)/m4/efl_fnmatch.m4 \ | ||
47 | $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ | ||
48 | $(top_srcdir)/m4/efl_threads.m4 \ | ||
49 | $(top_srcdir)/m4/efl_voltron.m4 $(top_srcdir)/m4/eina_bench.m4 \ | ||
50 | $(top_srcdir)/m4/eina_check.m4 $(top_srcdir)/m4/libtool.m4 \ | ||
51 | $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ | ||
52 | $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ | ||
53 | $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac | ||
54 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | ||
55 | $(ACLOCAL_M4) | ||
56 | mkinstalldirs = $(install_sh) -d | ||
57 | CONFIG_HEADER = $(top_builddir)/config.h | ||
58 | CONFIG_CLEAN_FILES = | ||
59 | CONFIG_CLEAN_VPATH_FILES = | ||
60 | am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; | ||
61 | am__vpath_adj = case $$p in \ | ||
62 | $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ | ||
63 | *) f=$$p;; \ | ||
64 | esac; | ||
65 | am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; | ||
66 | am__install_max = 40 | ||
67 | am__nobase_strip_setup = \ | ||
68 | srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` | ||
69 | am__nobase_strip = \ | ||
70 | for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" | ||
71 | am__nobase_list = $(am__nobase_strip_setup); \ | ||
72 | for p in $$list; do echo "$$p $$p"; done | \ | ||
73 | sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ | ||
74 | $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ | ||
75 | if (++n[$$2] == $(am__install_max)) \ | ||
76 | { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ | ||
77 | END { for (dir in files) print dir, files[dir] }' | ||
78 | am__base_list = \ | ||
79 | sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ | ||
80 | sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | ||
81 | am__installdirs = "$(DESTDIR)$(controllerdir)" | ||
82 | LTLIBRARIES = $(controller_LTLIBRARIES) | ||
83 | module_la_DEPENDENCIES = $(top_builddir)/src/lib/libeina.la | ||
84 | am_module_la_OBJECTS = module_la-eina_pass_through.lo | ||
85 | module_la_OBJECTS = $(am_module_la_OBJECTS) | ||
86 | AM_V_lt = $(am__v_lt_$(V)) | ||
87 | am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) | ||
88 | am__v_lt_0 = --silent | ||
89 | module_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ | ||
90 | $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ | ||
91 | $(module_la_CFLAGS) $(CFLAGS) $(module_la_LDFLAGS) $(LDFLAGS) \ | ||
92 | -o $@ | ||
93 | DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) | ||
94 | depcomp = $(SHELL) $(top_srcdir)/depcomp | ||
95 | am__depfiles_maybe = depfiles | ||
96 | am__mv = mv -f | ||
97 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ | ||
98 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | ||
99 | LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ | ||
100 | $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ | ||
101 | $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ | ||
102 | $(AM_CFLAGS) $(CFLAGS) | ||
103 | AM_V_CC = $(am__v_CC_$(V)) | ||
104 | am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) | ||
105 | am__v_CC_0 = @echo " CC " $@; | ||
106 | AM_V_at = $(am__v_at_$(V)) | ||
107 | am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) | ||
108 | am__v_at_0 = @ | ||
109 | CCLD = $(CC) | ||
110 | LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ | ||
111 | $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ | ||
112 | $(AM_LDFLAGS) $(LDFLAGS) -o $@ | ||
113 | AM_V_CCLD = $(am__v_CCLD_$(V)) | ||
114 | am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) | ||
115 | am__v_CCLD_0 = @echo " CCLD " $@; | ||
116 | AM_V_GEN = $(am__v_GEN_$(V)) | ||
117 | am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) | ||
118 | am__v_GEN_0 = @echo " GEN " $@; | ||
119 | SOURCES = $(module_la_SOURCES) | ||
120 | DIST_SOURCES = $(module_la_SOURCES) | ||
121 | ETAGS = etags | ||
122 | CTAGS = ctags | ||
123 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
124 | ACLOCAL = @ACLOCAL@ | ||
125 | ALLOCA = @ALLOCA@ | ||
126 | AMTAR = @AMTAR@ | ||
127 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | ||
128 | AR = @AR@ | ||
129 | AS = @AS@ | ||
130 | AUTOCONF = @AUTOCONF@ | ||
131 | AUTOHEADER = @AUTOHEADER@ | ||
132 | AUTOMAKE = @AUTOMAKE@ | ||
133 | AWK = @AWK@ | ||
134 | CC = @CC@ | ||
135 | CCDEPMODE = @CCDEPMODE@ | ||
136 | CFLAGS = @CFLAGS@ | ||
137 | CHECK_CFLAGS = @CHECK_CFLAGS@ | ||
138 | CHECK_LIBS = @CHECK_LIBS@ | ||
139 | CPP = @CPP@ | ||
140 | CPPFLAGS = @CPPFLAGS@ | ||
141 | CXX = @CXX@ | ||
142 | CXXCPP = @CXXCPP@ | ||
143 | CXXDEPMODE = @CXXDEPMODE@ | ||
144 | CXXFLAGS = @CXXFLAGS@ | ||
145 | CYGPATH_W = @CYGPATH_W@ | ||
146 | DEFS = @DEFS@ | ||
147 | DEPDIR = @DEPDIR@ | ||
148 | DLLTOOL = @DLLTOOL@ | ||
149 | DSYMUTIL = @DSYMUTIL@ | ||
150 | DUMPBIN = @DUMPBIN@ | ||
151 | ECHO_C = @ECHO_C@ | ||
152 | ECHO_N = @ECHO_N@ | ||
153 | ECHO_T = @ECHO_T@ | ||
154 | ECORE_EVAS_CFLAGS = @ECORE_EVAS_CFLAGS@ | ||
155 | ECORE_EVAS_LIBS = @ECORE_EVAS_LIBS@ | ||
156 | EFL_COVERAGE_CFLAGS = @EFL_COVERAGE_CFLAGS@ | ||
157 | EFL_COVERAGE_LIBS = @EFL_COVERAGE_LIBS@ | ||
158 | EFL_EINA_BUILD = @EFL_EINA_BUILD@ | ||
159 | EFL_FNMATCH_LIBS = @EFL_FNMATCH_LIBS@ | ||
160 | EFL_PTHREAD_CFLAGS = @EFL_PTHREAD_CFLAGS@ | ||
161 | EFL_PTHREAD_LIBS = @EFL_PTHREAD_LIBS@ | ||
162 | EFL_SIMD_FLAGS = @EFL_SIMD_FLAGS@ | ||
163 | EGREP = @EGREP@ | ||
164 | EINA_CFLAGS = @EINA_CFLAGS@ | ||
165 | EINA_CONFIGURE_DEFAULT_MEMPOOL = @EINA_CONFIGURE_DEFAULT_MEMPOOL@ | ||
166 | EINA_CONFIGURE_HAVE_DEBUG_THREADS = @EINA_CONFIGURE_HAVE_DEBUG_THREADS@ | ||
167 | EINA_CONFIGURE_HAVE_INTTYPES_H = @EINA_CONFIGURE_HAVE_INTTYPES_H@ | ||
168 | EINA_CONFIGURE_HAVE_ON_OFF_THREADS = @EINA_CONFIGURE_HAVE_ON_OFF_THREADS@ | ||
169 | EINA_CONFIGURE_HAVE_STDINT_H = @EINA_CONFIGURE_HAVE_STDINT_H@ | ||
170 | EINA_CONFIGURE_HAVE_THREADS = @EINA_CONFIGURE_HAVE_THREADS@ | ||
171 | EINA_CONFIGURE_MAGIC_DEBUG = @EINA_CONFIGURE_MAGIC_DEBUG@ | ||
172 | EINA_CONFIGURE_SAFETY_CHECKS = @EINA_CONFIGURE_SAFETY_CHECKS@ | ||
173 | EINA_CPPFLAGS = @EINA_CPPFLAGS@ | ||
174 | EINA_LIBS = @EINA_LIBS@ | ||
175 | EINA_SIZEOF_WCHAR_T = @EINA_SIZEOF_WCHAR_T@ | ||
176 | EMEMOA_CFLAGS = @EMEMOA_CFLAGS@ | ||
177 | EMEMOA_LIBS = @EMEMOA_LIBS@ | ||
178 | ESCAPE_CFLAGS = @ESCAPE_CFLAGS@ | ||
179 | ESCAPE_LIBS = @ESCAPE_LIBS@ | ||
180 | EVIL_CFLAGS = @EVIL_CFLAGS@ | ||
181 | EVIL_LIBS = @EVIL_LIBS@ | ||
182 | EXEEXT = @EXEEXT@ | ||
183 | FGREP = @FGREP@ | ||
184 | GLIB_CFLAGS = @GLIB_CFLAGS@ | ||
185 | GLIB_LIBS = @GLIB_LIBS@ | ||
186 | GREP = @GREP@ | ||
187 | INSTALL = @INSTALL@ | ||
188 | INSTALL_DATA = @INSTALL_DATA@ | ||
189 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | ||
190 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | ||
191 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | ||
192 | LD = @LD@ | ||
193 | LDFLAGS = @LDFLAGS@ | ||
194 | LIBOBJS = @LIBOBJS@ | ||
195 | LIBS = @LIBS@ | ||
196 | LIBTOOL = @LIBTOOL@ | ||
197 | LIPO = @LIPO@ | ||
198 | LN_S = @LN_S@ | ||
199 | LTLIBOBJS = @LTLIBOBJS@ | ||
200 | MAKEINFO = @MAKEINFO@ | ||
201 | MKDIR_P = @MKDIR_P@ | ||
202 | MODULE_ARCH = @MODULE_ARCH@ | ||
203 | NM = @NM@ | ||
204 | NMEDIT = @NMEDIT@ | ||
205 | OBJDUMP = @OBJDUMP@ | ||
206 | OBJEXT = @OBJEXT@ | ||
207 | OTOOL = @OTOOL@ | ||
208 | OTOOL64 = @OTOOL64@ | ||
209 | PACKAGE = @PACKAGE@ | ||
210 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | ||
211 | PACKAGE_NAME = @PACKAGE_NAME@ | ||
212 | PACKAGE_STRING = @PACKAGE_STRING@ | ||
213 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | ||
214 | PACKAGE_URL = @PACKAGE_URL@ | ||
215 | PACKAGE_VERSION = @PACKAGE_VERSION@ | ||
216 | PATH_SEPARATOR = @PATH_SEPARATOR@ | ||
217 | PKG_CONFIG = @PKG_CONFIG@ | ||
218 | PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ | ||
219 | PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ | ||
220 | RANLIB = @RANLIB@ | ||
221 | SED = @SED@ | ||
222 | SET_MAKE = @SET_MAKE@ | ||
223 | SHELL = @SHELL@ | ||
224 | STRIP = @STRIP@ | ||
225 | VALGRIND_CFLAGS = @VALGRIND_CFLAGS@ | ||
226 | VALGRIND_LIBS = @VALGRIND_LIBS@ | ||
227 | VERSION = @VERSION@ | ||
228 | VMAJ = @VMAJ@ | ||
229 | abs_builddir = @abs_builddir@ | ||
230 | abs_srcdir = @abs_srcdir@ | ||
231 | abs_top_builddir = @abs_top_builddir@ | ||
232 | abs_top_srcdir = @abs_top_srcdir@ | ||
233 | ac_ct_CC = @ac_ct_CC@ | ||
234 | ac_ct_CXX = @ac_ct_CXX@ | ||
235 | ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ | ||
236 | am__include = @am__include@ | ||
237 | am__leading_dot = @am__leading_dot@ | ||
238 | am__quote = @am__quote@ | ||
239 | am__tar = @am__tar@ | ||
240 | am__untar = @am__untar@ | ||
241 | bindir = @bindir@ | ||
242 | build = @build@ | ||
243 | build_alias = @build_alias@ | ||
244 | build_cpu = @build_cpu@ | ||
245 | build_os = @build_os@ | ||
246 | build_vendor = @build_vendor@ | ||
247 | builddir = @builddir@ | ||
248 | datadir = @datadir@ | ||
249 | datarootdir = @datarootdir@ | ||
250 | dlopen_libs = @dlopen_libs@ | ||
251 | docdir = @docdir@ | ||
252 | dvidir = @dvidir@ | ||
253 | efl_doxygen = @efl_doxygen@ | ||
254 | efl_have_doxygen = @efl_have_doxygen@ | ||
255 | exec_prefix = @exec_prefix@ | ||
256 | have_lcov = @have_lcov@ | ||
257 | host = @host@ | ||
258 | host_alias = @host_alias@ | ||
259 | host_cpu = @host_cpu@ | ||
260 | host_os = @host_os@ | ||
261 | host_vendor = @host_vendor@ | ||
262 | htmldir = @htmldir@ | ||
263 | iconv_libs = @iconv_libs@ | ||
264 | includedir = @includedir@ | ||
265 | infodir = @infodir@ | ||
266 | install_sh = @install_sh@ | ||
267 | libdir = @libdir@ | ||
268 | libexecdir = @libexecdir@ | ||
269 | localedir = @localedir@ | ||
270 | localstatedir = @localstatedir@ | ||
271 | lt_ECHO = @lt_ECHO@ | ||
272 | lt_enable_auto_import = @lt_enable_auto_import@ | ||
273 | mandir = @mandir@ | ||
274 | mkdir_p = @mkdir_p@ | ||
275 | oldincludedir = @oldincludedir@ | ||
276 | pdfdir = @pdfdir@ | ||
277 | pkgconfig_requires_private = @pkgconfig_requires_private@ | ||
278 | prefix = @prefix@ | ||
279 | program_transform_name = @program_transform_name@ | ||
280 | psdir = @psdir@ | ||
281 | release_info = @release_info@ | ||
282 | requirement_eina = @requirement_eina@ | ||
283 | rt_libs = @rt_libs@ | ||
284 | sbindir = @sbindir@ | ||
285 | sharedstatedir = @sharedstatedir@ | ||
286 | srcdir = @srcdir@ | ||
287 | sysconfdir = @sysconfdir@ | ||
288 | target_alias = @target_alias@ | ||
289 | top_build_prefix = @top_build_prefix@ | ||
290 | top_builddir = @top_builddir@ | ||
291 | top_srcdir = @top_srcdir@ | ||
292 | version_info = @version_info@ | ||
293 | MAINTAINERCLEANFILES = Makefile.in | ||
294 | AM_CPPFLAGS = \ | ||
295 | -I. \ | ||
296 | -I$(top_srcdir)/src/include \ | ||
297 | -I$(top_builddir)/src/include \ | ||
298 | -I$(top_srcdir)/src/lib \ | ||
299 | -I$(top_builddir)/src/lib \ | ||
300 | @EINA_CPPFLAGS@ \ | ||
301 | @EFL_EINA_BUILD@ | ||
302 | |||
303 | controllerdir = $(libdir)//eina/modules/mp/pass_through/$(MODULE_ARCH) | ||
304 | controller_LTLIBRARIES = module.la | ||
305 | module_la_SOURCES = \ | ||
306 | eina_pass_through.c | ||
307 | |||
308 | module_la_CFLAGS = @EINA_CFLAGS@ | ||
309 | module_la_LIBADD = $(top_builddir)/src/lib/libeina.la @EINA_LIBS@ | ||
310 | module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version | ||
311 | module_la_LIBTOOLFLAGS = --tag=disable-static | ||
312 | all: all-am | ||
313 | |||
314 | .SUFFIXES: | ||
315 | .SUFFIXES: .c .lo .o .obj | ||
316 | $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) | ||
317 | @for dep in $?; do \ | ||
318 | case '$(am__configure_deps)' in \ | ||
319 | *$$dep*) \ | ||
320 | ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ | ||
321 | && { if test -f $@; then exit 0; else break; fi; }; \ | ||
322 | exit 1;; \ | ||
323 | esac; \ | ||
324 | done; \ | ||
325 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/modules/mp/pass_through/Makefile'; \ | ||
326 | $(am__cd) $(top_srcdir) && \ | ||
327 | $(AUTOMAKE) --gnu src/modules/mp/pass_through/Makefile | ||
328 | .PRECIOUS: Makefile | ||
329 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | ||
330 | @case '$?' in \ | ||
331 | *config.status*) \ | ||
332 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ | ||
333 | *) \ | ||
334 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ | ||
335 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ | ||
336 | esac; | ||
337 | |||
338 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | ||
339 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
340 | |||
341 | $(top_srcdir)/configure: $(am__configure_deps) | ||
342 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
343 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) | ||
344 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
345 | $(am__aclocal_m4_deps): | ||
346 | install-controllerLTLIBRARIES: $(controller_LTLIBRARIES) | ||
347 | @$(NORMAL_INSTALL) | ||
348 | test -z "$(controllerdir)" || $(MKDIR_P) "$(DESTDIR)$(controllerdir)" | ||
349 | @list='$(controller_LTLIBRARIES)'; test -n "$(controllerdir)" || list=; \ | ||
350 | list2=; for p in $$list; do \ | ||
351 | if test -f $$p; then \ | ||
352 | list2="$$list2 $$p"; \ | ||
353 | else :; fi; \ | ||
354 | done; \ | ||
355 | test -z "$$list2" || { \ | ||
356 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(controllerdir)'"; \ | ||
357 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(controllerdir)"; \ | ||
358 | } | ||
359 | |||
360 | uninstall-controllerLTLIBRARIES: | ||
361 | @$(NORMAL_UNINSTALL) | ||
362 | @list='$(controller_LTLIBRARIES)'; test -n "$(controllerdir)" || list=; \ | ||
363 | for p in $$list; do \ | ||
364 | $(am__strip_dir) \ | ||
365 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(controllerdir)/$$f'"; \ | ||
366 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(controllerdir)/$$f"; \ | ||
367 | done | ||
368 | |||
369 | clean-controllerLTLIBRARIES: | ||
370 | -test -z "$(controller_LTLIBRARIES)" || rm -f $(controller_LTLIBRARIES) | ||
371 | @list='$(controller_LTLIBRARIES)'; for p in $$list; do \ | ||
372 | dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ | ||
373 | test "$$dir" != "$$p" || dir=.; \ | ||
374 | echo "rm -f \"$${dir}/so_locations\""; \ | ||
375 | rm -f "$${dir}/so_locations"; \ | ||
376 | done | ||
377 | module.la: $(module_la_OBJECTS) $(module_la_DEPENDENCIES) | ||
378 | $(AM_V_CCLD)$(module_la_LINK) -rpath $(controllerdir) $(module_la_OBJECTS) $(module_la_LIBADD) $(LIBS) | ||
379 | |||
380 | mostlyclean-compile: | ||
381 | -rm -f *.$(OBJEXT) | ||
382 | |||
383 | distclean-compile: | ||
384 | -rm -f *.tab.c | ||
385 | |||
386 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/module_la-eina_pass_through.Plo@am__quote@ | ||
387 | |||
388 | .c.o: | ||
389 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | ||
390 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | ||
391 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
392 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | ||
393 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
394 | @am__fastdepCC_FALSE@ $(COMPILE) -c $< | ||
395 | |||
396 | .c.obj: | ||
397 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | ||
398 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | ||
399 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
400 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | ||
401 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
402 | @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` | ||
403 | |||
404 | .c.lo: | ||
405 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | ||
406 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo | ||
407 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
408 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ | ||
409 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
410 | @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< | ||
411 | |||
412 | module_la-eina_pass_through.lo: eina_pass_through.c | ||
413 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(module_la_CFLAGS) $(CFLAGS) -MT module_la-eina_pass_through.lo -MD -MP -MF $(DEPDIR)/module_la-eina_pass_through.Tpo -c -o module_la-eina_pass_through.lo `test -f 'eina_pass_through.c' || echo '$(srcdir)/'`eina_pass_through.c | ||
414 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/module_la-eina_pass_through.Tpo $(DEPDIR)/module_la-eina_pass_through.Plo | ||
415 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
416 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='eina_pass_through.c' object='module_la-eina_pass_through.lo' libtool=yes @AMDEPBACKSLASH@ | ||
417 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
418 | @am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(module_la_CFLAGS) $(CFLAGS) -c -o module_la-eina_pass_through.lo `test -f 'eina_pass_through.c' || echo '$(srcdir)/'`eina_pass_through.c | ||
419 | |||
420 | mostlyclean-libtool: | ||
421 | -rm -f *.lo | ||
422 | |||
423 | clean-libtool: | ||
424 | -rm -rf .libs _libs | ||
425 | |||
426 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | ||
427 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
428 | unique=`for i in $$list; do \ | ||
429 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
430 | done | \ | ||
431 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
432 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
433 | mkid -fID $$unique | ||
434 | tags: TAGS | ||
435 | |||
436 | TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | ||
437 | $(TAGS_FILES) $(LISP) | ||
438 | set x; \ | ||
439 | here=`pwd`; \ | ||
440 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
441 | unique=`for i in $$list; do \ | ||
442 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
443 | done | \ | ||
444 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
445 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
446 | shift; \ | ||
447 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ | ||
448 | test -n "$$unique" || unique=$$empty_fix; \ | ||
449 | if test $$# -gt 0; then \ | ||
450 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
451 | "$$@" $$unique; \ | ||
452 | else \ | ||
453 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
454 | $$unique; \ | ||
455 | fi; \ | ||
456 | fi | ||
457 | ctags: CTAGS | ||
458 | CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | ||
459 | $(TAGS_FILES) $(LISP) | ||
460 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
461 | unique=`for i in $$list; do \ | ||
462 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
463 | done | \ | ||
464 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
465 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
466 | test -z "$(CTAGS_ARGS)$$unique" \ | ||
467 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ | ||
468 | $$unique | ||
469 | |||
470 | GTAGS: | ||
471 | here=`$(am__cd) $(top_builddir) && pwd` \ | ||
472 | && $(am__cd) $(top_srcdir) \ | ||
473 | && gtags -i $(GTAGS_ARGS) "$$here" | ||
474 | |||
475 | distclean-tags: | ||
476 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
477 | |||
478 | distdir: $(DISTFILES) | ||
479 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
480 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
481 | list='$(DISTFILES)'; \ | ||
482 | dist_files=`for file in $$list; do echo $$file; done | \ | ||
483 | sed -e "s|^$$srcdirstrip/||;t" \ | ||
484 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | ||
485 | case $$dist_files in \ | ||
486 | */*) $(MKDIR_P) `echo "$$dist_files" | \ | ||
487 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | ||
488 | sort -u` ;; \ | ||
489 | esac; \ | ||
490 | for file in $$dist_files; do \ | ||
491 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | ||
492 | if test -d $$d/$$file; then \ | ||
493 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | ||
494 | if test -d "$(distdir)/$$file"; then \ | ||
495 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
496 | fi; \ | ||
497 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | ||
498 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | ||
499 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
500 | fi; \ | ||
501 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | ||
502 | else \ | ||
503 | test -f "$(distdir)/$$file" \ | ||
504 | || cp -p $$d/$$file "$(distdir)/$$file" \ | ||
505 | || exit 1; \ | ||
506 | fi; \ | ||
507 | done | ||
508 | check-am: all-am | ||
509 | check: check-am | ||
510 | all-am: Makefile $(LTLIBRARIES) | ||
511 | installdirs: | ||
512 | for dir in "$(DESTDIR)$(controllerdir)"; do \ | ||
513 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ | ||
514 | done | ||
515 | install: install-am | ||
516 | install-exec: install-exec-am | ||
517 | install-data: install-data-am | ||
518 | uninstall: uninstall-am | ||
519 | |||
520 | install-am: all-am | ||
521 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | ||
522 | |||
523 | installcheck: installcheck-am | ||
524 | install-strip: | ||
525 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||
526 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||
527 | `test -z '$(STRIP)' || \ | ||
528 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install | ||
529 | mostlyclean-generic: | ||
530 | |||
531 | clean-generic: | ||
532 | |||
533 | distclean-generic: | ||
534 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | ||
535 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | ||
536 | |||
537 | maintainer-clean-generic: | ||
538 | @echo "This command is intended for maintainers to use" | ||
539 | @echo "it deletes files that may require special tools to rebuild." | ||
540 | -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) | ||
541 | clean: clean-am | ||
542 | |||
543 | clean-am: clean-controllerLTLIBRARIES clean-generic clean-libtool \ | ||
544 | clean-local mostlyclean-am | ||
545 | |||
546 | distclean: distclean-am | ||
547 | -rm -rf ./$(DEPDIR) | ||
548 | -rm -f Makefile | ||
549 | distclean-am: clean-am distclean-compile distclean-generic \ | ||
550 | distclean-tags | ||
551 | |||
552 | dvi: dvi-am | ||
553 | |||
554 | dvi-am: | ||
555 | |||
556 | html: html-am | ||
557 | |||
558 | html-am: | ||
559 | |||
560 | info: info-am | ||
561 | |||
562 | info-am: | ||
563 | |||
564 | install-data-am: install-controllerLTLIBRARIES | ||
565 | @$(NORMAL_INSTALL) | ||
566 | $(MAKE) $(AM_MAKEFLAGS) install-data-hook | ||
567 | install-dvi: install-dvi-am | ||
568 | |||
569 | install-dvi-am: | ||
570 | |||
571 | install-exec-am: | ||
572 | |||
573 | install-html: install-html-am | ||
574 | |||
575 | install-html-am: | ||
576 | |||
577 | install-info: install-info-am | ||
578 | |||
579 | install-info-am: | ||
580 | |||
581 | install-man: | ||
582 | |||
583 | install-pdf: install-pdf-am | ||
584 | |||
585 | install-pdf-am: | ||
586 | |||
587 | install-ps: install-ps-am | ||
588 | |||
589 | install-ps-am: | ||
590 | |||
591 | installcheck-am: | ||
592 | |||
593 | maintainer-clean: maintainer-clean-am | ||
594 | -rm -rf ./$(DEPDIR) | ||
595 | -rm -f Makefile | ||
596 | maintainer-clean-am: distclean-am maintainer-clean-generic | ||
597 | |||
598 | mostlyclean: mostlyclean-am | ||
599 | |||
600 | mostlyclean-am: mostlyclean-compile mostlyclean-generic \ | ||
601 | mostlyclean-libtool | ||
602 | |||
603 | pdf: pdf-am | ||
604 | |||
605 | pdf-am: | ||
606 | |||
607 | ps: ps-am | ||
608 | |||
609 | ps-am: | ||
610 | |||
611 | uninstall-am: uninstall-controllerLTLIBRARIES | ||
612 | @$(NORMAL_INSTALL) | ||
613 | $(MAKE) $(AM_MAKEFLAGS) uninstall-hook | ||
614 | .MAKE: install-am install-data-am install-strip uninstall-am | ||
615 | |||
616 | .PHONY: CTAGS GTAGS all all-am check check-am clean \ | ||
617 | clean-controllerLTLIBRARIES clean-generic clean-libtool \ | ||
618 | clean-local ctags distclean distclean-compile \ | ||
619 | distclean-generic distclean-libtool distclean-tags distdir dvi \ | ||
620 | dvi-am html html-am info info-am install install-am \ | ||
621 | install-controllerLTLIBRARIES install-data install-data-am \ | ||
622 | install-data-hook install-dvi install-dvi-am install-exec \ | ||
623 | install-exec-am install-html install-html-am install-info \ | ||
624 | install-info-am install-man install-pdf install-pdf-am \ | ||
625 | install-ps install-ps-am install-strip installcheck \ | ||
626 | installcheck-am installdirs maintainer-clean \ | ||
627 | maintainer-clean-generic mostlyclean mostlyclean-compile \ | ||
628 | mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ | ||
629 | tags uninstall uninstall-am uninstall-controllerLTLIBRARIES \ | ||
630 | uninstall-hook | ||
631 | |||
632 | |||
633 | install-data-hook: | ||
634 | rm -f $(DESTDIR)$(controllerdir)/$(controller_LTLIBRARIES) | ||
635 | uninstall-hook: | ||
636 | rm -f $(DESTDIR)$(controllerdir)/module.* | ||
637 | |||
638 | clean-local: | ||
639 | rm -rf *.gcno | ||
640 | |||
641 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | ||
642 | # Otherwise a system limit (for SysV at least) may be exceeded. | ||
643 | .NOEXPORT: | ||
diff --git a/libraries/eina/src/modules/mp/pass_through/eina_pass_through.c b/libraries/eina/src/modules/mp/pass_through/eina_pass_through.c new file mode 100644 index 0000000..196868e --- /dev/null +++ b/libraries/eina/src/modules/mp/pass_through/eina_pass_through.c | |||
@@ -0,0 +1,90 @@ | |||
1 | /* EINA - EFL data type library | ||
2 | * Copyright (C) 2008 Cedric BAIL | ||
3 | * | ||
4 | * This library is free software; you can redistribute it and/or | ||
5 | * modify it under the terms of the GNU Lesser General Public | ||
6 | * License as published by the Free Software Foundation; either | ||
7 | * version 2.1 of the License, or (at your option) any later version. | ||
8 | * | ||
9 | * This library is distributed in the hope that it will be useful, | ||
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
12 | * Lesser General Public License for more details. | ||
13 | * | ||
14 | * You should have received a copy of the GNU Lesser General Public | ||
15 | * License along with this library; | ||
16 | * if not, see <http://www.gnu.org/licenses/>. | ||
17 | */ | ||
18 | |||
19 | #ifdef HAVE_CONFIG_H | ||
20 | # include "config.h" | ||
21 | #endif | ||
22 | |||
23 | #include <stdlib.h> | ||
24 | |||
25 | #include "eina_types.h" | ||
26 | #include "eina_module.h" | ||
27 | #include "eina_mempool.h" | ||
28 | #include "eina_private.h" | ||
29 | |||
30 | static void * | ||
31 | eina_pass_through_malloc(__UNUSED__ void *data, unsigned int size) | ||
32 | { | ||
33 | return malloc(size); | ||
34 | } | ||
35 | |||
36 | static void | ||
37 | eina_pass_through_free(__UNUSED__ void *data, void *ptr) | ||
38 | { | ||
39 | free(ptr); | ||
40 | } | ||
41 | |||
42 | static void * | ||
43 | eina_pass_through_realloc(__UNUSED__ void *data, void *ptr, unsigned int size) | ||
44 | { | ||
45 | return realloc(ptr, size); | ||
46 | } | ||
47 | |||
48 | static void * | ||
49 | eina_pass_through_init(__UNUSED__ const char *context, | ||
50 | __UNUSED__ const char *option, | ||
51 | __UNUSED__ va_list args) | ||
52 | { | ||
53 | return (void *)0x1; | ||
54 | } | ||
55 | |||
56 | static void | ||
57 | eina_pass_through_shutdown(__UNUSED__ void *data) | ||
58 | { | ||
59 | } | ||
60 | |||
61 | |||
62 | static Eina_Mempool_Backend _eina_pass_through_mp_backend = { | ||
63 | "pass_through", | ||
64 | &eina_pass_through_init, | ||
65 | &eina_pass_through_free, | ||
66 | &eina_pass_through_malloc, | ||
67 | &eina_pass_through_realloc, | ||
68 | NULL, | ||
69 | NULL, | ||
70 | &eina_pass_through_shutdown, | ||
71 | NULL | ||
72 | }; | ||
73 | |||
74 | Eina_Bool pass_through_init(void) | ||
75 | { | ||
76 | return eina_mempool_register(&_eina_pass_through_mp_backend); | ||
77 | } | ||
78 | |||
79 | void pass_through_shutdown(void) | ||
80 | { | ||
81 | eina_mempool_unregister(&_eina_pass_through_mp_backend); | ||
82 | } | ||
83 | |||
84 | #ifndef EINA_STATIC_BUILD_PASS_THROUGH | ||
85 | |||
86 | EINA_MODULE_INIT(pass_through_init); | ||
87 | EINA_MODULE_SHUTDOWN(pass_through_shutdown); | ||
88 | |||
89 | #endif /* ! EINA_STATIC_BUILD_PASS_THROUGH */ | ||
90 | |||