aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/evas/src/modules/loaders/xpm
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/evas/src/modules/loaders/xpm')
-rw-r--r--libraries/evas/src/modules/loaders/xpm/Makefile.am34
-rw-r--r--libraries/evas/src/modules/loaders/xpm/Makefile.in762
-rw-r--r--libraries/evas/src/modules/loaders/xpm/evas_image_load_xpm.c694
3 files changed, 0 insertions, 1490 deletions
diff --git a/libraries/evas/src/modules/loaders/xpm/Makefile.am b/libraries/evas/src/modules/loaders/xpm/Makefile.am
deleted file mode 100644
index 83c9970..0000000
--- a/libraries/evas/src/modules/loaders/xpm/Makefile.am
+++ /dev/null
@@ -1,34 +0,0 @@
1
2MAINTAINERCLEANFILES = Makefile.in
3
4AM_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_xpm_cflags@ \
12@EVIL_CFLAGS@
13
14if BUILD_LOADER_XPM
15if !EVAS_STATIC_BUILD_XPM
16pkgdir = $(libdir)/evas/modules/loaders/xpm/$(MODULE_ARCH)
17
18pkg_LTLIBRARIES = module.la
19
20module_la_SOURCES = evas_image_load_xpm.c
21
22module_la_LIBADD = @EINA_LIBS@ @EVIL_LIBS@ @evas_image_loader_xpm_libs@ $(top_builddir)/src/lib/libevas.la
23module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version
24module_la_LIBTOOLFLAGS = --tag=disable-static
25
26else
27
28noinst_LTLIBRARIES = libevas_loader_xpm.la
29
30libevas_loader_xpm_la_SOURCES = evas_image_load_xpm.c
31libevas_loader_xpm_la_LIBADD = @evas_image_loader_xpm_libs@
32
33endif
34endif
diff --git a/libraries/evas/src/modules/loaders/xpm/Makefile.in b/libraries/evas/src/modules/loaders/xpm/Makefile.in
deleted file mode 100644
index cfce4ad..0000000
--- a/libraries/evas/src/modules/loaders/xpm/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
18VPATH = @srcdir@
19pkgdatadir = $(datadir)/@PACKAGE@
20pkgincludedir = $(includedir)/@PACKAGE@
21pkglibdir = $(libdir)/@PACKAGE@
22pkglibexecdir = $(libexecdir)/@PACKAGE@
23am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
24install_sh_DATA = $(install_sh) -c -m 644
25install_sh_PROGRAM = $(install_sh) -c
26install_sh_SCRIPT = $(install_sh) -c
27INSTALL_HEADER = $(INSTALL_DATA)
28transform = $(program_transform_name)
29NORMAL_INSTALL = :
30PRE_INSTALL = :
31POST_INSTALL = :
32NORMAL_UNINSTALL = :
33PRE_UNINSTALL = :
34POST_UNINSTALL = :
35build_triplet = @build@
36host_triplet = @host@
37subdir = src/modules/loaders/xpm
38DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
39ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
40am__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
53am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
54 $(ACLOCAL_M4)
55mkinstalldirs = $(install_sh) -d
56CONFIG_HEADER = $(top_builddir)/config.h
57CONFIG_CLEAN_FILES =
58CONFIG_CLEAN_VPATH_FILES =
59am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
60am__vpath_adj = case $$p in \
61 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
62 *) f=$$p;; \
63 esac;
64am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
65am__install_max = 40
66am__nobase_strip_setup = \
67 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
68am__nobase_strip = \
69 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
70am__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] }'
77am__base_list = \
78 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
79 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
80am__installdirs = "$(DESTDIR)$(pkgdir)"
81LTLIBRARIES = $(noinst_LTLIBRARIES) $(pkg_LTLIBRARIES)
82libevas_loader_xpm_la_DEPENDENCIES =
83am__libevas_loader_xpm_la_SOURCES_DIST = evas_image_load_xpm.c
84@BUILD_LOADER_XPM_TRUE@@EVAS_STATIC_BUILD_XPM_TRUE@am_libevas_loader_xpm_la_OBJECTS = evas_image_load_xpm.lo
85libevas_loader_xpm_la_OBJECTS = $(am_libevas_loader_xpm_la_OBJECTS)
86AM_V_lt = $(am__v_lt_$(V))
87am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
88am__v_lt_0 = --silent
89@BUILD_LOADER_XPM_TRUE@@EVAS_STATIC_BUILD_XPM_TRUE@am_libevas_loader_xpm_la_rpath =
90@BUILD_LOADER_XPM_TRUE@@EVAS_STATIC_BUILD_XPM_FALSE@module_la_DEPENDENCIES = $(top_builddir)/src/lib/libevas.la
91am__module_la_SOURCES_DIST = evas_image_load_xpm.c
92@BUILD_LOADER_XPM_TRUE@@EVAS_STATIC_BUILD_XPM_FALSE@am_module_la_OBJECTS = module_la-evas_image_load_xpm.lo
93module_la_OBJECTS = $(am_module_la_OBJECTS)
94module_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
95 $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
96 $(AM_CFLAGS) $(CFLAGS) $(module_la_LDFLAGS) $(LDFLAGS) -o $@
97@BUILD_LOADER_XPM_TRUE@@EVAS_STATIC_BUILD_XPM_FALSE@am_module_la_rpath = \
98@BUILD_LOADER_XPM_TRUE@@EVAS_STATIC_BUILD_XPM_FALSE@ -rpath \
99@BUILD_LOADER_XPM_TRUE@@EVAS_STATIC_BUILD_XPM_FALSE@ $(pkgdir)
100DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
101depcomp = $(SHELL) $(top_srcdir)/depcomp
102am__depfiles_maybe = depfiles
103am__mv = mv -f
104COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
105 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
106LTCOMPILE = $(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)
110AM_V_CC = $(am__v_CC_$(V))
111am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
112am__v_CC_0 = @echo " CC " $@;
113AM_V_at = $(am__v_at_$(V))
114am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
115am__v_at_0 = @
116CCLD = $(CC)
117LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
118 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
119 $(AM_LDFLAGS) $(LDFLAGS) -o $@
120AM_V_CCLD = $(am__v_CCLD_$(V))
121am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
122am__v_CCLD_0 = @echo " CCLD " $@;
123AM_V_GEN = $(am__v_GEN_$(V))
124am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
125am__v_GEN_0 = @echo " GEN " $@;
126SOURCES = $(libevas_loader_xpm_la_SOURCES) $(module_la_SOURCES)
127DIST_SOURCES = $(am__libevas_loader_xpm_la_SOURCES_DIST) \
128 $(am__module_la_SOURCES_DIST)
129ETAGS = etags
130CTAGS = ctags
131DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
132ACLOCAL = @ACLOCAL@
133ALLOCA = @ALLOCA@
134AMTAR = @AMTAR@
135AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
136AR = @AR@
137AS = @AS@
138AUTOCONF = @AUTOCONF@
139AUTOHEADER = @AUTOHEADER@
140AUTOMAKE = @AUTOMAKE@
141AWK = @AWK@
142CC = @CC@
143CCDEPMODE = @CCDEPMODE@
144CFLAGS = @CFLAGS@
145CHECK_CFLAGS = @CHECK_CFLAGS@
146CHECK_LIBS = @CHECK_LIBS@
147CPP = @CPP@
148CPPFLAGS = @CPPFLAGS@
149CXX = @CXX@
150CXXCPP = @CXXCPP@
151CXXDEPMODE = @CXXDEPMODE@
152CXXFLAGS = @CXXFLAGS@
153CYGPATH_W = @CYGPATH_W@
154DEFS = @DEFS@
155DEPDIR = @DEPDIR@
156DIRECTFB_CFLAGS = @DIRECTFB_CFLAGS@
157DIRECTFB_LIBS = @DIRECTFB_LIBS@
158DLLTOOL = @DLLTOOL@
159DSYMUTIL = @DSYMUTIL@
160DUMPBIN = @DUMPBIN@
161ECHO_C = @ECHO_C@
162ECHO_N = @ECHO_N@
163ECHO_T = @ECHO_T@
164ECORE_EVAS_CFLAGS = @ECORE_EVAS_CFLAGS@
165ECORE_EVAS_LIBS = @ECORE_EVAS_LIBS@
166EDB_CFLAGS = @EDB_CFLAGS@
167EDB_LIBS = @EDB_LIBS@
168EDJE_CFLAGS = @EDJE_CFLAGS@
169EDJE_LIBS = @EDJE_LIBS@
170EET_CFLAGS = @EET_CFLAGS@
171EET_LIBS = @EET_LIBS@
172EFL_COVERAGE_CFLAGS = @EFL_COVERAGE_CFLAGS@
173EFL_COVERAGE_LIBS = @EFL_COVERAGE_LIBS@
174EFL_FNMATCH_LIBS = @EFL_FNMATCH_LIBS@
175EGREP = @EGREP@
176EINA_CFLAGS = @EINA_CFLAGS@
177EINA_LIBS = @EINA_LIBS@
178EVAS_CFLAGS = @EVAS_CFLAGS@
179EVAS_LIBS = @EVAS_LIBS@
180EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
181EVIL_CFLAGS = @EVIL_CFLAGS@
182EVIL_LIBS = @EVIL_LIBS@
183EXEEXT = @EXEEXT@
184EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
185EXOTIC_LIBS = @EXOTIC_LIBS@
186FGREP = @FGREP@
187FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
188FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
189FREETYPE_CFLAGS = @FREETYPE_CFLAGS@
190FREETYPE_LIBS = @FREETYPE_LIBS@
191FRIBIDI_CFLAGS = @FRIBIDI_CFLAGS@
192FRIBIDI_LIBS = @FRIBIDI_LIBS@
193GL_EET_CFLAGS = @GL_EET_CFLAGS@
194GL_EET_LIBS = @GL_EET_LIBS@
195GREP = @GREP@
196HARFBUZZ_CFLAGS = @HARFBUZZ_CFLAGS@
197HARFBUZZ_LIBS = @HARFBUZZ_LIBS@
198INSTALL = @INSTALL@
199INSTALL_DATA = @INSTALL_DATA@
200INSTALL_PROGRAM = @INSTALL_PROGRAM@
201INSTALL_SCRIPT = @INSTALL_SCRIPT@
202INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
203LD = @LD@
204LDFLAGS = @LDFLAGS@
205LIBOBJS = @LIBOBJS@
206LIBS = @LIBS@
207LIBTOOL = @LIBTOOL@
208LINEBREAK_CFLAGS = @LINEBREAK_CFLAGS@
209LINEBREAK_LIBS = @LINEBREAK_LIBS@
210LIPO = @LIPO@
211LN_S = @LN_S@
212LTLIBOBJS = @LTLIBOBJS@
213MAKEINFO = @MAKEINFO@
214MKDIR_P = @MKDIR_P@
215MODULE_ARCH = @MODULE_ARCH@
216NM = @NM@
217NMEDIT = @NMEDIT@
218OBJC = @OBJC@
219OBJCDEPMODE = @OBJCDEPMODE@
220OBJCFLAGS = @OBJCFLAGS@
221OBJDUMP = @OBJDUMP@
222OBJEXT = @OBJEXT@
223OTOOL = @OTOOL@
224OTOOL64 = @OTOOL64@
225PACKAGE = @PACKAGE@
226PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
227PACKAGE_NAME = @PACKAGE_NAME@
228PACKAGE_STRING = @PACKAGE_STRING@
229PACKAGE_TARNAME = @PACKAGE_TARNAME@
230PACKAGE_URL = @PACKAGE_URL@
231PACKAGE_VERSION = @PACKAGE_VERSION@
232PATH_SEPARATOR = @PATH_SEPARATOR@
233PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
234PIXMAN_LIBS = @PIXMAN_LIBS@
235PKG_CONFIG = @PKG_CONFIG@
236PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
237PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
238PNG_CFLAGS = @PNG_CFLAGS@
239PNG_LIBS = @PNG_LIBS@
240RANLIB = @RANLIB@
241SDL_CFLAGS = @SDL_CFLAGS@
242SDL_LIBS = @SDL_LIBS@
243SED = @SED@
244SET_MAKE = @SET_MAKE@
245SHELL = @SHELL@
246SHM_OPEN_LINK = @SHM_OPEN_LINK@
247STRIP = @STRIP@
248SVG_CFLAGS = @SVG_CFLAGS@
249SVG_LIBS = @SVG_LIBS@
250VALGRIND_CFLAGS = @VALGRIND_CFLAGS@
251VALGRIND_LIBS = @VALGRIND_LIBS@
252VERSION = @VERSION@
253VMAJ = @VMAJ@
254WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
255WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
256XCB_CFLAGS = @XCB_CFLAGS@
257XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
258XCB_GL_LIBS = @XCB_GL_LIBS@
259XCB_LIBS = @XCB_LIBS@
260XEXT_CFLAGS = @XEXT_CFLAGS@
261XEXT_LIBS = @XEXT_LIBS@
262XMKMF = @XMKMF@
263X_CFLAGS = @X_CFLAGS@
264X_EXTRA_LIBS = @X_EXTRA_LIBS@
265X_LIBS = @X_LIBS@
266X_PRE_LIBS = @X_PRE_LIBS@
267abs_builddir = @abs_builddir@
268abs_srcdir = @abs_srcdir@
269abs_top_builddir = @abs_top_builddir@
270abs_top_srcdir = @abs_top_srcdir@
271ac_ct_CC = @ac_ct_CC@
272ac_ct_CXX = @ac_ct_CXX@
273ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
274ac_ct_OBJC = @ac_ct_OBJC@
275altivec_cflags = @altivec_cflags@
276am__include = @am__include@
277am__leading_dot = @am__leading_dot@
278am__quote = @am__quote@
279am__tar = @am__tar@
280am__untar = @am__untar@
281bindir = @bindir@
282build = @build@
283build_alias = @build_alias@
284build_cpu = @build_cpu@
285build_os = @build_os@
286build_vendor = @build_vendor@
287builddir = @builddir@
288datadir = @datadir@
289datarootdir = @datarootdir@
290dlopen_libs = @dlopen_libs@
291docdir = @docdir@
292dvidir = @dvidir@
293edje_cc = @edje_cc@
294efl_doxygen = @efl_doxygen@
295efl_have_doxygen = @efl_have_doxygen@
296evas_engine_buffer_cflags = @evas_engine_buffer_cflags@
297evas_engine_buffer_libs = @evas_engine_buffer_libs@
298evas_engine_direct3d_cflags = @evas_engine_direct3d_cflags@
299evas_engine_direct3d_libs = @evas_engine_direct3d_libs@
300evas_engine_directfb_cflags = @evas_engine_directfb_cflags@
301evas_engine_directfb_libs = @evas_engine_directfb_libs@
302evas_engine_fb_cflags = @evas_engine_fb_cflags@
303evas_engine_fb_libs = @evas_engine_fb_libs@
304evas_engine_gl_cocoa_cflags = @evas_engine_gl_cocoa_cflags@
305evas_engine_gl_cocoa_libs = @evas_engine_gl_cocoa_libs@
306evas_engine_gl_common_libs = @evas_engine_gl_common_libs@
307evas_engine_gl_sdl_cflags = @evas_engine_gl_sdl_cflags@
308evas_engine_gl_sdl_libs = @evas_engine_gl_sdl_libs@
309evas_engine_gl_xcb_cflags = @evas_engine_gl_xcb_cflags@
310evas_engine_gl_xcb_libs = @evas_engine_gl_xcb_libs@
311evas_engine_gl_xlib_cflags = @evas_engine_gl_xlib_cflags@
312evas_engine_gl_xlib_libs = @evas_engine_gl_xlib_libs@
313evas_engine_psl1ght_cflags = @evas_engine_psl1ght_cflags@
314evas_engine_psl1ght_libs = @evas_engine_psl1ght_libs@
315evas_engine_software_16_ddraw_cflags = @evas_engine_software_16_ddraw_cflags@
316evas_engine_software_16_ddraw_libs = @evas_engine_software_16_ddraw_libs@
317evas_engine_software_16_sdl_cflags = @evas_engine_software_16_sdl_cflags@
318evas_engine_software_16_sdl_libs = @evas_engine_software_16_sdl_libs@
319evas_engine_software_16_wince_cflags = @evas_engine_software_16_wince_cflags@
320evas_engine_software_16_wince_libs = @evas_engine_software_16_wince_libs@
321evas_engine_software_16_x11_cflags = @evas_engine_software_16_x11_cflags@
322evas_engine_software_16_x11_libs = @evas_engine_software_16_x11_libs@
323evas_engine_software_8_x11_cflags = @evas_engine_software_8_x11_cflags@
324evas_engine_software_8_x11_libs = @evas_engine_software_8_x11_libs@
325evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
326evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
327evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
328evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
332evas_engine_software_xlib_libs = @evas_engine_software_xlib_libs@
333evas_engine_wayland_egl_cflags = @evas_engine_wayland_egl_cflags@
334evas_engine_wayland_egl_libs = @evas_engine_wayland_egl_libs@
335evas_engine_wayland_shm_cflags = @evas_engine_wayland_shm_cflags@
336evas_engine_wayland_shm_libs = @evas_engine_wayland_shm_libs@
337evas_image_loader_bmp_cflags = @evas_image_loader_bmp_cflags@
338evas_image_loader_bmp_libs = @evas_image_loader_bmp_libs@
339evas_image_loader_edb_cflags = @evas_image_loader_edb_cflags@
340evas_image_loader_edb_libs = @evas_image_loader_edb_libs@
341evas_image_loader_eet_cflags = @evas_image_loader_eet_cflags@
342evas_image_loader_eet_libs = @evas_image_loader_eet_libs@
343evas_image_loader_generic_cflags = @evas_image_loader_generic_cflags@
344evas_image_loader_generic_libs = @evas_image_loader_generic_libs@
345evas_image_loader_gif_cflags = @evas_image_loader_gif_cflags@
346evas_image_loader_gif_libs = @evas_image_loader_gif_libs@
347evas_image_loader_ico_cflags = @evas_image_loader_ico_cflags@
348evas_image_loader_ico_libs = @evas_image_loader_ico_libs@
349evas_image_loader_jpeg_cflags = @evas_image_loader_jpeg_cflags@
350evas_image_loader_jpeg_libs = @evas_image_loader_jpeg_libs@
351evas_image_loader_pmaps_cflags = @evas_image_loader_pmaps_cflags@
352evas_image_loader_pmaps_libs = @evas_image_loader_pmaps_libs@
353evas_image_loader_png_cflags = @evas_image_loader_png_cflags@
354evas_image_loader_png_libs = @evas_image_loader_png_libs@
355evas_image_loader_psd_cflags = @evas_image_loader_psd_cflags@
356evas_image_loader_psd_libs = @evas_image_loader_psd_libs@
357evas_image_loader_svg_cflags = @evas_image_loader_svg_cflags@
358evas_image_loader_svg_libs = @evas_image_loader_svg_libs@
359evas_image_loader_tga_cflags = @evas_image_loader_tga_cflags@
360evas_image_loader_tga_libs = @evas_image_loader_tga_libs@
361evas_image_loader_tiff_cflags = @evas_image_loader_tiff_cflags@
362evas_image_loader_tiff_libs = @evas_image_loader_tiff_libs@
363evas_image_loader_wbmp_cflags = @evas_image_loader_wbmp_cflags@
364evas_image_loader_wbmp_libs = @evas_image_loader_wbmp_libs@
365evas_image_loader_xpm_cflags = @evas_image_loader_xpm_cflags@
366evas_image_loader_xpm_libs = @evas_image_loader_xpm_libs@
367exec_prefix = @exec_prefix@
368have_evas_engine_gl_x11 = @have_evas_engine_gl_x11@
369have_evas_engine_gl_xcb = @have_evas_engine_gl_xcb@
370have_evas_engine_gl_xlib = @have_evas_engine_gl_xlib@
371have_evas_engine_software_x11 = @have_evas_engine_software_x11@
372have_evas_engine_software_xcb = @have_evas_engine_software_xcb@
373have_evas_engine_software_xlib = @have_evas_engine_software_xlib@
374have_lcov = @have_lcov@
375host = @host@
376host_alias = @host_alias@
377host_cpu = @host_cpu@
378host_os = @host_os@
379host_vendor = @host_vendor@
380htmldir = @htmldir@
381includedir = @includedir@
382infodir = @infodir@
383install_sh = @install_sh@
384libdir = @libdir@
385libexecdir = @libexecdir@
386localedir = @localedir@
387localstatedir = @localstatedir@
388lt_ECHO = @lt_ECHO@
389lt_enable_auto_import = @lt_enable_auto_import@
390mandir = @mandir@
391mkdir_p = @mkdir_p@
392oldincludedir = @oldincludedir@
393pdfdir = @pdfdir@
394pkgconfig_requires_private = @pkgconfig_requires_private@
395prefix = @prefix@
396program_transform_name = @program_transform_name@
397psdir = @psdir@
398pthread_cflags = @pthread_cflags@
399pthread_libs = @pthread_libs@
400release_info = @release_info@
401requirement_evas = @requirement_evas@
402sbindir = @sbindir@
403sharedstatedir = @sharedstatedir@
404srcdir = @srcdir@
405sysconfdir = @sysconfdir@
406target_alias = @target_alias@
407top_build_prefix = @top_build_prefix@
408top_builddir = @top_builddir@
409top_srcdir = @top_srcdir@
410version_info = @version_info@
411MAINTAINERCLEANFILES = Makefile.in
412AM_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_xpm_cflags@ \
420@EVIL_CFLAGS@
421
422@BUILD_LOADER_XPM_TRUE@@EVAS_STATIC_BUILD_XPM_FALSE@pkgdir = $(libdir)/evas/modules/loaders/xpm/$(MODULE_ARCH)
423@BUILD_LOADER_XPM_TRUE@@EVAS_STATIC_BUILD_XPM_FALSE@pkg_LTLIBRARIES = module.la
424@BUILD_LOADER_XPM_TRUE@@EVAS_STATIC_BUILD_XPM_FALSE@module_la_SOURCES = evas_image_load_xpm.c
425@BUILD_LOADER_XPM_TRUE@@EVAS_STATIC_BUILD_XPM_FALSE@module_la_LIBADD = @EINA_LIBS@ @EVIL_LIBS@ @evas_image_loader_xpm_libs@ $(top_builddir)/src/lib/libevas.la
426@BUILD_LOADER_XPM_TRUE@@EVAS_STATIC_BUILD_XPM_FALSE@module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version
427@BUILD_LOADER_XPM_TRUE@@EVAS_STATIC_BUILD_XPM_FALSE@module_la_LIBTOOLFLAGS = --tag=disable-static
428@BUILD_LOADER_XPM_TRUE@@EVAS_STATIC_BUILD_XPM_TRUE@noinst_LTLIBRARIES = libevas_loader_xpm.la
429@BUILD_LOADER_XPM_TRUE@@EVAS_STATIC_BUILD_XPM_TRUE@libevas_loader_xpm_la_SOURCES = evas_image_load_xpm.c
430@BUILD_LOADER_XPM_TRUE@@EVAS_STATIC_BUILD_XPM_TRUE@libevas_loader_xpm_la_LIBADD = @evas_image_loader_xpm_libs@
431all: 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/xpm/Makefile'; \
445 $(am__cd) $(top_srcdir) && \
446 $(AUTOMAKE) --gnu src/modules/loaders/xpm/Makefile
447.PRECIOUS: Makefile
448Makefile: $(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
466clean-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
474install-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
488uninstall-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
497clean-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
505libevas_loader_xpm.la: $(libevas_loader_xpm_la_OBJECTS) $(libevas_loader_xpm_la_DEPENDENCIES)
506 $(AM_V_CCLD)$(LINK) $(am_libevas_loader_xpm_la_rpath) $(libevas_loader_xpm_la_OBJECTS) $(libevas_loader_xpm_la_LIBADD) $(LIBS)
507module.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
510mostlyclean-compile:
511 -rm -f *.$(OBJEXT)
512
513distclean-compile:
514 -rm -f *.tab.c
515
516@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/evas_image_load_xpm.Plo@am__quote@
517@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/module_la-evas_image_load_xpm.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
543module_la-evas_image_load_xpm.lo: evas_image_load_xpm.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_xpm.lo -MD -MP -MF $(DEPDIR)/module_la-evas_image_load_xpm.Tpo -c -o module_la-evas_image_load_xpm.lo `test -f 'evas_image_load_xpm.c' || echo '$(srcdir)/'`evas_image_load_xpm.c
545@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/module_la-evas_image_load_xpm.Tpo $(DEPDIR)/module_la-evas_image_load_xpm.Plo
546@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
547@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='evas_image_load_xpm.c' object='module_la-evas_image_load_xpm.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_xpm.lo `test -f 'evas_image_load_xpm.c' || echo '$(srcdir)/'`evas_image_load_xpm.c
550
551mostlyclean-libtool:
552 -rm -f *.lo
553
554clean-libtool:
555 -rm -rf .libs _libs
556
557ID: $(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
565tags: TAGS
566
567TAGS: $(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
588ctags: CTAGS
589CTAGS: $(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
601GTAGS:
602 here=`$(am__cd) $(top_builddir) && pwd` \
603 && $(am__cd) $(top_srcdir) \
604 && gtags -i $(GTAGS_ARGS) "$$here"
605
606distclean-tags:
607 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
608
609distdir: $(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
639check-am: all-am
640check: check-am
641all-am: Makefile $(LTLIBRARIES)
642installdirs:
643 for dir in "$(DESTDIR)$(pkgdir)"; do \
644 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
645 done
646install: install-am
647install-exec: install-exec-am
648install-data: install-data-am
649uninstall: uninstall-am
650
651install-am: all-am
652 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
653
654installcheck: installcheck-am
655install-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
660mostlyclean-generic:
661
662clean-generic:
663
664distclean-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
668maintainer-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)
672clean: clean-am
673
674clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
675 clean-pkgLTLIBRARIES mostlyclean-am
676
677distclean: distclean-am
678 -rm -rf ./$(DEPDIR)
679 -rm -f Makefile
680distclean-am: clean-am distclean-compile distclean-generic \
681 distclean-tags
682
683dvi: dvi-am
684
685dvi-am:
686
687html: html-am
688
689html-am:
690
691info: info-am
692
693info-am:
694
695install-data-am: install-pkgLTLIBRARIES
696
697install-dvi: install-dvi-am
698
699install-dvi-am:
700
701install-exec-am:
702
703install-html: install-html-am
704
705install-html-am:
706
707install-info: install-info-am
708
709install-info-am:
710
711install-man:
712
713install-pdf: install-pdf-am
714
715install-pdf-am:
716
717install-ps: install-ps-am
718
719install-ps-am:
720
721installcheck-am:
722
723maintainer-clean: maintainer-clean-am
724 -rm -rf ./$(DEPDIR)
725 -rm -f Makefile
726maintainer-clean-am: distclean-am maintainer-clean-generic
727
728mostlyclean: mostlyclean-am
729
730mostlyclean-am: mostlyclean-compile mostlyclean-generic \
731 mostlyclean-libtool
732
733pdf: pdf-am
734
735pdf-am:
736
737ps: ps-am
738
739ps-am:
740
741uninstall-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/xpm/evas_image_load_xpm.c b/libraries/evas/src/modules/loaders/xpm/evas_image_load_xpm.c
deleted file mode 100644
index f00f92d..0000000
--- a/libraries/evas/src/modules/loaders/xpm/evas_image_load_xpm.c
+++ /dev/null
@@ -1,694 +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
12static int _evas_loader_xpm_log_dom = -1;
13
14#ifdef ERR
15# undef ERR
16#endif
17#define ERR(...) EINA_LOG_DOM_ERR(_evas_loader_xpm_log_dom, __VA_ARGS__)
18
19static Eina_Bool evas_image_load_file_head_xpm(Image_Entry *ie, const char *file, const char *key, int *error) EINA_ARG_NONNULL(1, 2, 4);
20static Eina_Bool evas_image_load_file_data_xpm(Image_Entry *ie, const char *file, const char *key, int *error) EINA_ARG_NONNULL(1, 2, 4);
21
22static Evas_Image_Load_Func evas_image_load_xpm_func =
23{
24 EINA_FALSE,
25 evas_image_load_file_head_xpm,
26 evas_image_load_file_data_xpm,
27 NULL,
28 EINA_FALSE
29};
30
31static Eina_File *rgb_txt;
32static void *rgb_txt_map;
33
34static void
35xpm_parse_color(char *color, int *r, int *g, int *b)
36{
37 char *tmp;
38 char *max;
39 char *endline;
40 char buf[4096];
41
42 /* is a #ff00ff like color */
43 if (color[0] == '#')
44 {
45 int len;
46 char val[32];
47
48 len = strlen(color) - 1;
49 if (len < 96)
50 {
51 int i;
52
53 len /= 3;
54 for (i = 0; i < len; i++)
55 val[i] = color[1 + i + (0 * len)];
56 val[i] = 0;
57 sscanf(val, "%x", r);
58 for (i = 0; i < len; i++)
59 val[i] = color[1 + i + (1 * len)];
60 val[i] = 0;
61 sscanf(val, "%x", g);
62 for (i = 0; i < len; i++)
63 val[i] = color[1 + i + (2 * len)];
64 val[i] = 0;
65 sscanf(val, "%x", b);
66 if (len == 1)
67 {
68 *r = (*r << 4) | *r;
69 *g = (*g << 4) | *g;
70 *b = (*b << 4) | *b;
71 }
72 else if (len > 2)
73 {
74 *r >>= (len - 2) * 4;
75 *g >>= (len - 2) * 4;
76 *b >>= (len - 2) * 4;
77 }
78 }
79 return;
80 }
81 /* look in rgb txt database */
82 if (!rgb_txt) return;
83 tmp = rgb_txt_map;
84 max = tmp + eina_file_size_get(rgb_txt);
85
86 while (tmp < max)
87 {
88 endline = memchr(tmp, '\n', max - tmp);
89 if (!endline) endline = max;
90 if ((*tmp != '!') && ((endline - tmp) < (int) (sizeof(buf) - 1)))
91 {
92 int rr, gg, bb;
93 char name[4096];
94
95 /* FIXME: not really efficient */
96 memcpy(buf, tmp, endline - tmp);
97 buf[endline - tmp + 1] = '\0';
98
99 if (sscanf(buf, "%i %i %i %[^\n]", &rr, &gg, &bb, name) == 4)
100 {
101 if (!strcasecmp(name, color))
102 {
103 *r = rr;
104 *g = gg;
105 *b = bb;
106 return;
107 }
108 }
109 }
110 tmp = endline + 1;
111 }
112}
113
114/** FIXME: clean this up and make more efficient **/
115static Eina_Bool
116evas_image_load_file_xpm(Image_Entry *ie, const char *file, const char *key __UNUSED__, int load_data, int *error)
117{
118 DATA32 *ptr, *end;
119 Eina_File *f;
120 const char *map;
121 size_t length;
122 size_t position;
123
124 int pc, c, i, j, k, w, h, ncolors, cpp, comment, transp,
125 quote, context, len, done, r, g, b, backslash, lu1, lu2;
126 char *line = NULL;
127 char s[256], tok[128], col[256], *tl;
128 int lsz = 256;
129 struct _cmap {
130 char str[6];
131 unsigned char transp;
132 short r, g, b;
133 } *cmap = NULL;
134
135 short lookup[128 - 32][128 - 32];
136 int count, pixels;
137
138 done = 0;
139// transp = -1;
140 transp = 1;
141
142 /* if immediate_load is 1, then dont delay image laoding as below, or */
143 /* already data in this image - dont load it again */
144
145 f = eina_file_open(file, 0);
146 if (!f)
147 {
148 ERR("XPM ERROR: file failed to open");
149 *error = EVAS_LOAD_ERROR_DOES_NOT_EXIST;
150 return EINA_FALSE;
151 }
152 length = eina_file_size_get(f);
153 position = 0;
154 if (length < 9)
155 {
156 ERR("XPM ERROR: file size, %zd, is to small", length);
157 eina_file_close(f);
158 *error = EVAS_LOAD_ERROR_CORRUPT_FILE;
159 return EINA_FALSE;
160 }
161
162 map = eina_file_map_all(f, EINA_FILE_SEQUENTIAL);
163 if (!map)
164 {
165 ERR("XPM ERROR: file failed to mmap");
166 eina_file_close(f);
167 *error = EVAS_LOAD_ERROR_CORRUPT_FILE;
168 return EINA_FALSE;
169 }
170
171 if (strncmp("/* XPM */", map, 9))
172 {
173 *error = EVAS_LOAD_ERROR_UNKNOWN_FORMAT;
174 goto on_error;
175 }
176
177 i = 0;
178 j = 0;
179 cmap = NULL;
180 w = 10;
181 h = 10;
182 ptr = NULL;
183 end = NULL;
184 c = ' ';
185 comment = 0;
186 quote = 0;
187 context = 0;
188 pixels = 0;
189 count = 0;
190 line = malloc(lsz);
191 if (!line)
192 {
193 *error = EVAS_LOAD_ERROR_RESOURCE_ALLOCATION_FAILED;
194 goto on_error;
195 }
196
197 backslash = 0;
198 memset(lookup, 0, sizeof(lookup));
199 while (!done)
200 {
201 pc = c;
202 if (position == length) break ;
203 c = (char) map[position++];
204 if (!quote)
205 {
206 if ((pc == '/') && (c == '*'))
207 comment = 1;
208 else if ((pc == '*') && (c == '/') && (comment))
209 comment = 0;
210 }
211 if (!comment)
212 {
213 if ((!quote) && (c == '"'))
214 {
215 quote = 1;
216 i = 0;
217 }
218 else if ((quote) && (c == '"'))
219 {
220 line[i] = 0;
221 quote = 0;
222 if (context == 0)
223 {
224 /* Header */
225 if (sscanf(line, "%i %i %i %i", &w, &h, &ncolors, &cpp) != 4)
226 {
227 ERR("XPM ERROR: XPM file malformed header");
228 *error = EVAS_LOAD_ERROR_CORRUPT_FILE;
229 goto on_error;
230 }
231 if ((ncolors > 32766) || (ncolors < 1))
232 {
233 ERR("XPM ERROR: XPM files with colors > 32766 or < 1 not supported");
234 *error = EVAS_LOAD_ERROR_UNKNOWN_FORMAT;
235 goto on_error;
236 }
237 if ((cpp > 5) || (cpp < 1))
238 {
239 ERR("XPM ERROR: XPM files with characters per pixel > 5 or < 1not supported");
240 *error = EVAS_LOAD_ERROR_UNKNOWN_FORMAT;
241 goto on_error;
242 }
243 if ((w > IMG_MAX_SIZE) || (w < 1))
244 {
245 ERR("XPM ERROR: Image width > IMG_MAX_SIZE or < 1 pixels for file");
246 *error = EVAS_LOAD_ERROR_GENERIC;
247 goto on_error;
248 }
249 if ((h > IMG_MAX_SIZE) || (h < 1))
250 {
251 ERR("XPM ERROR: Image height > IMG_MAX_SIZE or < 1 pixels for file");
252 *error = EVAS_LOAD_ERROR_GENERIC;
253 goto on_error;
254 }
255 if (IMG_TOO_BIG(w, h))
256 {
257 ERR("XPM ERROR: Image just too big to ever allocate");
258 *error = EVAS_LOAD_ERROR_RESOURCE_ALLOCATION_FAILED;
259 goto on_error;
260 }
261
262 if (!cmap)
263 {
264 cmap = malloc(sizeof(struct _cmap) * ncolors);
265 if (!cmap)
266 {
267 *error = EVAS_LOAD_ERROR_RESOURCE_ALLOCATION_FAILED;
268 goto on_error;
269 }
270 }
271 ie->w = w;
272 ie->h = h;
273
274 j = 0;
275 context++;
276 }
277 else if (context == 1)
278 {
279 /* Color Table */
280 if (j < ncolors)
281 {
282 int slen;
283 int hascolor, iscolor;
284
285 iscolor = 0;
286 hascolor = 0;
287 tok[0] = 0;
288 col[0] = 0;
289 s[0] = 0;
290 len = strlen(line);
291 strncpy(cmap[j].str, line, cpp);
292 cmap[j].str[cpp] = 0;
293 for (slen = 0; slen < cpp; slen++)
294 {
295 /* fix the ascii of the color string - if its < 32 - just limit to 32 */
296 if (cmap[j].str[slen] < 32) cmap[j].str[slen] = 0;
297 }
298 cmap[j].r = -1;
299 cmap[j].transp = 0;
300 for (k = cpp; k < len; k++)
301 {
302 if (line[k] != ' ')
303 {
304 s[0] = 0;
305 sscanf(&line[k], "%255s", s);
306 slen = strlen(s);
307 k += slen;
308 if (!strcmp(s, "c")) iscolor = 1;
309 if ((!strcmp(s, "m")) || (!strcmp(s, "s"))
310 || (!strcmp(s, "g4")) || (!strcmp(s, "g"))
311 || (!strcmp(s, "c")) || (k >= len))
312 {
313 if (k >= len)
314 {
315 if (col[0])
316 {
317 if (strlen(col) < (sizeof(col) - 2))
318 strcat(col, " ");
319 else
320 done = 1;
321 }
322 if ((strlen(col) + strlen(s)) < (sizeof(col) - 1))
323 strcat(col, s);
324 }
325 if (col[0])
326 {
327 if (!strcasecmp(col, "none"))
328 {
329 transp = 1;
330 cmap[j].transp = 1;
331 cmap[j].r = 0;
332 cmap[j].g = 0;
333 cmap[j].b = 0;
334 }
335 else
336 {
337 if ((((cmap[j].r < 0) || (!strcmp(tok, "c"))) && (!hascolor)))
338 {
339 r = g = b = 0;
340 xpm_parse_color(col, &r, &g, &b);
341 cmap[j].r = r;
342 cmap[j].g = g;
343 cmap[j].b = b;
344 if (iscolor) hascolor = 1;
345 }
346 }
347 }
348 strcpy(tok, s);
349 col[0] = 0;
350 }
351 else
352 {
353 if (col[0])
354 {
355 if (strlen(col) < ( sizeof(col) - 2))
356 strcat(col, " ");
357 else
358 done = 1;
359 }
360 if ((strlen(col) + strlen(s)) < (sizeof(col) - 1))
361 strcat(col, s);
362 }
363 }
364 }
365 }
366 j++;
367 if (j >= ncolors)
368 {
369 if (cpp == 1)
370 {
371 for (i = 0; i < ncolors; i++)
372 lookup[(int)cmap[i].str[0] - 32][0] = i;
373 }
374 if (cpp == 2)
375 {
376 for (i = 0; i < ncolors; i++)
377 lookup[(int)cmap[i].str[0] - 32][(int)cmap[i].str[1] - 32] = i;
378 }
379 context++;
380 }
381
382 if (transp) ie->flags.alpha = 1;
383
384 if (load_data)
385 {
386 evas_cache_image_surface_alloc(ie, w, h);
387 ptr = evas_cache_image_pixels(ie);
388 if (!ptr)
389 {
390 *error = EVAS_LOAD_ERROR_RESOURCE_ALLOCATION_FAILED;
391 goto on_error;
392 }
393 pixels = w * h;
394 end = ptr + pixels;
395 }
396 else
397 {
398 *error = EVAS_LOAD_ERROR_NONE;
399 goto on_success;
400 }
401 }
402 else
403 {
404 /* Image Data */
405 i = 0;
406 if (cpp == 0)
407 {
408 /* Chars per pixel = 0? well u never know */
409 }
410 /* it's xpm - don't care about speed too much. still faster
411 * that most xpm loaders anyway */
412 else if (cpp == 1)
413 {
414 if (transp)
415 {
416 for (i = 0;
417 ((i < 65536) && (ptr < end) && (line[i]));
418 i++)
419 {
420 lu1 = (int)line[i] - 32;
421 if (lu1 < 0) continue;
422 if (cmap[lookup[lu1][0]].transp)
423 {
424 r = (unsigned char)cmap[lookup[lu1][0]].r;
425 g = (unsigned char)cmap[lookup[lu1][0]].g;
426 b = (unsigned char)cmap[lookup[lu1][0]].b;
427 *ptr = RGB_JOIN(r, g, b);
428 ptr++;
429 count++;
430 }
431 else
432 {
433 r = (unsigned char)cmap[lookup[lu1][0]].r;
434 g = (unsigned char)cmap[lookup[lu1][0]].g;
435 b = (unsigned char)cmap[lookup[lu1][0]].b;
436 *ptr = ARGB_JOIN(0xff, r, g, b);
437 ptr++;
438 count++;
439 }
440 }
441 }
442 else
443 {
444 for (i = 0;
445 ((i < 65536) && (ptr < end) && (line[i]));
446 i++)
447 {
448 lu1 = (int)line[i] - 32;
449 if (lu1 < 0) continue;
450 r = (unsigned char)cmap[lookup[lu1][0]].r;
451 g = (unsigned char)cmap[lookup[lu1][0]].g;
452 b = (unsigned char)cmap[lookup[lu1][0]].b;
453 *ptr = ARGB_JOIN(0xff, r, g, b);
454 ptr++;
455 count++;
456 }
457 }
458 }
459 else if (cpp == 2)
460 {
461 if (transp)
462 {
463 for (i = 0;
464 ((i < 65536) && (ptr < end) && (line[i]));
465 i++)
466 {
467 lu1 = (int)line[i] - 32;
468 i++;
469 lu2 = (int)line[i] - 32;
470 if (lu1 < 0) continue;
471 if (lu2 < 0) continue;
472 if (cmap[lookup[lu1][lu2]].transp)
473 {
474 r = (unsigned char)cmap[lookup[lu1][lu2]].r;
475 g = (unsigned char)cmap[lookup[lu1][lu2]].g;
476 b = (unsigned char)cmap[lookup[lu1][lu2]].b;
477 *ptr = RGB_JOIN(r, g, b);
478 ptr++;
479 count++;
480 }
481 else
482 {
483 r = (unsigned char)cmap[lookup[lu1][lu2]].r;
484 g = (unsigned char)cmap[lookup[lu1][lu2]].g;
485 b = (unsigned char)cmap[lookup[lu1][lu2]].b;
486 *ptr = ARGB_JOIN(0xff, r, g, b);
487 ptr++;
488 count++;
489 }
490 }
491 }
492 else
493 {
494 for (i = 0;
495 ((i < 65536) && (ptr < end) && (line[i]));
496 i++)
497 {
498 lu1 = (int)line[i] - 32;
499 i++;
500 lu2 = (int)line[i] - 32;
501 if (lu1 < 0) continue;
502 if (lu2 < 0) continue;
503 r = (unsigned char)cmap[lookup[lu1][lu2]].r;
504 g = (unsigned char)cmap[lookup[lu1][lu2]].g;
505 b = (unsigned char)cmap[lookup[lu1][lu2]].b;
506 *ptr = ARGB_JOIN(0xff, r, g, b);
507 ptr++;
508 count++;
509 }
510 }
511 }
512 else
513 {
514 if (transp)
515 {
516 for (i = 0;
517 ((i < 65536) && (ptr < end) && (line[i]));
518 i++)
519 {
520 for (j = 0; j < cpp; j++, i++)
521 {
522 col[j] = line[i];
523 if (col[j] < 32) col[j] = 32;
524 }
525 col[j] = 0;
526 i--;
527 for (j = 0; j < ncolors; j++)
528 {
529 if (!strcmp(col, cmap[j].str))
530 {
531 if (cmap[j].transp)
532 {
533 r = (unsigned char)cmap[j].r;
534 g = (unsigned char)cmap[j].g;
535 b = (unsigned char)cmap[j].b;
536 *ptr = RGB_JOIN(r, g, b);
537 ptr++;
538 count++;
539 }
540 else
541 {
542 r = (unsigned char)cmap[j].r;
543 g = (unsigned char)cmap[j].g;
544 b = (unsigned char)cmap[j].b;
545 *ptr = ARGB_JOIN(0xff, r, g, b);
546 ptr++;
547 count++;
548 }
549 break;
550 }
551 }
552 }
553 }
554 else
555 {
556 for (i = 0;
557 ((i < 65536) && (ptr < end) && (line[i]));
558 i++)
559 {
560 for (j = 0; j < cpp; j++, i++)
561 {
562 col[j] = line[i];
563 }
564 col[j] = 0;
565 i--;
566 for (j = 0; j < ncolors; j++)
567 {
568 if (!strcmp(col, cmap[j].str))
569 {
570 r = (unsigned char)cmap[j].r;
571 g = (unsigned char)cmap[j].g;
572 b = (unsigned char)cmap[j].b;
573 *ptr = ARGB_JOIN(0xff, r, g, b);
574 ptr++;
575 count++;
576 break;
577 }
578 }
579 }
580 }
581 }
582 }
583 }
584 }
585 /* Scan in line from XPM file */
586 if ((!comment) && (quote) && (c != '"'))
587 {
588 if (c < 32) c = 32;
589 else if (c > 127) c = 127;
590 if (c =='\\')
591 {
592 if (++backslash < 2)
593 line[i++] = c;
594 else
595 backslash = 0;
596 }
597 else
598 {
599 backslash = 0;
600 line[i++] = c;
601 }
602 }
603 if (i >= lsz)
604 {
605 lsz += 256;
606 tl = realloc(line, lsz);
607 if (!tl) break;
608 line = tl;
609 }
610 if (((ptr) && ((ptr - evas_cache_image_pixels(ie)) >= (w * h * (int)sizeof(DATA32)))) ||
611 ((context > 1) && (count >= pixels)))
612 break;
613 }
614
615 on_success:
616 free(cmap);
617 free(line);
618
619 eina_file_map_free(f, (void*) map);
620 eina_file_close(f);
621
622 *error = EVAS_LOAD_ERROR_NONE;
623 return EINA_TRUE;
624
625 on_error:
626 free(line);
627 eina_file_map_free(f, (void*) map);
628 eina_file_close(f);
629 return EINA_FALSE;
630}
631
632static Eina_Bool
633evas_image_load_file_head_xpm(Image_Entry *ie, const char *file, const char *key, int *error)
634{
635 return evas_image_load_file_xpm(ie, file, key, 0, error);
636}
637
638static Eina_Bool
639evas_image_load_file_data_xpm(Image_Entry *ie, const char *file, const char *key, int *error)
640{
641 return evas_image_load_file_xpm(ie, file, key, 1, error);
642}
643
644static int
645module_open(Evas_Module *em)
646{
647 if (!em) return 0;
648 _evas_loader_xpm_log_dom = eina_log_domain_register
649 ("evas-xpm", EVAS_DEFAULT_LOG_COLOR);
650 if (_evas_loader_xpm_log_dom < 0)
651 {
652 EINA_LOG_ERR("Can not create a module log domain.");
653 return 0;
654 }
655
656 /* Shouldn't we make that PATH configurable ? */
657 rgb_txt = eina_file_open("/usr/lib/X11/rgb.txt", 0);
658 if (!rgb_txt) rgb_txt = eina_file_open("/usr/X11/lib/X11/rgb.txt", 0);
659 if (!rgb_txt) rgb_txt = eina_file_open("/usr/X11R6/lib/X11/rgb.txt", 0);
660 if (!rgb_txt) rgb_txt = eina_file_open("/usr/openwin/lib/X11/rgb.txt", 0);
661 if (rgb_txt)
662 rgb_txt_map = eina_file_map_all(rgb_txt, EINA_FILE_SEQUENTIAL);
663 em->functions = (void *)(&evas_image_load_xpm_func);
664 return 1;
665}
666
667static void
668module_close(Evas_Module *em __UNUSED__)
669{
670 if (rgb_txt)
671 {
672 eina_file_map_free(rgb_txt, rgb_txt_map);
673 eina_file_close(rgb_txt);
674 rgb_txt = NULL;
675 }
676 eina_log_domain_unregister(_evas_loader_xpm_log_dom);
677}
678
679static Evas_Module_Api evas_modapi =
680{
681 EVAS_MODULE_API_VERSION,
682 "xpm",
683 "none",
684 {
685 module_open,
686 module_close
687 }
688};
689
690EVAS_MODULE_DEFINE(EVAS_MODULE_TYPE_IMAGE_LOADER, image_loader, xpm);
691
692#ifndef EVAS_STATIC_BUILD_XPM
693EVAS_EINA_MODULE_DEFINE(image_loader, xpm);
694#endif