diff options
Diffstat (limited to 'libraries/edje/src/modules')
-rw-r--r-- | libraries/edje/src/modules/Makefile.am | 10 | ||||
-rw-r--r-- | libraries/edje/src/modules/Makefile.in | 637 | ||||
-rw-r--r-- | libraries/edje/src/modules/alsa_snd_player/Makefile.am | 20 | ||||
-rw-r--r-- | libraries/edje/src/modules/alsa_snd_player/Makefile.in | 634 | ||||
-rw-r--r-- | libraries/edje/src/modules/alsa_snd_player/alsa_snd_player.c | 405 | ||||
-rw-r--r-- | libraries/edje/src/modules/eet_snd_reader/Makefile.am | 17 | ||||
-rw-r--r-- | libraries/edje/src/modules/eet_snd_reader/Makefile.in | 634 | ||||
-rw-r--r-- | libraries/edje/src/modules/eet_snd_reader/eet_snd_reader.c | 498 | ||||
-rw-r--r-- | libraries/edje/src/modules/multisense_factory/Makefile.am | 21 | ||||
-rw-r--r-- | libraries/edje/src/modules/multisense_factory/Makefile.in | 635 | ||||
-rw-r--r-- | libraries/edje/src/modules/multisense_factory/multisense_factory.c | 33 |
11 files changed, 3544 insertions, 0 deletions
diff --git a/libraries/edje/src/modules/Makefile.am b/libraries/edje/src/modules/Makefile.am new file mode 100644 index 0000000..937a690 --- /dev/null +++ b/libraries/edje/src/modules/Makefile.am | |||
@@ -0,0 +1,10 @@ | |||
1 | if ENABLE_MULTISENSE | ||
2 | FACTORY_MODULE = multisense_factory | ||
3 | if HAVE_LIBREMIX | ||
4 | SND_READER_MODULE = eet_snd_reader | ||
5 | if HAVE_LIBALSA | ||
6 | ALSA_MODULE = alsa_snd_player | ||
7 | endif | ||
8 | endif | ||
9 | endif | ||
10 | SUBDIRS = $(FACTORY_MODULE) $(SND_READER_MODULE) $(ALSA_MODULE) | ||
diff --git a/libraries/edje/src/modules/Makefile.in b/libraries/edje/src/modules/Makefile.in new file mode 100644 index 0000000..55c47d6 --- /dev/null +++ b/libraries/edje/src/modules/Makefile.in | |||
@@ -0,0 +1,637 @@ | |||
1 | # Makefile.in generated by automake 1.11.1 from Makefile.am. | ||
2 | # @configure_input@ | ||
3 | |||
4 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | ||
5 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, | ||
6 | # Inc. | ||
7 | # This Makefile.in is free software; the Free Software Foundation | ||
8 | # gives unlimited permission to copy and/or distribute it, | ||
9 | # with or without modifications, as long as this notice is preserved. | ||
10 | |||
11 | # This program is distributed in the hope that it will be useful, | ||
12 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without | ||
13 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A | ||
14 | # PARTICULAR PURPOSE. | ||
15 | |||
16 | @SET_MAKE@ | ||
17 | VPATH = @srcdir@ | ||
18 | pkgdatadir = $(datadir)/@PACKAGE@ | ||
19 | pkgincludedir = $(includedir)/@PACKAGE@ | ||
20 | pkglibdir = $(libdir)/@PACKAGE@ | ||
21 | pkglibexecdir = $(libexecdir)/@PACKAGE@ | ||
22 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | ||
23 | install_sh_DATA = $(install_sh) -c -m 644 | ||
24 | install_sh_PROGRAM = $(install_sh) -c | ||
25 | install_sh_SCRIPT = $(install_sh) -c | ||
26 | INSTALL_HEADER = $(INSTALL_DATA) | ||
27 | transform = $(program_transform_name) | ||
28 | NORMAL_INSTALL = : | ||
29 | PRE_INSTALL = : | ||
30 | POST_INSTALL = : | ||
31 | NORMAL_UNINSTALL = : | ||
32 | PRE_UNINSTALL = : | ||
33 | POST_UNINSTALL = : | ||
34 | build_triplet = @build@ | ||
35 | host_triplet = @host@ | ||
36 | subdir = src/modules | ||
37 | DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in | ||
38 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | ||
39 | am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \ | ||
40 | $(top_srcdir)/m4/efl_binary.m4 \ | ||
41 | $(top_srcdir)/m4/efl_coverage.m4 \ | ||
42 | $(top_srcdir)/m4/efl_doxygen.m4 \ | ||
43 | $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ | ||
44 | $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ | ||
45 | $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ | ||
46 | $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac | ||
47 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | ||
48 | $(ACLOCAL_M4) | ||
49 | mkinstalldirs = $(install_sh) -d | ||
50 | CONFIG_HEADER = $(top_builddir)/config.h | ||
51 | CONFIG_CLEAN_FILES = | ||
52 | CONFIG_CLEAN_VPATH_FILES = | ||
53 | AM_V_GEN = $(am__v_GEN_$(V)) | ||
54 | am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) | ||
55 | am__v_GEN_0 = @echo " GEN " $@; | ||
56 | AM_V_at = $(am__v_at_$(V)) | ||
57 | am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) | ||
58 | am__v_at_0 = @ | ||
59 | SOURCES = | ||
60 | DIST_SOURCES = | ||
61 | RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ | ||
62 | html-recursive info-recursive install-data-recursive \ | ||
63 | install-dvi-recursive install-exec-recursive \ | ||
64 | install-html-recursive install-info-recursive \ | ||
65 | install-pdf-recursive install-ps-recursive install-recursive \ | ||
66 | installcheck-recursive installdirs-recursive pdf-recursive \ | ||
67 | ps-recursive uninstall-recursive | ||
68 | RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ | ||
69 | distclean-recursive maintainer-clean-recursive | ||
70 | AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ | ||
71 | $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ | ||
72 | distdir | ||
73 | ETAGS = etags | ||
74 | CTAGS = ctags | ||
75 | DIST_SUBDIRS = multisense_factory eet_snd_reader alsa_snd_player | ||
76 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
77 | am__relativize = \ | ||
78 | dir0=`pwd`; \ | ||
79 | sed_first='s,^\([^/]*\)/.*$$,\1,'; \ | ||
80 | sed_rest='s,^[^/]*/*,,'; \ | ||
81 | sed_last='s,^.*/\([^/]*\)$$,\1,'; \ | ||
82 | sed_butlast='s,/*[^/]*$$,,'; \ | ||
83 | while test -n "$$dir1"; do \ | ||
84 | first=`echo "$$dir1" | sed -e "$$sed_first"`; \ | ||
85 | if test "$$first" != "."; then \ | ||
86 | if test "$$first" = ".."; then \ | ||
87 | dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ | ||
88 | dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ | ||
89 | else \ | ||
90 | first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ | ||
91 | if test "$$first2" = "$$first"; then \ | ||
92 | dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ | ||
93 | else \ | ||
94 | dir2="../$$dir2"; \ | ||
95 | fi; \ | ||
96 | dir0="$$dir0"/"$$first"; \ | ||
97 | fi; \ | ||
98 | fi; \ | ||
99 | dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ | ||
100 | done; \ | ||
101 | reldir="$$dir2" | ||
102 | ACLOCAL = @ACLOCAL@ | ||
103 | ALLOCA = @ALLOCA@ | ||
104 | ALSA_CFLAGS = @ALSA_CFLAGS@ | ||
105 | ALSA_LIBS = @ALSA_LIBS@ | ||
106 | AMTAR = @AMTAR@ | ||
107 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | ||
108 | AR = @AR@ | ||
109 | AS = @AS@ | ||
110 | AUTOCONF = @AUTOCONF@ | ||
111 | AUTOHEADER = @AUTOHEADER@ | ||
112 | AUTOMAKE = @AUTOMAKE@ | ||
113 | AWK = @AWK@ | ||
114 | CC = @CC@ | ||
115 | CCDEPMODE = @CCDEPMODE@ | ||
116 | CFLAGS = @CFLAGS@ | ||
117 | CHECK_CFLAGS = @CHECK_CFLAGS@ | ||
118 | CHECK_LIBS = @CHECK_LIBS@ | ||
119 | CPP = @CPP@ | ||
120 | CPPFLAGS = @CPPFLAGS@ | ||
121 | CYGPATH_W = @CYGPATH_W@ | ||
122 | DEFS = @DEFS@ | ||
123 | DEPDIR = @DEPDIR@ | ||
124 | DLLTOOL = @DLLTOOL@ | ||
125 | DSYMUTIL = @DSYMUTIL@ | ||
126 | DUMPBIN = @DUMPBIN@ | ||
127 | ECHO_C = @ECHO_C@ | ||
128 | ECHO_N = @ECHO_N@ | ||
129 | ECHO_T = @ECHO_T@ | ||
130 | ECORE_IMF_CFLAGS = @ECORE_IMF_CFLAGS@ | ||
131 | ECORE_IMF_LIBS = @ECORE_IMF_LIBS@ | ||
132 | EDJE_CC_CFLAGS = @EDJE_CC_CFLAGS@ | ||
133 | EDJE_CC_LIBS = @EDJE_CC_LIBS@ | ||
134 | EDJE_CC_PRG = @EDJE_CC_PRG@ | ||
135 | EDJE_CFLAGS = @EDJE_CFLAGS@ | ||
136 | EDJE_DECC_CFLAGS = @EDJE_DECC_CFLAGS@ | ||
137 | EDJE_DECC_LIBS = @EDJE_DECC_LIBS@ | ||
138 | EDJE_DECC_PRG = @EDJE_DECC_PRG@ | ||
139 | EDJE_EXTERNAL_INSPECTOR_CFLAGS = @EDJE_EXTERNAL_INSPECTOR_CFLAGS@ | ||
140 | EDJE_EXTERNAL_INSPECTOR_LIBS = @EDJE_EXTERNAL_INSPECTOR_LIBS@ | ||
141 | EDJE_EXTERNAL_INSPECTOR_PRG = @EDJE_EXTERNAL_INSPECTOR_PRG@ | ||
142 | EDJE_INSPECTOR_CFLAGS = @EDJE_INSPECTOR_CFLAGS@ | ||
143 | EDJE_INSPECTOR_LIBS = @EDJE_INSPECTOR_LIBS@ | ||
144 | EDJE_INSPECTOR_PRG = @EDJE_INSPECTOR_PRG@ | ||
145 | EDJE_LIBS = @EDJE_LIBS@ | ||
146 | EDJE_PLAYER_CFLAGS = @EDJE_PLAYER_CFLAGS@ | ||
147 | EDJE_PLAYER_LIBS = @EDJE_PLAYER_LIBS@ | ||
148 | EDJE_PLAYER_PRG = @EDJE_PLAYER_PRG@ | ||
149 | EDJE_RECC_PRG = @EDJE_RECC_PRG@ | ||
150 | EFL_COVERAGE_CFLAGS = @EFL_COVERAGE_CFLAGS@ | ||
151 | EFL_COVERAGE_LIBS = @EFL_COVERAGE_LIBS@ | ||
152 | EFL_EDJE_BUILD = @EFL_EDJE_BUILD@ | ||
153 | EGREP = @EGREP@ | ||
154 | EVIL_CFLAGS = @EVIL_CFLAGS@ | ||
155 | EVIL_LIBS = @EVIL_LIBS@ | ||
156 | EXEEXT = @EXEEXT@ | ||
157 | FGREP = @FGREP@ | ||
158 | FLAC_CFLAGS = @FLAC_CFLAGS@ | ||
159 | FLAC_LIBS = @FLAC_LIBS@ | ||
160 | GREP = @GREP@ | ||
161 | INSTALL = @INSTALL@ | ||
162 | INSTALL_DATA = @INSTALL_DATA@ | ||
163 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | ||
164 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | ||
165 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | ||
166 | LD = @LD@ | ||
167 | LDFLAGS = @LDFLAGS@ | ||
168 | LIBOBJS = @LIBOBJS@ | ||
169 | LIBS = @LIBS@ | ||
170 | LIBTOOL = @LIBTOOL@ | ||
171 | LIPO = @LIPO@ | ||
172 | LN_S = @LN_S@ | ||
173 | LTLIBOBJS = @LTLIBOBJS@ | ||
174 | LUA_CFLAGS = @LUA_CFLAGS@ | ||
175 | LUA_LIBS = @LUA_LIBS@ | ||
176 | MAKEINFO = @MAKEINFO@ | ||
177 | MINIMAL_CFLAGS = @MINIMAL_CFLAGS@ | ||
178 | MINIMAL_LIBS = @MINIMAL_LIBS@ | ||
179 | MKDIR_P = @MKDIR_P@ | ||
180 | MODULE_ARCH = @MODULE_ARCH@ | ||
181 | NM = @NM@ | ||
182 | NMEDIT = @NMEDIT@ | ||
183 | OBJDUMP = @OBJDUMP@ | ||
184 | OBJEXT = @OBJEXT@ | ||
185 | OTOOL = @OTOOL@ | ||
186 | OTOOL64 = @OTOOL64@ | ||
187 | PACKAGE = @PACKAGE@ | ||
188 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | ||
189 | PACKAGE_NAME = @PACKAGE_NAME@ | ||
190 | PACKAGE_STRING = @PACKAGE_STRING@ | ||
191 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | ||
192 | PACKAGE_URL = @PACKAGE_URL@ | ||
193 | PACKAGE_VERSION = @PACKAGE_VERSION@ | ||
194 | PATH_SEPARATOR = @PATH_SEPARATOR@ | ||
195 | PKG_CONFIG = @PKG_CONFIG@ | ||
196 | PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ | ||
197 | PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ | ||
198 | PYTHON = @PYTHON@ | ||
199 | PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ | ||
200 | PYTHON_PLATFORM = @PYTHON_PLATFORM@ | ||
201 | PYTHON_PREFIX = @PYTHON_PREFIX@ | ||
202 | PYTHON_VERSION = @PYTHON_VERSION@ | ||
203 | RANLIB = @RANLIB@ | ||
204 | REMIX_CFLAGS = @REMIX_CFLAGS@ | ||
205 | REMIX_LIBS = @REMIX_LIBS@ | ||
206 | REMIX_PLUGIN_DIR = @REMIX_PLUGIN_DIR@ | ||
207 | SED = @SED@ | ||
208 | SET_MAKE = @SET_MAKE@ | ||
209 | SHELL = @SHELL@ | ||
210 | SNDFILE_CFLAGS = @SNDFILE_CFLAGS@ | ||
211 | SNDFILE_LIBS = @SNDFILE_LIBS@ | ||
212 | STRIP = @STRIP@ | ||
213 | VERSION = @VERSION@ | ||
214 | VMAJ = @VMAJ@ | ||
215 | VORBISENC_CFLAGS = @VORBISENC_CFLAGS@ | ||
216 | VORBISENC_LIBS = @VORBISENC_LIBS@ | ||
217 | abs_builddir = @abs_builddir@ | ||
218 | abs_srcdir = @abs_srcdir@ | ||
219 | abs_top_builddir = @abs_top_builddir@ | ||
220 | abs_top_srcdir = @abs_top_srcdir@ | ||
221 | ac_ct_CC = @ac_ct_CC@ | ||
222 | ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ | ||
223 | am__include = @am__include@ | ||
224 | am__leading_dot = @am__leading_dot@ | ||
225 | am__quote = @am__quote@ | ||
226 | am__tar = @am__tar@ | ||
227 | am__untar = @am__untar@ | ||
228 | bindir = @bindir@ | ||
229 | build = @build@ | ||
230 | build_alias = @build_alias@ | ||
231 | build_cpu = @build_cpu@ | ||
232 | build_os = @build_os@ | ||
233 | build_vendor = @build_vendor@ | ||
234 | builddir = @builddir@ | ||
235 | datadir = @datadir@ | ||
236 | datarootdir = @datarootdir@ | ||
237 | docdir = @docdir@ | ||
238 | dvidir = @dvidir@ | ||
239 | edje_cc = @edje_cc@ | ||
240 | efl_doxygen = @efl_doxygen@ | ||
241 | efl_have_doxygen = @efl_have_doxygen@ | ||
242 | exec_prefix = @exec_prefix@ | ||
243 | have_lcov = @have_lcov@ | ||
244 | host = @host@ | ||
245 | host_alias = @host_alias@ | ||
246 | host_cpu = @host_cpu@ | ||
247 | host_os = @host_os@ | ||
248 | host_vendor = @host_vendor@ | ||
249 | htmldir = @htmldir@ | ||
250 | includedir = @includedir@ | ||
251 | infodir = @infodir@ | ||
252 | install_sh = @install_sh@ | ||
253 | libdir = @libdir@ | ||
254 | libexecdir = @libexecdir@ | ||
255 | localedir = @localedir@ | ||
256 | localstatedir = @localstatedir@ | ||
257 | lt_ECHO = @lt_ECHO@ | ||
258 | lt_enable_auto_import = @lt_enable_auto_import@ | ||
259 | lua_libs = @lua_libs@ | ||
260 | mandir = @mandir@ | ||
261 | mkdir_p = @mkdir_p@ | ||
262 | oldincludedir = @oldincludedir@ | ||
263 | pdfdir = @pdfdir@ | ||
264 | pkgconfig_requires_private = @pkgconfig_requires_private@ | ||
265 | pkgpyexecdir = @pkgpyexecdir@ | ||
266 | pkgpythondir = @pkgpythondir@ | ||
267 | prefix = @prefix@ | ||
268 | program_transform_name = @program_transform_name@ | ||
269 | psdir = @psdir@ | ||
270 | pyexecdir = @pyexecdir@ | ||
271 | pythondir = @pythondir@ | ||
272 | release_info = @release_info@ | ||
273 | requirement_edje = @requirement_edje@ | ||
274 | sbindir = @sbindir@ | ||
275 | sharedstatedir = @sharedstatedir@ | ||
276 | srcdir = @srcdir@ | ||
277 | sysconfdir = @sysconfdir@ | ||
278 | target_alias = @target_alias@ | ||
279 | top_build_prefix = @top_build_prefix@ | ||
280 | top_builddir = @top_builddir@ | ||
281 | top_srcdir = @top_srcdir@ | ||
282 | version_info = @version_info@ | ||
283 | vimdir = @vimdir@ | ||
284 | @ENABLE_MULTISENSE_TRUE@FACTORY_MODULE = multisense_factory | ||
285 | @ENABLE_MULTISENSE_TRUE@@HAVE_LIBREMIX_TRUE@SND_READER_MODULE = eet_snd_reader | ||
286 | @ENABLE_MULTISENSE_TRUE@@HAVE_LIBALSA_TRUE@@HAVE_LIBREMIX_TRUE@ALSA_MODULE = alsa_snd_player | ||
287 | SUBDIRS = $(FACTORY_MODULE) $(SND_READER_MODULE) $(ALSA_MODULE) | ||
288 | all: all-recursive | ||
289 | |||
290 | .SUFFIXES: | ||
291 | $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) | ||
292 | @for dep in $?; do \ | ||
293 | case '$(am__configure_deps)' in \ | ||
294 | *$$dep*) \ | ||
295 | ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ | ||
296 | && { if test -f $@; then exit 0; else break; fi; }; \ | ||
297 | exit 1;; \ | ||
298 | esac; \ | ||
299 | done; \ | ||
300 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/modules/Makefile'; \ | ||
301 | $(am__cd) $(top_srcdir) && \ | ||
302 | $(AUTOMAKE) --gnu src/modules/Makefile | ||
303 | .PRECIOUS: Makefile | ||
304 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | ||
305 | @case '$?' in \ | ||
306 | *config.status*) \ | ||
307 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ | ||
308 | *) \ | ||
309 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ | ||
310 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ | ||
311 | esac; | ||
312 | |||
313 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | ||
314 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
315 | |||
316 | $(top_srcdir)/configure: $(am__configure_deps) | ||
317 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
318 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) | ||
319 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
320 | $(am__aclocal_m4_deps): | ||
321 | |||
322 | mostlyclean-libtool: | ||
323 | -rm -f *.lo | ||
324 | |||
325 | clean-libtool: | ||
326 | -rm -rf .libs _libs | ||
327 | |||
328 | # This directory's subdirectories are mostly independent; you can cd | ||
329 | # into them and run `make' without going through this Makefile. | ||
330 | # To change the values of `make' variables: instead of editing Makefiles, | ||
331 | # (1) if the variable is set in `config.status', edit `config.status' | ||
332 | # (which will cause the Makefiles to be regenerated when you run `make'); | ||
333 | # (2) otherwise, pass the desired values on the `make' command line. | ||
334 | $(RECURSIVE_TARGETS): | ||
335 | @fail= failcom='exit 1'; \ | ||
336 | for f in x $$MAKEFLAGS; do \ | ||
337 | case $$f in \ | ||
338 | *=* | --[!k]*);; \ | ||
339 | *k*) failcom='fail=yes';; \ | ||
340 | esac; \ | ||
341 | done; \ | ||
342 | dot_seen=no; \ | ||
343 | target=`echo $@ | sed s/-recursive//`; \ | ||
344 | list='$(SUBDIRS)'; for subdir in $$list; do \ | ||
345 | echo "Making $$target in $$subdir"; \ | ||
346 | if test "$$subdir" = "."; then \ | ||
347 | dot_seen=yes; \ | ||
348 | local_target="$$target-am"; \ | ||
349 | else \ | ||
350 | local_target="$$target"; \ | ||
351 | fi; \ | ||
352 | ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ | ||
353 | || eval $$failcom; \ | ||
354 | done; \ | ||
355 | if test "$$dot_seen" = "no"; then \ | ||
356 | $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ | ||
357 | fi; test -z "$$fail" | ||
358 | |||
359 | $(RECURSIVE_CLEAN_TARGETS): | ||
360 | @fail= failcom='exit 1'; \ | ||
361 | for f in x $$MAKEFLAGS; do \ | ||
362 | case $$f in \ | ||
363 | *=* | --[!k]*);; \ | ||
364 | *k*) failcom='fail=yes';; \ | ||
365 | esac; \ | ||
366 | done; \ | ||
367 | dot_seen=no; \ | ||
368 | case "$@" in \ | ||
369 | distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ | ||
370 | *) list='$(SUBDIRS)' ;; \ | ||
371 | esac; \ | ||
372 | rev=''; for subdir in $$list; do \ | ||
373 | if test "$$subdir" = "."; then :; else \ | ||
374 | rev="$$subdir $$rev"; \ | ||
375 | fi; \ | ||
376 | done; \ | ||
377 | rev="$$rev ."; \ | ||
378 | target=`echo $@ | sed s/-recursive//`; \ | ||
379 | for subdir in $$rev; do \ | ||
380 | echo "Making $$target in $$subdir"; \ | ||
381 | if test "$$subdir" = "."; then \ | ||
382 | local_target="$$target-am"; \ | ||
383 | else \ | ||
384 | local_target="$$target"; \ | ||
385 | fi; \ | ||
386 | ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ | ||
387 | || eval $$failcom; \ | ||
388 | done && test -z "$$fail" | ||
389 | tags-recursive: | ||
390 | list='$(SUBDIRS)'; for subdir in $$list; do \ | ||
391 | test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ | ||
392 | done | ||
393 | ctags-recursive: | ||
394 | list='$(SUBDIRS)'; for subdir in $$list; do \ | ||
395 | test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ | ||
396 | done | ||
397 | |||
398 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | ||
399 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
400 | unique=`for i in $$list; do \ | ||
401 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
402 | done | \ | ||
403 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
404 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
405 | mkid -fID $$unique | ||
406 | tags: TAGS | ||
407 | |||
408 | TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | ||
409 | $(TAGS_FILES) $(LISP) | ||
410 | set x; \ | ||
411 | here=`pwd`; \ | ||
412 | if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ | ||
413 | include_option=--etags-include; \ | ||
414 | empty_fix=.; \ | ||
415 | else \ | ||
416 | include_option=--include; \ | ||
417 | empty_fix=; \ | ||
418 | fi; \ | ||
419 | list='$(SUBDIRS)'; for subdir in $$list; do \ | ||
420 | if test "$$subdir" = .; then :; else \ | ||
421 | test ! -f $$subdir/TAGS || \ | ||
422 | set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ | ||
423 | fi; \ | ||
424 | done; \ | ||
425 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
426 | unique=`for i in $$list; do \ | ||
427 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
428 | done | \ | ||
429 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
430 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
431 | shift; \ | ||
432 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ | ||
433 | test -n "$$unique" || unique=$$empty_fix; \ | ||
434 | if test $$# -gt 0; then \ | ||
435 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
436 | "$$@" $$unique; \ | ||
437 | else \ | ||
438 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
439 | $$unique; \ | ||
440 | fi; \ | ||
441 | fi | ||
442 | ctags: CTAGS | ||
443 | CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | ||
444 | $(TAGS_FILES) $(LISP) | ||
445 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
446 | unique=`for i in $$list; do \ | ||
447 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
448 | done | \ | ||
449 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
450 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
451 | test -z "$(CTAGS_ARGS)$$unique" \ | ||
452 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ | ||
453 | $$unique | ||
454 | |||
455 | GTAGS: | ||
456 | here=`$(am__cd) $(top_builddir) && pwd` \ | ||
457 | && $(am__cd) $(top_srcdir) \ | ||
458 | && gtags -i $(GTAGS_ARGS) "$$here" | ||
459 | |||
460 | distclean-tags: | ||
461 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
462 | |||
463 | distdir: $(DISTFILES) | ||
464 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
465 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
466 | list='$(DISTFILES)'; \ | ||
467 | dist_files=`for file in $$list; do echo $$file; done | \ | ||
468 | sed -e "s|^$$srcdirstrip/||;t" \ | ||
469 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | ||
470 | case $$dist_files in \ | ||
471 | */*) $(MKDIR_P) `echo "$$dist_files" | \ | ||
472 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | ||
473 | sort -u` ;; \ | ||
474 | esac; \ | ||
475 | for file in $$dist_files; do \ | ||
476 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | ||
477 | if test -d $$d/$$file; then \ | ||
478 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | ||
479 | if test -d "$(distdir)/$$file"; then \ | ||
480 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
481 | fi; \ | ||
482 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | ||
483 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | ||
484 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
485 | fi; \ | ||
486 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | ||
487 | else \ | ||
488 | test -f "$(distdir)/$$file" \ | ||
489 | || cp -p $$d/$$file "$(distdir)/$$file" \ | ||
490 | || exit 1; \ | ||
491 | fi; \ | ||
492 | done | ||
493 | @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ | ||
494 | if test "$$subdir" = .; then :; else \ | ||
495 | test -d "$(distdir)/$$subdir" \ | ||
496 | || $(MKDIR_P) "$(distdir)/$$subdir" \ | ||
497 | || exit 1; \ | ||
498 | fi; \ | ||
499 | done | ||
500 | @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ | ||
501 | if test "$$subdir" = .; then :; else \ | ||
502 | dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ | ||
503 | $(am__relativize); \ | ||
504 | new_distdir=$$reldir; \ | ||
505 | dir1=$$subdir; dir2="$(top_distdir)"; \ | ||
506 | $(am__relativize); \ | ||
507 | new_top_distdir=$$reldir; \ | ||
508 | echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ | ||
509 | echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ | ||
510 | ($(am__cd) $$subdir && \ | ||
511 | $(MAKE) $(AM_MAKEFLAGS) \ | ||
512 | top_distdir="$$new_top_distdir" \ | ||
513 | distdir="$$new_distdir" \ | ||
514 | am__remove_distdir=: \ | ||
515 | am__skip_length_check=: \ | ||
516 | am__skip_mode_fix=: \ | ||
517 | distdir) \ | ||
518 | || exit 1; \ | ||
519 | fi; \ | ||
520 | done | ||
521 | check-am: all-am | ||
522 | check: check-recursive | ||
523 | all-am: Makefile | ||
524 | installdirs: installdirs-recursive | ||
525 | installdirs-am: | ||
526 | install: install-recursive | ||
527 | install-exec: install-exec-recursive | ||
528 | install-data: install-data-recursive | ||
529 | uninstall: uninstall-recursive | ||
530 | |||
531 | install-am: all-am | ||
532 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | ||
533 | |||
534 | installcheck: installcheck-recursive | ||
535 | install-strip: | ||
536 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||
537 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||
538 | `test -z '$(STRIP)' || \ | ||
539 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install | ||
540 | mostlyclean-generic: | ||
541 | |||
542 | clean-generic: | ||
543 | |||
544 | distclean-generic: | ||
545 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | ||
546 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | ||
547 | |||
548 | maintainer-clean-generic: | ||
549 | @echo "This command is intended for maintainers to use" | ||
550 | @echo "it deletes files that may require special tools to rebuild." | ||
551 | clean: clean-recursive | ||
552 | |||
553 | clean-am: clean-generic clean-libtool mostlyclean-am | ||
554 | |||
555 | distclean: distclean-recursive | ||
556 | -rm -f Makefile | ||
557 | distclean-am: clean-am distclean-generic distclean-tags | ||
558 | |||
559 | dvi: dvi-recursive | ||
560 | |||
561 | dvi-am: | ||
562 | |||
563 | html: html-recursive | ||
564 | |||
565 | html-am: | ||
566 | |||
567 | info: info-recursive | ||
568 | |||
569 | info-am: | ||
570 | |||
571 | install-data-am: | ||
572 | |||
573 | install-dvi: install-dvi-recursive | ||
574 | |||
575 | install-dvi-am: | ||
576 | |||
577 | install-exec-am: | ||
578 | |||
579 | install-html: install-html-recursive | ||
580 | |||
581 | install-html-am: | ||
582 | |||
583 | install-info: install-info-recursive | ||
584 | |||
585 | install-info-am: | ||
586 | |||
587 | install-man: | ||
588 | |||
589 | install-pdf: install-pdf-recursive | ||
590 | |||
591 | install-pdf-am: | ||
592 | |||
593 | install-ps: install-ps-recursive | ||
594 | |||
595 | install-ps-am: | ||
596 | |||
597 | installcheck-am: | ||
598 | |||
599 | maintainer-clean: maintainer-clean-recursive | ||
600 | -rm -f Makefile | ||
601 | maintainer-clean-am: distclean-am maintainer-clean-generic | ||
602 | |||
603 | mostlyclean: mostlyclean-recursive | ||
604 | |||
605 | mostlyclean-am: mostlyclean-generic mostlyclean-libtool | ||
606 | |||
607 | pdf: pdf-recursive | ||
608 | |||
609 | pdf-am: | ||
610 | |||
611 | ps: ps-recursive | ||
612 | |||
613 | ps-am: | ||
614 | |||
615 | uninstall-am: | ||
616 | |||
617 | .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \ | ||
618 | install-am install-strip tags-recursive | ||
619 | |||
620 | .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ | ||
621 | all all-am check check-am clean clean-generic clean-libtool \ | ||
622 | ctags ctags-recursive distclean distclean-generic \ | ||
623 | distclean-libtool distclean-tags distdir dvi dvi-am html \ | ||
624 | html-am info info-am install install-am install-data \ | ||
625 | install-data-am install-dvi install-dvi-am install-exec \ | ||
626 | install-exec-am install-html install-html-am install-info \ | ||
627 | install-info-am install-man install-pdf install-pdf-am \ | ||
628 | install-ps install-ps-am install-strip installcheck \ | ||
629 | installcheck-am installdirs installdirs-am maintainer-clean \ | ||
630 | maintainer-clean-generic mostlyclean mostlyclean-generic \ | ||
631 | mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \ | ||
632 | uninstall uninstall-am | ||
633 | |||
634 | |||
635 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | ||
636 | # Otherwise a system limit (for SysV at least) may be exceeded. | ||
637 | .NOEXPORT: | ||
diff --git a/libraries/edje/src/modules/alsa_snd_player/Makefile.am b/libraries/edje/src/modules/alsa_snd_player/Makefile.am new file mode 100644 index 0000000..de015f8 --- /dev/null +++ b/libraries/edje/src/modules/alsa_snd_player/Makefile.am | |||
@@ -0,0 +1,20 @@ | |||
1 | ## Process this file with automake to produce Makefile.in | ||
2 | |||
3 | MAINTAINERCLEANFILES = Makefile.in | ||
4 | |||
5 | pkglibdir = $(REMIX_PLUGIN_DIR) | ||
6 | |||
7 | AM_CPPFLAGS = \ | ||
8 | -I. \ | ||
9 | -DPACKAGE_LIB_DIR=\"$(libdir)/remix\" \ | ||
10 | -DPACKAGE_DATA_DIR=\"$(datadir)/remix\" \ | ||
11 | @EDJE_CFLAGS@ \ | ||
12 | @REMIX_CFLAGS@ \ | ||
13 | @ALSA_CFLAGS@ | ||
14 | |||
15 | pkgdir = $(REMIX_PLUGIN_DIR) | ||
16 | pkg_LTLIBRARIES = libalsa_snd_player.la | ||
17 | |||
18 | libalsa_snd_player_la_SOURCES = alsa_snd_player.c | ||
19 | libalsa_snd_player_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version @EDJE_LIBS@ @REMIX_LIBS@ @ALSA_LIBS@ | ||
20 | libalsa_snd_player_la_LIBTOOLFLAGS = --tag=disable-static | ||
diff --git a/libraries/edje/src/modules/alsa_snd_player/Makefile.in b/libraries/edje/src/modules/alsa_snd_player/Makefile.in new file mode 100644 index 0000000..ce68f41 --- /dev/null +++ b/libraries/edje/src/modules/alsa_snd_player/Makefile.in | |||
@@ -0,0 +1,634 @@ | |||
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 | pkglibexecdir = $(libexecdir)/@PACKAGE@ | ||
22 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | ||
23 | install_sh_DATA = $(install_sh) -c -m 644 | ||
24 | install_sh_PROGRAM = $(install_sh) -c | ||
25 | install_sh_SCRIPT = $(install_sh) -c | ||
26 | INSTALL_HEADER = $(INSTALL_DATA) | ||
27 | transform = $(program_transform_name) | ||
28 | NORMAL_INSTALL = : | ||
29 | PRE_INSTALL = : | ||
30 | POST_INSTALL = : | ||
31 | NORMAL_UNINSTALL = : | ||
32 | PRE_UNINSTALL = : | ||
33 | POST_UNINSTALL = : | ||
34 | build_triplet = @build@ | ||
35 | host_triplet = @host@ | ||
36 | subdir = src/modules/alsa_snd_player | ||
37 | DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in | ||
38 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | ||
39 | am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \ | ||
40 | $(top_srcdir)/m4/efl_binary.m4 \ | ||
41 | $(top_srcdir)/m4/efl_coverage.m4 \ | ||
42 | $(top_srcdir)/m4/efl_doxygen.m4 \ | ||
43 | $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ | ||
44 | $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ | ||
45 | $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ | ||
46 | $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac | ||
47 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | ||
48 | $(ACLOCAL_M4) | ||
49 | mkinstalldirs = $(install_sh) -d | ||
50 | CONFIG_HEADER = $(top_builddir)/config.h | ||
51 | CONFIG_CLEAN_FILES = | ||
52 | CONFIG_CLEAN_VPATH_FILES = | ||
53 | am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; | ||
54 | am__vpath_adj = case $$p in \ | ||
55 | $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ | ||
56 | *) f=$$p;; \ | ||
57 | esac; | ||
58 | am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; | ||
59 | am__install_max = 40 | ||
60 | am__nobase_strip_setup = \ | ||
61 | srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` | ||
62 | am__nobase_strip = \ | ||
63 | for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" | ||
64 | am__nobase_list = $(am__nobase_strip_setup); \ | ||
65 | for p in $$list; do echo "$$p $$p"; done | \ | ||
66 | sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ | ||
67 | $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ | ||
68 | if (++n[$$2] == $(am__install_max)) \ | ||
69 | { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ | ||
70 | END { for (dir in files) print dir, files[dir] }' | ||
71 | am__base_list = \ | ||
72 | sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ | ||
73 | sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | ||
74 | am__installdirs = "$(DESTDIR)$(pkgdir)" | ||
75 | LTLIBRARIES = $(pkg_LTLIBRARIES) | ||
76 | libalsa_snd_player_la_LIBADD = | ||
77 | am_libalsa_snd_player_la_OBJECTS = \ | ||
78 | libalsa_snd_player_la-alsa_snd_player.lo | ||
79 | libalsa_snd_player_la_OBJECTS = $(am_libalsa_snd_player_la_OBJECTS) | ||
80 | AM_V_lt = $(am__v_lt_$(V)) | ||
81 | am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) | ||
82 | am__v_lt_0 = --silent | ||
83 | libalsa_snd_player_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ | ||
84 | $(libalsa_snd_player_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ | ||
85 | --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ | ||
86 | $(libalsa_snd_player_la_LDFLAGS) $(LDFLAGS) -o $@ | ||
87 | DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) | ||
88 | depcomp = $(SHELL) $(top_srcdir)/depcomp | ||
89 | am__depfiles_maybe = depfiles | ||
90 | am__mv = mv -f | ||
91 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ | ||
92 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | ||
93 | LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ | ||
94 | $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ | ||
95 | $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ | ||
96 | $(AM_CFLAGS) $(CFLAGS) | ||
97 | AM_V_CC = $(am__v_CC_$(V)) | ||
98 | am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) | ||
99 | am__v_CC_0 = @echo " CC " $@; | ||
100 | AM_V_at = $(am__v_at_$(V)) | ||
101 | am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) | ||
102 | am__v_at_0 = @ | ||
103 | CCLD = $(CC) | ||
104 | LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ | ||
105 | $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ | ||
106 | $(AM_LDFLAGS) $(LDFLAGS) -o $@ | ||
107 | AM_V_CCLD = $(am__v_CCLD_$(V)) | ||
108 | am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) | ||
109 | am__v_CCLD_0 = @echo " CCLD " $@; | ||
110 | AM_V_GEN = $(am__v_GEN_$(V)) | ||
111 | am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) | ||
112 | am__v_GEN_0 = @echo " GEN " $@; | ||
113 | SOURCES = $(libalsa_snd_player_la_SOURCES) | ||
114 | DIST_SOURCES = $(libalsa_snd_player_la_SOURCES) | ||
115 | ETAGS = etags | ||
116 | CTAGS = ctags | ||
117 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
118 | pkglibdir = $(REMIX_PLUGIN_DIR) | ||
119 | ACLOCAL = @ACLOCAL@ | ||
120 | ALLOCA = @ALLOCA@ | ||
121 | ALSA_CFLAGS = @ALSA_CFLAGS@ | ||
122 | ALSA_LIBS = @ALSA_LIBS@ | ||
123 | AMTAR = @AMTAR@ | ||
124 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | ||
125 | AR = @AR@ | ||
126 | AS = @AS@ | ||
127 | AUTOCONF = @AUTOCONF@ | ||
128 | AUTOHEADER = @AUTOHEADER@ | ||
129 | AUTOMAKE = @AUTOMAKE@ | ||
130 | AWK = @AWK@ | ||
131 | CC = @CC@ | ||
132 | CCDEPMODE = @CCDEPMODE@ | ||
133 | CFLAGS = @CFLAGS@ | ||
134 | CHECK_CFLAGS = @CHECK_CFLAGS@ | ||
135 | CHECK_LIBS = @CHECK_LIBS@ | ||
136 | CPP = @CPP@ | ||
137 | CPPFLAGS = @CPPFLAGS@ | ||
138 | CYGPATH_W = @CYGPATH_W@ | ||
139 | DEFS = @DEFS@ | ||
140 | DEPDIR = @DEPDIR@ | ||
141 | DLLTOOL = @DLLTOOL@ | ||
142 | DSYMUTIL = @DSYMUTIL@ | ||
143 | DUMPBIN = @DUMPBIN@ | ||
144 | ECHO_C = @ECHO_C@ | ||
145 | ECHO_N = @ECHO_N@ | ||
146 | ECHO_T = @ECHO_T@ | ||
147 | ECORE_IMF_CFLAGS = @ECORE_IMF_CFLAGS@ | ||
148 | ECORE_IMF_LIBS = @ECORE_IMF_LIBS@ | ||
149 | EDJE_CC_CFLAGS = @EDJE_CC_CFLAGS@ | ||
150 | EDJE_CC_LIBS = @EDJE_CC_LIBS@ | ||
151 | EDJE_CC_PRG = @EDJE_CC_PRG@ | ||
152 | EDJE_CFLAGS = @EDJE_CFLAGS@ | ||
153 | EDJE_DECC_CFLAGS = @EDJE_DECC_CFLAGS@ | ||
154 | EDJE_DECC_LIBS = @EDJE_DECC_LIBS@ | ||
155 | EDJE_DECC_PRG = @EDJE_DECC_PRG@ | ||
156 | EDJE_EXTERNAL_INSPECTOR_CFLAGS = @EDJE_EXTERNAL_INSPECTOR_CFLAGS@ | ||
157 | EDJE_EXTERNAL_INSPECTOR_LIBS = @EDJE_EXTERNAL_INSPECTOR_LIBS@ | ||
158 | EDJE_EXTERNAL_INSPECTOR_PRG = @EDJE_EXTERNAL_INSPECTOR_PRG@ | ||
159 | EDJE_INSPECTOR_CFLAGS = @EDJE_INSPECTOR_CFLAGS@ | ||
160 | EDJE_INSPECTOR_LIBS = @EDJE_INSPECTOR_LIBS@ | ||
161 | EDJE_INSPECTOR_PRG = @EDJE_INSPECTOR_PRG@ | ||
162 | EDJE_LIBS = @EDJE_LIBS@ | ||
163 | EDJE_PLAYER_CFLAGS = @EDJE_PLAYER_CFLAGS@ | ||
164 | EDJE_PLAYER_LIBS = @EDJE_PLAYER_LIBS@ | ||
165 | EDJE_PLAYER_PRG = @EDJE_PLAYER_PRG@ | ||
166 | EDJE_RECC_PRG = @EDJE_RECC_PRG@ | ||
167 | EFL_COVERAGE_CFLAGS = @EFL_COVERAGE_CFLAGS@ | ||
168 | EFL_COVERAGE_LIBS = @EFL_COVERAGE_LIBS@ | ||
169 | EFL_EDJE_BUILD = @EFL_EDJE_BUILD@ | ||
170 | EGREP = @EGREP@ | ||
171 | EVIL_CFLAGS = @EVIL_CFLAGS@ | ||
172 | EVIL_LIBS = @EVIL_LIBS@ | ||
173 | EXEEXT = @EXEEXT@ | ||
174 | FGREP = @FGREP@ | ||
175 | FLAC_CFLAGS = @FLAC_CFLAGS@ | ||
176 | FLAC_LIBS = @FLAC_LIBS@ | ||
177 | GREP = @GREP@ | ||
178 | INSTALL = @INSTALL@ | ||
179 | INSTALL_DATA = @INSTALL_DATA@ | ||
180 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | ||
181 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | ||
182 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | ||
183 | LD = @LD@ | ||
184 | LDFLAGS = @LDFLAGS@ | ||
185 | LIBOBJS = @LIBOBJS@ | ||
186 | LIBS = @LIBS@ | ||
187 | LIBTOOL = @LIBTOOL@ | ||
188 | LIPO = @LIPO@ | ||
189 | LN_S = @LN_S@ | ||
190 | LTLIBOBJS = @LTLIBOBJS@ | ||
191 | LUA_CFLAGS = @LUA_CFLAGS@ | ||
192 | LUA_LIBS = @LUA_LIBS@ | ||
193 | MAKEINFO = @MAKEINFO@ | ||
194 | MINIMAL_CFLAGS = @MINIMAL_CFLAGS@ | ||
195 | MINIMAL_LIBS = @MINIMAL_LIBS@ | ||
196 | MKDIR_P = @MKDIR_P@ | ||
197 | MODULE_ARCH = @MODULE_ARCH@ | ||
198 | NM = @NM@ | ||
199 | NMEDIT = @NMEDIT@ | ||
200 | OBJDUMP = @OBJDUMP@ | ||
201 | OBJEXT = @OBJEXT@ | ||
202 | OTOOL = @OTOOL@ | ||
203 | OTOOL64 = @OTOOL64@ | ||
204 | PACKAGE = @PACKAGE@ | ||
205 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | ||
206 | PACKAGE_NAME = @PACKAGE_NAME@ | ||
207 | PACKAGE_STRING = @PACKAGE_STRING@ | ||
208 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | ||
209 | PACKAGE_URL = @PACKAGE_URL@ | ||
210 | PACKAGE_VERSION = @PACKAGE_VERSION@ | ||
211 | PATH_SEPARATOR = @PATH_SEPARATOR@ | ||
212 | PKG_CONFIG = @PKG_CONFIG@ | ||
213 | PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ | ||
214 | PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ | ||
215 | PYTHON = @PYTHON@ | ||
216 | PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ | ||
217 | PYTHON_PLATFORM = @PYTHON_PLATFORM@ | ||
218 | PYTHON_PREFIX = @PYTHON_PREFIX@ | ||
219 | PYTHON_VERSION = @PYTHON_VERSION@ | ||
220 | RANLIB = @RANLIB@ | ||
221 | REMIX_CFLAGS = @REMIX_CFLAGS@ | ||
222 | REMIX_LIBS = @REMIX_LIBS@ | ||
223 | REMIX_PLUGIN_DIR = @REMIX_PLUGIN_DIR@ | ||
224 | SED = @SED@ | ||
225 | SET_MAKE = @SET_MAKE@ | ||
226 | SHELL = @SHELL@ | ||
227 | SNDFILE_CFLAGS = @SNDFILE_CFLAGS@ | ||
228 | SNDFILE_LIBS = @SNDFILE_LIBS@ | ||
229 | STRIP = @STRIP@ | ||
230 | VERSION = @VERSION@ | ||
231 | VMAJ = @VMAJ@ | ||
232 | VORBISENC_CFLAGS = @VORBISENC_CFLAGS@ | ||
233 | VORBISENC_LIBS = @VORBISENC_LIBS@ | ||
234 | abs_builddir = @abs_builddir@ | ||
235 | abs_srcdir = @abs_srcdir@ | ||
236 | abs_top_builddir = @abs_top_builddir@ | ||
237 | abs_top_srcdir = @abs_top_srcdir@ | ||
238 | ac_ct_CC = @ac_ct_CC@ | ||
239 | ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ | ||
240 | am__include = @am__include@ | ||
241 | am__leading_dot = @am__leading_dot@ | ||
242 | am__quote = @am__quote@ | ||
243 | am__tar = @am__tar@ | ||
244 | am__untar = @am__untar@ | ||
245 | bindir = @bindir@ | ||
246 | build = @build@ | ||
247 | build_alias = @build_alias@ | ||
248 | build_cpu = @build_cpu@ | ||
249 | build_os = @build_os@ | ||
250 | build_vendor = @build_vendor@ | ||
251 | builddir = @builddir@ | ||
252 | datadir = @datadir@ | ||
253 | datarootdir = @datarootdir@ | ||
254 | docdir = @docdir@ | ||
255 | dvidir = @dvidir@ | ||
256 | edje_cc = @edje_cc@ | ||
257 | efl_doxygen = @efl_doxygen@ | ||
258 | efl_have_doxygen = @efl_have_doxygen@ | ||
259 | exec_prefix = @exec_prefix@ | ||
260 | have_lcov = @have_lcov@ | ||
261 | host = @host@ | ||
262 | host_alias = @host_alias@ | ||
263 | host_cpu = @host_cpu@ | ||
264 | host_os = @host_os@ | ||
265 | host_vendor = @host_vendor@ | ||
266 | htmldir = @htmldir@ | ||
267 | includedir = @includedir@ | ||
268 | infodir = @infodir@ | ||
269 | install_sh = @install_sh@ | ||
270 | libdir = @libdir@ | ||
271 | libexecdir = @libexecdir@ | ||
272 | localedir = @localedir@ | ||
273 | localstatedir = @localstatedir@ | ||
274 | lt_ECHO = @lt_ECHO@ | ||
275 | lt_enable_auto_import = @lt_enable_auto_import@ | ||
276 | lua_libs = @lua_libs@ | ||
277 | mandir = @mandir@ | ||
278 | mkdir_p = @mkdir_p@ | ||
279 | oldincludedir = @oldincludedir@ | ||
280 | pdfdir = @pdfdir@ | ||
281 | pkgconfig_requires_private = @pkgconfig_requires_private@ | ||
282 | pkgpyexecdir = @pkgpyexecdir@ | ||
283 | pkgpythondir = @pkgpythondir@ | ||
284 | prefix = @prefix@ | ||
285 | program_transform_name = @program_transform_name@ | ||
286 | psdir = @psdir@ | ||
287 | pyexecdir = @pyexecdir@ | ||
288 | pythondir = @pythondir@ | ||
289 | release_info = @release_info@ | ||
290 | requirement_edje = @requirement_edje@ | ||
291 | sbindir = @sbindir@ | ||
292 | sharedstatedir = @sharedstatedir@ | ||
293 | srcdir = @srcdir@ | ||
294 | sysconfdir = @sysconfdir@ | ||
295 | target_alias = @target_alias@ | ||
296 | top_build_prefix = @top_build_prefix@ | ||
297 | top_builddir = @top_builddir@ | ||
298 | top_srcdir = @top_srcdir@ | ||
299 | version_info = @version_info@ | ||
300 | vimdir = @vimdir@ | ||
301 | MAINTAINERCLEANFILES = Makefile.in | ||
302 | AM_CPPFLAGS = \ | ||
303 | -I. \ | ||
304 | -DPACKAGE_LIB_DIR=\"$(libdir)/remix\" \ | ||
305 | -DPACKAGE_DATA_DIR=\"$(datadir)/remix\" \ | ||
306 | @EDJE_CFLAGS@ \ | ||
307 | @REMIX_CFLAGS@ \ | ||
308 | @ALSA_CFLAGS@ | ||
309 | |||
310 | pkgdir = $(REMIX_PLUGIN_DIR) | ||
311 | pkg_LTLIBRARIES = libalsa_snd_player.la | ||
312 | libalsa_snd_player_la_SOURCES = alsa_snd_player.c | ||
313 | libalsa_snd_player_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version @EDJE_LIBS@ @REMIX_LIBS@ @ALSA_LIBS@ | ||
314 | libalsa_snd_player_la_LIBTOOLFLAGS = --tag=disable-static | ||
315 | all: all-am | ||
316 | |||
317 | .SUFFIXES: | ||
318 | .SUFFIXES: .c .lo .o .obj | ||
319 | $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) | ||
320 | @for dep in $?; do \ | ||
321 | case '$(am__configure_deps)' in \ | ||
322 | *$$dep*) \ | ||
323 | ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ | ||
324 | && { if test -f $@; then exit 0; else break; fi; }; \ | ||
325 | exit 1;; \ | ||
326 | esac; \ | ||
327 | done; \ | ||
328 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/modules/alsa_snd_player/Makefile'; \ | ||
329 | $(am__cd) $(top_srcdir) && \ | ||
330 | $(AUTOMAKE) --gnu src/modules/alsa_snd_player/Makefile | ||
331 | .PRECIOUS: Makefile | ||
332 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | ||
333 | @case '$?' in \ | ||
334 | *config.status*) \ | ||
335 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ | ||
336 | *) \ | ||
337 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ | ||
338 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ | ||
339 | esac; | ||
340 | |||
341 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | ||
342 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
343 | |||
344 | $(top_srcdir)/configure: $(am__configure_deps) | ||
345 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
346 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) | ||
347 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
348 | $(am__aclocal_m4_deps): | ||
349 | install-pkgLTLIBRARIES: $(pkg_LTLIBRARIES) | ||
350 | @$(NORMAL_INSTALL) | ||
351 | test -z "$(pkgdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdir)" | ||
352 | @list='$(pkg_LTLIBRARIES)'; test -n "$(pkgdir)" || list=; \ | ||
353 | list2=; for p in $$list; do \ | ||
354 | if test -f $$p; then \ | ||
355 | list2="$$list2 $$p"; \ | ||
356 | else :; fi; \ | ||
357 | done; \ | ||
358 | test -z "$$list2" || { \ | ||
359 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkgdir)'"; \ | ||
360 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkgdir)"; \ | ||
361 | } | ||
362 | |||
363 | uninstall-pkgLTLIBRARIES: | ||
364 | @$(NORMAL_UNINSTALL) | ||
365 | @list='$(pkg_LTLIBRARIES)'; test -n "$(pkgdir)" || list=; \ | ||
366 | for p in $$list; do \ | ||
367 | $(am__strip_dir) \ | ||
368 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkgdir)/$$f'"; \ | ||
369 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkgdir)/$$f"; \ | ||
370 | done | ||
371 | |||
372 | clean-pkgLTLIBRARIES: | ||
373 | -test -z "$(pkg_LTLIBRARIES)" || rm -f $(pkg_LTLIBRARIES) | ||
374 | @list='$(pkg_LTLIBRARIES)'; for p in $$list; do \ | ||
375 | dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ | ||
376 | test "$$dir" != "$$p" || dir=.; \ | ||
377 | echo "rm -f \"$${dir}/so_locations\""; \ | ||
378 | rm -f "$${dir}/so_locations"; \ | ||
379 | done | ||
380 | libalsa_snd_player.la: $(libalsa_snd_player_la_OBJECTS) $(libalsa_snd_player_la_DEPENDENCIES) | ||
381 | $(AM_V_CCLD)$(libalsa_snd_player_la_LINK) -rpath $(pkgdir) $(libalsa_snd_player_la_OBJECTS) $(libalsa_snd_player_la_LIBADD) $(LIBS) | ||
382 | |||
383 | mostlyclean-compile: | ||
384 | -rm -f *.$(OBJEXT) | ||
385 | |||
386 | distclean-compile: | ||
387 | -rm -f *.tab.c | ||
388 | |||
389 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libalsa_snd_player_la-alsa_snd_player.Plo@am__quote@ | ||
390 | |||
391 | .c.o: | ||
392 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | ||
393 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | ||
394 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
395 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | ||
396 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
397 | @am__fastdepCC_FALSE@ $(COMPILE) -c $< | ||
398 | |||
399 | .c.obj: | ||
400 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | ||
401 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | ||
402 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
403 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | ||
404 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
405 | @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` | ||
406 | |||
407 | .c.lo: | ||
408 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | ||
409 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo | ||
410 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
411 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ | ||
412 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
413 | @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< | ||
414 | |||
415 | libalsa_snd_player_la-alsa_snd_player.lo: alsa_snd_player.c | ||
416 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(libalsa_snd_player_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libalsa_snd_player_la-alsa_snd_player.lo -MD -MP -MF $(DEPDIR)/libalsa_snd_player_la-alsa_snd_player.Tpo -c -o libalsa_snd_player_la-alsa_snd_player.lo `test -f 'alsa_snd_player.c' || echo '$(srcdir)/'`alsa_snd_player.c | ||
417 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libalsa_snd_player_la-alsa_snd_player.Tpo $(DEPDIR)/libalsa_snd_player_la-alsa_snd_player.Plo | ||
418 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
419 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='alsa_snd_player.c' object='libalsa_snd_player_la-alsa_snd_player.lo' libtool=yes @AMDEPBACKSLASH@ | ||
420 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
421 | @am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(libalsa_snd_player_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libalsa_snd_player_la-alsa_snd_player.lo `test -f 'alsa_snd_player.c' || echo '$(srcdir)/'`alsa_snd_player.c | ||
422 | |||
423 | mostlyclean-libtool: | ||
424 | -rm -f *.lo | ||
425 | |||
426 | clean-libtool: | ||
427 | -rm -rf .libs _libs | ||
428 | |||
429 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | ||
430 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
431 | unique=`for i in $$list; do \ | ||
432 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
433 | done | \ | ||
434 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
435 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
436 | mkid -fID $$unique | ||
437 | tags: TAGS | ||
438 | |||
439 | TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | ||
440 | $(TAGS_FILES) $(LISP) | ||
441 | set x; \ | ||
442 | here=`pwd`; \ | ||
443 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
444 | unique=`for i in $$list; do \ | ||
445 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
446 | done | \ | ||
447 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
448 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
449 | shift; \ | ||
450 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ | ||
451 | test -n "$$unique" || unique=$$empty_fix; \ | ||
452 | if test $$# -gt 0; then \ | ||
453 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
454 | "$$@" $$unique; \ | ||
455 | else \ | ||
456 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
457 | $$unique; \ | ||
458 | fi; \ | ||
459 | fi | ||
460 | ctags: CTAGS | ||
461 | CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | ||
462 | $(TAGS_FILES) $(LISP) | ||
463 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
464 | unique=`for i in $$list; do \ | ||
465 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
466 | done | \ | ||
467 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
468 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
469 | test -z "$(CTAGS_ARGS)$$unique" \ | ||
470 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ | ||
471 | $$unique | ||
472 | |||
473 | GTAGS: | ||
474 | here=`$(am__cd) $(top_builddir) && pwd` \ | ||
475 | && $(am__cd) $(top_srcdir) \ | ||
476 | && gtags -i $(GTAGS_ARGS) "$$here" | ||
477 | |||
478 | distclean-tags: | ||
479 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
480 | |||
481 | distdir: $(DISTFILES) | ||
482 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
483 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
484 | list='$(DISTFILES)'; \ | ||
485 | dist_files=`for file in $$list; do echo $$file; done | \ | ||
486 | sed -e "s|^$$srcdirstrip/||;t" \ | ||
487 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | ||
488 | case $$dist_files in \ | ||
489 | */*) $(MKDIR_P) `echo "$$dist_files" | \ | ||
490 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | ||
491 | sort -u` ;; \ | ||
492 | esac; \ | ||
493 | for file in $$dist_files; do \ | ||
494 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | ||
495 | if test -d $$d/$$file; then \ | ||
496 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | ||
497 | if test -d "$(distdir)/$$file"; then \ | ||
498 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
499 | fi; \ | ||
500 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | ||
501 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | ||
502 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
503 | fi; \ | ||
504 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | ||
505 | else \ | ||
506 | test -f "$(distdir)/$$file" \ | ||
507 | || cp -p $$d/$$file "$(distdir)/$$file" \ | ||
508 | || exit 1; \ | ||
509 | fi; \ | ||
510 | done | ||
511 | check-am: all-am | ||
512 | check: check-am | ||
513 | all-am: Makefile $(LTLIBRARIES) | ||
514 | installdirs: | ||
515 | for dir in "$(DESTDIR)$(pkgdir)"; do \ | ||
516 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ | ||
517 | done | ||
518 | install: install-am | ||
519 | install-exec: install-exec-am | ||
520 | install-data: install-data-am | ||
521 | uninstall: uninstall-am | ||
522 | |||
523 | install-am: all-am | ||
524 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | ||
525 | |||
526 | installcheck: installcheck-am | ||
527 | install-strip: | ||
528 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||
529 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||
530 | `test -z '$(STRIP)' || \ | ||
531 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install | ||
532 | mostlyclean-generic: | ||
533 | |||
534 | clean-generic: | ||
535 | |||
536 | distclean-generic: | ||
537 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | ||
538 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | ||
539 | |||
540 | maintainer-clean-generic: | ||
541 | @echo "This command is intended for maintainers to use" | ||
542 | @echo "it deletes files that may require special tools to rebuild." | ||
543 | -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) | ||
544 | clean: clean-am | ||
545 | |||
546 | clean-am: clean-generic clean-libtool clean-pkgLTLIBRARIES \ | ||
547 | mostlyclean-am | ||
548 | |||
549 | distclean: distclean-am | ||
550 | -rm -rf ./$(DEPDIR) | ||
551 | -rm -f Makefile | ||
552 | distclean-am: clean-am distclean-compile distclean-generic \ | ||
553 | distclean-tags | ||
554 | |||
555 | dvi: dvi-am | ||
556 | |||
557 | dvi-am: | ||
558 | |||
559 | html: html-am | ||
560 | |||
561 | html-am: | ||
562 | |||
563 | info: info-am | ||
564 | |||
565 | info-am: | ||
566 | |||
567 | install-data-am: install-pkgLTLIBRARIES | ||
568 | |||
569 | install-dvi: install-dvi-am | ||
570 | |||
571 | install-dvi-am: | ||
572 | |||
573 | install-exec-am: | ||
574 | |||
575 | install-html: install-html-am | ||
576 | |||
577 | install-html-am: | ||
578 | |||
579 | install-info: install-info-am | ||
580 | |||
581 | install-info-am: | ||
582 | |||
583 | install-man: | ||
584 | |||
585 | install-pdf: install-pdf-am | ||
586 | |||
587 | install-pdf-am: | ||
588 | |||
589 | install-ps: install-ps-am | ||
590 | |||
591 | install-ps-am: | ||
592 | |||
593 | installcheck-am: | ||
594 | |||
595 | maintainer-clean: maintainer-clean-am | ||
596 | -rm -rf ./$(DEPDIR) | ||
597 | -rm -f Makefile | ||
598 | maintainer-clean-am: distclean-am maintainer-clean-generic | ||
599 | |||
600 | mostlyclean: mostlyclean-am | ||
601 | |||
602 | mostlyclean-am: mostlyclean-compile mostlyclean-generic \ | ||
603 | mostlyclean-libtool | ||
604 | |||
605 | pdf: pdf-am | ||
606 | |||
607 | pdf-am: | ||
608 | |||
609 | ps: ps-am | ||
610 | |||
611 | ps-am: | ||
612 | |||
613 | uninstall-am: uninstall-pkgLTLIBRARIES | ||
614 | |||
615 | .MAKE: install-am install-strip | ||
616 | |||
617 | .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ | ||
618 | clean-libtool clean-pkgLTLIBRARIES ctags distclean \ | ||
619 | distclean-compile distclean-generic distclean-libtool \ | ||
620 | distclean-tags distdir dvi dvi-am html html-am info info-am \ | ||
621 | install install-am install-data install-data-am install-dvi \ | ||
622 | install-dvi-am install-exec install-exec-am install-html \ | ||
623 | install-html-am install-info install-info-am install-man \ | ||
624 | install-pdf install-pdf-am install-pkgLTLIBRARIES install-ps \ | ||
625 | install-ps-am install-strip installcheck installcheck-am \ | ||
626 | installdirs maintainer-clean maintainer-clean-generic \ | ||
627 | mostlyclean mostlyclean-compile mostlyclean-generic \ | ||
628 | mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \ | ||
629 | uninstall-am uninstall-pkgLTLIBRARIES | ||
630 | |||
631 | |||
632 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | ||
633 | # Otherwise a system limit (for SysV at least) may be exceeded. | ||
634 | .NOEXPORT: | ||
diff --git a/libraries/edje/src/modules/alsa_snd_player/alsa_snd_player.c b/libraries/edje/src/modules/alsa_snd_player/alsa_snd_player.c new file mode 100644 index 0000000..f397255 --- /dev/null +++ b/libraries/edje/src/modules/alsa_snd_player/alsa_snd_player.c | |||
@@ -0,0 +1,405 @@ | |||
1 | /* | ||
2 | * Remix ALSA Player: ALSA audio output | ||
3 | * | ||
4 | * Govindaraju SM <govi.sm@samsung.com>, October 2011 | ||
5 | * Prince Kumar Dubey <prince.dubey@samsung.com>, October 2011 | ||
6 | */ | ||
7 | |||
8 | #include "config.h" | ||
9 | #include <stdio.h> | ||
10 | #include <remix/remix.h> | ||
11 | #include <alsa/asoundlib.h> | ||
12 | #include <Eina.h> | ||
13 | #ifdef HAVE_LIBSNDFILE | ||
14 | #include <sndfile.h> | ||
15 | #endif | ||
16 | |||
17 | #define ALSA_PLAYER_BUFFERLEN 2048 | ||
18 | |||
19 | typedef struct _Alsa_Player_Data Alsa_Player_Data; | ||
20 | typedef short PLAYER_PCM; | ||
21 | |||
22 | struct _Alsa_Player_Data | ||
23 | { | ||
24 | RemixPCM databuffer[ALSA_PLAYER_BUFFERLEN]; | ||
25 | snd_pcm_t *alsa_dev; | ||
26 | unsigned int stereo; | ||
27 | unsigned channels; | ||
28 | unsigned int frequency; | ||
29 | }; | ||
30 | |||
31 | static int _log_dom = -1; | ||
32 | static int init_count = 0; | ||
33 | |||
34 | #ifdef WRN | ||
35 | # undef WRN | ||
36 | #endif | ||
37 | #define WRN(...) EINA_LOG_DOM_WARN(_log_dom, __VA_ARGS__) | ||
38 | |||
39 | //#define MIXDBG 1 | ||
40 | |||
41 | /* Optimisation dependencies: none */ | ||
42 | static RemixBase *alsa_player_optimise(RemixEnv *env, RemixBase *base); | ||
43 | |||
44 | static snd_pcm_t * | ||
45 | alsa_open(int channels, unsigned int samplerate, unsigned int *real_samplerate) | ||
46 | { | ||
47 | const char *device = "default"; | ||
48 | snd_pcm_t *alsa_dev = NULL; | ||
49 | snd_pcm_hw_params_t *hw_params; | ||
50 | snd_pcm_uframes_t alsa_buffer_frames; | ||
51 | snd_pcm_uframes_t alsa_period_size; | ||
52 | unsigned int samplerate_ret = 0; | ||
53 | int err; | ||
54 | |||
55 | alsa_buffer_frames = ALSA_PLAYER_BUFFERLEN; | ||
56 | alsa_period_size = ALSA_PLAYER_BUFFERLEN / 4; | ||
57 | |||
58 | if ((err = snd_pcm_open(&alsa_dev, device, SND_PCM_STREAM_PLAYBACK, 0)) < 0) | ||
59 | { | ||
60 | WRN("cannot open alsa playback stream (%s)", snd_strerror(err)); | ||
61 | goto catch_error; | ||
62 | } | ||
63 | snd_pcm_hw_params_alloca(&hw_params); | ||
64 | if ((err = snd_pcm_hw_params_any(alsa_dev, hw_params)) < 0) | ||
65 | { | ||
66 | WRN("cannot initialize snd hw params (%s)", snd_strerror(err)); | ||
67 | goto catch_error; | ||
68 | } | ||
69 | if ((err = snd_pcm_hw_params_set_access(alsa_dev, hw_params, | ||
70 | SND_PCM_ACCESS_RW_INTERLEAVED)) < 0) | ||
71 | { | ||
72 | WRN("cannot set interleaved access (%s)", snd_strerror(err)); | ||
73 | goto catch_error; | ||
74 | } | ||
75 | if ((err = snd_pcm_hw_params_set_format(alsa_dev, hw_params, | ||
76 | SND_PCM_FORMAT_FLOAT)) < 0) | ||
77 | { | ||
78 | WRN("cannot set float sample format (%s)", snd_strerror(err)); | ||
79 | goto catch_error; | ||
80 | } | ||
81 | #ifdef MIXDBG // testing/debugging by making output samplerate be 48khz | ||
82 | samplerate_ret = 48000; | ||
83 | if ((err = snd_pcm_hw_params_set_rate_near(alsa_dev, hw_params, | ||
84 | &samplerate_ret, 0)) < 0) | ||
85 | { | ||
86 | WRN("cannot set sample rate (%s)", snd_strerror(err)); | ||
87 | goto catch_error; | ||
88 | } | ||
89 | #else | ||
90 | if ((err = snd_pcm_hw_params_set_rate_near(alsa_dev, hw_params, | ||
91 | &samplerate, 0)) < 0) | ||
92 | { | ||
93 | WRN("cannot set sample rate (%s)", snd_strerror(err)); | ||
94 | goto catch_error; | ||
95 | } | ||
96 | #endif | ||
97 | if ((err = snd_pcm_hw_params_set_channels(alsa_dev, hw_params, channels)) < 0) | ||
98 | { | ||
99 | WRN("cannot set channel count (%s)", snd_strerror(err)); | ||
100 | goto catch_error; | ||
101 | } | ||
102 | if ((err = snd_pcm_hw_params_set_buffer_size_near(alsa_dev, hw_params, | ||
103 | &alsa_buffer_frames)) < 0) | ||
104 | { | ||
105 | WRN("cannot set buffer size (%s)", snd_strerror(err)); | ||
106 | goto catch_error; | ||
107 | } | ||
108 | if ((err = snd_pcm_hw_params_set_period_size_near(alsa_dev, hw_params, | ||
109 | &alsa_period_size, 0)) < 0) | ||
110 | { | ||
111 | WRN("cannot set period size (%s)", snd_strerror(err)); | ||
112 | goto catch_error; | ||
113 | } | ||
114 | if ((err = snd_pcm_hw_params(alsa_dev, hw_params)) < 0) | ||
115 | { | ||
116 | WRN("cannot set parameters (%s)", snd_strerror(err)); | ||
117 | goto catch_error; | ||
118 | } | ||
119 | if ((err = snd_pcm_hw_params_get_rate(hw_params, &samplerate_ret, 0)) < 0) | ||
120 | { | ||
121 | WRN("cannot get samplerate (%s)", snd_strerror(err)); | ||
122 | goto catch_error; | ||
123 | } | ||
124 | if ((err = snd_pcm_prepare(alsa_dev)) < 0) | ||
125 | { | ||
126 | WRN("cannot prepare audio for use (%s)", snd_strerror(err)); | ||
127 | goto catch_error; | ||
128 | } | ||
129 | if (real_samplerate) *real_samplerate = samplerate_ret; | ||
130 | |||
131 | catch_error: | ||
132 | if ((err < 0) && (alsa_dev != NULL)) | ||
133 | { | ||
134 | snd_pcm_close(alsa_dev); | ||
135 | return NULL; | ||
136 | } | ||
137 | return alsa_dev; | ||
138 | } | ||
139 | |||
140 | static RemixBase * | ||
141 | alsa_player_reset_device(RemixEnv *env, RemixBase *base) | ||
142 | { | ||
143 | Alsa_Player_Data *player_data = remix_base_get_instance_data(env, base); | ||
144 | unsigned int real_samplerate = 0; | ||
145 | |||
146 | if (player_data->alsa_dev) | ||
147 | { | ||
148 | snd_pcm_drain(player_data->alsa_dev); | ||
149 | snd_pcm_close(player_data->alsa_dev); | ||
150 | } | ||
151 | player_data->alsa_dev = alsa_open(player_data->channels, | ||
152 | player_data->frequency, | ||
153 | &real_samplerate); | ||
154 | if (!player_data->alsa_dev) | ||
155 | { | ||
156 | remix_set_error(env, REMIX_ERROR_SYSTEM); | ||
157 | return RemixNone; | ||
158 | } | ||
159 | // printf("%i != %i\n", real_samplerate, player_data->frequency); | ||
160 | if (real_samplerate != player_data->frequency) | ||
161 | { | ||
162 | player_data->frequency = real_samplerate; | ||
163 | remix_set_samplerate(env, player_data->frequency); | ||
164 | } | ||
165 | return base; | ||
166 | } | ||
167 | |||
168 | static RemixBase * | ||
169 | alsa_player_init(RemixEnv *env, RemixBase *base, CDSet *parameters __UNUSED__) | ||
170 | { | ||
171 | CDSet *channels; | ||
172 | Alsa_Player_Data *player_data = calloc(1, sizeof(Alsa_Player_Data)); | ||
173 | |||
174 | if (!player_data) | ||
175 | { | ||
176 | remix_set_error(env, REMIX_ERROR_SYSTEM); | ||
177 | return RemixNone; | ||
178 | } | ||
179 | |||
180 | init_count++; | ||
181 | if (init_count == 1) | ||
182 | { | ||
183 | eina_init(); | ||
184 | _log_dom = eina_log_domain_register("remix-alsa", EINA_COLOR_CYAN); | ||
185 | } | ||
186 | |||
187 | remix_base_set_instance_data(env, base, player_data); | ||
188 | channels = remix_get_channels(env); | ||
189 | |||
190 | player_data->channels = cd_set_size(env, channels); | ||
191 | if (player_data->channels == 1) player_data->stereo = 0; | ||
192 | else if (player_data->channels == 2) player_data->stereo = 1; | ||
193 | |||
194 | player_data->frequency = remix_get_samplerate(env); | ||
195 | alsa_player_reset_device(env, base); | ||
196 | base = alsa_player_optimise(env, base); | ||
197 | return base; | ||
198 | } | ||
199 | |||
200 | static RemixBase * | ||
201 | alsa_player_clone(RemixEnv *env, RemixBase *base __UNUSED__) | ||
202 | { | ||
203 | RemixBase *new_player = remix_base_new(env); | ||
204 | alsa_player_init(env, new_player, NULL); | ||
205 | return new_player; | ||
206 | } | ||
207 | |||
208 | static int | ||
209 | alsa_player_destroy(RemixEnv *env, RemixBase *base) | ||
210 | { | ||
211 | Alsa_Player_Data *player_data = remix_base_get_instance_data(env, base); | ||
212 | |||
213 | if (player_data->alsa_dev) | ||
214 | { | ||
215 | snd_pcm_drain(player_data->alsa_dev); | ||
216 | snd_pcm_close(player_data->alsa_dev); | ||
217 | } | ||
218 | free(player_data); | ||
219 | init_count--; | ||
220 | if (init_count == 0) | ||
221 | { | ||
222 | eina_log_domain_unregister(_log_dom); | ||
223 | _log_dom = -1; | ||
224 | eina_shutdown(); | ||
225 | } | ||
226 | return 0; | ||
227 | } | ||
228 | |||
229 | static int | ||
230 | alsa_player_ready(RemixEnv *env, RemixBase *base) | ||
231 | { | ||
232 | Alsa_Player_Data *player_data = remix_base_get_instance_data(env, base); | ||
233 | RemixCount nr_channels; | ||
234 | CDSet *channels; | ||
235 | int samplerate; | ||
236 | |||
237 | channels = remix_get_channels(env); | ||
238 | samplerate = (int)remix_get_samplerate(env); | ||
239 | nr_channels = cd_set_size(env, channels); | ||
240 | return ((samplerate == (int)player_data->frequency) && | ||
241 | (((nr_channels == 1) && (player_data->stereo == 0)) || | ||
242 | ((nr_channels > 1) && (player_data->stereo == 1)))); | ||
243 | } | ||
244 | |||
245 | static RemixBase * | ||
246 | alsa_player_prepare(RemixEnv *env, RemixBase *base) | ||
247 | { | ||
248 | alsa_player_reset_device(env, base); | ||
249 | return base; | ||
250 | } | ||
251 | |||
252 | static RemixCount | ||
253 | alsa_player_playbuffer(RemixEnv *env __UNUSED__, Alsa_Player_Data *player, RemixPCM *data, RemixCount count) | ||
254 | { | ||
255 | #ifdef MIXDBG | ||
256 | { | ||
257 | static int total = 0; | ||
258 | static SNDFILE *sfile = NULL; | ||
259 | static SF_INFO sfinfo; | ||
260 | |||
261 | if (total == 0) | ||
262 | { | ||
263 | sfinfo.frames = 0; | ||
264 | sfinfo.samplerate = player->frequency; | ||
265 | sfinfo.channels = 2; | ||
266 | sfinfo.format = SF_FORMAT_WAV | SF_FORMAT_PCM_16 | SF_ENDIAN_LITTLE; | ||
267 | sfinfo.sections = 0; | ||
268 | sfinfo.seekable = 0; | ||
269 | sfile = sf_open("out.wav", SFM_WRITE, &sfinfo); | ||
270 | } | ||
271 | |||
272 | if (sfile) | ||
273 | { | ||
274 | sf_writef_float(sfile, data, count); | ||
275 | total += count; | ||
276 | } | ||
277 | } | ||
278 | #endif | ||
279 | return snd_pcm_writei(player->alsa_dev, data, count); | ||
280 | } | ||
281 | |||
282 | static RemixCount | ||
283 | alsa_player_chunk(RemixEnv *env, RemixChunk *chunk, RemixCount offset, RemixCount count, int channelname __UNUSED__, void *data) | ||
284 | { | ||
285 | Alsa_Player_Data *player = data; | ||
286 | RemixCount remaining = count, written = 0, n, playcount; | ||
287 | RemixPCM *d; | ||
288 | |||
289 | while (remaining > 0) | ||
290 | { | ||
291 | playcount = MIN(remaining, ALSA_PLAYER_BUFFERLEN); | ||
292 | |||
293 | d = &chunk->data[offset]; | ||
294 | n = alsa_player_playbuffer(env, player, d, playcount); | ||
295 | |||
296 | if (n == -1) return -1; | ||
297 | else n /= sizeof(PLAYER_PCM); | ||
298 | |||
299 | offset += n; | ||
300 | written += n; | ||
301 | remaining -= n; | ||
302 | } | ||
303 | return written; | ||
304 | } | ||
305 | |||
306 | static RemixCount | ||
307 | alsa_player_process(RemixEnv *env, RemixBase *base, RemixCount count, RemixStream *input, RemixStream *output __UNUSED__) | ||
308 | { | ||
309 | Alsa_Player_Data *player_data = remix_base_get_instance_data(env, base); | ||
310 | RemixCount nr_channels = remix_stream_nr_channels(env, input); | ||
311 | RemixCount remaining = count, processed = 0, n, nn; | ||
312 | |||
313 | if ((nr_channels == 1) && (player_data->stereo == 0)) | ||
314 | { /*MONO*/ | ||
315 | return remix_stream_chunkfuncify(env, input, count, | ||
316 | alsa_player_chunk, player_data); | ||
317 | } | ||
318 | else if ((nr_channels == 2) && (player_data->stereo == 1)) | ||
319 | { /*STEREO*/ | ||
320 | while (remaining > 0) | ||
321 | { | ||
322 | n = MIN(remaining, ALSA_PLAYER_BUFFERLEN / 2); | ||
323 | n = remix_stream_interleave_2(env, input, | ||
324 | REMIX_CHANNEL_LEFT, | ||
325 | REMIX_CHANNEL_RIGHT, | ||
326 | player_data->databuffer, n); | ||
327 | nn = alsa_player_playbuffer(env, player_data, | ||
328 | player_data->databuffer, n); | ||
329 | processed += n; | ||
330 | remaining -= n; | ||
331 | } | ||
332 | return processed; | ||
333 | } | ||
334 | WRN("[alsa_player_process] unsupported stream/output channel " | ||
335 | "combination %ld / %d", nr_channels, player_data->stereo ? 2 : 1); | ||
336 | return -1; | ||
337 | } | ||
338 | |||
339 | static RemixCount | ||
340 | alsa_player_length(RemixEnv *env __UNUSED__, RemixBase *base __UNUSED__) | ||
341 | { | ||
342 | return REMIX_COUNT_INFINITE; | ||
343 | } | ||
344 | |||
345 | static RemixCount | ||
346 | alsa_player_seek(RemixEnv *env __UNUSED__, RemixBase *base __UNUSED__, RemixCount count __UNUSED__) | ||
347 | { | ||
348 | return count; | ||
349 | } | ||
350 | |||
351 | static int | ||
352 | alsa_player_flush(RemixEnv *env, RemixBase *base) | ||
353 | { | ||
354 | alsa_player_reset_device(env, base); | ||
355 | return 0; | ||
356 | } | ||
357 | |||
358 | static struct _RemixMethods _alsa_player_methods = | ||
359 | { | ||
360 | alsa_player_clone, | ||
361 | alsa_player_destroy, | ||
362 | alsa_player_ready, | ||
363 | alsa_player_prepare, | ||
364 | alsa_player_process, | ||
365 | alsa_player_length, | ||
366 | alsa_player_seek, | ||
367 | alsa_player_flush, | ||
368 | }; | ||
369 | |||
370 | static RemixBase * | ||
371 | alsa_player_optimise(RemixEnv *env, RemixBase *base) | ||
372 | { | ||
373 | remix_base_set_methods(env, base, &_alsa_player_methods); | ||
374 | return base; | ||
375 | } | ||
376 | |||
377 | static struct _RemixMetaText alsa_player_metatext = | ||
378 | { | ||
379 | "alsa_snd_player", | ||
380 | "ALSA sound player for Remix", | ||
381 | "Output the audio stream into ALSA Driver", | ||
382 | "Copyright (C) 2011, Samsung Electronics Co., Ltd.", | ||
383 | "http://www.samsung.com", | ||
384 | REMIX_ONE_AUTHOR("Govindaraju SM", "prince.dubey@samsung.com"), | ||
385 | }; | ||
386 | |||
387 | static struct _RemixPlugin alsa_player_plugin = | ||
388 | { | ||
389 | &alsa_player_metatext, | ||
390 | REMIX_FLAGS_NONE, | ||
391 | CD_EMPTY_SET, /* init scheme */ | ||
392 | alsa_player_init, | ||
393 | CD_EMPTY_SET, /* process scheme */ | ||
394 | NULL, /* suggests */ | ||
395 | NULL, /* plugin data */ | ||
396 | NULL /* destroy */ | ||
397 | }; | ||
398 | |||
399 | EAPI CDList * | ||
400 | remix_load(RemixEnv *env) | ||
401 | { | ||
402 | CDList *plugins = cd_list_new(env); | ||
403 | plugins = cd_list_prepend(env, plugins, CD_POINTER(&alsa_player_plugin)); | ||
404 | return plugins; | ||
405 | } | ||
diff --git a/libraries/edje/src/modules/eet_snd_reader/Makefile.am b/libraries/edje/src/modules/eet_snd_reader/Makefile.am new file mode 100644 index 0000000..c154dc2 --- /dev/null +++ b/libraries/edje/src/modules/eet_snd_reader/Makefile.am | |||
@@ -0,0 +1,17 @@ | |||
1 | MAINTAINERCLEANFILES = Makefile.in | ||
2 | |||
3 | pkglibdir = $(REMIX_PLUGIN_DIR) | ||
4 | |||
5 | AM_CPPFLAGS = \ | ||
6 | -I. \ | ||
7 | -DPACKAGE_LIB_DIR=\"$(libdir)/remix\" \ | ||
8 | -DPACKAGE_DATA_DIR=\"$(datadir)/remix\" \ | ||
9 | @EDJE_CFLAGS@ \ | ||
10 | @REMIX_CFLAGS@ | ||
11 | |||
12 | pkgdir = $(REMIX_PLUGIN_DIR) | ||
13 | pkg_LTLIBRARIES = libeet_sndfile_reader.la | ||
14 | |||
15 | libeet_sndfile_reader_la_SOURCES = eet_snd_reader.c | ||
16 | libeet_sndfile_reader_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version @EDJE_LIBS@ @REMIX_LIBS@ | ||
17 | libeet_sndfile_reader_la_LIBTOOLFLAGS = --tag=disable-static | ||
diff --git a/libraries/edje/src/modules/eet_snd_reader/Makefile.in b/libraries/edje/src/modules/eet_snd_reader/Makefile.in new file mode 100644 index 0000000..f4d99bb --- /dev/null +++ b/libraries/edje/src/modules/eet_snd_reader/Makefile.in | |||
@@ -0,0 +1,634 @@ | |||
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 | pkglibexecdir = $(libexecdir)/@PACKAGE@ | ||
22 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | ||
23 | install_sh_DATA = $(install_sh) -c -m 644 | ||
24 | install_sh_PROGRAM = $(install_sh) -c | ||
25 | install_sh_SCRIPT = $(install_sh) -c | ||
26 | INSTALL_HEADER = $(INSTALL_DATA) | ||
27 | transform = $(program_transform_name) | ||
28 | NORMAL_INSTALL = : | ||
29 | PRE_INSTALL = : | ||
30 | POST_INSTALL = : | ||
31 | NORMAL_UNINSTALL = : | ||
32 | PRE_UNINSTALL = : | ||
33 | POST_UNINSTALL = : | ||
34 | build_triplet = @build@ | ||
35 | host_triplet = @host@ | ||
36 | subdir = src/modules/eet_snd_reader | ||
37 | DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in | ||
38 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | ||
39 | am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \ | ||
40 | $(top_srcdir)/m4/efl_binary.m4 \ | ||
41 | $(top_srcdir)/m4/efl_coverage.m4 \ | ||
42 | $(top_srcdir)/m4/efl_doxygen.m4 \ | ||
43 | $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ | ||
44 | $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ | ||
45 | $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ | ||
46 | $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac | ||
47 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | ||
48 | $(ACLOCAL_M4) | ||
49 | mkinstalldirs = $(install_sh) -d | ||
50 | CONFIG_HEADER = $(top_builddir)/config.h | ||
51 | CONFIG_CLEAN_FILES = | ||
52 | CONFIG_CLEAN_VPATH_FILES = | ||
53 | am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; | ||
54 | am__vpath_adj = case $$p in \ | ||
55 | $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ | ||
56 | *) f=$$p;; \ | ||
57 | esac; | ||
58 | am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; | ||
59 | am__install_max = 40 | ||
60 | am__nobase_strip_setup = \ | ||
61 | srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` | ||
62 | am__nobase_strip = \ | ||
63 | for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" | ||
64 | am__nobase_list = $(am__nobase_strip_setup); \ | ||
65 | for p in $$list; do echo "$$p $$p"; done | \ | ||
66 | sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ | ||
67 | $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ | ||
68 | if (++n[$$2] == $(am__install_max)) \ | ||
69 | { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ | ||
70 | END { for (dir in files) print dir, files[dir] }' | ||
71 | am__base_list = \ | ||
72 | sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ | ||
73 | sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | ||
74 | am__installdirs = "$(DESTDIR)$(pkgdir)" | ||
75 | LTLIBRARIES = $(pkg_LTLIBRARIES) | ||
76 | libeet_sndfile_reader_la_LIBADD = | ||
77 | am_libeet_sndfile_reader_la_OBJECTS = \ | ||
78 | libeet_sndfile_reader_la-eet_snd_reader.lo | ||
79 | libeet_sndfile_reader_la_OBJECTS = \ | ||
80 | $(am_libeet_sndfile_reader_la_OBJECTS) | ||
81 | AM_V_lt = $(am__v_lt_$(V)) | ||
82 | am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) | ||
83 | am__v_lt_0 = --silent | ||
84 | libeet_sndfile_reader_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ | ||
85 | $(libeet_sndfile_reader_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ | ||
86 | --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ | ||
87 | $(libeet_sndfile_reader_la_LDFLAGS) $(LDFLAGS) -o $@ | ||
88 | DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) | ||
89 | depcomp = $(SHELL) $(top_srcdir)/depcomp | ||
90 | am__depfiles_maybe = depfiles | ||
91 | am__mv = mv -f | ||
92 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ | ||
93 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | ||
94 | LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ | ||
95 | $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ | ||
96 | $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ | ||
97 | $(AM_CFLAGS) $(CFLAGS) | ||
98 | AM_V_CC = $(am__v_CC_$(V)) | ||
99 | am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) | ||
100 | am__v_CC_0 = @echo " CC " $@; | ||
101 | AM_V_at = $(am__v_at_$(V)) | ||
102 | am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) | ||
103 | am__v_at_0 = @ | ||
104 | CCLD = $(CC) | ||
105 | LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ | ||
106 | $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ | ||
107 | $(AM_LDFLAGS) $(LDFLAGS) -o $@ | ||
108 | AM_V_CCLD = $(am__v_CCLD_$(V)) | ||
109 | am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) | ||
110 | am__v_CCLD_0 = @echo " CCLD " $@; | ||
111 | AM_V_GEN = $(am__v_GEN_$(V)) | ||
112 | am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) | ||
113 | am__v_GEN_0 = @echo " GEN " $@; | ||
114 | SOURCES = $(libeet_sndfile_reader_la_SOURCES) | ||
115 | DIST_SOURCES = $(libeet_sndfile_reader_la_SOURCES) | ||
116 | ETAGS = etags | ||
117 | CTAGS = ctags | ||
118 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
119 | pkglibdir = $(REMIX_PLUGIN_DIR) | ||
120 | ACLOCAL = @ACLOCAL@ | ||
121 | ALLOCA = @ALLOCA@ | ||
122 | ALSA_CFLAGS = @ALSA_CFLAGS@ | ||
123 | ALSA_LIBS = @ALSA_LIBS@ | ||
124 | AMTAR = @AMTAR@ | ||
125 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | ||
126 | AR = @AR@ | ||
127 | AS = @AS@ | ||
128 | AUTOCONF = @AUTOCONF@ | ||
129 | AUTOHEADER = @AUTOHEADER@ | ||
130 | AUTOMAKE = @AUTOMAKE@ | ||
131 | AWK = @AWK@ | ||
132 | CC = @CC@ | ||
133 | CCDEPMODE = @CCDEPMODE@ | ||
134 | CFLAGS = @CFLAGS@ | ||
135 | CHECK_CFLAGS = @CHECK_CFLAGS@ | ||
136 | CHECK_LIBS = @CHECK_LIBS@ | ||
137 | CPP = @CPP@ | ||
138 | CPPFLAGS = @CPPFLAGS@ | ||
139 | CYGPATH_W = @CYGPATH_W@ | ||
140 | DEFS = @DEFS@ | ||
141 | DEPDIR = @DEPDIR@ | ||
142 | DLLTOOL = @DLLTOOL@ | ||
143 | DSYMUTIL = @DSYMUTIL@ | ||
144 | DUMPBIN = @DUMPBIN@ | ||
145 | ECHO_C = @ECHO_C@ | ||
146 | ECHO_N = @ECHO_N@ | ||
147 | ECHO_T = @ECHO_T@ | ||
148 | ECORE_IMF_CFLAGS = @ECORE_IMF_CFLAGS@ | ||
149 | ECORE_IMF_LIBS = @ECORE_IMF_LIBS@ | ||
150 | EDJE_CC_CFLAGS = @EDJE_CC_CFLAGS@ | ||
151 | EDJE_CC_LIBS = @EDJE_CC_LIBS@ | ||
152 | EDJE_CC_PRG = @EDJE_CC_PRG@ | ||
153 | EDJE_CFLAGS = @EDJE_CFLAGS@ | ||
154 | EDJE_DECC_CFLAGS = @EDJE_DECC_CFLAGS@ | ||
155 | EDJE_DECC_LIBS = @EDJE_DECC_LIBS@ | ||
156 | EDJE_DECC_PRG = @EDJE_DECC_PRG@ | ||
157 | EDJE_EXTERNAL_INSPECTOR_CFLAGS = @EDJE_EXTERNAL_INSPECTOR_CFLAGS@ | ||
158 | EDJE_EXTERNAL_INSPECTOR_LIBS = @EDJE_EXTERNAL_INSPECTOR_LIBS@ | ||
159 | EDJE_EXTERNAL_INSPECTOR_PRG = @EDJE_EXTERNAL_INSPECTOR_PRG@ | ||
160 | EDJE_INSPECTOR_CFLAGS = @EDJE_INSPECTOR_CFLAGS@ | ||
161 | EDJE_INSPECTOR_LIBS = @EDJE_INSPECTOR_LIBS@ | ||
162 | EDJE_INSPECTOR_PRG = @EDJE_INSPECTOR_PRG@ | ||
163 | EDJE_LIBS = @EDJE_LIBS@ | ||
164 | EDJE_PLAYER_CFLAGS = @EDJE_PLAYER_CFLAGS@ | ||
165 | EDJE_PLAYER_LIBS = @EDJE_PLAYER_LIBS@ | ||
166 | EDJE_PLAYER_PRG = @EDJE_PLAYER_PRG@ | ||
167 | EDJE_RECC_PRG = @EDJE_RECC_PRG@ | ||
168 | EFL_COVERAGE_CFLAGS = @EFL_COVERAGE_CFLAGS@ | ||
169 | EFL_COVERAGE_LIBS = @EFL_COVERAGE_LIBS@ | ||
170 | EFL_EDJE_BUILD = @EFL_EDJE_BUILD@ | ||
171 | EGREP = @EGREP@ | ||
172 | EVIL_CFLAGS = @EVIL_CFLAGS@ | ||
173 | EVIL_LIBS = @EVIL_LIBS@ | ||
174 | EXEEXT = @EXEEXT@ | ||
175 | FGREP = @FGREP@ | ||
176 | FLAC_CFLAGS = @FLAC_CFLAGS@ | ||
177 | FLAC_LIBS = @FLAC_LIBS@ | ||
178 | GREP = @GREP@ | ||
179 | INSTALL = @INSTALL@ | ||
180 | INSTALL_DATA = @INSTALL_DATA@ | ||
181 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | ||
182 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | ||
183 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | ||
184 | LD = @LD@ | ||
185 | LDFLAGS = @LDFLAGS@ | ||
186 | LIBOBJS = @LIBOBJS@ | ||
187 | LIBS = @LIBS@ | ||
188 | LIBTOOL = @LIBTOOL@ | ||
189 | LIPO = @LIPO@ | ||
190 | LN_S = @LN_S@ | ||
191 | LTLIBOBJS = @LTLIBOBJS@ | ||
192 | LUA_CFLAGS = @LUA_CFLAGS@ | ||
193 | LUA_LIBS = @LUA_LIBS@ | ||
194 | MAKEINFO = @MAKEINFO@ | ||
195 | MINIMAL_CFLAGS = @MINIMAL_CFLAGS@ | ||
196 | MINIMAL_LIBS = @MINIMAL_LIBS@ | ||
197 | MKDIR_P = @MKDIR_P@ | ||
198 | MODULE_ARCH = @MODULE_ARCH@ | ||
199 | NM = @NM@ | ||
200 | NMEDIT = @NMEDIT@ | ||
201 | OBJDUMP = @OBJDUMP@ | ||
202 | OBJEXT = @OBJEXT@ | ||
203 | OTOOL = @OTOOL@ | ||
204 | OTOOL64 = @OTOOL64@ | ||
205 | PACKAGE = @PACKAGE@ | ||
206 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | ||
207 | PACKAGE_NAME = @PACKAGE_NAME@ | ||
208 | PACKAGE_STRING = @PACKAGE_STRING@ | ||
209 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | ||
210 | PACKAGE_URL = @PACKAGE_URL@ | ||
211 | PACKAGE_VERSION = @PACKAGE_VERSION@ | ||
212 | PATH_SEPARATOR = @PATH_SEPARATOR@ | ||
213 | PKG_CONFIG = @PKG_CONFIG@ | ||
214 | PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ | ||
215 | PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ | ||
216 | PYTHON = @PYTHON@ | ||
217 | PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ | ||
218 | PYTHON_PLATFORM = @PYTHON_PLATFORM@ | ||
219 | PYTHON_PREFIX = @PYTHON_PREFIX@ | ||
220 | PYTHON_VERSION = @PYTHON_VERSION@ | ||
221 | RANLIB = @RANLIB@ | ||
222 | REMIX_CFLAGS = @REMIX_CFLAGS@ | ||
223 | REMIX_LIBS = @REMIX_LIBS@ | ||
224 | REMIX_PLUGIN_DIR = @REMIX_PLUGIN_DIR@ | ||
225 | SED = @SED@ | ||
226 | SET_MAKE = @SET_MAKE@ | ||
227 | SHELL = @SHELL@ | ||
228 | SNDFILE_CFLAGS = @SNDFILE_CFLAGS@ | ||
229 | SNDFILE_LIBS = @SNDFILE_LIBS@ | ||
230 | STRIP = @STRIP@ | ||
231 | VERSION = @VERSION@ | ||
232 | VMAJ = @VMAJ@ | ||
233 | VORBISENC_CFLAGS = @VORBISENC_CFLAGS@ | ||
234 | VORBISENC_LIBS = @VORBISENC_LIBS@ | ||
235 | abs_builddir = @abs_builddir@ | ||
236 | abs_srcdir = @abs_srcdir@ | ||
237 | abs_top_builddir = @abs_top_builddir@ | ||
238 | abs_top_srcdir = @abs_top_srcdir@ | ||
239 | ac_ct_CC = @ac_ct_CC@ | ||
240 | ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ | ||
241 | am__include = @am__include@ | ||
242 | am__leading_dot = @am__leading_dot@ | ||
243 | am__quote = @am__quote@ | ||
244 | am__tar = @am__tar@ | ||
245 | am__untar = @am__untar@ | ||
246 | bindir = @bindir@ | ||
247 | build = @build@ | ||
248 | build_alias = @build_alias@ | ||
249 | build_cpu = @build_cpu@ | ||
250 | build_os = @build_os@ | ||
251 | build_vendor = @build_vendor@ | ||
252 | builddir = @builddir@ | ||
253 | datadir = @datadir@ | ||
254 | datarootdir = @datarootdir@ | ||
255 | docdir = @docdir@ | ||
256 | dvidir = @dvidir@ | ||
257 | edje_cc = @edje_cc@ | ||
258 | efl_doxygen = @efl_doxygen@ | ||
259 | efl_have_doxygen = @efl_have_doxygen@ | ||
260 | exec_prefix = @exec_prefix@ | ||
261 | have_lcov = @have_lcov@ | ||
262 | host = @host@ | ||
263 | host_alias = @host_alias@ | ||
264 | host_cpu = @host_cpu@ | ||
265 | host_os = @host_os@ | ||
266 | host_vendor = @host_vendor@ | ||
267 | htmldir = @htmldir@ | ||
268 | includedir = @includedir@ | ||
269 | infodir = @infodir@ | ||
270 | install_sh = @install_sh@ | ||
271 | libdir = @libdir@ | ||
272 | libexecdir = @libexecdir@ | ||
273 | localedir = @localedir@ | ||
274 | localstatedir = @localstatedir@ | ||
275 | lt_ECHO = @lt_ECHO@ | ||
276 | lt_enable_auto_import = @lt_enable_auto_import@ | ||
277 | lua_libs = @lua_libs@ | ||
278 | mandir = @mandir@ | ||
279 | mkdir_p = @mkdir_p@ | ||
280 | oldincludedir = @oldincludedir@ | ||
281 | pdfdir = @pdfdir@ | ||
282 | pkgconfig_requires_private = @pkgconfig_requires_private@ | ||
283 | pkgpyexecdir = @pkgpyexecdir@ | ||
284 | pkgpythondir = @pkgpythondir@ | ||
285 | prefix = @prefix@ | ||
286 | program_transform_name = @program_transform_name@ | ||
287 | psdir = @psdir@ | ||
288 | pyexecdir = @pyexecdir@ | ||
289 | pythondir = @pythondir@ | ||
290 | release_info = @release_info@ | ||
291 | requirement_edje = @requirement_edje@ | ||
292 | sbindir = @sbindir@ | ||
293 | sharedstatedir = @sharedstatedir@ | ||
294 | srcdir = @srcdir@ | ||
295 | sysconfdir = @sysconfdir@ | ||
296 | target_alias = @target_alias@ | ||
297 | top_build_prefix = @top_build_prefix@ | ||
298 | top_builddir = @top_builddir@ | ||
299 | top_srcdir = @top_srcdir@ | ||
300 | version_info = @version_info@ | ||
301 | vimdir = @vimdir@ | ||
302 | MAINTAINERCLEANFILES = Makefile.in | ||
303 | AM_CPPFLAGS = \ | ||
304 | -I. \ | ||
305 | -DPACKAGE_LIB_DIR=\"$(libdir)/remix\" \ | ||
306 | -DPACKAGE_DATA_DIR=\"$(datadir)/remix\" \ | ||
307 | @EDJE_CFLAGS@ \ | ||
308 | @REMIX_CFLAGS@ | ||
309 | |||
310 | pkgdir = $(REMIX_PLUGIN_DIR) | ||
311 | pkg_LTLIBRARIES = libeet_sndfile_reader.la | ||
312 | libeet_sndfile_reader_la_SOURCES = eet_snd_reader.c | ||
313 | libeet_sndfile_reader_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version @EDJE_LIBS@ @REMIX_LIBS@ | ||
314 | libeet_sndfile_reader_la_LIBTOOLFLAGS = --tag=disable-static | ||
315 | all: all-am | ||
316 | |||
317 | .SUFFIXES: | ||
318 | .SUFFIXES: .c .lo .o .obj | ||
319 | $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) | ||
320 | @for dep in $?; do \ | ||
321 | case '$(am__configure_deps)' in \ | ||
322 | *$$dep*) \ | ||
323 | ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ | ||
324 | && { if test -f $@; then exit 0; else break; fi; }; \ | ||
325 | exit 1;; \ | ||
326 | esac; \ | ||
327 | done; \ | ||
328 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/modules/eet_snd_reader/Makefile'; \ | ||
329 | $(am__cd) $(top_srcdir) && \ | ||
330 | $(AUTOMAKE) --gnu src/modules/eet_snd_reader/Makefile | ||
331 | .PRECIOUS: Makefile | ||
332 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | ||
333 | @case '$?' in \ | ||
334 | *config.status*) \ | ||
335 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ | ||
336 | *) \ | ||
337 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ | ||
338 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ | ||
339 | esac; | ||
340 | |||
341 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | ||
342 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
343 | |||
344 | $(top_srcdir)/configure: $(am__configure_deps) | ||
345 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
346 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) | ||
347 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
348 | $(am__aclocal_m4_deps): | ||
349 | install-pkgLTLIBRARIES: $(pkg_LTLIBRARIES) | ||
350 | @$(NORMAL_INSTALL) | ||
351 | test -z "$(pkgdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdir)" | ||
352 | @list='$(pkg_LTLIBRARIES)'; test -n "$(pkgdir)" || list=; \ | ||
353 | list2=; for p in $$list; do \ | ||
354 | if test -f $$p; then \ | ||
355 | list2="$$list2 $$p"; \ | ||
356 | else :; fi; \ | ||
357 | done; \ | ||
358 | test -z "$$list2" || { \ | ||
359 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkgdir)'"; \ | ||
360 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkgdir)"; \ | ||
361 | } | ||
362 | |||
363 | uninstall-pkgLTLIBRARIES: | ||
364 | @$(NORMAL_UNINSTALL) | ||
365 | @list='$(pkg_LTLIBRARIES)'; test -n "$(pkgdir)" || list=; \ | ||
366 | for p in $$list; do \ | ||
367 | $(am__strip_dir) \ | ||
368 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkgdir)/$$f'"; \ | ||
369 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkgdir)/$$f"; \ | ||
370 | done | ||
371 | |||
372 | clean-pkgLTLIBRARIES: | ||
373 | -test -z "$(pkg_LTLIBRARIES)" || rm -f $(pkg_LTLIBRARIES) | ||
374 | @list='$(pkg_LTLIBRARIES)'; for p in $$list; do \ | ||
375 | dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ | ||
376 | test "$$dir" != "$$p" || dir=.; \ | ||
377 | echo "rm -f \"$${dir}/so_locations\""; \ | ||
378 | rm -f "$${dir}/so_locations"; \ | ||
379 | done | ||
380 | libeet_sndfile_reader.la: $(libeet_sndfile_reader_la_OBJECTS) $(libeet_sndfile_reader_la_DEPENDENCIES) | ||
381 | $(AM_V_CCLD)$(libeet_sndfile_reader_la_LINK) -rpath $(pkgdir) $(libeet_sndfile_reader_la_OBJECTS) $(libeet_sndfile_reader_la_LIBADD) $(LIBS) | ||
382 | |||
383 | mostlyclean-compile: | ||
384 | -rm -f *.$(OBJEXT) | ||
385 | |||
386 | distclean-compile: | ||
387 | -rm -f *.tab.c | ||
388 | |||
389 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libeet_sndfile_reader_la-eet_snd_reader.Plo@am__quote@ | ||
390 | |||
391 | .c.o: | ||
392 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | ||
393 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | ||
394 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
395 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | ||
396 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
397 | @am__fastdepCC_FALSE@ $(COMPILE) -c $< | ||
398 | |||
399 | .c.obj: | ||
400 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | ||
401 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | ||
402 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
403 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | ||
404 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
405 | @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` | ||
406 | |||
407 | .c.lo: | ||
408 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | ||
409 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo | ||
410 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
411 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ | ||
412 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
413 | @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< | ||
414 | |||
415 | libeet_sndfile_reader_la-eet_snd_reader.lo: eet_snd_reader.c | ||
416 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(libeet_sndfile_reader_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libeet_sndfile_reader_la-eet_snd_reader.lo -MD -MP -MF $(DEPDIR)/libeet_sndfile_reader_la-eet_snd_reader.Tpo -c -o libeet_sndfile_reader_la-eet_snd_reader.lo `test -f 'eet_snd_reader.c' || echo '$(srcdir)/'`eet_snd_reader.c | ||
417 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libeet_sndfile_reader_la-eet_snd_reader.Tpo $(DEPDIR)/libeet_sndfile_reader_la-eet_snd_reader.Plo | ||
418 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
419 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='eet_snd_reader.c' object='libeet_sndfile_reader_la-eet_snd_reader.lo' libtool=yes @AMDEPBACKSLASH@ | ||
420 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
421 | @am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(libeet_sndfile_reader_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libeet_sndfile_reader_la-eet_snd_reader.lo `test -f 'eet_snd_reader.c' || echo '$(srcdir)/'`eet_snd_reader.c | ||
422 | |||
423 | mostlyclean-libtool: | ||
424 | -rm -f *.lo | ||
425 | |||
426 | clean-libtool: | ||
427 | -rm -rf .libs _libs | ||
428 | |||
429 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | ||
430 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
431 | unique=`for i in $$list; do \ | ||
432 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
433 | done | \ | ||
434 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
435 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
436 | mkid -fID $$unique | ||
437 | tags: TAGS | ||
438 | |||
439 | TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | ||
440 | $(TAGS_FILES) $(LISP) | ||
441 | set x; \ | ||
442 | here=`pwd`; \ | ||
443 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
444 | unique=`for i in $$list; do \ | ||
445 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
446 | done | \ | ||
447 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
448 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
449 | shift; \ | ||
450 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ | ||
451 | test -n "$$unique" || unique=$$empty_fix; \ | ||
452 | if test $$# -gt 0; then \ | ||
453 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
454 | "$$@" $$unique; \ | ||
455 | else \ | ||
456 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
457 | $$unique; \ | ||
458 | fi; \ | ||
459 | fi | ||
460 | ctags: CTAGS | ||
461 | CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | ||
462 | $(TAGS_FILES) $(LISP) | ||
463 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
464 | unique=`for i in $$list; do \ | ||
465 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
466 | done | \ | ||
467 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
468 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
469 | test -z "$(CTAGS_ARGS)$$unique" \ | ||
470 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ | ||
471 | $$unique | ||
472 | |||
473 | GTAGS: | ||
474 | here=`$(am__cd) $(top_builddir) && pwd` \ | ||
475 | && $(am__cd) $(top_srcdir) \ | ||
476 | && gtags -i $(GTAGS_ARGS) "$$here" | ||
477 | |||
478 | distclean-tags: | ||
479 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
480 | |||
481 | distdir: $(DISTFILES) | ||
482 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
483 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
484 | list='$(DISTFILES)'; \ | ||
485 | dist_files=`for file in $$list; do echo $$file; done | \ | ||
486 | sed -e "s|^$$srcdirstrip/||;t" \ | ||
487 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | ||
488 | case $$dist_files in \ | ||
489 | */*) $(MKDIR_P) `echo "$$dist_files" | \ | ||
490 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | ||
491 | sort -u` ;; \ | ||
492 | esac; \ | ||
493 | for file in $$dist_files; do \ | ||
494 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | ||
495 | if test -d $$d/$$file; then \ | ||
496 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | ||
497 | if test -d "$(distdir)/$$file"; then \ | ||
498 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
499 | fi; \ | ||
500 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | ||
501 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | ||
502 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
503 | fi; \ | ||
504 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | ||
505 | else \ | ||
506 | test -f "$(distdir)/$$file" \ | ||
507 | || cp -p $$d/$$file "$(distdir)/$$file" \ | ||
508 | || exit 1; \ | ||
509 | fi; \ | ||
510 | done | ||
511 | check-am: all-am | ||
512 | check: check-am | ||
513 | all-am: Makefile $(LTLIBRARIES) | ||
514 | installdirs: | ||
515 | for dir in "$(DESTDIR)$(pkgdir)"; do \ | ||
516 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ | ||
517 | done | ||
518 | install: install-am | ||
519 | install-exec: install-exec-am | ||
520 | install-data: install-data-am | ||
521 | uninstall: uninstall-am | ||
522 | |||
523 | install-am: all-am | ||
524 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | ||
525 | |||
526 | installcheck: installcheck-am | ||
527 | install-strip: | ||
528 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||
529 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||
530 | `test -z '$(STRIP)' || \ | ||
531 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install | ||
532 | mostlyclean-generic: | ||
533 | |||
534 | clean-generic: | ||
535 | |||
536 | distclean-generic: | ||
537 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | ||
538 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | ||
539 | |||
540 | maintainer-clean-generic: | ||
541 | @echo "This command is intended for maintainers to use" | ||
542 | @echo "it deletes files that may require special tools to rebuild." | ||
543 | -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) | ||
544 | clean: clean-am | ||
545 | |||
546 | clean-am: clean-generic clean-libtool clean-pkgLTLIBRARIES \ | ||
547 | mostlyclean-am | ||
548 | |||
549 | distclean: distclean-am | ||
550 | -rm -rf ./$(DEPDIR) | ||
551 | -rm -f Makefile | ||
552 | distclean-am: clean-am distclean-compile distclean-generic \ | ||
553 | distclean-tags | ||
554 | |||
555 | dvi: dvi-am | ||
556 | |||
557 | dvi-am: | ||
558 | |||
559 | html: html-am | ||
560 | |||
561 | html-am: | ||
562 | |||
563 | info: info-am | ||
564 | |||
565 | info-am: | ||
566 | |||
567 | install-data-am: install-pkgLTLIBRARIES | ||
568 | |||
569 | install-dvi: install-dvi-am | ||
570 | |||
571 | install-dvi-am: | ||
572 | |||
573 | install-exec-am: | ||
574 | |||
575 | install-html: install-html-am | ||
576 | |||
577 | install-html-am: | ||
578 | |||
579 | install-info: install-info-am | ||
580 | |||
581 | install-info-am: | ||
582 | |||
583 | install-man: | ||
584 | |||
585 | install-pdf: install-pdf-am | ||
586 | |||
587 | install-pdf-am: | ||
588 | |||
589 | install-ps: install-ps-am | ||
590 | |||
591 | install-ps-am: | ||
592 | |||
593 | installcheck-am: | ||
594 | |||
595 | maintainer-clean: maintainer-clean-am | ||
596 | -rm -rf ./$(DEPDIR) | ||
597 | -rm -f Makefile | ||
598 | maintainer-clean-am: distclean-am maintainer-clean-generic | ||
599 | |||
600 | mostlyclean: mostlyclean-am | ||
601 | |||
602 | mostlyclean-am: mostlyclean-compile mostlyclean-generic \ | ||
603 | mostlyclean-libtool | ||
604 | |||
605 | pdf: pdf-am | ||
606 | |||
607 | pdf-am: | ||
608 | |||
609 | ps: ps-am | ||
610 | |||
611 | ps-am: | ||
612 | |||
613 | uninstall-am: uninstall-pkgLTLIBRARIES | ||
614 | |||
615 | .MAKE: install-am install-strip | ||
616 | |||
617 | .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ | ||
618 | clean-libtool clean-pkgLTLIBRARIES ctags distclean \ | ||
619 | distclean-compile distclean-generic distclean-libtool \ | ||
620 | distclean-tags distdir dvi dvi-am html html-am info info-am \ | ||
621 | install install-am install-data install-data-am install-dvi \ | ||
622 | install-dvi-am install-exec install-exec-am install-html \ | ||
623 | install-html-am install-info install-info-am install-man \ | ||
624 | install-pdf install-pdf-am install-pkgLTLIBRARIES install-ps \ | ||
625 | install-ps-am install-strip installcheck installcheck-am \ | ||
626 | installdirs maintainer-clean maintainer-clean-generic \ | ||
627 | mostlyclean mostlyclean-compile mostlyclean-generic \ | ||
628 | mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \ | ||
629 | uninstall-am uninstall-pkgLTLIBRARIES | ||
630 | |||
631 | |||
632 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | ||
633 | # Otherwise a system limit (for SysV at least) may be exceeded. | ||
634 | .NOEXPORT: | ||
diff --git a/libraries/edje/src/modules/eet_snd_reader/eet_snd_reader.c b/libraries/edje/src/modules/eet_snd_reader/eet_snd_reader.c new file mode 100644 index 0000000..4e2dec9 --- /dev/null +++ b/libraries/edje/src/modules/eet_snd_reader/eet_snd_reader.c | |||
@@ -0,0 +1,498 @@ | |||
1 | /* | ||
2 | * RemixSnd_eetfile: a libsnd EET Virtual file handler | ||
3 | * | ||
4 | * Govindaraju SM <govi.sm@samsung.com>, August 2011 | ||
5 | * Prince Kumar Dubey <prince.dubey@samsung.com>, August 2011 | ||
6 | */ | ||
7 | |||
8 | #include "config.h" | ||
9 | #include <math.h> | ||
10 | #include <sndfile.h> | ||
11 | #include <remix/remix.h> | ||
12 | #include <Eet.h> | ||
13 | |||
14 | #define PATH_KEY 1 | ||
15 | #define SOUND_ID_KEY 2 | ||
16 | #define SPEED_KEY 3 | ||
17 | #define BLOCK_FRAMES 8192 | ||
18 | |||
19 | static RemixBase *remix_eet_sndfile_optimise(RemixEnv *env, RemixBase *sndfile); | ||
20 | |||
21 | typedef struct _VIO_DATA VIO_DATA; | ||
22 | typedef struct _SndInstanceData SndInstanceData; | ||
23 | |||
24 | struct _VIO_DATA | ||
25 | { | ||
26 | sf_count_t offset, length; | ||
27 | const char *data; | ||
28 | }; | ||
29 | |||
30 | struct _SndInstanceData | ||
31 | { | ||
32 | /* plugin parameters */ | ||
33 | char *path; | ||
34 | char *sound_id; | ||
35 | double speed; | ||
36 | |||
37 | /* Edj & Sndfile Reader */ | ||
38 | Eet_File *efp; | ||
39 | SNDFILE *pcm_fp; | ||
40 | SF_INFO *snd_info; | ||
41 | VIO_DATA *vio_data; | ||
42 | |||
43 | /* PCM buffers */ | ||
44 | RemixPCM *readbuf; | ||
45 | RemixPCM *inbuf; | ||
46 | RemixPCM *outbuf; | ||
47 | |||
48 | /* Resample stuffs */ | ||
49 | RemixPCM prevreadbuf[2]; | ||
50 | int enable_resample; | ||
51 | double rs_ratio; | ||
52 | RemixCount resample_len; | ||
53 | RemixCount in_avail; | ||
54 | RemixCount out_generated; | ||
55 | RemixCount required_resamples; | ||
56 | }; | ||
57 | |||
58 | static sf_count_t | ||
59 | eet_snd_file_get_length(void *user_data) | ||
60 | { | ||
61 | VIO_DATA *vf = user_data; | ||
62 | return vf->length; | ||
63 | } | ||
64 | |||
65 | static sf_count_t | ||
66 | eet_snd_file_seek(sf_count_t offset, int whence, void *user_data) | ||
67 | { | ||
68 | VIO_DATA *vf = user_data; | ||
69 | |||
70 | switch (whence) | ||
71 | { | ||
72 | case SEEK_SET: | ||
73 | vf->offset = offset; | ||
74 | break; | ||
75 | case SEEK_CUR: | ||
76 | vf->offset += offset; | ||
77 | break; | ||
78 | case SEEK_END: | ||
79 | vf->offset = vf->length + offset; | ||
80 | break; | ||
81 | default: | ||
82 | break; | ||
83 | } | ||
84 | return vf->offset; | ||
85 | } | ||
86 | |||
87 | static sf_count_t | ||
88 | eet_snd_file_read(void *ptr, sf_count_t count, void *user_data) | ||
89 | { | ||
90 | VIO_DATA *vf = user_data; | ||
91 | |||
92 | if ((vf->offset + count) > vf->length) | ||
93 | count = vf->length - vf->offset; | ||
94 | memcpy(ptr, vf->data + vf->offset, count); | ||
95 | vf->offset += count; | ||
96 | return count; | ||
97 | } | ||
98 | |||
99 | static sf_count_t | ||
100 | eet_snd_file_tell(void *user_data) | ||
101 | { | ||
102 | VIO_DATA *vf = user_data; | ||
103 | return vf->offset; | ||
104 | } | ||
105 | |||
106 | static int | ||
107 | remix_init_resampler_data(RemixEnv *env, RemixBase *base) | ||
108 | { | ||
109 | SndInstanceData *si = remix_base_get_instance_data(env, base); | ||
110 | |||
111 | si->rs_ratio = remix_get_samplerate(env) / si->snd_info->samplerate; | ||
112 | si->rs_ratio /= si->speed; | ||
113 | si->resample_len = (si->snd_info->frames * si->rs_ratio); | ||
114 | |||
115 | si->outbuf = malloc(sizeof(RemixPCM) * BLOCK_FRAMES * 2); | ||
116 | if (!si->outbuf) return 0; | ||
117 | if ((si->rs_ratio == 1.0)/* && (si->snd_info->channels == 2)*/) | ||
118 | { | ||
119 | si->enable_resample = 0; | ||
120 | return 1; | ||
121 | } | ||
122 | else | ||
123 | si->enable_resample = 1; | ||
124 | |||
125 | si->in_avail = 0; | ||
126 | si->out_generated = 0; | ||
127 | si->inbuf = malloc(sizeof(RemixPCM) * BLOCK_FRAMES * | ||
128 | si->snd_info->channels); | ||
129 | if (!si->inbuf) return 0; | ||
130 | return 1; | ||
131 | } | ||
132 | |||
133 | static RemixBase * | ||
134 | remix_eet_sndfile_create(RemixEnv *env, RemixBase *sndfile, const char *path, const char *sound_id, const double speed) | ||
135 | { | ||
136 | SF_VIRTUAL_IO *eet_vio = NULL; | ||
137 | SndInstanceData *si; | ||
138 | const void *sound_data; | ||
139 | int sound_size; | ||
140 | |||
141 | if ((!path) || (!sound_id)) return NULL; | ||
142 | |||
143 | si = calloc(1, sizeof(SndInstanceData)); | ||
144 | if (!si) goto err; | ||
145 | remix_base_set_instance_data(env, sndfile, si); | ||
146 | |||
147 | si->path = strdup(path); | ||
148 | si->sound_id = strdup(sound_id); | ||
149 | si->speed = speed; | ||
150 | |||
151 | si->efp = eet_open(path, EET_FILE_MODE_READ); | ||
152 | if (!si->efp) goto err; | ||
153 | |||
154 | // xxx: eet_read_direct does not work on Threads, using eet_read. | ||
155 | sound_data = eet_read(si->efp, sound_id, &(sound_size)); | ||
156 | eet_close(si->efp); | ||
157 | si->efp = NULL; | ||
158 | if (sound_data == NULL) goto err; | ||
159 | |||
160 | eet_vio = calloc(1, sizeof(SF_VIRTUAL_IO)); | ||
161 | if (!eet_vio) goto err; | ||
162 | |||
163 | /* Set up func pointers to read snd file directly from EET. */ | ||
164 | eet_vio->get_filelen = eet_snd_file_get_length; | ||
165 | eet_vio->seek = eet_snd_file_seek; | ||
166 | eet_vio->read = eet_snd_file_read; | ||
167 | eet_vio->tell = eet_snd_file_tell; | ||
168 | |||
169 | si->vio_data = calloc(1, sizeof(VIO_DATA)); | ||
170 | if (!si->vio_data) goto err; | ||
171 | si->vio_data->offset = 0; | ||
172 | si->vio_data->length = sound_size; | ||
173 | si->vio_data->data = sound_data; | ||
174 | |||
175 | si->snd_info = calloc(1, sizeof(SF_INFO)); | ||
176 | if (!si->snd_info) goto err; | ||
177 | |||
178 | si->pcm_fp = sf_open_virtual(eet_vio, SFM_READ, si->snd_info, si->vio_data); | ||
179 | if (!si->pcm_fp) goto err; | ||
180 | free(eet_vio); | ||
181 | eet_vio = NULL; | ||
182 | |||
183 | if (!remix_init_resampler_data(env, sndfile)) goto err; | ||
184 | si->out_generated = 0; | ||
185 | |||
186 | return sndfile; | ||
187 | |||
188 | err: | ||
189 | if (eet_vio) free(eet_vio); | ||
190 | remix_set_error(env, REMIX_ERROR_SYSTEM); | ||
191 | remix_destroy(env, (RemixBase *)sndfile); | ||
192 | return RemixNone; | ||
193 | } | ||
194 | |||
195 | static RemixBase * | ||
196 | remix_eet_sndfile_reader_init(RemixEnv *env, RemixBase *base, CDSet *parameters) | ||
197 | { | ||
198 | char *file_path, *sound_id; | ||
199 | double speed; | ||
200 | |||
201 | file_path = (cd_set_find(env, parameters, PATH_KEY)).s_string; | ||
202 | sound_id = (cd_set_find(env, parameters, SOUND_ID_KEY)).s_string; | ||
203 | speed = (cd_set_find(env, parameters, SPEED_KEY)).s_double; | ||
204 | |||
205 | if (!remix_eet_sndfile_create(env, base, file_path, sound_id, speed)) | ||
206 | return RemixNone; | ||
207 | remix_eet_sndfile_optimise (env, base); | ||
208 | return base; | ||
209 | } | ||
210 | |||
211 | static RemixBase * | ||
212 | remix_eet_sndfile_clone(RemixEnv *env, RemixBase *base) | ||
213 | { | ||
214 | SndInstanceData *si = remix_base_get_instance_data(env, base); | ||
215 | RemixBase *new_sndfile = remix_base_new(env); | ||
216 | |||
217 | remix_eet_sndfile_create(env, new_sndfile, si->path, si->sound_id, si->speed); | ||
218 | remix_eet_sndfile_optimise(env, new_sndfile); | ||
219 | return new_sndfile; | ||
220 | } | ||
221 | |||
222 | static int | ||
223 | remix_eet_sndfile_destroy(RemixEnv *env, RemixBase *base) | ||
224 | { | ||
225 | SndInstanceData *si = remix_base_get_instance_data(env, base); | ||
226 | if (si) | ||
227 | { | ||
228 | sf_close (si->pcm_fp); | ||
229 | eet_close(si->efp); | ||
230 | if (si->path) free(si->path); | ||
231 | if (si->sound_id) free(si->sound_id); | ||
232 | if (si->snd_info) free(si->snd_info); | ||
233 | if (si->efp) eet_close(si->efp); | ||
234 | if (si->inbuf) free(si->inbuf); | ||
235 | if (si->outbuf) free(si->outbuf); | ||
236 | if (si->vio_data) free(si->vio_data); | ||
237 | free(si); | ||
238 | } | ||
239 | if (base) free (base); | ||
240 | return 0; | ||
241 | } | ||
242 | |||
243 | static int | ||
244 | remix_pcm_resample(SndInstanceData *si) | ||
245 | { | ||
246 | RemixPCM *src, *dst, *srcbase; | ||
247 | int i = 0, in_samples, pos, total, chnum, reqsamp, avail; | ||
248 | int interp = 1; | ||
249 | |||
250 | dst = si->outbuf + (si->out_generated * 2); | ||
251 | in_samples = (double)si->required_resamples / si->rs_ratio; | ||
252 | chnum = si->snd_info->channels; | ||
253 | reqsamp = si->required_resamples; | ||
254 | avail = si->in_avail; | ||
255 | srcbase = si->readbuf; | ||
256 | if ((interp) && (si->rs_ratio >= 1.0)) | ||
257 | { | ||
258 | // linear interpolation of resampling for lower quality samples | ||
259 | // so they don't get high requency aliasing effects | ||
260 | for (i = 0; i < reqsamp; i++) | ||
261 | { | ||
262 | float fpos, fpos1; | ||
263 | RemixPCM psam[2]; | ||
264 | |||
265 | fpos = (float)(i * in_samples) / (float)reqsamp; | ||
266 | pos = fpos; | ||
267 | if (pos >= avail) break; | ||
268 | fpos -= pos; | ||
269 | fpos1 = 1.0 - fpos; | ||
270 | src = srcbase + (pos * chnum); | ||
271 | if (chnum == 2) | ||
272 | { | ||
273 | if (pos == 0) | ||
274 | { | ||
275 | psam[0] = si->prevreadbuf[0]; | ||
276 | psam[1] = si->prevreadbuf[1]; | ||
277 | } | ||
278 | else | ||
279 | { | ||
280 | psam[0] = src[0 - 2]; | ||
281 | psam[1] = src[1 - 2]; | ||
282 | } | ||
283 | *dst++ = (src[0] * fpos) + (psam[0] * fpos1); | ||
284 | *dst++ = (src[1] * fpos) + (psam[1] * fpos1); | ||
285 | } | ||
286 | else | ||
287 | { | ||
288 | if (pos == 0) | ||
289 | psam[0] = si->prevreadbuf[0]; | ||
290 | else | ||
291 | psam[0] = src[0 - 1]; | ||
292 | *dst++ = (src[0] * fpos) + (psam[0] * fpos1); | ||
293 | } | ||
294 | } | ||
295 | } | ||
296 | else | ||
297 | { | ||
298 | // simple sample-picking/nearest. faster and simpler | ||
299 | for (i = 0; i < reqsamp; i++) | ||
300 | { | ||
301 | pos = (i * in_samples) / reqsamp; | ||
302 | if (pos >= avail) break; | ||
303 | src = srcbase + (pos * chnum); | ||
304 | if (chnum == 2) | ||
305 | { | ||
306 | *dst++ = src[0]; | ||
307 | *dst++ = src[1]; | ||
308 | } | ||
309 | else | ||
310 | *dst++ = src[0]; | ||
311 | } | ||
312 | } | ||
313 | si->out_generated += i; | ||
314 | total = (i * in_samples) / reqsamp; | ||
315 | si->readbuf += total * chnum; | ||
316 | si->in_avail -= total; | ||
317 | return total; | ||
318 | } | ||
319 | |||
320 | /* An RemixChunkFunc for creating sndfile */ | ||
321 | static RemixCount | ||
322 | remix_eet_sndfile_read_update(RemixEnv *env, RemixBase *sndfile, RemixCount count) | ||
323 | { | ||
324 | SndInstanceData *si = remix_base_get_instance_data(env, sndfile); | ||
325 | |||
326 | si->out_generated = 0; | ||
327 | if (si->enable_resample) | ||
328 | { | ||
329 | RemixCount gen = 0; | ||
330 | |||
331 | while (gen < count) | ||
332 | { | ||
333 | if (si->in_avail <= 0) | ||
334 | { | ||
335 | si->in_avail = sf_readf_float(si->pcm_fp, si->inbuf, BLOCK_FRAMES); | ||
336 | si->readbuf = si->inbuf; | ||
337 | } | ||
338 | si->required_resamples = (count - gen); | ||
339 | remix_pcm_resample(si); | ||
340 | if (si->snd_info->channels == 2) | ||
341 | { | ||
342 | si->prevreadbuf[0] = si->readbuf[-2]; | ||
343 | si->prevreadbuf[1] = si->readbuf[-1]; | ||
344 | } | ||
345 | else | ||
346 | { | ||
347 | si->prevreadbuf[0] = si->readbuf[-1]; | ||
348 | } | ||
349 | gen += si->out_generated; | ||
350 | } | ||
351 | si->out_generated = gen; | ||
352 | } | ||
353 | else | ||
354 | { | ||
355 | si->out_generated = sf_readf_float(si->pcm_fp, si->outbuf, count); | ||
356 | } | ||
357 | return si->out_generated; | ||
358 | } | ||
359 | |||
360 | static RemixCount | ||
361 | remix_eet_sndfile_read_into_chunk(RemixEnv *env, RemixChunk *chunk, RemixCount offset, RemixCount count, int channelname, void *data) | ||
362 | { | ||
363 | RemixBase *sndfile = data; | ||
364 | SndInstanceData *si = remix_base_get_instance_data(env, sndfile); | ||
365 | RemixPCM *d, *p; | ||
366 | RemixCount remaining = count, written = 0, n, i; | ||
367 | |||
368 | d = &chunk->data[offset]; | ||
369 | n = MIN(remaining, BLOCK_FRAMES); | ||
370 | // Need parameter support to advance the data reading | ||
371 | if (channelname == 0) | ||
372 | remix_eet_sndfile_read_update(env, sndfile, n); | ||
373 | n = MIN(si->out_generated, remaining); | ||
374 | p = si->outbuf; | ||
375 | if (si->snd_info->channels > 1) p += channelname; | ||
376 | for (i = 0; i < n; i++) | ||
377 | { | ||
378 | *d++ = *p; | ||
379 | p += si->snd_info->channels; | ||
380 | } | ||
381 | if (n == 0) n = _remix_pcm_set(d, 0.0, remaining); | ||
382 | remaining -= n; | ||
383 | written += n; | ||
384 | return written; | ||
385 | } | ||
386 | |||
387 | static RemixCount | ||
388 | remix_eet_sndfile_reader_process(RemixEnv *env, RemixBase *base, RemixCount count, RemixStream *input __UNUSED__, RemixStream *output) | ||
389 | { | ||
390 | return remix_stream_chunkfuncify(env, output, count, | ||
391 | remix_eet_sndfile_read_into_chunk, | ||
392 | base); | ||
393 | } | ||
394 | |||
395 | static RemixCount | ||
396 | remix_eet_sndfile_length(RemixEnv *env, RemixBase *base) | ||
397 | { | ||
398 | SndInstanceData *si = remix_base_get_instance_data(env, base); | ||
399 | return si->resample_len; | ||
400 | } | ||
401 | |||
402 | static RemixCount | ||
403 | remix_eet_sndfile_seek(RemixEnv *env, RemixBase *base, RemixCount offset) | ||
404 | { | ||
405 | SndInstanceData *si = remix_base_get_instance_data(env, base); | ||
406 | return sf_seek(si->pcm_fp, offset, SEEK_SET); | ||
407 | } | ||
408 | |||
409 | static struct _RemixMethods _remix_eet_sndfile_reader_methods = | ||
410 | { | ||
411 | remix_eet_sndfile_clone, | ||
412 | remix_eet_sndfile_destroy, | ||
413 | NULL, /* ready */ | ||
414 | NULL, /* prepare */ | ||
415 | remix_eet_sndfile_reader_process, | ||
416 | remix_eet_sndfile_length, | ||
417 | remix_eet_sndfile_seek, | ||
418 | NULL, /* flush */ | ||
419 | }; | ||
420 | |||
421 | static RemixBase * | ||
422 | remix_eet_sndfile_optimise(RemixEnv *env, RemixBase *sndfile) | ||
423 | { | ||
424 | remix_base_set_methods(env, sndfile, &_remix_eet_sndfile_reader_methods); | ||
425 | return sndfile; | ||
426 | } | ||
427 | |||
428 | static struct _RemixParameterScheme path_scheme = | ||
429 | { | ||
430 | "path", | ||
431 | "Path to sound file", | ||
432 | REMIX_TYPE_STRING, | ||
433 | REMIX_CONSTRAINT_TYPE_NONE, | ||
434 | {NULL}, | ||
435 | REMIX_HINT_FILENAME, | ||
436 | }; | ||
437 | |||
438 | static struct _RemixParameterScheme sound_id_scheme = | ||
439 | { | ||
440 | "sound_id", | ||
441 | "Sound Id (Key) inside EET", | ||
442 | REMIX_TYPE_STRING, | ||
443 | REMIX_CONSTRAINT_TYPE_NONE, | ||
444 | {NULL}, | ||
445 | REMIX_HINT_DEFAULT, | ||
446 | }; | ||
447 | |||
448 | static struct _RemixParameterScheme speed_scheme = | ||
449 | { | ||
450 | "speed", | ||
451 | "Sound Play Speed", | ||
452 | REMIX_TYPE_FLOAT, | ||
453 | REMIX_CONSTRAINT_TYPE_NONE, | ||
454 | {NULL}, | ||
455 | REMIX_HINT_DEFAULT, | ||
456 | }; | ||
457 | |||
458 | static struct _RemixMetaText eet_sndfile_reader_metatext = | ||
459 | { | ||
460 | "eet_sndfile_reader", | ||
461 | "File:: Sound file Reader from EET", | ||
462 | "Reads PCM audio files from EET bundle using libsndfile", | ||
463 | "Copyright (C) 2011, Samsung Electronics Co., Ltd.", | ||
464 | "http://www.samsung.com", | ||
465 | REMIX_ONE_AUTHOR ("govi.sm@samsung.com", "prince.dubey@samsung.com"), | ||
466 | }; | ||
467 | |||
468 | static struct _RemixPlugin eet_sndfile_reader_plugin = | ||
469 | { | ||
470 | &eet_sndfile_reader_metatext, | ||
471 | REMIX_FLAGS_NONE, | ||
472 | CD_EMPTY_SET, /* init scheme */ | ||
473 | remix_eet_sndfile_reader_init, | ||
474 | CD_EMPTY_SET, /* process scheme */ | ||
475 | NULL, /* suggests */ | ||
476 | NULL, /* plugin data */ | ||
477 | NULL /* destroy */ | ||
478 | }; | ||
479 | |||
480 | EAPI CDList * | ||
481 | remix_load(RemixEnv *env) | ||
482 | { | ||
483 | CDList *plugins = cd_list_new(env); | ||
484 | |||
485 | eet_sndfile_reader_plugin.init_scheme = | ||
486 | cd_set_insert(env, eet_sndfile_reader_plugin.init_scheme, PATH_KEY, | ||
487 | CD_POINTER(&path_scheme)); | ||
488 | eet_sndfile_reader_plugin.init_scheme = | ||
489 | cd_set_insert(env, eet_sndfile_reader_plugin.init_scheme, SOUND_ID_KEY, | ||
490 | CD_POINTER(&sound_id_scheme)); | ||
491 | eet_sndfile_reader_plugin.init_scheme = | ||
492 | cd_set_insert(env, eet_sndfile_reader_plugin.init_scheme, SPEED_KEY, | ||
493 | CD_POINTER(&speed_scheme)); | ||
494 | |||
495 | plugins = cd_list_prepend(env, plugins, | ||
496 | CD_POINTER(&eet_sndfile_reader_plugin)); | ||
497 | return plugins; | ||
498 | } | ||
diff --git a/libraries/edje/src/modules/multisense_factory/Makefile.am b/libraries/edje/src/modules/multisense_factory/Makefile.am new file mode 100644 index 0000000..768c8ce --- /dev/null +++ b/libraries/edje/src/modules/multisense_factory/Makefile.am | |||
@@ -0,0 +1,21 @@ | |||
1 | MAINTAINERCLEANFILES = Makefile.in | ||
2 | |||
3 | pkglibdir = $(datadir)/$(PACKAGE)/modules/multisense_factory | ||
4 | |||
5 | AM_CPPFLAGS = \ | ||
6 | -I. \ | ||
7 | -I$(top_srcdir)/src/lib \ | ||
8 | -I$(top_srcdir)/src/lib/include \ | ||
9 | -DPACKAGE_BIN_DIR=\"$(bindir)\" \ | ||
10 | -DPACKAGE_LIB_DIR=\"$(libdir)\" \ | ||
11 | -DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \ | ||
12 | -DPACKAGE_EXAMPLES_DIR=\"$(datadir)/$(PACKAGE)/multisense_factory\" \ | ||
13 | @EDJE_CFLAGS@ \ | ||
14 | @REMIX_CFLAGS@ | ||
15 | |||
16 | pkgdir = $(libdir)/edje/modules/multisense_factory/$(MODULE_ARCH) | ||
17 | pkg_LTLIBRARIES = module.la | ||
18 | |||
19 | module_la_SOURCES = multisense_factory.c | ||
20 | module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version $(top_builddir)/src/lib/libedje.la @EDJE_LIBS@ @REMIX_LIBS@ | ||
21 | module_la_LIBTOOLFLAGS = --tag=disable-static | ||
diff --git a/libraries/edje/src/modules/multisense_factory/Makefile.in b/libraries/edje/src/modules/multisense_factory/Makefile.in new file mode 100644 index 0000000..ed0c3e4 --- /dev/null +++ b/libraries/edje/src/modules/multisense_factory/Makefile.in | |||
@@ -0,0 +1,635 @@ | |||
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 | pkglibexecdir = $(libexecdir)/@PACKAGE@ | ||
22 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | ||
23 | install_sh_DATA = $(install_sh) -c -m 644 | ||
24 | install_sh_PROGRAM = $(install_sh) -c | ||
25 | install_sh_SCRIPT = $(install_sh) -c | ||
26 | INSTALL_HEADER = $(INSTALL_DATA) | ||
27 | transform = $(program_transform_name) | ||
28 | NORMAL_INSTALL = : | ||
29 | PRE_INSTALL = : | ||
30 | POST_INSTALL = : | ||
31 | NORMAL_UNINSTALL = : | ||
32 | PRE_UNINSTALL = : | ||
33 | POST_UNINSTALL = : | ||
34 | build_triplet = @build@ | ||
35 | host_triplet = @host@ | ||
36 | subdir = src/modules/multisense_factory | ||
37 | DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in | ||
38 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | ||
39 | am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \ | ||
40 | $(top_srcdir)/m4/efl_binary.m4 \ | ||
41 | $(top_srcdir)/m4/efl_coverage.m4 \ | ||
42 | $(top_srcdir)/m4/efl_doxygen.m4 \ | ||
43 | $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ | ||
44 | $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ | ||
45 | $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ | ||
46 | $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac | ||
47 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | ||
48 | $(ACLOCAL_M4) | ||
49 | mkinstalldirs = $(install_sh) -d | ||
50 | CONFIG_HEADER = $(top_builddir)/config.h | ||
51 | CONFIG_CLEAN_FILES = | ||
52 | CONFIG_CLEAN_VPATH_FILES = | ||
53 | am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; | ||
54 | am__vpath_adj = case $$p in \ | ||
55 | $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ | ||
56 | *) f=$$p;; \ | ||
57 | esac; | ||
58 | am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; | ||
59 | am__install_max = 40 | ||
60 | am__nobase_strip_setup = \ | ||
61 | srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` | ||
62 | am__nobase_strip = \ | ||
63 | for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" | ||
64 | am__nobase_list = $(am__nobase_strip_setup); \ | ||
65 | for p in $$list; do echo "$$p $$p"; done | \ | ||
66 | sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ | ||
67 | $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ | ||
68 | if (++n[$$2] == $(am__install_max)) \ | ||
69 | { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ | ||
70 | END { for (dir in files) print dir, files[dir] }' | ||
71 | am__base_list = \ | ||
72 | sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ | ||
73 | sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | ||
74 | am__installdirs = "$(DESTDIR)$(pkgdir)" | ||
75 | LTLIBRARIES = $(pkg_LTLIBRARIES) | ||
76 | module_la_LIBADD = | ||
77 | am_module_la_OBJECTS = module_la-multisense_factory.lo | ||
78 | module_la_OBJECTS = $(am_module_la_OBJECTS) | ||
79 | AM_V_lt = $(am__v_lt_$(V)) | ||
80 | am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) | ||
81 | am__v_lt_0 = --silent | ||
82 | module_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ | ||
83 | $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ | ||
84 | $(AM_CFLAGS) $(CFLAGS) $(module_la_LDFLAGS) $(LDFLAGS) -o $@ | ||
85 | DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) | ||
86 | depcomp = $(SHELL) $(top_srcdir)/depcomp | ||
87 | am__depfiles_maybe = depfiles | ||
88 | am__mv = mv -f | ||
89 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ | ||
90 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | ||
91 | LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ | ||
92 | $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ | ||
93 | $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ | ||
94 | $(AM_CFLAGS) $(CFLAGS) | ||
95 | AM_V_CC = $(am__v_CC_$(V)) | ||
96 | am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) | ||
97 | am__v_CC_0 = @echo " CC " $@; | ||
98 | AM_V_at = $(am__v_at_$(V)) | ||
99 | am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) | ||
100 | am__v_at_0 = @ | ||
101 | CCLD = $(CC) | ||
102 | LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ | ||
103 | $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ | ||
104 | $(AM_LDFLAGS) $(LDFLAGS) -o $@ | ||
105 | AM_V_CCLD = $(am__v_CCLD_$(V)) | ||
106 | am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) | ||
107 | am__v_CCLD_0 = @echo " CCLD " $@; | ||
108 | AM_V_GEN = $(am__v_GEN_$(V)) | ||
109 | am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) | ||
110 | am__v_GEN_0 = @echo " GEN " $@; | ||
111 | SOURCES = $(module_la_SOURCES) | ||
112 | DIST_SOURCES = $(module_la_SOURCES) | ||
113 | ETAGS = etags | ||
114 | CTAGS = ctags | ||
115 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
116 | pkglibdir = $(datadir)/$(PACKAGE)/modules/multisense_factory | ||
117 | ACLOCAL = @ACLOCAL@ | ||
118 | ALLOCA = @ALLOCA@ | ||
119 | ALSA_CFLAGS = @ALSA_CFLAGS@ | ||
120 | ALSA_LIBS = @ALSA_LIBS@ | ||
121 | AMTAR = @AMTAR@ | ||
122 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | ||
123 | AR = @AR@ | ||
124 | AS = @AS@ | ||
125 | AUTOCONF = @AUTOCONF@ | ||
126 | AUTOHEADER = @AUTOHEADER@ | ||
127 | AUTOMAKE = @AUTOMAKE@ | ||
128 | AWK = @AWK@ | ||
129 | CC = @CC@ | ||
130 | CCDEPMODE = @CCDEPMODE@ | ||
131 | CFLAGS = @CFLAGS@ | ||
132 | CHECK_CFLAGS = @CHECK_CFLAGS@ | ||
133 | CHECK_LIBS = @CHECK_LIBS@ | ||
134 | CPP = @CPP@ | ||
135 | CPPFLAGS = @CPPFLAGS@ | ||
136 | CYGPATH_W = @CYGPATH_W@ | ||
137 | DEFS = @DEFS@ | ||
138 | DEPDIR = @DEPDIR@ | ||
139 | DLLTOOL = @DLLTOOL@ | ||
140 | DSYMUTIL = @DSYMUTIL@ | ||
141 | DUMPBIN = @DUMPBIN@ | ||
142 | ECHO_C = @ECHO_C@ | ||
143 | ECHO_N = @ECHO_N@ | ||
144 | ECHO_T = @ECHO_T@ | ||
145 | ECORE_IMF_CFLAGS = @ECORE_IMF_CFLAGS@ | ||
146 | ECORE_IMF_LIBS = @ECORE_IMF_LIBS@ | ||
147 | EDJE_CC_CFLAGS = @EDJE_CC_CFLAGS@ | ||
148 | EDJE_CC_LIBS = @EDJE_CC_LIBS@ | ||
149 | EDJE_CC_PRG = @EDJE_CC_PRG@ | ||
150 | EDJE_CFLAGS = @EDJE_CFLAGS@ | ||
151 | EDJE_DECC_CFLAGS = @EDJE_DECC_CFLAGS@ | ||
152 | EDJE_DECC_LIBS = @EDJE_DECC_LIBS@ | ||
153 | EDJE_DECC_PRG = @EDJE_DECC_PRG@ | ||
154 | EDJE_EXTERNAL_INSPECTOR_CFLAGS = @EDJE_EXTERNAL_INSPECTOR_CFLAGS@ | ||
155 | EDJE_EXTERNAL_INSPECTOR_LIBS = @EDJE_EXTERNAL_INSPECTOR_LIBS@ | ||
156 | EDJE_EXTERNAL_INSPECTOR_PRG = @EDJE_EXTERNAL_INSPECTOR_PRG@ | ||
157 | EDJE_INSPECTOR_CFLAGS = @EDJE_INSPECTOR_CFLAGS@ | ||
158 | EDJE_INSPECTOR_LIBS = @EDJE_INSPECTOR_LIBS@ | ||
159 | EDJE_INSPECTOR_PRG = @EDJE_INSPECTOR_PRG@ | ||
160 | EDJE_LIBS = @EDJE_LIBS@ | ||
161 | EDJE_PLAYER_CFLAGS = @EDJE_PLAYER_CFLAGS@ | ||
162 | EDJE_PLAYER_LIBS = @EDJE_PLAYER_LIBS@ | ||
163 | EDJE_PLAYER_PRG = @EDJE_PLAYER_PRG@ | ||
164 | EDJE_RECC_PRG = @EDJE_RECC_PRG@ | ||
165 | EFL_COVERAGE_CFLAGS = @EFL_COVERAGE_CFLAGS@ | ||
166 | EFL_COVERAGE_LIBS = @EFL_COVERAGE_LIBS@ | ||
167 | EFL_EDJE_BUILD = @EFL_EDJE_BUILD@ | ||
168 | EGREP = @EGREP@ | ||
169 | EVIL_CFLAGS = @EVIL_CFLAGS@ | ||
170 | EVIL_LIBS = @EVIL_LIBS@ | ||
171 | EXEEXT = @EXEEXT@ | ||
172 | FGREP = @FGREP@ | ||
173 | FLAC_CFLAGS = @FLAC_CFLAGS@ | ||
174 | FLAC_LIBS = @FLAC_LIBS@ | ||
175 | GREP = @GREP@ | ||
176 | INSTALL = @INSTALL@ | ||
177 | INSTALL_DATA = @INSTALL_DATA@ | ||
178 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | ||
179 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | ||
180 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | ||
181 | LD = @LD@ | ||
182 | LDFLAGS = @LDFLAGS@ | ||
183 | LIBOBJS = @LIBOBJS@ | ||
184 | LIBS = @LIBS@ | ||
185 | LIBTOOL = @LIBTOOL@ | ||
186 | LIPO = @LIPO@ | ||
187 | LN_S = @LN_S@ | ||
188 | LTLIBOBJS = @LTLIBOBJS@ | ||
189 | LUA_CFLAGS = @LUA_CFLAGS@ | ||
190 | LUA_LIBS = @LUA_LIBS@ | ||
191 | MAKEINFO = @MAKEINFO@ | ||
192 | MINIMAL_CFLAGS = @MINIMAL_CFLAGS@ | ||
193 | MINIMAL_LIBS = @MINIMAL_LIBS@ | ||
194 | MKDIR_P = @MKDIR_P@ | ||
195 | MODULE_ARCH = @MODULE_ARCH@ | ||
196 | NM = @NM@ | ||
197 | NMEDIT = @NMEDIT@ | ||
198 | OBJDUMP = @OBJDUMP@ | ||
199 | OBJEXT = @OBJEXT@ | ||
200 | OTOOL = @OTOOL@ | ||
201 | OTOOL64 = @OTOOL64@ | ||
202 | PACKAGE = @PACKAGE@ | ||
203 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | ||
204 | PACKAGE_NAME = @PACKAGE_NAME@ | ||
205 | PACKAGE_STRING = @PACKAGE_STRING@ | ||
206 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | ||
207 | PACKAGE_URL = @PACKAGE_URL@ | ||
208 | PACKAGE_VERSION = @PACKAGE_VERSION@ | ||
209 | PATH_SEPARATOR = @PATH_SEPARATOR@ | ||
210 | PKG_CONFIG = @PKG_CONFIG@ | ||
211 | PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ | ||
212 | PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ | ||
213 | PYTHON = @PYTHON@ | ||
214 | PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ | ||
215 | PYTHON_PLATFORM = @PYTHON_PLATFORM@ | ||
216 | PYTHON_PREFIX = @PYTHON_PREFIX@ | ||
217 | PYTHON_VERSION = @PYTHON_VERSION@ | ||
218 | RANLIB = @RANLIB@ | ||
219 | REMIX_CFLAGS = @REMIX_CFLAGS@ | ||
220 | REMIX_LIBS = @REMIX_LIBS@ | ||
221 | REMIX_PLUGIN_DIR = @REMIX_PLUGIN_DIR@ | ||
222 | SED = @SED@ | ||
223 | SET_MAKE = @SET_MAKE@ | ||
224 | SHELL = @SHELL@ | ||
225 | SNDFILE_CFLAGS = @SNDFILE_CFLAGS@ | ||
226 | SNDFILE_LIBS = @SNDFILE_LIBS@ | ||
227 | STRIP = @STRIP@ | ||
228 | VERSION = @VERSION@ | ||
229 | VMAJ = @VMAJ@ | ||
230 | VORBISENC_CFLAGS = @VORBISENC_CFLAGS@ | ||
231 | VORBISENC_LIBS = @VORBISENC_LIBS@ | ||
232 | abs_builddir = @abs_builddir@ | ||
233 | abs_srcdir = @abs_srcdir@ | ||
234 | abs_top_builddir = @abs_top_builddir@ | ||
235 | abs_top_srcdir = @abs_top_srcdir@ | ||
236 | ac_ct_CC = @ac_ct_CC@ | ||
237 | ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ | ||
238 | am__include = @am__include@ | ||
239 | am__leading_dot = @am__leading_dot@ | ||
240 | am__quote = @am__quote@ | ||
241 | am__tar = @am__tar@ | ||
242 | am__untar = @am__untar@ | ||
243 | bindir = @bindir@ | ||
244 | build = @build@ | ||
245 | build_alias = @build_alias@ | ||
246 | build_cpu = @build_cpu@ | ||
247 | build_os = @build_os@ | ||
248 | build_vendor = @build_vendor@ | ||
249 | builddir = @builddir@ | ||
250 | datadir = @datadir@ | ||
251 | datarootdir = @datarootdir@ | ||
252 | docdir = @docdir@ | ||
253 | dvidir = @dvidir@ | ||
254 | edje_cc = @edje_cc@ | ||
255 | efl_doxygen = @efl_doxygen@ | ||
256 | efl_have_doxygen = @efl_have_doxygen@ | ||
257 | exec_prefix = @exec_prefix@ | ||
258 | have_lcov = @have_lcov@ | ||
259 | host = @host@ | ||
260 | host_alias = @host_alias@ | ||
261 | host_cpu = @host_cpu@ | ||
262 | host_os = @host_os@ | ||
263 | host_vendor = @host_vendor@ | ||
264 | htmldir = @htmldir@ | ||
265 | includedir = @includedir@ | ||
266 | infodir = @infodir@ | ||
267 | install_sh = @install_sh@ | ||
268 | libdir = @libdir@ | ||
269 | libexecdir = @libexecdir@ | ||
270 | localedir = @localedir@ | ||
271 | localstatedir = @localstatedir@ | ||
272 | lt_ECHO = @lt_ECHO@ | ||
273 | lt_enable_auto_import = @lt_enable_auto_import@ | ||
274 | lua_libs = @lua_libs@ | ||
275 | mandir = @mandir@ | ||
276 | mkdir_p = @mkdir_p@ | ||
277 | oldincludedir = @oldincludedir@ | ||
278 | pdfdir = @pdfdir@ | ||
279 | pkgconfig_requires_private = @pkgconfig_requires_private@ | ||
280 | pkgpyexecdir = @pkgpyexecdir@ | ||
281 | pkgpythondir = @pkgpythondir@ | ||
282 | prefix = @prefix@ | ||
283 | program_transform_name = @program_transform_name@ | ||
284 | psdir = @psdir@ | ||
285 | pyexecdir = @pyexecdir@ | ||
286 | pythondir = @pythondir@ | ||
287 | release_info = @release_info@ | ||
288 | requirement_edje = @requirement_edje@ | ||
289 | sbindir = @sbindir@ | ||
290 | sharedstatedir = @sharedstatedir@ | ||
291 | srcdir = @srcdir@ | ||
292 | sysconfdir = @sysconfdir@ | ||
293 | target_alias = @target_alias@ | ||
294 | top_build_prefix = @top_build_prefix@ | ||
295 | top_builddir = @top_builddir@ | ||
296 | top_srcdir = @top_srcdir@ | ||
297 | version_info = @version_info@ | ||
298 | vimdir = @vimdir@ | ||
299 | MAINTAINERCLEANFILES = Makefile.in | ||
300 | AM_CPPFLAGS = \ | ||
301 | -I. \ | ||
302 | -I$(top_srcdir)/src/lib \ | ||
303 | -I$(top_srcdir)/src/lib/include \ | ||
304 | -DPACKAGE_BIN_DIR=\"$(bindir)\" \ | ||
305 | -DPACKAGE_LIB_DIR=\"$(libdir)\" \ | ||
306 | -DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \ | ||
307 | -DPACKAGE_EXAMPLES_DIR=\"$(datadir)/$(PACKAGE)/multisense_factory\" \ | ||
308 | @EDJE_CFLAGS@ \ | ||
309 | @REMIX_CFLAGS@ | ||
310 | |||
311 | pkgdir = $(libdir)/edje/modules/multisense_factory/$(MODULE_ARCH) | ||
312 | pkg_LTLIBRARIES = module.la | ||
313 | module_la_SOURCES = multisense_factory.c | ||
314 | module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version $(top_builddir)/src/lib/libedje.la @EDJE_LIBS@ @REMIX_LIBS@ | ||
315 | module_la_LIBTOOLFLAGS = --tag=disable-static | ||
316 | all: all-am | ||
317 | |||
318 | .SUFFIXES: | ||
319 | .SUFFIXES: .c .lo .o .obj | ||
320 | $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) | ||
321 | @for dep in $?; do \ | ||
322 | case '$(am__configure_deps)' in \ | ||
323 | *$$dep*) \ | ||
324 | ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ | ||
325 | && { if test -f $@; then exit 0; else break; fi; }; \ | ||
326 | exit 1;; \ | ||
327 | esac; \ | ||
328 | done; \ | ||
329 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/modules/multisense_factory/Makefile'; \ | ||
330 | $(am__cd) $(top_srcdir) && \ | ||
331 | $(AUTOMAKE) --gnu src/modules/multisense_factory/Makefile | ||
332 | .PRECIOUS: Makefile | ||
333 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | ||
334 | @case '$?' in \ | ||
335 | *config.status*) \ | ||
336 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ | ||
337 | *) \ | ||
338 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ | ||
339 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ | ||
340 | esac; | ||
341 | |||
342 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | ||
343 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
344 | |||
345 | $(top_srcdir)/configure: $(am__configure_deps) | ||
346 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
347 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) | ||
348 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
349 | $(am__aclocal_m4_deps): | ||
350 | install-pkgLTLIBRARIES: $(pkg_LTLIBRARIES) | ||
351 | @$(NORMAL_INSTALL) | ||
352 | test -z "$(pkgdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdir)" | ||
353 | @list='$(pkg_LTLIBRARIES)'; test -n "$(pkgdir)" || list=; \ | ||
354 | list2=; for p in $$list; do \ | ||
355 | if test -f $$p; then \ | ||
356 | list2="$$list2 $$p"; \ | ||
357 | else :; fi; \ | ||
358 | done; \ | ||
359 | test -z "$$list2" || { \ | ||
360 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkgdir)'"; \ | ||
361 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkgdir)"; \ | ||
362 | } | ||
363 | |||
364 | uninstall-pkgLTLIBRARIES: | ||
365 | @$(NORMAL_UNINSTALL) | ||
366 | @list='$(pkg_LTLIBRARIES)'; test -n "$(pkgdir)" || list=; \ | ||
367 | for p in $$list; do \ | ||
368 | $(am__strip_dir) \ | ||
369 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkgdir)/$$f'"; \ | ||
370 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkgdir)/$$f"; \ | ||
371 | done | ||
372 | |||
373 | clean-pkgLTLIBRARIES: | ||
374 | -test -z "$(pkg_LTLIBRARIES)" || rm -f $(pkg_LTLIBRARIES) | ||
375 | @list='$(pkg_LTLIBRARIES)'; for p in $$list; do \ | ||
376 | dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ | ||
377 | test "$$dir" != "$$p" || dir=.; \ | ||
378 | echo "rm -f \"$${dir}/so_locations\""; \ | ||
379 | rm -f "$${dir}/so_locations"; \ | ||
380 | done | ||
381 | module.la: $(module_la_OBJECTS) $(module_la_DEPENDENCIES) | ||
382 | $(AM_V_CCLD)$(module_la_LINK) -rpath $(pkgdir) $(module_la_OBJECTS) $(module_la_LIBADD) $(LIBS) | ||
383 | |||
384 | mostlyclean-compile: | ||
385 | -rm -f *.$(OBJEXT) | ||
386 | |||
387 | distclean-compile: | ||
388 | -rm -f *.tab.c | ||
389 | |||
390 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/module_la-multisense_factory.Plo@am__quote@ | ||
391 | |||
392 | .c.o: | ||
393 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | ||
394 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | ||
395 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
396 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | ||
397 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
398 | @am__fastdepCC_FALSE@ $(COMPILE) -c $< | ||
399 | |||
400 | .c.obj: | ||
401 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | ||
402 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | ||
403 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
404 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | ||
405 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
406 | @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` | ||
407 | |||
408 | .c.lo: | ||
409 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | ||
410 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo | ||
411 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
412 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ | ||
413 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
414 | @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< | ||
415 | |||
416 | module_la-multisense_factory.lo: multisense_factory.c | ||
417 | @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-multisense_factory.lo -MD -MP -MF $(DEPDIR)/module_la-multisense_factory.Tpo -c -o module_la-multisense_factory.lo `test -f 'multisense_factory.c' || echo '$(srcdir)/'`multisense_factory.c | ||
418 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/module_la-multisense_factory.Tpo $(DEPDIR)/module_la-multisense_factory.Plo | ||
419 | @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ | ||
420 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='multisense_factory.c' object='module_la-multisense_factory.lo' libtool=yes @AMDEPBACKSLASH@ | ||
421 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
422 | @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-multisense_factory.lo `test -f 'multisense_factory.c' || echo '$(srcdir)/'`multisense_factory.c | ||
423 | |||
424 | mostlyclean-libtool: | ||
425 | -rm -f *.lo | ||
426 | |||
427 | clean-libtool: | ||
428 | -rm -rf .libs _libs | ||
429 | |||
430 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | ||
431 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
432 | unique=`for i in $$list; do \ | ||
433 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
434 | done | \ | ||
435 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
436 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
437 | mkid -fID $$unique | ||
438 | tags: TAGS | ||
439 | |||
440 | TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | ||
441 | $(TAGS_FILES) $(LISP) | ||
442 | set x; \ | ||
443 | here=`pwd`; \ | ||
444 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
445 | unique=`for i in $$list; do \ | ||
446 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
447 | done | \ | ||
448 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
449 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
450 | shift; \ | ||
451 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ | ||
452 | test -n "$$unique" || unique=$$empty_fix; \ | ||
453 | if test $$# -gt 0; then \ | ||
454 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
455 | "$$@" $$unique; \ | ||
456 | else \ | ||
457 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
458 | $$unique; \ | ||
459 | fi; \ | ||
460 | fi | ||
461 | ctags: CTAGS | ||
462 | CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | ||
463 | $(TAGS_FILES) $(LISP) | ||
464 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
465 | unique=`for i in $$list; do \ | ||
466 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
467 | done | \ | ||
468 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
469 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
470 | test -z "$(CTAGS_ARGS)$$unique" \ | ||
471 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ | ||
472 | $$unique | ||
473 | |||
474 | GTAGS: | ||
475 | here=`$(am__cd) $(top_builddir) && pwd` \ | ||
476 | && $(am__cd) $(top_srcdir) \ | ||
477 | && gtags -i $(GTAGS_ARGS) "$$here" | ||
478 | |||
479 | distclean-tags: | ||
480 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
481 | |||
482 | distdir: $(DISTFILES) | ||
483 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
484 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
485 | list='$(DISTFILES)'; \ | ||
486 | dist_files=`for file in $$list; do echo $$file; done | \ | ||
487 | sed -e "s|^$$srcdirstrip/||;t" \ | ||
488 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | ||
489 | case $$dist_files in \ | ||
490 | */*) $(MKDIR_P) `echo "$$dist_files" | \ | ||
491 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | ||
492 | sort -u` ;; \ | ||
493 | esac; \ | ||
494 | for file in $$dist_files; do \ | ||
495 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | ||
496 | if test -d $$d/$$file; then \ | ||
497 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | ||
498 | if test -d "$(distdir)/$$file"; then \ | ||
499 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
500 | fi; \ | ||
501 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | ||
502 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | ||
503 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
504 | fi; \ | ||
505 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | ||
506 | else \ | ||
507 | test -f "$(distdir)/$$file" \ | ||
508 | || cp -p $$d/$$file "$(distdir)/$$file" \ | ||
509 | || exit 1; \ | ||
510 | fi; \ | ||
511 | done | ||
512 | check-am: all-am | ||
513 | check: check-am | ||
514 | all-am: Makefile $(LTLIBRARIES) | ||
515 | installdirs: | ||
516 | for dir in "$(DESTDIR)$(pkgdir)"; do \ | ||
517 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ | ||
518 | done | ||
519 | install: install-am | ||
520 | install-exec: install-exec-am | ||
521 | install-data: install-data-am | ||
522 | uninstall: uninstall-am | ||
523 | |||
524 | install-am: all-am | ||
525 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | ||
526 | |||
527 | installcheck: installcheck-am | ||
528 | install-strip: | ||
529 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||
530 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||
531 | `test -z '$(STRIP)' || \ | ||
532 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install | ||
533 | mostlyclean-generic: | ||
534 | |||
535 | clean-generic: | ||
536 | |||
537 | distclean-generic: | ||
538 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | ||
539 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | ||
540 | |||
541 | maintainer-clean-generic: | ||
542 | @echo "This command is intended for maintainers to use" | ||
543 | @echo "it deletes files that may require special tools to rebuild." | ||
544 | -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) | ||
545 | clean: clean-am | ||
546 | |||
547 | clean-am: clean-generic clean-libtool clean-pkgLTLIBRARIES \ | ||
548 | mostlyclean-am | ||
549 | |||
550 | distclean: distclean-am | ||
551 | -rm -rf ./$(DEPDIR) | ||
552 | -rm -f Makefile | ||
553 | distclean-am: clean-am distclean-compile distclean-generic \ | ||
554 | distclean-tags | ||
555 | |||
556 | dvi: dvi-am | ||
557 | |||
558 | dvi-am: | ||
559 | |||
560 | html: html-am | ||
561 | |||
562 | html-am: | ||
563 | |||
564 | info: info-am | ||
565 | |||
566 | info-am: | ||
567 | |||
568 | install-data-am: install-pkgLTLIBRARIES | ||
569 | |||
570 | install-dvi: install-dvi-am | ||
571 | |||
572 | install-dvi-am: | ||
573 | |||
574 | install-exec-am: | ||
575 | |||
576 | install-html: install-html-am | ||
577 | |||
578 | install-html-am: | ||
579 | |||
580 | install-info: install-info-am | ||
581 | |||
582 | install-info-am: | ||
583 | |||
584 | install-man: | ||
585 | |||
586 | install-pdf: install-pdf-am | ||
587 | |||
588 | install-pdf-am: | ||
589 | |||
590 | install-ps: install-ps-am | ||
591 | |||
592 | install-ps-am: | ||
593 | |||
594 | installcheck-am: | ||
595 | |||
596 | maintainer-clean: maintainer-clean-am | ||
597 | -rm -rf ./$(DEPDIR) | ||
598 | -rm -f Makefile | ||
599 | maintainer-clean-am: distclean-am maintainer-clean-generic | ||
600 | |||
601 | mostlyclean: mostlyclean-am | ||
602 | |||
603 | mostlyclean-am: mostlyclean-compile mostlyclean-generic \ | ||
604 | mostlyclean-libtool | ||
605 | |||
606 | pdf: pdf-am | ||
607 | |||
608 | pdf-am: | ||
609 | |||
610 | ps: ps-am | ||
611 | |||
612 | ps-am: | ||
613 | |||
614 | uninstall-am: uninstall-pkgLTLIBRARIES | ||
615 | |||
616 | .MAKE: install-am install-strip | ||
617 | |||
618 | .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ | ||
619 | clean-libtool clean-pkgLTLIBRARIES ctags distclean \ | ||
620 | distclean-compile distclean-generic distclean-libtool \ | ||
621 | distclean-tags distdir dvi dvi-am html html-am info info-am \ | ||
622 | install install-am install-data install-data-am install-dvi \ | ||
623 | install-dvi-am install-exec install-exec-am install-html \ | ||
624 | install-html-am install-info install-info-am install-man \ | ||
625 | install-pdf install-pdf-am install-pkgLTLIBRARIES install-ps \ | ||
626 | install-ps-am install-strip installcheck installcheck-am \ | ||
627 | installdirs maintainer-clean maintainer-clean-generic \ | ||
628 | mostlyclean mostlyclean-compile mostlyclean-generic \ | ||
629 | mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \ | ||
630 | uninstall-am uninstall-pkgLTLIBRARIES | ||
631 | |||
632 | |||
633 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | ||
634 | # Otherwise a system limit (for SysV at least) may be exceeded. | ||
635 | .NOEXPORT: | ||
diff --git a/libraries/edje/src/modules/multisense_factory/multisense_factory.c b/libraries/edje/src/modules/multisense_factory/multisense_factory.c new file mode 100644 index 0000000..f89ae9b --- /dev/null +++ b/libraries/edje/src/modules/multisense_factory/multisense_factory.c | |||
@@ -0,0 +1,33 @@ | |||
1 | #include "config.h" | ||
2 | #include "edje_private.h" | ||
3 | |||
4 | #define DEFAULT_SAMPLERATE 44100 | ||
5 | |||
6 | #ifdef HAVE_LIBREMIX | ||
7 | EAPI RemixBase * | ||
8 | multisense_sound_player_get(Edje_Multisense_Env *msenv) | ||
9 | { | ||
10 | RemixEnv *env = msenv->remixenv; | ||
11 | RemixPlugin *player_plugin; | ||
12 | RemixBase *player; | ||
13 | |||
14 | player_plugin = remix_find_plugin(env, "alsa_snd_player"); | ||
15 | if (!player_plugin) | ||
16 | { | ||
17 | WRN("ALSA player_plugin init fail\n"); | ||
18 | return remix_monitor_new(env); | ||
19 | } | ||
20 | player = remix_new(env, player_plugin, NULL); | ||
21 | return player; | ||
22 | } | ||
23 | #endif | ||
24 | |||
25 | EAPI Eina_Bool | ||
26 | multisense_factory_init(Edje_Multisense_Env *env) | ||
27 | { | ||
28 | #ifdef HAVE_LIBREMIX | ||
29 | remix_set_samplerate(env->remixenv, DEFAULT_SAMPLERATE); | ||
30 | remix_set_channels(env->remixenv, REMIX_STEREO); | ||
31 | #endif | ||
32 | return EINA_TRUE; | ||
33 | } | ||