diff options
author | David Walter Seikel | 2013-01-13 17:29:19 +1000 |
---|---|---|
committer | David Walter Seikel | 2013-01-13 17:29:19 +1000 |
commit | 07274513e984f0b5544586c74508ccd16e7dcafa (patch) | |
tree | b32ff2a9136fbc1a4a6a0ed1e4d79cde0f5f16d9 /libraries/evas/src/modules/loaders/pmaps | |
parent | Added Irrlicht 1.8, but without all the Windows binaries. (diff) | |
download | SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.zip SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.tar.gz SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.tar.bz2 SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.tar.xz |
Remove EFL, since it's been released now.
Diffstat (limited to 'libraries/evas/src/modules/loaders/pmaps')
3 files changed, 0 insertions, 1385 deletions
diff --git a/libraries/evas/src/modules/loaders/pmaps/Makefile.am b/libraries/evas/src/modules/loaders/pmaps/Makefile.am deleted file mode 100644 index 6fc3d6d..0000000 --- a/libraries/evas/src/modules/loaders/pmaps/Makefile.am +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | |||
2 | MAINTAINERCLEANFILES = Makefile.in | ||
3 | |||
4 | AM_CPPFLAGS = \ | ||
5 | -I. \ | ||
6 | -I$(top_srcdir)/src/lib \ | ||
7 | -I$(top_srcdir)/src/lib/include \ | ||
8 | @FREETYPE_CFLAGS@ \ | ||
9 | @PIXMAN_CFLAGS@ \ | ||
10 | @EINA_CFLAGS@ \ | ||
11 | @evas_image_loader_pmaps_cflags@ \ | ||
12 | @EVIL_CFLAGS@ | ||
13 | |||
14 | if BUILD_LOADER_PMAPS | ||
15 | if !EVAS_STATIC_BUILD_PMAPS | ||
16 | |||
17 | pkgdir = $(libdir)/evas/modules/loaders/pmaps/$(MODULE_ARCH) | ||
18 | pkg_LTLIBRARIES = module.la | ||
19 | |||
20 | module_la_SOURCES = evas_image_load_pmaps.c | ||
21 | |||
22 | module_la_LIBADD = @evas_image_loader_pmaps_libs@ @EINA_LIBS@ @EVIL_LIBS@ $(top_builddir)/src/lib/libevas.la | ||
23 | module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version | ||
24 | module_la_LIBTOOLFLAGS = --tag=disable-static | ||
25 | |||
26 | else | ||
27 | |||
28 | noinst_LTLIBRARIES = libevas_loader_pmaps.la | ||
29 | libevas_loader_pmaps_la_SOURCES = evas_image_load_pmaps.c | ||
30 | libevas_loader_pmaps_la_LIBADD = @evas_image_loader_pmaps_libs@ | ||
31 | |||
32 | endif | ||
33 | endif | ||
diff --git a/libraries/evas/src/modules/loaders/pmaps/Makefile.in b/libraries/evas/src/modules/loaders/pmaps/Makefile.in deleted file mode 100644 index c44904a..0000000 --- a/libraries/evas/src/modules/loaders/pmaps/Makefile.in +++ /dev/null | |||
@@ -1,762 +0,0 @@ | |||
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/loaders/pmaps | ||
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_coverage.m4 \ | ||
42 | $(top_srcdir)/m4/efl_doxygen.m4 \ | ||
43 | $(top_srcdir)/m4/efl_fnmatch.m4 \ | ||
44 | $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ | ||
45 | $(top_srcdir)/m4/evas_check_engine.m4 \ | ||
46 | $(top_srcdir)/m4/evas_check_loader.m4 \ | ||
47 | $(top_srcdir)/m4/evas_converter.m4 \ | ||
48 | $(top_srcdir)/m4/evas_dither.m4 \ | ||
49 | $(top_srcdir)/m4/evas_scaler.m4 $(top_srcdir)/m4/libtool.m4 \ | ||
50 | $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ | ||
51 | $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ | ||
52 | $(top_srcdir)/configure.ac | ||
53 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | ||
54 | $(ACLOCAL_M4) | ||
55 | mkinstalldirs = $(install_sh) -d | ||
56 | CONFIG_HEADER = $(top_builddir)/config.h | ||
57 | CONFIG_CLEAN_FILES = | ||
58 | CONFIG_CLEAN_VPATH_FILES = | ||
59 | am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; | ||
60 | am__vpath_adj = case $$p in \ | ||
61 | $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ | ||
62 | *) f=$$p;; \ | ||
63 | esac; | ||
64 | am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; | ||
65 | am__install_max = 40 | ||
66 | am__nobase_strip_setup = \ | ||
67 | srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` | ||
68 | am__nobase_strip = \ | ||
69 | for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" | ||
70 | am__nobase_list = $(am__nobase_strip_setup); \ | ||
71 | for p in $$list; do echo "$$p $$p"; done | \ | ||
72 | sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ | ||
73 | $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ | ||
74 | if (++n[$$2] == $(am__install_max)) \ | ||
75 | { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ | ||
76 | END { for (dir in files) print dir, files[dir] }' | ||
77 | am__base_list = \ | ||
78 | sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ | ||
79 | sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | ||
80 | am__installdirs = "$(DESTDIR)$(pkgdir)" | ||
81 | LTLIBRARIES = $(noinst_LTLIBRARIES) $(pkg_LTLIBRARIES) | ||
82 | libevas_loader_pmaps_la_DEPENDENCIES = | ||
83 | am__libevas_loader_pmaps_la_SOURCES_DIST = evas_image_load_pmaps.c | ||
84 | @BUILD_LOADER_PMAPS_TRUE@@EVAS_STATIC_BUILD_PMAPS_TRUE@am_libevas_loader_pmaps_la_OBJECTS = evas_image_load_pmaps.lo | ||
85 | libevas_loader_pmaps_la_OBJECTS = \ | ||
86 | $(am_libevas_loader_pmaps_la_OBJECTS) | ||
87 | AM_V_lt = $(am__v_lt_$(V)) | ||
88 | am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) | ||
89 | am__v_lt_0 = --silent | ||
90 | @BUILD_LOADER_PMAPS_TRUE@@EVAS_STATIC_BUILD_PMAPS_TRUE@am_libevas_loader_pmaps_la_rpath = | ||
91 | @BUILD_LOADER_PMAPS_TRUE@@EVAS_STATIC_BUILD_PMAPS_FALSE@module_la_DEPENDENCIES = $(top_builddir)/src/lib/libevas.la | ||
92 | am__module_la_SOURCES_DIST = evas_image_load_pmaps.c | ||
93 | @BUILD_LOADER_PMAPS_TRUE@@EVAS_STATIC_BUILD_PMAPS_FALSE@am_module_la_OBJECTS = module_la-evas_image_load_pmaps.lo | ||
94 | module_la_OBJECTS = $(am_module_la_OBJECTS) | ||
95 | module_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ | ||
96 | $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ | ||
97 | $(AM_CFLAGS) $(CFLAGS) $(module_la_LDFLAGS) $(LDFLAGS) -o $@ | ||
98 | @BUILD_LOADER_PMAPS_TRUE@@EVAS_STATIC_BUILD_PMAPS_FALSE@am_module_la_rpath = -rpath \ | ||
99 | @BUILD_LOADER_PMAPS_TRUE@@EVAS_STATIC_BUILD_PMAPS_FALSE@ $(pkgdir) | ||
100 | DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) | ||
101 | depcomp = $(SHELL) $(top_srcdir)/depcomp | ||
102 | am__depfiles_maybe = depfiles | ||
103 | am__mv = mv -f | ||
104 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ | ||
105 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | ||
106 | LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ | ||
107 | $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ | ||
108 | $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ | ||
109 | $(AM_CFLAGS) $(CFLAGS) | ||
110 | AM_V_CC = $(am__v_CC_$(V)) | ||
111 | am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) | ||
112 | am__v_CC_0 = @echo " CC " $@; | ||
113 | AM_V_at = $(am__v_at_$(V)) | ||
114 | am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) | ||
115 | am__v_at_0 = @ | ||
116 | CCLD = $(CC) | ||
117 | LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ | ||
118 | $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ | ||
119 | $(AM_LDFLAGS) $(LDFLAGS) -o $@ | ||
120 | AM_V_CCLD = $(am__v_CCLD_$(V)) | ||
121 | am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) | ||
122 | am__v_CCLD_0 = @echo " CCLD " $@; | ||
123 | AM_V_GEN = $(am__v_GEN_$(V)) | ||
124 | am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) | ||
125 | am__v_GEN_0 = @echo " GEN " $@; | ||
126 | SOURCES = $(libevas_loader_pmaps_la_SOURCES) $(module_la_SOURCES) | ||
127 | DIST_SOURCES = $(am__libevas_loader_pmaps_la_SOURCES_DIST) \ | ||
128 | $(am__module_la_SOURCES_DIST) | ||
129 | ETAGS = etags | ||
130 | CTAGS = ctags | ||
131 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
132 | ACLOCAL = @ACLOCAL@ | ||
133 | ALLOCA = @ALLOCA@ | ||
134 | AMTAR = @AMTAR@ | ||
135 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | ||
136 | AR = @AR@ | ||
137 | AS = @AS@ | ||
138 | AUTOCONF = @AUTOCONF@ | ||
139 | AUTOHEADER = @AUTOHEADER@ | ||
140 | AUTOMAKE = @AUTOMAKE@ | ||
141 | AWK = @AWK@ | ||
142 | CC = @CC@ | ||
143 | CCDEPMODE = @CCDEPMODE@ | ||
144 | CFLAGS = @CFLAGS@ | ||
145 | CHECK_CFLAGS = @CHECK_CFLAGS@ | ||
146 | CHECK_LIBS = @CHECK_LIBS@ | ||
147 | CPP = @CPP@ | ||
148 | CPPFLAGS = @CPPFLAGS@ | ||
149 | CXX = @CXX@ | ||
150 | CXXCPP = @CXXCPP@ | ||
151 | CXXDEPMODE = @CXXDEPMODE@ | ||
152 | CXXFLAGS = @CXXFLAGS@ | ||
153 | CYGPATH_W = @CYGPATH_W@ | ||
154 | DEFS = @DEFS@ | ||
155 | DEPDIR = @DEPDIR@ | ||
156 | DIRECTFB_CFLAGS = @DIRECTFB_CFLAGS@ | ||
157 | DIRECTFB_LIBS = @DIRECTFB_LIBS@ | ||
158 | DLLTOOL = @DLLTOOL@ | ||
159 | DSYMUTIL = @DSYMUTIL@ | ||
160 | DUMPBIN = @DUMPBIN@ | ||
161 | ECHO_C = @ECHO_C@ | ||
162 | ECHO_N = @ECHO_N@ | ||
163 | ECHO_T = @ECHO_T@ | ||
164 | ECORE_EVAS_CFLAGS = @ECORE_EVAS_CFLAGS@ | ||
165 | ECORE_EVAS_LIBS = @ECORE_EVAS_LIBS@ | ||
166 | EDB_CFLAGS = @EDB_CFLAGS@ | ||
167 | EDB_LIBS = @EDB_LIBS@ | ||
168 | EDJE_CFLAGS = @EDJE_CFLAGS@ | ||
169 | EDJE_LIBS = @EDJE_LIBS@ | ||
170 | EET_CFLAGS = @EET_CFLAGS@ | ||
171 | EET_LIBS = @EET_LIBS@ | ||
172 | EFL_COVERAGE_CFLAGS = @EFL_COVERAGE_CFLAGS@ | ||
173 | EFL_COVERAGE_LIBS = @EFL_COVERAGE_LIBS@ | ||
174 | EFL_FNMATCH_LIBS = @EFL_FNMATCH_LIBS@ | ||
175 | EGREP = @EGREP@ | ||
176 | EINA_CFLAGS = @EINA_CFLAGS@ | ||
177 | EINA_LIBS = @EINA_LIBS@ | ||
178 | EVAS_CFLAGS = @EVAS_CFLAGS@ | ||
179 | EVAS_LIBS = @EVAS_LIBS@ | ||
180 | EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@ | ||
181 | EVIL_CFLAGS = @EVIL_CFLAGS@ | ||
182 | EVIL_LIBS = @EVIL_LIBS@ | ||
183 | EXEEXT = @EXEEXT@ | ||
184 | EXOTIC_CFLAGS = @EXOTIC_CFLAGS@ | ||
185 | EXOTIC_LIBS = @EXOTIC_LIBS@ | ||
186 | FGREP = @FGREP@ | ||
187 | FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ | ||
188 | FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ | ||
189 | FREETYPE_CFLAGS = @FREETYPE_CFLAGS@ | ||
190 | FREETYPE_LIBS = @FREETYPE_LIBS@ | ||
191 | FRIBIDI_CFLAGS = @FRIBIDI_CFLAGS@ | ||
192 | FRIBIDI_LIBS = @FRIBIDI_LIBS@ | ||
193 | GL_EET_CFLAGS = @GL_EET_CFLAGS@ | ||
194 | GL_EET_LIBS = @GL_EET_LIBS@ | ||
195 | GREP = @GREP@ | ||
196 | HARFBUZZ_CFLAGS = @HARFBUZZ_CFLAGS@ | ||
197 | HARFBUZZ_LIBS = @HARFBUZZ_LIBS@ | ||
198 | INSTALL = @INSTALL@ | ||
199 | INSTALL_DATA = @INSTALL_DATA@ | ||
200 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | ||
201 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | ||
202 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | ||
203 | LD = @LD@ | ||
204 | LDFLAGS = @LDFLAGS@ | ||
205 | LIBOBJS = @LIBOBJS@ | ||
206 | LIBS = @LIBS@ | ||
207 | LIBTOOL = @LIBTOOL@ | ||
208 | LINEBREAK_CFLAGS = @LINEBREAK_CFLAGS@ | ||
209 | LINEBREAK_LIBS = @LINEBREAK_LIBS@ | ||
210 | LIPO = @LIPO@ | ||
211 | LN_S = @LN_S@ | ||
212 | LTLIBOBJS = @LTLIBOBJS@ | ||
213 | MAKEINFO = @MAKEINFO@ | ||
214 | MKDIR_P = @MKDIR_P@ | ||
215 | MODULE_ARCH = @MODULE_ARCH@ | ||
216 | NM = @NM@ | ||
217 | NMEDIT = @NMEDIT@ | ||
218 | OBJC = @OBJC@ | ||
219 | OBJCDEPMODE = @OBJCDEPMODE@ | ||
220 | OBJCFLAGS = @OBJCFLAGS@ | ||
221 | OBJDUMP = @OBJDUMP@ | ||
222 | OBJEXT = @OBJEXT@ | ||
223 | OTOOL = @OTOOL@ | ||
224 | OTOOL64 = @OTOOL64@ | ||
225 | PACKAGE = @PACKAGE@ | ||
226 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | ||
227 | PACKAGE_NAME = @PACKAGE_NAME@ | ||
228 | PACKAGE_STRING = @PACKAGE_STRING@ | ||
229 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | ||
230 | PACKAGE_URL = @PACKAGE_URL@ | ||
231 | PACKAGE_VERSION = @PACKAGE_VERSION@ | ||
232 | PATH_SEPARATOR = @PATH_SEPARATOR@ | ||
233 | PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ | ||
234 | PIXMAN_LIBS = @PIXMAN_LIBS@ | ||
235 | PKG_CONFIG = @PKG_CONFIG@ | ||
236 | PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ | ||
237 | PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ | ||
238 | PNG_CFLAGS = @PNG_CFLAGS@ | ||
239 | PNG_LIBS = @PNG_LIBS@ | ||
240 | RANLIB = @RANLIB@ | ||
241 | SDL_CFLAGS = @SDL_CFLAGS@ | ||
242 | SDL_LIBS = @SDL_LIBS@ | ||
243 | SED = @SED@ | ||
244 | SET_MAKE = @SET_MAKE@ | ||
245 | SHELL = @SHELL@ | ||
246 | SHM_OPEN_LINK = @SHM_OPEN_LINK@ | ||
247 | STRIP = @STRIP@ | ||
248 | SVG_CFLAGS = @SVG_CFLAGS@ | ||
249 | SVG_LIBS = @SVG_LIBS@ | ||
250 | VALGRIND_CFLAGS = @VALGRIND_CFLAGS@ | ||
251 | VALGRIND_LIBS = @VALGRIND_LIBS@ | ||
252 | VERSION = @VERSION@ | ||
253 | VMAJ = @VMAJ@ | ||
254 | WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ | ||
255 | WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ | ||
256 | XCB_CFLAGS = @XCB_CFLAGS@ | ||
257 | XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ | ||
258 | XCB_GL_LIBS = @XCB_GL_LIBS@ | ||
259 | XCB_LIBS = @XCB_LIBS@ | ||
260 | XEXT_CFLAGS = @XEXT_CFLAGS@ | ||
261 | XEXT_LIBS = @XEXT_LIBS@ | ||
262 | XMKMF = @XMKMF@ | ||
263 | X_CFLAGS = @X_CFLAGS@ | ||
264 | X_EXTRA_LIBS = @X_EXTRA_LIBS@ | ||
265 | X_LIBS = @X_LIBS@ | ||
266 | X_PRE_LIBS = @X_PRE_LIBS@ | ||
267 | abs_builddir = @abs_builddir@ | ||
268 | abs_srcdir = @abs_srcdir@ | ||
269 | abs_top_builddir = @abs_top_builddir@ | ||
270 | abs_top_srcdir = @abs_top_srcdir@ | ||
271 | ac_ct_CC = @ac_ct_CC@ | ||
272 | ac_ct_CXX = @ac_ct_CXX@ | ||
273 | ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ | ||
274 | ac_ct_OBJC = @ac_ct_OBJC@ | ||
275 | altivec_cflags = @altivec_cflags@ | ||
276 | am__include = @am__include@ | ||
277 | am__leading_dot = @am__leading_dot@ | ||
278 | am__quote = @am__quote@ | ||
279 | am__tar = @am__tar@ | ||
280 | am__untar = @am__untar@ | ||
281 | bindir = @bindir@ | ||
282 | build = @build@ | ||
283 | build_alias = @build_alias@ | ||
284 | build_cpu = @build_cpu@ | ||
285 | build_os = @build_os@ | ||
286 | build_vendor = @build_vendor@ | ||
287 | builddir = @builddir@ | ||
288 | datadir = @datadir@ | ||
289 | datarootdir = @datarootdir@ | ||
290 | dlopen_libs = @dlopen_libs@ | ||
291 | docdir = @docdir@ | ||
292 | dvidir = @dvidir@ | ||
293 | edje_cc = @edje_cc@ | ||
294 | efl_doxygen = @efl_doxygen@ | ||
295 | efl_have_doxygen = @efl_have_doxygen@ | ||
296 | evas_engine_buffer_cflags = @evas_engine_buffer_cflags@ | ||
297 | evas_engine_buffer_libs = @evas_engine_buffer_libs@ | ||
298 | evas_engine_direct3d_cflags = @evas_engine_direct3d_cflags@ | ||
299 | evas_engine_direct3d_libs = @evas_engine_direct3d_libs@ | ||
300 | evas_engine_directfb_cflags = @evas_engine_directfb_cflags@ | ||
301 | evas_engine_directfb_libs = @evas_engine_directfb_libs@ | ||
302 | evas_engine_fb_cflags = @evas_engine_fb_cflags@ | ||
303 | evas_engine_fb_libs = @evas_engine_fb_libs@ | ||
304 | evas_engine_gl_cocoa_cflags = @evas_engine_gl_cocoa_cflags@ | ||
305 | evas_engine_gl_cocoa_libs = @evas_engine_gl_cocoa_libs@ | ||
306 | evas_engine_gl_common_libs = @evas_engine_gl_common_libs@ | ||
307 | evas_engine_gl_sdl_cflags = @evas_engine_gl_sdl_cflags@ | ||
308 | evas_engine_gl_sdl_libs = @evas_engine_gl_sdl_libs@ | ||
309 | evas_engine_gl_xcb_cflags = @evas_engine_gl_xcb_cflags@ | ||
310 | evas_engine_gl_xcb_libs = @evas_engine_gl_xcb_libs@ | ||
311 | evas_engine_gl_xlib_cflags = @evas_engine_gl_xlib_cflags@ | ||
312 | evas_engine_gl_xlib_libs = @evas_engine_gl_xlib_libs@ | ||
313 | evas_engine_psl1ght_cflags = @evas_engine_psl1ght_cflags@ | ||
314 | evas_engine_psl1ght_libs = @evas_engine_psl1ght_libs@ | ||
315 | evas_engine_software_16_ddraw_cflags = @evas_engine_software_16_ddraw_cflags@ | ||
316 | evas_engine_software_16_ddraw_libs = @evas_engine_software_16_ddraw_libs@ | ||
317 | evas_engine_software_16_sdl_cflags = @evas_engine_software_16_sdl_cflags@ | ||
318 | evas_engine_software_16_sdl_libs = @evas_engine_software_16_sdl_libs@ | ||
319 | evas_engine_software_16_wince_cflags = @evas_engine_software_16_wince_cflags@ | ||
320 | evas_engine_software_16_wince_libs = @evas_engine_software_16_wince_libs@ | ||
321 | evas_engine_software_16_x11_cflags = @evas_engine_software_16_x11_cflags@ | ||
322 | evas_engine_software_16_x11_libs = @evas_engine_software_16_x11_libs@ | ||
323 | evas_engine_software_8_x11_cflags = @evas_engine_software_8_x11_cflags@ | ||
324 | evas_engine_software_8_x11_libs = @evas_engine_software_8_x11_libs@ | ||
325 | evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@ | ||
326 | evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ | ||
327 | evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ | ||
328 | evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ | ||
329 | evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ | ||
330 | evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ | ||
331 | evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ | ||
332 | evas_engine_software_xlib_libs = @evas_engine_software_xlib_libs@ | ||
333 | evas_engine_wayland_egl_cflags = @evas_engine_wayland_egl_cflags@ | ||
334 | evas_engine_wayland_egl_libs = @evas_engine_wayland_egl_libs@ | ||
335 | evas_engine_wayland_shm_cflags = @evas_engine_wayland_shm_cflags@ | ||
336 | evas_engine_wayland_shm_libs = @evas_engine_wayland_shm_libs@ | ||
337 | evas_image_loader_bmp_cflags = @evas_image_loader_bmp_cflags@ | ||
338 | evas_image_loader_bmp_libs = @evas_image_loader_bmp_libs@ | ||
339 | evas_image_loader_edb_cflags = @evas_image_loader_edb_cflags@ | ||
340 | evas_image_loader_edb_libs = @evas_image_loader_edb_libs@ | ||
341 | evas_image_loader_eet_cflags = @evas_image_loader_eet_cflags@ | ||
342 | evas_image_loader_eet_libs = @evas_image_loader_eet_libs@ | ||
343 | evas_image_loader_generic_cflags = @evas_image_loader_generic_cflags@ | ||
344 | evas_image_loader_generic_libs = @evas_image_loader_generic_libs@ | ||
345 | evas_image_loader_gif_cflags = @evas_image_loader_gif_cflags@ | ||
346 | evas_image_loader_gif_libs = @evas_image_loader_gif_libs@ | ||
347 | evas_image_loader_ico_cflags = @evas_image_loader_ico_cflags@ | ||
348 | evas_image_loader_ico_libs = @evas_image_loader_ico_libs@ | ||
349 | evas_image_loader_jpeg_cflags = @evas_image_loader_jpeg_cflags@ | ||
350 | evas_image_loader_jpeg_libs = @evas_image_loader_jpeg_libs@ | ||
351 | evas_image_loader_pmaps_cflags = @evas_image_loader_pmaps_cflags@ | ||
352 | evas_image_loader_pmaps_libs = @evas_image_loader_pmaps_libs@ | ||
353 | evas_image_loader_png_cflags = @evas_image_loader_png_cflags@ | ||
354 | evas_image_loader_png_libs = @evas_image_loader_png_libs@ | ||
355 | evas_image_loader_psd_cflags = @evas_image_loader_psd_cflags@ | ||
356 | evas_image_loader_psd_libs = @evas_image_loader_psd_libs@ | ||
357 | evas_image_loader_svg_cflags = @evas_image_loader_svg_cflags@ | ||
358 | evas_image_loader_svg_libs = @evas_image_loader_svg_libs@ | ||
359 | evas_image_loader_tga_cflags = @evas_image_loader_tga_cflags@ | ||
360 | evas_image_loader_tga_libs = @evas_image_loader_tga_libs@ | ||
361 | evas_image_loader_tiff_cflags = @evas_image_loader_tiff_cflags@ | ||
362 | evas_image_loader_tiff_libs = @evas_image_loader_tiff_libs@ | ||
363 | evas_image_loader_wbmp_cflags = @evas_image_loader_wbmp_cflags@ | ||
364 | evas_image_loader_wbmp_libs = @evas_image_loader_wbmp_libs@ | ||
365 | evas_image_loader_xpm_cflags = @evas_image_loader_xpm_cflags@ | ||
366 | evas_image_loader_xpm_libs = @evas_image_loader_xpm_libs@ | ||
367 | exec_prefix = @exec_prefix@ | ||
368 | have_evas_engine_gl_x11 = @have_evas_engine_gl_x11@ | ||
369 | have_evas_engine_gl_xcb = @have_evas_engine_gl_xcb@ | ||
370 | have_evas_engine_gl_xlib = @have_evas_engine_gl_xlib@ | ||
371 | have_evas_engine_software_x11 = @have_evas_engine_software_x11@ | ||
372 | have_evas_engine_software_xcb = @have_evas_engine_software_xcb@ | ||
373 | have_evas_engine_software_xlib = @have_evas_engine_software_xlib@ | ||
374 | have_lcov = @have_lcov@ | ||
375 | host = @host@ | ||
376 | host_alias = @host_alias@ | ||
377 | host_cpu = @host_cpu@ | ||
378 | host_os = @host_os@ | ||
379 | host_vendor = @host_vendor@ | ||
380 | htmldir = @htmldir@ | ||
381 | includedir = @includedir@ | ||
382 | infodir = @infodir@ | ||
383 | install_sh = @install_sh@ | ||
384 | libdir = @libdir@ | ||
385 | libexecdir = @libexecdir@ | ||
386 | localedir = @localedir@ | ||
387 | localstatedir = @localstatedir@ | ||
388 | lt_ECHO = @lt_ECHO@ | ||
389 | lt_enable_auto_import = @lt_enable_auto_import@ | ||
390 | mandir = @mandir@ | ||
391 | mkdir_p = @mkdir_p@ | ||
392 | oldincludedir = @oldincludedir@ | ||
393 | pdfdir = @pdfdir@ | ||
394 | pkgconfig_requires_private = @pkgconfig_requires_private@ | ||
395 | prefix = @prefix@ | ||
396 | program_transform_name = @program_transform_name@ | ||
397 | psdir = @psdir@ | ||
398 | pthread_cflags = @pthread_cflags@ | ||
399 | pthread_libs = @pthread_libs@ | ||
400 | release_info = @release_info@ | ||
401 | requirement_evas = @requirement_evas@ | ||
402 | sbindir = @sbindir@ | ||
403 | sharedstatedir = @sharedstatedir@ | ||
404 | srcdir = @srcdir@ | ||
405 | sysconfdir = @sysconfdir@ | ||
406 | target_alias = @target_alias@ | ||
407 | top_build_prefix = @top_build_prefix@ | ||
408 | top_builddir = @top_builddir@ | ||
409 | top_srcdir = @top_srcdir@ | ||
410 | version_info = @version_info@ | ||
411 | MAINTAINERCLEANFILES = Makefile.in | ||
412 | AM_CPPFLAGS = \ | ||
413 | -I. \ | ||
414 | -I$(top_srcdir)/src/lib \ | ||
415 | -I$(top_srcdir)/src/lib/include \ | ||
416 | @FREETYPE_CFLAGS@ \ | ||
417 | @PIXMAN_CFLAGS@ \ | ||
418 | @EINA_CFLAGS@ \ | ||
419 | @evas_image_loader_pmaps_cflags@ \ | ||
420 | @EVIL_CFLAGS@ | ||
421 | |||
422 | @BUILD_LOADER_PMAPS_TRUE@@EVAS_STATIC_BUILD_PMAPS_FALSE@pkgdir = $(libdir)/evas/modules/loaders/pmaps/$(MODULE_ARCH) | ||
423 | @BUILD_LOADER_PMAPS_TRUE@@EVAS_STATIC_BUILD_PMAPS_FALSE@pkg_LTLIBRARIES = module.la | ||
424 | @BUILD_LOADER_PMAPS_TRUE@@EVAS_STATIC_BUILD_PMAPS_FALSE@module_la_SOURCES = evas_image_load_pmaps.c | ||
425 | @BUILD_LOADER_PMAPS_TRUE@@EVAS_STATIC_BUILD_PMAPS_FALSE@module_la_LIBADD = @evas_image_loader_pmaps_libs@ @EINA_LIBS@ @EVIL_LIBS@ $(top_builddir)/src/lib/libevas.la | ||
426 | @BUILD_LOADER_PMAPS_TRUE@@EVAS_STATIC_BUILD_PMAPS_FALSE@module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version | ||
427 | @BUILD_LOADER_PMAPS_TRUE@@EVAS_STATIC_BUILD_PMAPS_FALSE@module_la_LIBTOOLFLAGS = --tag=disable-static | ||
428 | @BUILD_LOADER_PMAPS_TRUE@@EVAS_STATIC_BUILD_PMAPS_TRUE@noinst_LTLIBRARIES = libevas_loader_pmaps.la | ||
429 | @BUILD_LOADER_PMAPS_TRUE@@EVAS_STATIC_BUILD_PMAPS_TRUE@libevas_loader_pmaps_la_SOURCES = evas_image_load_pmaps.c | ||
430 | @BUILD_LOADER_PMAPS_TRUE@@EVAS_STATIC_BUILD_PMAPS_TRUE@libevas_loader_pmaps_la_LIBADD = @evas_image_loader_pmaps_libs@ | ||
431 | all: all-am | ||
432 | |||
433 | .SUFFIXES: | ||
434 | .SUFFIXES: .c .lo .o .obj | ||
435 | $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) | ||
436 | @for dep in $?; do \ | ||
437 | case '$(am__configure_deps)' in \ | ||
438 | *$$dep*) \ | ||
439 | ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ | ||
440 | && { if test -f $@; then exit 0; else break; fi; }; \ | ||
441 | exit 1;; \ | ||
442 | esac; \ | ||
443 | done; \ | ||
444 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/modules/loaders/pmaps/Makefile'; \ | ||
445 | $(am__cd) $(top_srcdir) && \ | ||
446 | $(AUTOMAKE) --gnu src/modules/loaders/pmaps/Makefile | ||
447 | .PRECIOUS: Makefile | ||
448 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | ||
449 | @case '$?' in \ | ||
450 | *config.status*) \ | ||
451 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ | ||
452 | *) \ | ||
453 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ | ||
454 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ | ||
455 | esac; | ||
456 | |||
457 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | ||
458 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
459 | |||
460 | $(top_srcdir)/configure: $(am__configure_deps) | ||
461 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
462 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) | ||
463 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
464 | $(am__aclocal_m4_deps): | ||
465 | |||
466 | clean-noinstLTLIBRARIES: | ||
467 | -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) | ||
468 | @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \ | ||
469 | dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ | ||
470 | test "$$dir" != "$$p" || dir=.; \ | ||
471 | echo "rm -f \"$${dir}/so_locations\""; \ | ||
472 | rm -f "$${dir}/so_locations"; \ | ||
473 | done | ||
474 | install-pkgLTLIBRARIES: $(pkg_LTLIBRARIES) | ||
475 | @$(NORMAL_INSTALL) | ||
476 | test -z "$(pkgdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdir)" | ||
477 | @list='$(pkg_LTLIBRARIES)'; test -n "$(pkgdir)" || list=; \ | ||
478 | list2=; for p in $$list; do \ | ||
479 | if test -f $$p; then \ | ||
480 | list2="$$list2 $$p"; \ | ||
481 | else :; fi; \ | ||
482 | done; \ | ||
483 | test -z "$$list2" || { \ | ||
484 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkgdir)'"; \ | ||
485 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkgdir)"; \ | ||
486 | } | ||
487 | |||
488 | uninstall-pkgLTLIBRARIES: | ||
489 | @$(NORMAL_UNINSTALL) | ||
490 | @list='$(pkg_LTLIBRARIES)'; test -n "$(pkgdir)" || list=; \ | ||
491 | for p in $$list; do \ | ||
492 | $(am__strip_dir) \ | ||
493 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkgdir)/$$f'"; \ | ||
494 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkgdir)/$$f"; \ | ||
495 | done | ||
496 | |||
497 | clean-pkgLTLIBRARIES: | ||
498 | -test -z "$(pkg_LTLIBRARIES)" || rm -f $(pkg_LTLIBRARIES) | ||
499 | @list='$(pkg_LTLIBRARIES)'; for p in $$list; do \ | ||
500 | dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ | ||
501 | test "$$dir" != "$$p" || dir=.; \ | ||
502 | echo "rm -f \"$${dir}/so_locations\""; \ | ||
503 | rm -f "$${dir}/so_locations"; \ | ||
504 | done | ||
505 | libevas_loader_pmaps.la: $(libevas_loader_pmaps_la_OBJECTS) $(libevas_loader_pmaps_la_DEPENDENCIES) | ||
506 | $(AM_V_CCLD)$(LINK) $(am_libevas_loader_pmaps_la_rpath) $(libevas_loader_pmaps_la_OBJECTS) $(libevas_loader_pmaps_la_LIBADD) $(LIBS) | ||
507 | module.la: $(module_la_OBJECTS) $(module_la_DEPENDENCIES) | ||
508 | $(AM_V_CCLD)$(module_la_LINK) $(am_module_la_rpath) $(module_la_OBJECTS) $(module_la_LIBADD) $(LIBS) | ||
509 | |||
510 | mostlyclean-compile: | ||
511 | -rm -f *.$(OBJEXT) | ||
512 | |||
513 | distclean-compile: | ||
514 | -rm -f *.tab.c | ||
515 | |||
516 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/evas_image_load_pmaps.Plo@am__quote@ | ||
517 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/module_la-evas_image_load_pmaps.Plo@am__quote@ | ||
518 | |||
519 | .c.o: | ||
520 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | ||
521 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | ||
522 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
523 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | ||
524 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
525 | @am__fastdepCC_FALSE@ $(COMPILE) -c $< | ||
526 | |||
527 | .c.obj: | ||
528 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | ||
529 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | ||
530 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
531 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | ||
532 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
533 | @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` | ||
534 | |||
535 | .c.lo: | ||
536 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | ||
537 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo | ||
538 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
539 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ | ||
540 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
541 | @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< | ||
542 | |||
543 | module_la-evas_image_load_pmaps.lo: evas_image_load_pmaps.c | ||
544 | @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) $(AM_CFLAGS) $(CFLAGS) -MT module_la-evas_image_load_pmaps.lo -MD -MP -MF $(DEPDIR)/module_la-evas_image_load_pmaps.Tpo -c -o module_la-evas_image_load_pmaps.lo `test -f 'evas_image_load_pmaps.c' || echo '$(srcdir)/'`evas_image_load_pmaps.c | ||
545 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/module_la-evas_image_load_pmaps.Tpo $(DEPDIR)/module_la-evas_image_load_pmaps.Plo | ||
546 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
547 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='evas_image_load_pmaps.c' object='module_la-evas_image_load_pmaps.lo' libtool=yes @AMDEPBACKSLASH@ | ||
548 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
549 | @am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o module_la-evas_image_load_pmaps.lo `test -f 'evas_image_load_pmaps.c' || echo '$(srcdir)/'`evas_image_load_pmaps.c | ||
550 | |||
551 | mostlyclean-libtool: | ||
552 | -rm -f *.lo | ||
553 | |||
554 | clean-libtool: | ||
555 | -rm -rf .libs _libs | ||
556 | |||
557 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | ||
558 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
559 | unique=`for i in $$list; do \ | ||
560 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
561 | done | \ | ||
562 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
563 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
564 | mkid -fID $$unique | ||
565 | tags: TAGS | ||
566 | |||
567 | TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | ||
568 | $(TAGS_FILES) $(LISP) | ||
569 | set x; \ | ||
570 | here=`pwd`; \ | ||
571 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
572 | unique=`for i in $$list; do \ | ||
573 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
574 | done | \ | ||
575 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
576 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
577 | shift; \ | ||
578 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ | ||
579 | test -n "$$unique" || unique=$$empty_fix; \ | ||
580 | if test $$# -gt 0; then \ | ||
581 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
582 | "$$@" $$unique; \ | ||
583 | else \ | ||
584 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
585 | $$unique; \ | ||
586 | fi; \ | ||
587 | fi | ||
588 | ctags: CTAGS | ||
589 | CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | ||
590 | $(TAGS_FILES) $(LISP) | ||
591 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
592 | unique=`for i in $$list; do \ | ||
593 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
594 | done | \ | ||
595 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
596 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
597 | test -z "$(CTAGS_ARGS)$$unique" \ | ||
598 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ | ||
599 | $$unique | ||
600 | |||
601 | GTAGS: | ||
602 | here=`$(am__cd) $(top_builddir) && pwd` \ | ||
603 | && $(am__cd) $(top_srcdir) \ | ||
604 | && gtags -i $(GTAGS_ARGS) "$$here" | ||
605 | |||
606 | distclean-tags: | ||
607 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
608 | |||
609 | distdir: $(DISTFILES) | ||
610 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
611 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
612 | list='$(DISTFILES)'; \ | ||
613 | dist_files=`for file in $$list; do echo $$file; done | \ | ||
614 | sed -e "s|^$$srcdirstrip/||;t" \ | ||
615 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | ||
616 | case $$dist_files in \ | ||
617 | */*) $(MKDIR_P) `echo "$$dist_files" | \ | ||
618 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | ||
619 | sort -u` ;; \ | ||
620 | esac; \ | ||
621 | for file in $$dist_files; do \ | ||
622 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | ||
623 | if test -d $$d/$$file; then \ | ||
624 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | ||
625 | if test -d "$(distdir)/$$file"; then \ | ||
626 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
627 | fi; \ | ||
628 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | ||
629 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | ||
630 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
631 | fi; \ | ||
632 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | ||
633 | else \ | ||
634 | test -f "$(distdir)/$$file" \ | ||
635 | || cp -p $$d/$$file "$(distdir)/$$file" \ | ||
636 | || exit 1; \ | ||
637 | fi; \ | ||
638 | done | ||
639 | check-am: all-am | ||
640 | check: check-am | ||
641 | all-am: Makefile $(LTLIBRARIES) | ||
642 | installdirs: | ||
643 | for dir in "$(DESTDIR)$(pkgdir)"; do \ | ||
644 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ | ||
645 | done | ||
646 | install: install-am | ||
647 | install-exec: install-exec-am | ||
648 | install-data: install-data-am | ||
649 | uninstall: uninstall-am | ||
650 | |||
651 | install-am: all-am | ||
652 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | ||
653 | |||
654 | installcheck: installcheck-am | ||
655 | install-strip: | ||
656 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||
657 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||
658 | `test -z '$(STRIP)' || \ | ||
659 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install | ||
660 | mostlyclean-generic: | ||
661 | |||
662 | clean-generic: | ||
663 | |||
664 | distclean-generic: | ||
665 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | ||
666 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | ||
667 | |||
668 | maintainer-clean-generic: | ||
669 | @echo "This command is intended for maintainers to use" | ||
670 | @echo "it deletes files that may require special tools to rebuild." | ||
671 | -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) | ||
672 | clean: clean-am | ||
673 | |||
674 | clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \ | ||
675 | clean-pkgLTLIBRARIES mostlyclean-am | ||
676 | |||
677 | distclean: distclean-am | ||
678 | -rm -rf ./$(DEPDIR) | ||
679 | -rm -f Makefile | ||
680 | distclean-am: clean-am distclean-compile distclean-generic \ | ||
681 | distclean-tags | ||
682 | |||
683 | dvi: dvi-am | ||
684 | |||
685 | dvi-am: | ||
686 | |||
687 | html: html-am | ||
688 | |||
689 | html-am: | ||
690 | |||
691 | info: info-am | ||
692 | |||
693 | info-am: | ||
694 | |||
695 | install-data-am: install-pkgLTLIBRARIES | ||
696 | |||
697 | install-dvi: install-dvi-am | ||
698 | |||
699 | install-dvi-am: | ||
700 | |||
701 | install-exec-am: | ||
702 | |||
703 | install-html: install-html-am | ||
704 | |||
705 | install-html-am: | ||
706 | |||
707 | install-info: install-info-am | ||
708 | |||
709 | install-info-am: | ||
710 | |||
711 | install-man: | ||
712 | |||
713 | install-pdf: install-pdf-am | ||
714 | |||
715 | install-pdf-am: | ||
716 | |||
717 | install-ps: install-ps-am | ||
718 | |||
719 | install-ps-am: | ||
720 | |||
721 | installcheck-am: | ||
722 | |||
723 | maintainer-clean: maintainer-clean-am | ||
724 | -rm -rf ./$(DEPDIR) | ||
725 | -rm -f Makefile | ||
726 | maintainer-clean-am: distclean-am maintainer-clean-generic | ||
727 | |||
728 | mostlyclean: mostlyclean-am | ||
729 | |||
730 | mostlyclean-am: mostlyclean-compile mostlyclean-generic \ | ||
731 | mostlyclean-libtool | ||
732 | |||
733 | pdf: pdf-am | ||
734 | |||
735 | pdf-am: | ||
736 | |||
737 | ps: ps-am | ||
738 | |||
739 | ps-am: | ||
740 | |||
741 | uninstall-am: uninstall-pkgLTLIBRARIES | ||
742 | |||
743 | .MAKE: install-am install-strip | ||
744 | |||
745 | .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ | ||
746 | clean-libtool clean-noinstLTLIBRARIES clean-pkgLTLIBRARIES \ | ||
747 | ctags distclean distclean-compile distclean-generic \ | ||
748 | distclean-libtool distclean-tags distdir dvi dvi-am html \ | ||
749 | html-am info info-am install install-am install-data \ | ||
750 | install-data-am install-dvi install-dvi-am install-exec \ | ||
751 | install-exec-am install-html install-html-am install-info \ | ||
752 | install-info-am install-man install-pdf install-pdf-am \ | ||
753 | install-pkgLTLIBRARIES install-ps install-ps-am install-strip \ | ||
754 | installcheck installcheck-am installdirs maintainer-clean \ | ||
755 | maintainer-clean-generic mostlyclean mostlyclean-compile \ | ||
756 | mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ | ||
757 | tags uninstall uninstall-am uninstall-pkgLTLIBRARIES | ||
758 | |||
759 | |||
760 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | ||
761 | # Otherwise a system limit (for SysV at least) may be exceeded. | ||
762 | .NOEXPORT: | ||
diff --git a/libraries/evas/src/modules/loaders/pmaps/evas_image_load_pmaps.c b/libraries/evas/src/modules/loaders/pmaps/evas_image_load_pmaps.c deleted file mode 100644 index 393e407..0000000 --- a/libraries/evas/src/modules/loaders/pmaps/evas_image_load_pmaps.c +++ /dev/null | |||
@@ -1,590 +0,0 @@ | |||
1 | #ifdef HAVE_CONFIG_H | ||
2 | # include <config.h> | ||
3 | #endif | ||
4 | |||
5 | #ifdef HAVE_EVIL | ||
6 | # include <Evil.h> | ||
7 | #endif | ||
8 | |||
9 | #include "evas_common.h" | ||
10 | #include "evas_private.h" | ||
11 | |||
12 | #define FILE_BUFFER_SIZE 1024 * 32 | ||
13 | #define FILE_BUFFER_UNREAD_SIZE 16 | ||
14 | |||
15 | static Eina_Bool evas_image_load_file_head_pmaps(Image_Entry *ie, const char *file, const char *key, int *error) EINA_ARG_NONNULL(1, 2, 4); | ||
16 | static Eina_Bool evas_image_load_file_data_pmaps(Image_Entry *ie, const char *file, const char *key, int *error) EINA_ARG_NONNULL(1, 2, 4); | ||
17 | |||
18 | Evas_Image_Load_Func evas_image_load_pmaps_func = { | ||
19 | EINA_TRUE, | ||
20 | evas_image_load_file_head_pmaps, | ||
21 | evas_image_load_file_data_pmaps, | ||
22 | NULL, | ||
23 | EINA_FALSE | ||
24 | }; | ||
25 | |||
26 | /* The buffer to load pmaps images */ | ||
27 | typedef struct Pmaps_Buffer Pmaps_Buffer; | ||
28 | |||
29 | struct Pmaps_Buffer | ||
30 | { | ||
31 | Eina_File *file; | ||
32 | void *map; | ||
33 | size_t position; | ||
34 | |||
35 | /* the buffer */ | ||
36 | DATA8 buffer[FILE_BUFFER_SIZE]; | ||
37 | DATA8 unread[FILE_BUFFER_UNREAD_SIZE]; | ||
38 | DATA8 *current; | ||
39 | DATA8 *end; | ||
40 | char type[3]; | ||
41 | unsigned char unread_len:7; | ||
42 | unsigned char last_buffer:1; | ||
43 | |||
44 | /* image properties */ | ||
45 | int w; | ||
46 | int h; | ||
47 | int max; | ||
48 | |||
49 | /* interface */ | ||
50 | int (*int_get) (Pmaps_Buffer *b, int *val); | ||
51 | int (*color_get) (Pmaps_Buffer *b, DATA32 *color); | ||
52 | }; | ||
53 | |||
54 | /* internal used functions */ | ||
55 | static Eina_Bool pmaps_buffer_open(Pmaps_Buffer *b, const char *filename, int *error); | ||
56 | static void pmaps_buffer_close(Pmaps_Buffer *b); | ||
57 | static Eina_Bool pmaps_buffer_header_parse(Pmaps_Buffer *b, int *error); | ||
58 | static int pmaps_buffer_plain_int_get(Pmaps_Buffer *b, int *val); | ||
59 | static int pmaps_buffer_1byte_int_get(Pmaps_Buffer *b, int *val); | ||
60 | static int pmaps_buffer_2byte_int_get(Pmaps_Buffer *b, int *val); | ||
61 | static int pmaps_buffer_gray_get(Pmaps_Buffer *b, DATA32 *color); | ||
62 | static int pmaps_buffer_rgb_get(Pmaps_Buffer *b, DATA32 *color); | ||
63 | static int pmaps_buffer_plain_bw_get(Pmaps_Buffer *b, DATA32 *color); | ||
64 | |||
65 | static size_t pmaps_buffer_plain_update(Pmaps_Buffer *b); | ||
66 | static size_t pmaps_buffer_raw_update(Pmaps_Buffer *b); | ||
67 | static int pmaps_buffer_comment_skip(Pmaps_Buffer *b); | ||
68 | |||
69 | static Eina_Bool | ||
70 | evas_image_load_file_head_pmaps(Image_Entry *ie, const char *file, const char *key __UNUSED__, int *error) | ||
71 | { | ||
72 | Pmaps_Buffer b; | ||
73 | |||
74 | if (!pmaps_buffer_open(&b, file, error)) | ||
75 | { | ||
76 | pmaps_buffer_close(&b); | ||
77 | return EINA_FALSE; | ||
78 | } | ||
79 | |||
80 | if (!pmaps_buffer_header_parse(&b, error)) | ||
81 | { | ||
82 | pmaps_buffer_close(&b); | ||
83 | return EINA_FALSE; | ||
84 | } | ||
85 | |||
86 | ie->w = b.w; | ||
87 | ie->h = b.h; | ||
88 | |||
89 | pmaps_buffer_close(&b); | ||
90 | *error = EVAS_LOAD_ERROR_NONE; | ||
91 | return EINA_TRUE; | ||
92 | } | ||
93 | |||
94 | static Eina_Bool | ||
95 | evas_image_load_file_data_pmaps(Image_Entry *ie, const char *file, const char *key __UNUSED__, int *error) | ||
96 | { | ||
97 | Pmaps_Buffer b; | ||
98 | int pixels; | ||
99 | DATA32 *ptr; | ||
100 | |||
101 | if (!pmaps_buffer_open(&b, file, error)) | ||
102 | { | ||
103 | pmaps_buffer_close(&b); | ||
104 | return EINA_FALSE; | ||
105 | } | ||
106 | |||
107 | if (!pmaps_buffer_header_parse(&b, error)) | ||
108 | { | ||
109 | pmaps_buffer_close(&b); | ||
110 | return EINA_FALSE; | ||
111 | } | ||
112 | |||
113 | pixels = b.w * b.h; | ||
114 | |||
115 | evas_cache_image_surface_alloc(ie, b.w, b.h); | ||
116 | ptr = evas_cache_image_pixels(ie); | ||
117 | if (!ptr) | ||
118 | { | ||
119 | pmaps_buffer_close(&b); | ||
120 | *error = EVAS_LOAD_ERROR_RESOURCE_ALLOCATION_FAILED; | ||
121 | return EINA_FALSE; | ||
122 | } | ||
123 | |||
124 | if (b.type[1] != '4') | ||
125 | { | ||
126 | while (pixels > 0 && b.color_get(&b, ptr)) | ||
127 | { | ||
128 | pixels--; | ||
129 | ptr++; | ||
130 | } | ||
131 | } | ||
132 | else | ||
133 | { | ||
134 | while (pixels > 0 | ||
135 | && (b.current != b.end || pmaps_buffer_raw_update(&b))) | ||
136 | { | ||
137 | int i; | ||
138 | |||
139 | for (i = 7; i >= 0 && pixels > 0; i--) | ||
140 | { | ||
141 | if (*b.current & (1 << i)) | ||
142 | *ptr = 0xff000000; | ||
143 | else | ||
144 | *ptr = 0xffffffff; | ||
145 | ptr++; | ||
146 | pixels--; | ||
147 | } | ||
148 | b.current++; | ||
149 | } | ||
150 | } | ||
151 | |||
152 | /* if there are some pix missing, give them a proper default */ | ||
153 | memset(ptr, 0xff, 4 * pixels); | ||
154 | pmaps_buffer_close(&b); | ||
155 | |||
156 | *error = EVAS_LOAD_ERROR_NONE; | ||
157 | return EINA_TRUE; | ||
158 | } | ||
159 | |||
160 | /* internal used functions */ | ||
161 | static Eina_Bool | ||
162 | pmaps_buffer_open(Pmaps_Buffer *b, const char *filename, int *error) | ||
163 | { | ||
164 | size_t len; | ||
165 | |||
166 | b->file = eina_file_open(filename, EINA_FALSE); | ||
167 | if (!b->file) | ||
168 | { | ||
169 | *error = EVAS_LOAD_ERROR_DOES_NOT_EXIST; | ||
170 | return EINA_FALSE; | ||
171 | } | ||
172 | |||
173 | b->map = eina_file_map_all(b->file, EINA_FILE_SEQUENTIAL); | ||
174 | if (!b->map) | ||
175 | { | ||
176 | *error = EVAS_LOAD_ERROR_DOES_NOT_EXIST; | ||
177 | eina_file_close(b->file); | ||
178 | b->file = NULL; | ||
179 | return EINA_FALSE; | ||
180 | } | ||
181 | |||
182 | b->position = 0; | ||
183 | *b->buffer = 0; | ||
184 | *b->unread = 0; | ||
185 | b->last_buffer = 0; | ||
186 | b->unread_len = 0; | ||
187 | |||
188 | len = pmaps_buffer_plain_update(b); | ||
189 | |||
190 | if (len < 3) | ||
191 | { | ||
192 | *error = EVAS_LOAD_ERROR_CORRUPT_FILE; | ||
193 | eina_file_map_free(b->file, b->map); | ||
194 | eina_file_close(b->file); | ||
195 | b->map = NULL; | ||
196 | b->file = NULL; | ||
197 | return EINA_FALSE; | ||
198 | } | ||
199 | |||
200 | /* copy the type */ | ||
201 | b->type[0] = b->buffer[0]; | ||
202 | b->type[1] = b->buffer[1]; | ||
203 | b->type[2] = 0; | ||
204 | /* skip the PX */ | ||
205 | b->current = b->buffer + 2; | ||
206 | |||
207 | *error = EVAS_LOAD_ERROR_NONE; | ||
208 | return EINA_TRUE; | ||
209 | } | ||
210 | |||
211 | static void | ||
212 | pmaps_buffer_close(Pmaps_Buffer *b) | ||
213 | { | ||
214 | if (b->file) | ||
215 | { | ||
216 | if (b->map) eina_file_map_free(b->file, b->map); | ||
217 | b->map = NULL; | ||
218 | eina_file_close(b->file); | ||
219 | b->file = NULL; | ||
220 | } | ||
221 | } | ||
222 | |||
223 | static Eina_Bool | ||
224 | pmaps_buffer_header_parse(Pmaps_Buffer *b, int *error) | ||
225 | { | ||
226 | /* if there is no P at the beginning it is not a file we can parse */ | ||
227 | if (b->type[0] != 'P') | ||
228 | { | ||
229 | *error = EVAS_LOAD_ERROR_UNKNOWN_FORMAT; | ||
230 | return EINA_FALSE; | ||
231 | } | ||
232 | |||
233 | /* get the width */ | ||
234 | if (!pmaps_buffer_plain_int_get(b, &(b->w)) || b->w < 1) | ||
235 | { | ||
236 | *error = EVAS_LOAD_ERROR_CORRUPT_FILE; | ||
237 | return EINA_FALSE; | ||
238 | } | ||
239 | |||
240 | /* get the height */ | ||
241 | if (!pmaps_buffer_plain_int_get(b, &(b->h)) || b->h < 1) | ||
242 | { | ||
243 | *error = EVAS_LOAD_ERROR_CORRUPT_FILE; | ||
244 | return EINA_FALSE; | ||
245 | } | ||
246 | |||
247 | /* get the maximum value. P1 and P4 don't have a maximum value. */ | ||
248 | if (!(b->type[1] == '1' || b->type[1] == '4') | ||
249 | && (!pmaps_buffer_plain_int_get(b, &(b->max)) || b->max < 1)) | ||
250 | { | ||
251 | *error = EVAS_LOAD_ERROR_UNKNOWN_FORMAT; | ||
252 | return EINA_FALSE; | ||
253 | } | ||
254 | |||
255 | /* set up the color get callback */ | ||
256 | switch (b->type[1]) | ||
257 | { | ||
258 | /* Black and White */ | ||
259 | case '1': | ||
260 | b->color_get = pmaps_buffer_plain_bw_get; | ||
261 | break; | ||
262 | case '4': | ||
263 | /* Binary black and white use another format */ | ||
264 | b->color_get = NULL; | ||
265 | break; | ||
266 | case '2': | ||
267 | case '5': | ||
268 | b->color_get = pmaps_buffer_gray_get; | ||
269 | break; | ||
270 | case '3': | ||
271 | case '6': | ||
272 | b->color_get = pmaps_buffer_rgb_get; | ||
273 | break; | ||
274 | case '7': | ||
275 | /* XXX write me */ | ||
276 | return 0; | ||
277 | break; | ||
278 | default: | ||
279 | return 0; | ||
280 | } | ||
281 | /* set up the int get callback */ | ||
282 | switch (b->type[1]) | ||
283 | { | ||
284 | /* RAW */ | ||
285 | case '5': | ||
286 | case '6': | ||
287 | if (b->max < 256) | ||
288 | b->int_get = pmaps_buffer_1byte_int_get; | ||
289 | else | ||
290 | b->int_get = pmaps_buffer_2byte_int_get; | ||
291 | |||
292 | if (b->current == b->end && !pmaps_buffer_raw_update(b)) | ||
293 | return 0; | ||
294 | |||
295 | b->current++; | ||
296 | break; | ||
297 | /* Plain */ | ||
298 | case '2': | ||
299 | case '3': | ||
300 | b->int_get = pmaps_buffer_plain_int_get; | ||
301 | break; | ||
302 | /* Black and White Bitmaps don't use that callback */ | ||
303 | case '1': | ||
304 | case '4': | ||
305 | b->int_get = NULL; | ||
306 | /* we need to skip the next character fpr P4 it | ||
307 | * doesn't hurt if we do it for the P1 as well */ | ||
308 | b->current++; | ||
309 | break; | ||
310 | } | ||
311 | return 1; | ||
312 | } | ||
313 | |||
314 | static size_t | ||
315 | pmaps_buffer_plain_update(Pmaps_Buffer *b) | ||
316 | { | ||
317 | size_t r; | ||
318 | size_t max; | ||
319 | |||
320 | /* if we already are in the last buffer we can not update it */ | ||
321 | if (b->last_buffer) | ||
322 | return 0; | ||
323 | |||
324 | /* if we have unread bytes we need to put them before the new read | ||
325 | * stuff */ | ||
326 | if (b->unread_len) | ||
327 | memcpy(b->buffer, b->unread, b->unread_len); | ||
328 | |||
329 | max = FILE_BUFFER_SIZE - b->unread_len - 1; | ||
330 | if (b->position + max > eina_file_size_get(b->file)) | ||
331 | max = eina_file_size_get(b->file) - b->position; | ||
332 | |||
333 | memcpy(&b->buffer[b->unread_len], b->map + b->position, max); | ||
334 | b->position += max; | ||
335 | r = max + b->unread_len; | ||
336 | |||
337 | /* we haven't read anything nor have we bytes in the unread buffer */ | ||
338 | if (r == 0) | ||
339 | { | ||
340 | b->buffer[0] = '\0'; | ||
341 | b->end = b->buffer; | ||
342 | b->last_buffer = 1; | ||
343 | return 0; | ||
344 | } | ||
345 | |||
346 | if (r < FILE_BUFFER_SIZE - 1) | ||
347 | { | ||
348 | /*we reached eof */ ; | ||
349 | b->last_buffer = 1; | ||
350 | } | ||
351 | |||
352 | b->buffer[r] = 0; | ||
353 | |||
354 | b->unread[0] = '\0'; | ||
355 | b->unread_len = 0; | ||
356 | |||
357 | b->buffer[r] = '\0'; | ||
358 | b->current = b->buffer; | ||
359 | b->end = b->buffer + r; | ||
360 | |||
361 | return r; | ||
362 | } | ||
363 | |||
364 | static size_t | ||
365 | pmaps_buffer_raw_update(Pmaps_Buffer *b) | ||
366 | { | ||
367 | size_t r; | ||
368 | size_t max; | ||
369 | |||
370 | if (b->last_buffer) | ||
371 | return 0; | ||
372 | |||
373 | if (b->unread_len) | ||
374 | memcpy(b->buffer, b->unread, b->unread_len); | ||
375 | |||
376 | max = FILE_BUFFER_SIZE - b->unread_len; | ||
377 | if (b->position + max > eina_file_size_get(b->file)) | ||
378 | max = eina_file_size_get(b->file) - b->position; | ||
379 | |||
380 | memcpy(&b->buffer[b->unread_len], b->map + b->position, max); | ||
381 | b->position += max; | ||
382 | r = max + b->unread_len; | ||
383 | |||
384 | if (r < FILE_BUFFER_SIZE) | ||
385 | { | ||
386 | /*we reached eof */ | ||
387 | b->last_buffer = 1; | ||
388 | } | ||
389 | |||
390 | b->end = b->buffer + r; | ||
391 | b->current = b->buffer; | ||
392 | |||
393 | if (b->unread_len) | ||
394 | { | ||
395 | /* the buffer is now read */ | ||
396 | *b->unread = 0; | ||
397 | b->unread_len = 0; | ||
398 | } | ||
399 | |||
400 | return r; | ||
401 | } | ||
402 | |||
403 | static int | ||
404 | pmaps_buffer_plain_int_get(Pmaps_Buffer *b, int *val) | ||
405 | { | ||
406 | char *start; | ||
407 | DATA8 lastc; | ||
408 | |||
409 | /* first skip all white space | ||
410 | * Note: we are skipping here actually every character than is not | ||
411 | * a digit */ | ||
412 | while (!isdigit(*b->current)) | ||
413 | { | ||
414 | if (*b->current == '\0') | ||
415 | { | ||
416 | if (!pmaps_buffer_plain_update(b)) | ||
417 | return 0; | ||
418 | |||
419 | continue; | ||
420 | } | ||
421 | if (*b->current == '#' && !pmaps_buffer_comment_skip(b)) | ||
422 | return 0; | ||
423 | b->current++; | ||
424 | } | ||
425 | |||
426 | start = (char *)b->current; | ||
427 | /* now find the end of the number */ | ||
428 | while (isdigit(*b->current)) | ||
429 | b->current++; | ||
430 | |||
431 | lastc = *b->current; | ||
432 | *b->current = '\0'; | ||
433 | *val = atoi(start); | ||
434 | *b->current = lastc; | ||
435 | |||
436 | return 1; | ||
437 | } | ||
438 | |||
439 | static int | ||
440 | pmaps_buffer_1byte_int_get(Pmaps_Buffer *b, int *val) | ||
441 | { | ||
442 | /* are we at the end of the buffer? */ | ||
443 | if (b->current == b->end && !pmaps_buffer_raw_update(b)) | ||
444 | return 0; | ||
445 | |||
446 | *val = *b->current; | ||
447 | b->current++; | ||
448 | |||
449 | return 1; | ||
450 | } | ||
451 | static int | ||
452 | pmaps_buffer_2byte_int_get(Pmaps_Buffer *b, int *val) | ||
453 | { | ||
454 | /* are we at the end of the buffer? */ | ||
455 | if (b->current == b->end && !pmaps_buffer_raw_update(b)) | ||
456 | return 0; | ||
457 | |||
458 | *val = (int)(*b->current << 8); | ||
459 | b->current++; | ||
460 | |||
461 | /* are we at the end of the buffer? */ | ||
462 | if (b->current == b->end && !pmaps_buffer_raw_update(b)) | ||
463 | return 0; | ||
464 | |||
465 | *val |= *b->current; | ||
466 | b->current++; | ||
467 | |||
468 | return 1; | ||
469 | } | ||
470 | |||
471 | static int | ||
472 | pmaps_buffer_comment_skip(Pmaps_Buffer *b) | ||
473 | { | ||
474 | while (*b->current != '\n') | ||
475 | { | ||
476 | if (*b->current == '\0') | ||
477 | { | ||
478 | if (!pmaps_buffer_plain_update(b)) | ||
479 | return 0; | ||
480 | |||
481 | continue; | ||
482 | } | ||
483 | b->current++; | ||
484 | } | ||
485 | return 1; | ||
486 | } | ||
487 | |||
488 | static int | ||
489 | pmaps_buffer_rgb_get(Pmaps_Buffer *b, DATA32 *color) | ||
490 | { | ||
491 | int vr, vg, vb; | ||
492 | |||
493 | if (!b->int_get(b, &vr) || !b->int_get(b, &vg) || !b->int_get(b, &vb)) | ||
494 | return 0; | ||
495 | |||
496 | if (b->max != 255) | ||
497 | { | ||
498 | vr = (vr * 255) / b->max; | ||
499 | vg = (vg * 255) / b->max; | ||
500 | vb = (vb * 255) / b->max; | ||
501 | } | ||
502 | if (vr > 255) | ||
503 | vr = 255; | ||
504 | if (vg > 255) | ||
505 | vg = 255; | ||
506 | if (vb > 255) | ||
507 | vb = 255; | ||
508 | |||
509 | *color = ARGB_JOIN(0xff, vr, vg, vb); | ||
510 | |||
511 | return 1; | ||
512 | } | ||
513 | |||
514 | static int | ||
515 | pmaps_buffer_gray_get(Pmaps_Buffer *b, DATA32 *color) | ||
516 | { | ||
517 | int val; | ||
518 | |||
519 | if (!b->int_get(b, &val)) | ||
520 | return 0; | ||
521 | |||
522 | if (b->max != 255) | ||
523 | val = (val * 255) / b->max; | ||
524 | if (val > 255) | ||
525 | val = 255; | ||
526 | *color = ARGB_JOIN(0xff, val, val, val); | ||
527 | |||
528 | return 1; | ||
529 | } | ||
530 | |||
531 | static int | ||
532 | pmaps_buffer_plain_bw_get(Pmaps_Buffer *b, DATA32 *val) | ||
533 | { | ||
534 | /* first skip all white space | ||
535 | * Note: we are skipping here actually every character than is not | ||
536 | * a digit */ | ||
537 | while (!isdigit(*b->current)) | ||
538 | { | ||
539 | if (*b->current == '\0') | ||
540 | { | ||
541 | if (!pmaps_buffer_raw_update(b)) | ||
542 | return 0; | ||
543 | |||
544 | continue; | ||
545 | } | ||
546 | if (*b->current == '#' && !pmaps_buffer_comment_skip(b)) | ||
547 | return 0; | ||
548 | b->current++; | ||
549 | } | ||
550 | |||
551 | if (*b->current == '0') | ||
552 | *val = 0xffffffff; | ||
553 | else | ||
554 | *val = 0xff000000; | ||
555 | |||
556 | b->current++; | ||
557 | |||
558 | return 1; | ||
559 | } | ||
560 | |||
561 | /* external functions */ | ||
562 | static int | ||
563 | module_open(Evas_Module *em) | ||
564 | { | ||
565 | if (!em) | ||
566 | return 0; | ||
567 | em->functions = (void *)(&evas_image_load_pmaps_func); | ||
568 | return 1; | ||
569 | } | ||
570 | |||
571 | static void | ||
572 | module_close(Evas_Module *em __UNUSED__) | ||
573 | { | ||
574 | } | ||
575 | |||
576 | static Evas_Module_Api evas_modapi = { | ||
577 | EVAS_MODULE_API_VERSION, | ||
578 | "pmaps", | ||
579 | "none", | ||
580 | { | ||
581 | module_open, | ||
582 | module_close | ||
583 | } | ||
584 | }; | ||
585 | |||
586 | EVAS_MODULE_DEFINE(EVAS_MODULE_TYPE_IMAGE_LOADER, image_loader, pmaps); | ||
587 | |||
588 | #ifndef EVAS_STATIC_BUILD_PMAPS | ||
589 | EVAS_EINA_MODULE_DEFINE(image_loader, pmaps); | ||
590 | #endif | ||