2.0 beta init
[framework/multimedia/gstreamer0.10.git] / Makefile.in
1 # Makefile.in generated by automake 1.11.3 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, 2010, 2011 Free Software
6 # Foundation, 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 # various tests to make sure we dist the win32 stuff (for MSVC builds) right
19
20 # include this snippet to add a common release: target by using
21 # include $(top_srcdir)/common/release.mak
22
23 # checks for left-over files in the (usually uninstalled) tree, ie. for
24 # stuff that best be deleted to avoid problems like having old plugin binaries
25 # lying around.
26 #
27 # set CRUFT_FILES and/or CRUFT_DIRS in your Makefile.am when you include this
28
29 VPATH = @srcdir@
30 pkgdatadir = $(datadir)/@PACKAGE@
31 pkgincludedir = $(includedir)/@PACKAGE@
32 pkglibdir = $(libdir)/@PACKAGE@
33 pkglibexecdir = $(libexecdir)/@PACKAGE@
34 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
35 install_sh_DATA = $(install_sh) -c -m 644
36 install_sh_PROGRAM = $(install_sh) -c
37 install_sh_SCRIPT = $(install_sh) -c
38 INSTALL_HEADER = $(INSTALL_DATA)
39 transform = $(program_transform_name)
40 NORMAL_INSTALL = :
41 PRE_INSTALL = :
42 POST_INSTALL = :
43 NORMAL_UNINSTALL = :
44 PRE_UNINSTALL = :
45 POST_UNINSTALL = :
46 build_triplet = @build@
47 host_triplet = @host@
48 DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
49         $(srcdir)/Makefile.in $(srcdir)/config.h.in \
50         $(srcdir)/gst-element-check.m4.in $(srcdir)/gstreamer.spec.in \
51         $(srcdir)/stamp.h.in $(top_srcdir)/common/coverage/lcov.mak \
52         $(top_srcdir)/common/cruft.mak $(top_srcdir)/common/po.mak \
53         $(top_srcdir)/common/release.mak \
54         $(top_srcdir)/common/win32.mak $(top_srcdir)/configure \
55         ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS TODO compile \
56         config.guess config.rpath config.sub depcomp install-sh \
57         ltmain.sh missing
58 subdir = .
59 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
60 am__aclocal_m4_deps = $(top_srcdir)/common/m4/as-ac-expand.m4 \
61         $(top_srcdir)/common/m4/as-auto-alt.m4 \
62         $(top_srcdir)/common/m4/as-compiler-flag.m4 \
63         $(top_srcdir)/common/m4/as-docbook.m4 \
64         $(top_srcdir)/common/m4/as-libtool.m4 \
65         $(top_srcdir)/common/m4/as-python.m4 \
66         $(top_srcdir)/common/m4/as-scrub-include.m4 \
67         $(top_srcdir)/common/m4/as-version.m4 \
68         $(top_srcdir)/common/m4/ax_create_stdint_h.m4 \
69         $(top_srcdir)/common/m4/gst-arch.m4 \
70         $(top_srcdir)/common/m4/gst-args.m4 \
71         $(top_srcdir)/common/m4/gst-check.m4 \
72         $(top_srcdir)/common/m4/gst-doc.m4 \
73         $(top_srcdir)/common/m4/gst-error.m4 \
74         $(top_srcdir)/common/m4/gst-feature.m4 \
75         $(top_srcdir)/common/m4/gst-function.m4 \
76         $(top_srcdir)/common/m4/gst-gettext.m4 \
77         $(top_srcdir)/common/m4/gst-glib2.m4 \
78         $(top_srcdir)/common/m4/gst-libxml2.m4 \
79         $(top_srcdir)/common/m4/gst-package-release-datetime.m4 \
80         $(top_srcdir)/common/m4/gst-parser.m4 \
81         $(top_srcdir)/common/m4/gst-platform.m4 \
82         $(top_srcdir)/common/m4/gst-plugin-docs.m4 \
83         $(top_srcdir)/common/m4/gst-plugindir.m4 \
84         $(top_srcdir)/common/m4/gst.m4 \
85         $(top_srcdir)/common/m4/gtk-doc.m4 \
86         $(top_srcdir)/common/m4/introspection.m4 \
87         $(top_srcdir)/common/m4/pkg.m4 \
88         $(top_srcdir)/m4/check-checks.m4 $(top_srcdir)/m4/gettext.m4 \
89         $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
90         $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
91         $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
92         $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
93         $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
94         $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
95         $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
96 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
97         $(ACLOCAL_M4)
98 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
99  configure.lineno config.status.lineno
100 mkinstalldirs = $(install_sh) -d
101 CONFIG_HEADER = config.h
102 CONFIG_CLEAN_FILES = stamp.h gst-element-check.m4 gstreamer.spec
103 CONFIG_CLEAN_VPATH_FILES =
104 AM_V_GEN = $(am__v_GEN_@AM_V@)
105 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
106 am__v_GEN_0 = @echo "  GEN   " $@;
107 AM_V_at = $(am__v_at_@AM_V@)
108 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
109 am__v_at_0 = @
110 SOURCES =
111 DIST_SOURCES =
112 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
113         html-recursive info-recursive install-data-recursive \
114         install-dvi-recursive install-exec-recursive \
115         install-html-recursive install-info-recursive \
116         install-pdf-recursive install-ps-recursive install-recursive \
117         installcheck-recursive installdirs-recursive pdf-recursive \
118         ps-recursive uninstall-recursive
119 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
120 am__vpath_adj = case $$p in \
121     $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
122     *) f=$$p;; \
123   esac;
124 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
125 am__install_max = 40
126 am__nobase_strip_setup = \
127   srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
128 am__nobase_strip = \
129   for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
130 am__nobase_list = $(am__nobase_strip_setup); \
131   for p in $$list; do echo "$$p $$p"; done | \
132   sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
133   $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
134     if (++n[$$2] == $(am__install_max)) \
135       { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
136     END { for (dir in files) print dir, files[dir] }'
137 am__base_list = \
138   sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
139   sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
140 am__uninstall_files_from_dir = { \
141   test -z "$$files" \
142     || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
143     || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
144          $(am__cd) "$$dir" && rm -f $$files; }; \
145   }
146 am__installdirs = "$(DESTDIR)$(aclocaldir)"
147 DATA = $(aclocal_DATA)
148 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
149   distclean-recursive maintainer-clean-recursive
150 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
151         $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
152         distdir dist dist-all distcheck
153 ETAGS = etags
154 CTAGS = ctags
155 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
156 distdir = $(PACKAGE)-$(VERSION)
157 top_distdir = $(distdir)
158 am__remove_distdir = \
159   if test -d "$(distdir)"; then \
160     find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
161       && rm -rf "$(distdir)" \
162       || { sleep 5 && rm -rf "$(distdir)"; }; \
163   else :; fi
164 am__relativize = \
165   dir0=`pwd`; \
166   sed_first='s,^\([^/]*\)/.*$$,\1,'; \
167   sed_rest='s,^[^/]*/*,,'; \
168   sed_last='s,^.*/\([^/]*\)$$,\1,'; \
169   sed_butlast='s,/*[^/]*$$,,'; \
170   while test -n "$$dir1"; do \
171     first=`echo "$$dir1" | sed -e "$$sed_first"`; \
172     if test "$$first" != "."; then \
173       if test "$$first" = ".."; then \
174         dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
175         dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
176       else \
177         first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
178         if test "$$first2" = "$$first"; then \
179           dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
180         else \
181           dir2="../$$dir2"; \
182         fi; \
183         dir0="$$dir0"/"$$first"; \
184       fi; \
185     fi; \
186     dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
187   done; \
188   reldir="$$dir2"
189 DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
190 GZIP_ENV = --best
191 distuninstallcheck_listfiles = find . -type f -print
192 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
193   | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
194 distcleancheck_listfiles = find . -type f -print
195 ACLOCAL = @ACLOCAL@
196
197 # note: keep in sync with configure.ac
198 ACLOCAL_AMFLAGS = -I m4 -I common/m4
199 AMTAR = @AMTAR@
200 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
201 AR = @AR@
202 AS = @AS@
203 AUTOCONF = @AUTOCONF@
204 AUTOHEADER = @AUTOHEADER@
205 AUTOMAKE = @AUTOMAKE@
206 AWK = @AWK@
207 BISON_PATH = @BISON_PATH@
208 CAT_ENTRY_END = @CAT_ENTRY_END@
209 CAT_ENTRY_START = @CAT_ENTRY_START@
210 CC = @CC@
211 CCAS = @CCAS@
212 CCASDEPMODE = @CCASDEPMODE@
213 CCASFLAGS = @CCASFLAGS@
214 CCDEPMODE = @CCDEPMODE@
215 CFLAGS = @CFLAGS@
216 CHECK_MAJOR_VERSION = @CHECK_MAJOR_VERSION@
217 CHECK_MICRO_VERSION = @CHECK_MICRO_VERSION@
218 CHECK_MINOR_VERSION = @CHECK_MINOR_VERSION@
219 CHECK_VERSION = @CHECK_VERSION@
220 CPP = @CPP@
221 CPPFLAGS = @CPPFLAGS@
222 CXX = @CXX@
223 CXXCPP = @CXXCPP@
224 CXXDEPMODE = @CXXDEPMODE@
225 CXXFLAGS = @CXXFLAGS@
226 CYGPATH_W = @CYGPATH_W@
227 DATADIR = @DATADIR@
228 DEFS = @DEFS@
229 DEPDIR = @DEPDIR@
230 DEPRECATED_CFLAGS = @DEPRECATED_CFLAGS@
231 DLLTOOL = @DLLTOOL@
232 DOCBOOK_ROOT = @DOCBOOK_ROOT@
233 DSYMUTIL = @DSYMUTIL@
234 DUMPBIN = @DUMPBIN@
235 ECHO_C = @ECHO_C@
236 ECHO_N = @ECHO_N@
237 ECHO_T = @ECHO_T@
238 EGREP = @EGREP@
239 ENABLE_SUBUNIT = @ENABLE_SUBUNIT@
240 ERROR_CFLAGS = @ERROR_CFLAGS@
241 EXEEXT = @EXEEXT@
242 FFLAGS = @FFLAGS@
243 FGREP = @FGREP@
244 FLEX_PATH = @FLEX_PATH@
245 GCOV = @GCOV@
246 GCOV_CFLAGS = @GCOV_CFLAGS@
247 GCOV_LIBS = @GCOV_LIBS@
248 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
249 GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
250 GLIB_CFLAGS = @GLIB_CFLAGS@
251 GLIB_EXTRA_CFLAGS = @GLIB_EXTRA_CFLAGS@
252 GLIB_LIBS = @GLIB_LIBS@
253 GLIB_ONLY_CFLAGS = @GLIB_ONLY_CFLAGS@
254 GLIB_ONLY_LIBS = @GLIB_ONLY_LIBS@
255 GLIB_PREFIX = @GLIB_PREFIX@
256 GLIB_REQ = @GLIB_REQ@
257 GMP_LIBS = @GMP_LIBS@
258 GMSGFMT = @GMSGFMT@
259 GMSGFMT_015 = @GMSGFMT_015@
260 GREP = @GREP@
261 GSL_LIBS = @GSL_LIBS@
262 GST_AGE = @GST_AGE@
263 GST_ALL_CFLAGS = @GST_ALL_CFLAGS@
264 GST_ALL_CXXFLAGS = @GST_ALL_CXXFLAGS@
265 GST_ALL_LDFLAGS = @GST_ALL_LDFLAGS@
266 GST_ALL_LIBS = @GST_ALL_LIBS@
267 GST_CURRENT = @GST_CURRENT@
268 GST_DISABLE_ALLOC_TRACE_DEFINE = @GST_DISABLE_ALLOC_TRACE_DEFINE@
269 GST_DISABLE_GST_DEBUG_DEFINE = @GST_DISABLE_GST_DEBUG_DEFINE@
270 GST_DISABLE_LOADSAVE_DEFINE = @GST_DISABLE_LOADSAVE_DEFINE@
271 GST_DISABLE_NET_DEFINE = @GST_DISABLE_NET_DEFINE@
272 GST_DISABLE_OPTION_PARSING_DEFINE = @GST_DISABLE_OPTION_PARSING_DEFINE@
273 GST_DISABLE_PARSE_DEFINE = @GST_DISABLE_PARSE_DEFINE@
274 GST_DISABLE_PLUGIN_DEFINE = @GST_DISABLE_PLUGIN_DEFINE@
275 GST_DISABLE_REGISTRY_DEFINE = @GST_DISABLE_REGISTRY_DEFINE@
276 GST_DISABLE_TRACE_DEFINE = @GST_DISABLE_TRACE_DEFINE@
277 GST_DISABLE_XML_DEFINE = @GST_DISABLE_XML_DEFINE@
278 GST_HAVE_GLIB_2_8_DEFINE = @GST_HAVE_GLIB_2_8_DEFINE@
279 GST_HAVE_MONOTONIC_CLOCK_DEFINE = @GST_HAVE_MONOTONIC_CLOCK_DEFINE@
280 GST_HAVE_POSIX_TIMERS_DEFINE = @GST_HAVE_POSIX_TIMERS_DEFINE@
281 GST_HAVE_UNALIGNED_ACCESS_DEFINE = @GST_HAVE_UNALIGNED_ACCESS_DEFINE@
282 GST_LEVEL_DEFAULT = @GST_LEVEL_DEFAULT@
283 GST_LIBVERSION = @GST_LIBVERSION@
284 GST_LIB_LDFLAGS = @GST_LIB_LDFLAGS@
285 GST_LICENSE = @GST_LICENSE@
286 GST_LOADSAVE_DOC_TYPES = @GST_LOADSAVE_DOC_TYPES@
287 GST_LT_LDFLAGS = @GST_LT_LDFLAGS@
288 GST_MAJORMINOR = @GST_MAJORMINOR@
289 GST_OBJ_CFLAGS = @GST_OBJ_CFLAGS@
290 GST_OBJ_CXXFLAGS = @GST_OBJ_CXXFLAGS@
291 GST_OBJ_LIBS = @GST_OBJ_LIBS@
292 GST_OPTION_CFLAGS = @GST_OPTION_CFLAGS@
293 GST_OPTION_CXXFLAGS = @GST_OPTION_CXXFLAGS@
294 GST_PACKAGE_NAME = @GST_PACKAGE_NAME@
295 GST_PACKAGE_ORIGIN = @GST_PACKAGE_ORIGIN@
296 GST_PKG_CONFIG_PATH = @GST_PKG_CONFIG_PATH@
297 GST_PKG_DEPS = @GST_PKG_DEPS@
298 GST_PLUGIN_LDFLAGS = @GST_PLUGIN_LDFLAGS@
299 GST_PLUGIN_SCANNER_INSTALLED = @GST_PLUGIN_SCANNER_INSTALLED@
300 GST_PRINTF_EXTENSION_POINTER_FORMAT_DEFINE = @GST_PRINTF_EXTENSION_POINTER_FORMAT_DEFINE@
301 GST_PRINTF_EXTENSION_SEGMENT_FORMAT_DEFINE = @GST_PRINTF_EXTENSION_SEGMENT_FORMAT_DEFINE@
302 GST_REGISTRY_DOC_TYPES = @GST_REGISTRY_DOC_TYPES@
303 GST_REVISION = @GST_REVISION@
304 GST_USING_PRINTF_EXTENSION_DEFINE = @GST_USING_PRINTF_EXTENSION_DEFINE@
305 GTKDOC_CHECK = @GTKDOC_CHECK@
306 HAVE_DOCBOOK2HTML = @HAVE_DOCBOOK2HTML@
307 HAVE_DOCBOOK2PS = @HAVE_DOCBOOK2PS@
308 HAVE_DVIPS = @HAVE_DVIPS@
309 HAVE_EPSTOPDF = @HAVE_EPSTOPDF@
310 HAVE_FIG2DEV = @HAVE_FIG2DEV@
311 HAVE_GMP = @HAVE_GMP@
312 HAVE_GSL = @HAVE_GSL@
313 HAVE_JADETEX = @HAVE_JADETEX@
314 HAVE_PNGTOPNM = @HAVE_PNGTOPNM@
315 HAVE_PNMTOPS = @HAVE_PNMTOPS@
316 HAVE_PS2PDF = @HAVE_PS2PDF@
317 HAVE_XMLLINT = @HAVE_XMLLINT@
318 HOST_CPU = @HOST_CPU@
319 HTML_DIR = @HTML_DIR@
320 INET_ATON_LIBS = @INET_ATON_LIBS@
321 INSTALL = @INSTALL@
322 INSTALL_DATA = @INSTALL_DATA@
323 INSTALL_PROGRAM = @INSTALL_PROGRAM@
324 INSTALL_SCRIPT = @INSTALL_SCRIPT@
325 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
326 INTLLIBS = @INTLLIBS@
327 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
328 INTROSPECTION_CFLAGS = @INTROSPECTION_CFLAGS@
329 INTROSPECTION_COMPILER = @INTROSPECTION_COMPILER@
330 INTROSPECTION_GENERATE = @INTROSPECTION_GENERATE@
331 INTROSPECTION_GIRDIR = @INTROSPECTION_GIRDIR@
332 INTROSPECTION_LIBS = @INTROSPECTION_LIBS@
333 INTROSPECTION_MAKEFILE = @INTROSPECTION_MAKEFILE@
334 INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@
335 INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@
336 LD = @LD@
337 LDFLAGS = @LDFLAGS@
338 LIBDIR = @LIBDIR@
339 LIBICONV = @LIBICONV@
340 LIBINTL = @LIBINTL@
341 LIBM = @LIBM@
342 LIBOBJS = @LIBOBJS@
343 LIBS = @LIBS@
344 LIBTOOL = @LIBTOOL@
345 LIBXML2_REQ = @LIBXML2_REQ@
346 LIBXML_PKG = @LIBXML_PKG@
347 LIPO = @LIPO@
348 LN_S = @LN_S@
349 LOCALEDIR = @LOCALEDIR@
350 LTLIBICONV = @LTLIBICONV@
351 LTLIBINTL = @LTLIBINTL@
352 LTLIBOBJS = @LTLIBOBJS@
353 MAINT = @MAINT@
354 MAKEINFO = @MAKEINFO@
355 MANIFEST_TOOL = @MANIFEST_TOOL@
356 MKDIR_P = @MKDIR_P@
357 MSGFMT = @MSGFMT@
358 MSGFMT_015 = @MSGFMT_015@
359 MSGMERGE = @MSGMERGE@
360 NM = @NM@
361 NMEDIT = @NMEDIT@
362 OBJDUMP = @OBJDUMP@
363 OBJEXT = @OBJEXT@
364 OTOOL = @OTOOL@
365 OTOOL64 = @OTOOL64@
366 PACKAGE = @PACKAGE@
367 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
368 PACKAGE_NAME = @PACKAGE_NAME@
369 PACKAGE_STRING = @PACKAGE_STRING@
370 PACKAGE_TARNAME = @PACKAGE_TARNAME@
371 PACKAGE_URL = @PACKAGE_URL@
372 PACKAGE_VERSION = @PACKAGE_VERSION@
373 PACKAGE_VERSION_MAJOR = @PACKAGE_VERSION_MAJOR@
374 PACKAGE_VERSION_MICRO = @PACKAGE_VERSION_MICRO@
375 PACKAGE_VERSION_MINOR = @PACKAGE_VERSION_MINOR@
376 PACKAGE_VERSION_NANO = @PACKAGE_VERSION_NANO@
377 PACKAGE_VERSION_RELEASE = @PACKAGE_VERSION_RELEASE@
378 PATH_SEPARATOR = @PATH_SEPARATOR@
379 PERL_PATH = @PERL_PATH@
380 PKG_CONFIG = @PKG_CONFIG@
381 PLUGINDIR = @PLUGINDIR@
382 POSUB = @POSUB@
383 PROFILE_CFLAGS = @PROFILE_CFLAGS@
384 PYTHON = @PYTHON@
385 PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
386 PYTHON_PLATFORM = @PYTHON_PLATFORM@
387 PYTHON_PREFIX = @PYTHON_PREFIX@
388 PYTHON_VERSION = @PYTHON_VERSION@
389 RANLIB = @RANLIB@
390 SED = @SED@
391 SET_MAKE = @SET_MAKE@
392 SHELL = @SHELL@
393 STRIP = @STRIP@
394 USE_NLS = @USE_NLS@
395 VALGRIND_CFLAGS = @VALGRIND_CFLAGS@
396 VALGRIND_LIBS = @VALGRIND_LIBS@
397 VALGRIND_PATH = @VALGRIND_PATH@
398 VERSION = @VERSION@
399 WARNING_CFLAGS = @WARNING_CFLAGS@
400 WIN32_LIBS = @WIN32_LIBS@
401 XGETTEXT = @XGETTEXT@
402 XGETTEXT_015 = @XGETTEXT_015@
403 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
404 XML_CATALOG = @XML_CATALOG@
405 XML_CFLAGS = @XML_CFLAGS@
406 XML_LIBS = @XML_LIBS@
407 XSLTPROC = @XSLTPROC@
408 XSLTPROC_FLAGS = @XSLTPROC_FLAGS@
409 abs_builddir = @abs_builddir@
410 abs_srcdir = @abs_srcdir@
411 abs_top_builddir = @abs_top_builddir@
412 abs_top_srcdir = @abs_top_srcdir@
413 ac_ct_AR = @ac_ct_AR@
414 ac_ct_CC = @ac_ct_CC@
415 ac_ct_CXX = @ac_ct_CXX@
416 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
417 am__include = @am__include@
418 am__leading_dot = @am__leading_dot@
419 am__quote = @am__quote@
420 am__tar = @am__tar@
421 am__untar = @am__untar@
422 bindir = @bindir@
423 build = @build@
424 build_alias = @build_alias@
425 build_cpu = @build_cpu@
426 build_os = @build_os@
427 build_vendor = @build_vendor@
428 builddir = @builddir@
429 datadir = @datadir@
430 datarootdir = @datarootdir@
431 docdir = @docdir@
432 dvidir = @dvidir@
433 exec_prefix = @exec_prefix@
434 host = @host@
435 host_alias = @host_alias@
436 host_cpu = @host_cpu@
437 host_os = @host_os@
438 host_vendor = @host_vendor@
439 htmldir = @htmldir@
440 includedir = @includedir@
441 infodir = @infodir@
442 install_sh = @install_sh@
443 libdir = @libdir@
444 libexecdir = @libexecdir@
445 localedir = @localedir@
446 localstatedir = @localstatedir@
447 mandir = @mandir@
448 mkdir_p = @mkdir_p@
449 oldincludedir = @oldincludedir@
450 pdfdir = @pdfdir@
451 pkgpyexecdir = @pkgpyexecdir@
452 pkgpythondir = @pkgpythondir@
453 plugindir = @plugindir@
454 prefix = @prefix@
455 program_transform_name = @program_transform_name@
456 psdir = @psdir@
457 pyexecdir = @pyexecdir@
458 pythondir = @pythondir@
459 sbindir = @sbindir@
460 sharedstatedir = @sharedstatedir@
461 srcdir = @srcdir@
462 sysconfdir = @sysconfdir@
463 target_alias = @target_alias@
464 top_build_prefix = @top_build_prefix@
465 top_builddir = @top_builddir@
466 top_srcdir = @top_srcdir@
467 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-docbook
468 aclocaldir = $(datadir)/aclocal
469 aclocal_DATA = gst-element-check-@GST_MAJORMINOR@.m4
470 SUBDIRS = pkgconfig \
471         gst libs plugins tools tests \
472         docs \
473         po \
474         m4 \
475         common
476
477
478 # These are all the possible subdirs
479 DIST_SUBDIRS = pkgconfig \
480         gst libs plugins tools tests \
481         docs \
482         po \
483         m4 \
484         common
485
486
487 # the MANIFEST contains all win32 related files that should be disted
488 win32 = $(shell cat $(top_srcdir)/win32/MANIFEST)
489
490 # wildcard is apparently not portable to other makes, hence the use of find
491 # these are library .def files with the symbols to export
492 win32defs = $(shell find $(top_srcdir)/win32/common -name '*.def')
493
494 # wildcard is apparently not portable to other makes, hence the use of find
495 # these are files that need to be disted with CRLF line endings:
496 win32crlf = $(shell find $(top_srcdir)/win32 -name '*.dsw' -o -name '*.dsp')
497
498 # include before EXTRA_DIST for win32 assignment
499 EXTRA_DIST = \
500         gstreamer.spec gstreamer.spec.in \
501         gst-element-check.m4.in \
502         configure.ac autogen.sh depcomp \
503         MAINTAINERS ABOUT-NLS RELEASE gstreamer.doap \
504         scripts/gst-uninstalled \
505         $(win32)
506
507 CLEANFILES = gst-element-check-@GST_MAJORMINOR@.m4
508 DISTCLEANFILES = _stdint.h
509
510 # make bz2 as well
511 AUTOMAKE_OPTIONS = dist-bzip2
512 @GST_GCOV_ENABLED_TRUE@GCOV_DIRS = gst libs
513
514 # Do not run the check-exports test in case any option which causes the API to
515 # change has been used
516 @GST_DISABLE_LOADSAVE_FALSE@@GST_DISABLE_REGISTRY_FALSE@@GST_DISABLE_TRACE_FALSE@CHECK_EXPORTS = check-exports
517
518 # cruft: plugins that have been merged or moved or renamed
519 CRUFT_FILES = \
520         $(top_builddir)/common/shave \
521         $(top_builddir)/common/shave-libtool \
522         $(top_builddir)/common/m4/codeset.m4 \
523         $(top_builddir)/common/m4/gettext.m4 \
524         $(top_builddir)/common/m4/glibc2.m4 \
525         $(top_builddir)/common/m4/glibc21.m4 \
526         $(top_builddir)/common/m4/iconv.m4 \
527         $(top_builddir)/common/m4/intdiv0.m4 \
528         $(top_builddir)/common/m4/intl.m4 \
529         $(top_builddir)/common/m4/intldir.m4 \
530         $(top_builddir)/common/m4/intlmacosx.m4 \
531         $(top_builddir)/common/m4/intmax.m4 \
532         $(top_builddir)/common/m4/inttypes-pri.m4 \
533         $(top_builddir)/common/m4/inttypes_h.m4 \
534         $(top_builddir)/common/m4/lcmessage.m4 \
535         $(top_builddir)/common/m4/lib-ld.m4 \
536         $(top_builddir)/common/m4/lib-link.m4 \
537         $(top_builddir)/common/m4/lib-prefix.m4 \
538         $(top_builddir)/common/m4/libtool.m4 \
539         $(top_builddir)/common/m4/lock.m4 \
540         $(top_builddir)/common/m4/longlong.m4 \
541         $(top_builddir)/common/m4/ltoptions.m4 \
542         $(top_builddir)/common/m4/ltsugar.m4 \
543         $(top_builddir)/common/m4/ltversion.m4 \
544         $(top_builddir)/common/m4/lt~obsolete.m4 \
545         $(top_builddir)/common/m4/nls.m4 \
546         $(top_builddir)/common/m4/po.m4 \
547         $(top_builddir)/common/m4/printf-posix.m4 \
548         $(top_builddir)/common/m4/progtest.m4 \
549         $(top_builddir)/common/m4/size_max.m4 \
550         $(top_builddir)/common/m4/stdint_h.m4 \
551         $(top_builddir)/common/m4/uintmax_t.m4 \
552         $(top_builddir)/common/m4/visibility.m4 \
553         $(top_builddir)/common/m4/wchar_t.m4 \
554         $(top_builddir)/common/m4/wint_t.m4 \
555         $(top_builddir)/common/m4/xsize.m4
556
557 CRUFT_DIRS = \
558         $(top_builddir)/tests/examples/xml \
559         $(top_builddir)/gst/tmp-introspect* \
560         $(top_builddir)/libs/gst/*/tmp-introspect*
561
562 all: config.h
563         $(MAKE) $(AM_MAKEFLAGS) all-recursive
564
565 .SUFFIXES:
566 am--refresh: Makefile
567         @:
568 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/common/win32.mak $(top_srcdir)/common/release.mak $(top_srcdir)/common/po.mak $(top_srcdir)/common/coverage/lcov.mak $(top_srcdir)/common/cruft.mak $(am__configure_deps)
569         @for dep in $?; do \
570           case '$(am__configure_deps)' in \
571             *$$dep*) \
572               echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
573               $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
574                 && exit 0; \
575               exit 1;; \
576           esac; \
577         done; \
578         echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
579         $(am__cd) $(top_srcdir) && \
580           $(AUTOMAKE) --gnu Makefile
581 .PRECIOUS: Makefile
582 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
583         @case '$?' in \
584           *config.status*) \
585             echo ' $(SHELL) ./config.status'; \
586             $(SHELL) ./config.status;; \
587           *) \
588             echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
589             cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
590         esac;
591 $(top_srcdir)/common/win32.mak $(top_srcdir)/common/release.mak $(top_srcdir)/common/po.mak $(top_srcdir)/common/coverage/lcov.mak $(top_srcdir)/common/cruft.mak:
592
593 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
594         $(SHELL) ./config.status --recheck
595
596 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
597         $(am__cd) $(srcdir) && $(AUTOCONF)
598 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
599         $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
600 $(am__aclocal_m4_deps):
601
602 config.h: stamp-h1
603         @if test ! -f $@; then rm -f stamp-h1; else :; fi
604         @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi
605
606 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
607         @rm -f stamp-h1
608         cd $(top_builddir) && $(SHELL) ./config.status config.h
609 $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) 
610         ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
611         rm -f stamp-h1
612         touch $@
613
614 distclean-hdr:
615         -rm -f config.h stamp-h1
616 stamp.h: $(top_builddir)/config.status $(srcdir)/stamp.h.in
617         cd $(top_builddir) && $(SHELL) ./config.status $@
618 gst-element-check.m4: $(top_builddir)/config.status $(srcdir)/gst-element-check.m4.in
619         cd $(top_builddir) && $(SHELL) ./config.status $@
620 gstreamer.spec: $(top_builddir)/config.status $(srcdir)/gstreamer.spec.in
621         cd $(top_builddir) && $(SHELL) ./config.status $@
622
623 mostlyclean-libtool:
624         -rm -f *.lo
625
626 clean-libtool:
627         -rm -rf .libs _libs
628
629 distclean-libtool:
630         -rm -f libtool config.lt
631 install-aclocalDATA: $(aclocal_DATA)
632         @$(NORMAL_INSTALL)
633         test -z "$(aclocaldir)" || $(MKDIR_P) "$(DESTDIR)$(aclocaldir)"
634         @list='$(aclocal_DATA)'; test -n "$(aclocaldir)" || list=; \
635         for p in $$list; do \
636           if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
637           echo "$$d$$p"; \
638         done | $(am__base_list) | \
639         while read files; do \
640           echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(aclocaldir)'"; \
641           $(INSTALL_DATA) $$files "$(DESTDIR)$(aclocaldir)" || exit $$?; \
642         done
643
644 uninstall-aclocalDATA:
645         @$(NORMAL_UNINSTALL)
646         @list='$(aclocal_DATA)'; test -n "$(aclocaldir)" || list=; \
647         files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
648         dir='$(DESTDIR)$(aclocaldir)'; $(am__uninstall_files_from_dir)
649
650 # This directory's subdirectories are mostly independent; you can cd
651 # into them and run `make' without going through this Makefile.
652 # To change the values of `make' variables: instead of editing Makefiles,
653 # (1) if the variable is set in `config.status', edit `config.status'
654 #     (which will cause the Makefiles to be regenerated when you run `make');
655 # (2) otherwise, pass the desired values on the `make' command line.
656 $(RECURSIVE_TARGETS):
657         @fail= failcom='exit 1'; \
658         for f in x $$MAKEFLAGS; do \
659           case $$f in \
660             *=* | --[!k]*);; \
661             *k*) failcom='fail=yes';; \
662           esac; \
663         done; \
664         dot_seen=no; \
665         target=`echo $@ | sed s/-recursive//`; \
666         list='$(SUBDIRS)'; for subdir in $$list; do \
667           echo "Making $$target in $$subdir"; \
668           if test "$$subdir" = "."; then \
669             dot_seen=yes; \
670             local_target="$$target-am"; \
671           else \
672             local_target="$$target"; \
673           fi; \
674           ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
675           || eval $$failcom; \
676         done; \
677         if test "$$dot_seen" = "no"; then \
678           $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
679         fi; test -z "$$fail"
680
681 $(RECURSIVE_CLEAN_TARGETS):
682         @fail= failcom='exit 1'; \
683         for f in x $$MAKEFLAGS; do \
684           case $$f in \
685             *=* | --[!k]*);; \
686             *k*) failcom='fail=yes';; \
687           esac; \
688         done; \
689         dot_seen=no; \
690         case "$@" in \
691           distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
692           *) list='$(SUBDIRS)' ;; \
693         esac; \
694         rev=''; for subdir in $$list; do \
695           if test "$$subdir" = "."; then :; else \
696             rev="$$subdir $$rev"; \
697           fi; \
698         done; \
699         rev="$$rev ."; \
700         target=`echo $@ | sed s/-recursive//`; \
701         for subdir in $$rev; do \
702           echo "Making $$target in $$subdir"; \
703           if test "$$subdir" = "."; then \
704             local_target="$$target-am"; \
705           else \
706             local_target="$$target"; \
707           fi; \
708           ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
709           || eval $$failcom; \
710         done && test -z "$$fail"
711 tags-recursive:
712         list='$(SUBDIRS)'; for subdir in $$list; do \
713           test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
714         done
715 ctags-recursive:
716         list='$(SUBDIRS)'; for subdir in $$list; do \
717           test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
718         done
719
720 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
721         list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
722         unique=`for i in $$list; do \
723             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
724           done | \
725           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
726               END { if (nonempty) { for (i in files) print i; }; }'`; \
727         mkid -fID $$unique
728 tags: TAGS
729
730 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
731                 $(TAGS_FILES) $(LISP)
732         set x; \
733         here=`pwd`; \
734         if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
735           include_option=--etags-include; \
736           empty_fix=.; \
737         else \
738           include_option=--include; \
739           empty_fix=; \
740         fi; \
741         list='$(SUBDIRS)'; for subdir in $$list; do \
742           if test "$$subdir" = .; then :; else \
743             test ! -f $$subdir/TAGS || \
744               set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
745           fi; \
746         done; \
747         list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
748         unique=`for i in $$list; do \
749             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
750           done | \
751           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
752               END { if (nonempty) { for (i in files) print i; }; }'`; \
753         shift; \
754         if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
755           test -n "$$unique" || unique=$$empty_fix; \
756           if test $$# -gt 0; then \
757             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
758               "$$@" $$unique; \
759           else \
760             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
761               $$unique; \
762           fi; \
763         fi
764 ctags: CTAGS
765 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
766                 $(TAGS_FILES) $(LISP)
767         list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
768         unique=`for i in $$list; do \
769             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
770           done | \
771           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
772               END { if (nonempty) { for (i in files) print i; }; }'`; \
773         test -z "$(CTAGS_ARGS)$$unique" \
774           || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
775              $$unique
776
777 GTAGS:
778         here=`$(am__cd) $(top_builddir) && pwd` \
779           && $(am__cd) $(top_srcdir) \
780           && gtags -i $(GTAGS_ARGS) "$$here"
781
782 distclean-tags:
783         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
784
785 distdir: $(DISTFILES)
786         $(am__remove_distdir)
787         test -d "$(distdir)" || mkdir "$(distdir)"
788         @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
789         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
790         list='$(DISTFILES)'; \
791           dist_files=`for file in $$list; do echo $$file; done | \
792           sed -e "s|^$$srcdirstrip/||;t" \
793               -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
794         case $$dist_files in \
795           */*) $(MKDIR_P) `echo "$$dist_files" | \
796                            sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
797                            sort -u` ;; \
798         esac; \
799         for file in $$dist_files; do \
800           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
801           if test -d $$d/$$file; then \
802             dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
803             if test -d "$(distdir)/$$file"; then \
804               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
805             fi; \
806             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
807               cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
808               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
809             fi; \
810             cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
811           else \
812             test -f "$(distdir)/$$file" \
813             || cp -p $$d/$$file "$(distdir)/$$file" \
814             || exit 1; \
815           fi; \
816         done
817         @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
818           if test "$$subdir" = .; then :; else \
819             test -d "$(distdir)/$$subdir" \
820             || $(MKDIR_P) "$(distdir)/$$subdir" \
821             || exit 1; \
822           fi; \
823         done
824         @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
825           if test "$$subdir" = .; then :; else \
826             dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
827             $(am__relativize); \
828             new_distdir=$$reldir; \
829             dir1=$$subdir; dir2="$(top_distdir)"; \
830             $(am__relativize); \
831             new_top_distdir=$$reldir; \
832             echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
833             echo "     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
834             ($(am__cd) $$subdir && \
835               $(MAKE) $(AM_MAKEFLAGS) \
836                 top_distdir="$$new_top_distdir" \
837                 distdir="$$new_distdir" \
838                 am__remove_distdir=: \
839                 am__skip_length_check=: \
840                 am__skip_mode_fix=: \
841                 distdir) \
842               || exit 1; \
843           fi; \
844         done
845         $(MAKE) $(AM_MAKEFLAGS) \
846           top_distdir="$(top_distdir)" distdir="$(distdir)" \
847           dist-hook
848         -test -n "$(am__skip_mode_fix)" \
849         || find "$(distdir)" -type d ! -perm -755 \
850                 -exec chmod u+rwx,go+rx {} \; -o \
851           ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
852           ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
853           ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
854         || chmod -R a+r "$(distdir)"
855 dist-gzip: distdir
856         tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
857         $(am__remove_distdir)
858 dist-bzip2: distdir
859         tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
860         $(am__remove_distdir)
861
862 dist-lzip: distdir
863         tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
864         $(am__remove_distdir)
865
866 dist-lzma: distdir
867         tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
868         $(am__remove_distdir)
869
870 dist-xz: distdir
871         tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
872         $(am__remove_distdir)
873
874 dist-tarZ: distdir
875         tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
876         $(am__remove_distdir)
877
878 dist-shar: distdir
879         shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
880         $(am__remove_distdir)
881
882 dist-zip: distdir
883         -rm -f $(distdir).zip
884         zip -rq $(distdir).zip $(distdir)
885         $(am__remove_distdir)
886
887 dist dist-all: distdir
888         tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
889         tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
890         $(am__remove_distdir)
891
892 # This target untars the dist file and tries a VPATH configuration.  Then
893 # it guarantees that the distribution is self-contained by making another
894 # tarfile.
895 distcheck: dist
896         case '$(DIST_ARCHIVES)' in \
897         *.tar.gz*) \
898           GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
899         *.tar.bz2*) \
900           bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
901         *.tar.lzma*) \
902           lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
903         *.tar.lz*) \
904           lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
905         *.tar.xz*) \
906           xz -dc $(distdir).tar.xz | $(am__untar) ;;\
907         *.tar.Z*) \
908           uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
909         *.shar.gz*) \
910           GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
911         *.zip*) \
912           unzip $(distdir).zip ;;\
913         esac
914         chmod -R a-w $(distdir); chmod a+w $(distdir)
915         mkdir $(distdir)/_build
916         mkdir $(distdir)/_inst
917         chmod a-w $(distdir)
918         test -d $(distdir)/_build || exit 0; \
919         dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
920           && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
921           && $(MAKE) $(AM_MAKEFLAGS) distcheck-hook \
922           && am__cwd=`pwd` \
923           && $(am__cd) $(distdir)/_build \
924           && ../configure --srcdir=.. --prefix="$$dc_install_base" \
925             $(AM_DISTCHECK_CONFIGURE_FLAGS) \
926             $(DISTCHECK_CONFIGURE_FLAGS) \
927           && $(MAKE) $(AM_MAKEFLAGS) \
928           && $(MAKE) $(AM_MAKEFLAGS) dvi \
929           && $(MAKE) $(AM_MAKEFLAGS) check \
930           && $(MAKE) $(AM_MAKEFLAGS) install \
931           && $(MAKE) $(AM_MAKEFLAGS) installcheck \
932           && $(MAKE) $(AM_MAKEFLAGS) uninstall \
933           && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
934                 distuninstallcheck \
935           && chmod -R a-w "$$dc_install_base" \
936           && ({ \
937                (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
938                && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
939                && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
940                && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
941                     distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
942               } || { rm -rf "$$dc_destdir"; exit 1; }) \
943           && rm -rf "$$dc_destdir" \
944           && $(MAKE) $(AM_MAKEFLAGS) dist \
945           && rm -rf $(DIST_ARCHIVES) \
946           && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
947           && cd "$$am__cwd" \
948           || exit 1
949         $(am__remove_distdir)
950         @(echo "$(distdir) archives ready for distribution: "; \
951           list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
952           sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
953 distuninstallcheck:
954         @test -n '$(distuninstallcheck_dir)' || { \
955           echo 'ERROR: trying to run $@ with an empty' \
956                '$$(distuninstallcheck_dir)' >&2; \
957           exit 1; \
958         }; \
959         $(am__cd) '$(distuninstallcheck_dir)' || { \
960           echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
961           exit 1; \
962         }; \
963         test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
964            || { echo "ERROR: files left after uninstall:" ; \
965                 if test -n "$(DESTDIR)"; then \
966                   echo "  (check DESTDIR support)"; \
967                 fi ; \
968                 $(distuninstallcheck_listfiles) ; \
969                 exit 1; } >&2
970 distcleancheck: distclean
971         @if test '$(srcdir)' = . ; then \
972           echo "ERROR: distcleancheck can only run from a VPATH build" ; \
973           exit 1 ; \
974         fi
975         @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
976           || { echo "ERROR: files left in build directory after distclean:" ; \
977                $(distcleancheck_listfiles) ; \
978                exit 1; } >&2
979 check-am: all-am
980 check: check-recursive
981 all-am: Makefile $(DATA) config.h all-local
982 installdirs: installdirs-recursive
983 installdirs-am:
984         for dir in "$(DESTDIR)$(aclocaldir)"; do \
985           test -z "$$dir" || $(MKDIR_P) "$$dir"; \
986         done
987 install: install-recursive
988 install-exec: install-exec-recursive
989 install-data: install-data-recursive
990 uninstall: uninstall-recursive
991
992 install-am: all-am
993         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
994
995 installcheck: installcheck-recursive
996 install-strip:
997         if test -z '$(STRIP)'; then \
998           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
999             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1000               install; \
1001         else \
1002           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1003             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1004             "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
1005         fi
1006 mostlyclean-generic:
1007
1008 clean-generic:
1009         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
1010
1011 distclean-generic:
1012         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1013         -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
1014         -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
1015
1016 maintainer-clean-generic:
1017         @echo "This command is intended for maintainers to use"
1018         @echo "it deletes files that may require special tools to rebuild."
1019 clean: clean-recursive
1020
1021 clean-am: clean-generic clean-libtool mostlyclean-am
1022
1023 distclean: distclean-recursive
1024         -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1025         -rm -f Makefile
1026 distclean-am: clean-am distclean-generic distclean-hdr \
1027         distclean-libtool distclean-tags
1028
1029 dvi: dvi-recursive
1030
1031 dvi-am:
1032
1033 html: html-recursive
1034
1035 html-am:
1036
1037 info: info-recursive
1038
1039 info-am:
1040
1041 install-data-am: install-aclocalDATA
1042
1043 install-dvi: install-dvi-recursive
1044
1045 install-dvi-am:
1046
1047 install-exec-am:
1048
1049 install-html: install-html-recursive
1050
1051 install-html-am:
1052
1053 install-info: install-info-recursive
1054
1055 install-info-am:
1056
1057 install-man:
1058
1059 install-pdf: install-pdf-recursive
1060
1061 install-pdf-am:
1062
1063 install-ps: install-ps-recursive
1064
1065 install-ps-am:
1066
1067 installcheck-am:
1068
1069 maintainer-clean: maintainer-clean-recursive
1070         -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1071         -rm -rf $(top_srcdir)/autom4te.cache
1072         -rm -f Makefile
1073 maintainer-clean-am: distclean-am maintainer-clean-generic
1074
1075 mostlyclean: mostlyclean-recursive
1076
1077 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
1078
1079 pdf: pdf-recursive
1080
1081 pdf-am:
1082
1083 ps: ps-recursive
1084
1085 ps-am:
1086
1087 uninstall-am: uninstall-aclocalDATA
1088
1089 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
1090         ctags-recursive install-am install-strip tags-recursive
1091
1092 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
1093         all all-am all-local am--refresh check check-am clean \
1094         clean-generic clean-libtool ctags ctags-recursive dist \
1095         dist-all dist-bzip2 dist-gzip dist-hook dist-lzip dist-lzma \
1096         dist-shar dist-tarZ dist-xz dist-zip distcheck distclean \
1097         distclean-generic distclean-hdr distclean-libtool \
1098         distclean-tags distcleancheck distdir distuninstallcheck dvi \
1099         dvi-am html html-am info info-am install install-aclocalDATA \
1100         install-am install-data install-data-am install-dvi \
1101         install-dvi-am install-exec install-exec-am install-html \
1102         install-html-am install-info install-info-am install-man \
1103         install-pdf install-pdf-am install-ps install-ps-am \
1104         install-strip installcheck installcheck-am installdirs \
1105         installdirs-am maintainer-clean maintainer-clean-generic \
1106         mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
1107         ps ps-am tags tags-recursive uninstall uninstall-aclocalDATA \
1108         uninstall-am
1109
1110
1111 win32-debug:
1112         @echo; \
1113         echo win32     = $(win32); \
1114         echo; \
1115         echo win32defs = $(win32defs); \
1116         echo; \
1117         echo win32crlf = $(win32crlf); \
1118         echo
1119
1120 win32-check-crlf:
1121         @echo Checking win32 files for CR LF line endings ...; \
1122         fail=0 ; \
1123         for each in $(win32crlf) ; do \
1124           result=`perl -e 'print grep(/\r\n/,<>)' "$$each" | wc -l`; \
1125           if test "$$result" = 0 ; then \
1126             echo $$each must be fixed to have CRLF line endings ; \
1127             fail=1; \
1128           fi ; \
1129         done ; \
1130         exit $$fail
1131
1132 # make sure all symbols we export on linux are defined in the win32 .def too
1133 # (don't care about other unixes for now, it's enough if it works on one of
1134 # the linux build bots; we assume .so )
1135 check-exports:
1136         @fail=0 ; \
1137         for l in $(win32defs); do \
1138           libbase=`basename "$$l" ".def"`; \
1139           libso=`find "$(top_builddir)" -name "$$libbase-@GST_MAJORMINOR@.so" | grep -v /_build/ | head -n1`; \
1140           libdef="$(top_srcdir)/win32/common/$$libbase.def"; \
1141           if test "x$$libso" != "x"; then \
1142             echo Checking symbols in $$libso; \
1143             if ! ($(top_srcdir)/common/check-exports $$libdef $$libso) ; then \
1144               fail=1; \
1145             fi; \
1146           fi; \
1147         done ; \
1148         if test $$fail != 0; then \
1149           echo '-----------------------------------------------------------'; \
1150           echo 'Run this to update the .def files:'; \
1151           echo 'make check-exports 2>&1 | patch -p1'; \
1152           echo '-----------------------------------------------------------'; \
1153         fi; \
1154         exit $$fail
1155
1156 # complain about nonportable printf format strings (%lld, %llu, %zu etc.)
1157 check-nonportable-print-format:
1158         @fail=0 ; \
1159         loc=`find "$(top_srcdir)" -name '*.c' | xargs grep -n -e '%[0-9]*ll[udx]' -e '%[0-9]*z[udx]'`; \
1160         if test "x$$loc" != "x"; then \
1161           echo "Please fix the following print format strings:" ; \
1162           find "$(top_srcdir)" -name '*.c' | xargs grep -n -e '%[0-9]*ll[udx]' -e '%[0-9]*z[udx]'; \
1163           fail=1; \
1164         fi; \
1165         exit $$fail
1166
1167 dist-hook: check-exports win32-check-crlf
1168
1169 release: dist
1170         $(MAKE) $(PACKAGE)-$(VERSION).tar.gz.md5
1171         $(MAKE) $(PACKAGE)-$(VERSION).tar.bz2.md5
1172
1173 # generate md5 sum files
1174 %.md5: %
1175         md5sum $< > $@
1176
1177 # check that no marshal or enumtypes files are included
1178 # this in turn ensures that distcheck fails for missing .list files which is currently
1179 # shadowed when the corresponding .c and .h files are included.
1180 distcheck-hook:
1181         @test "x" = "x`find $(distdir) -name \*-enumtypes.[ch] | grep -v win32`" && \
1182         test "x" = "x`find $(distdir) -name \*-marshal.[ch]`" || \
1183         ( $(ECHO) "*** Leftover enumtypes or marshal files in the tarball." && \
1184           $(ECHO) "*** Make sure the following files are not disted:" && \
1185           find $(distdir) -name \*-enumtypes.[ch] | grep -v win32 && \
1186           find $(distdir) -name \*-marshal.[ch] && \
1187           false )
1188
1189 # rule to download the latest .po files
1190 download-po: $(top_srcdir)/common/download-translations
1191         $(top_srcdir)/common/download-translations $(PACKAGE)
1192
1193 @GST_GCOV_ENABLED_TRUE@clean-gcov:
1194 @GST_GCOV_ENABLED_TRUE@ find -name "*.da" -o -name "*.gcov" | xargs rm || true
1195
1196 @GST_GCOV_ENABLED_TRUE@clean-bbg:
1197 @GST_GCOV_ENABLED_TRUE@ find -name "*.bbg" -o -name "*.bb" | xargs rm || true
1198
1199 @GST_GCOV_ENABLED_TRUE@.PHONY: coverage-report.txt
1200
1201 @GST_GCOV_ENABLED_TRUE@coverage-report.txt:
1202 @GST_GCOV_ENABLED_TRUE@ BBG_FILES=`find $(GCOV_DIRS) -name "*.bbg"` ;                     \
1203 @GST_GCOV_ENABLED_TRUE@ C_FILES= ;                                                        \
1204 @GST_GCOV_ENABLED_TRUE@ for F in $$BBG_FILES ; do                                         \
1205 @GST_GCOV_ENABLED_TRUE@         F_nolibs=`echo $$F | sed -e 's/.libs\///g'` ;             \
1206 @GST_GCOV_ENABLED_TRUE@         C=`echo $$F_nolibs | sed -e 's/.bbg/.c/g'` ;              \
1207 @GST_GCOV_ENABLED_TRUE@         B=`basename $$F .bbg` ;                                   \
1208 @GST_GCOV_ENABLED_TRUE@         D=`dirname $$F` ;                                         \
1209 @GST_GCOV_ENABLED_TRUE@         DA=`echo $$F | sed -e 's/.bbg/.da/g'` ;                   \
1210 @GST_GCOV_ENABLED_TRUE@         DA_libs=`echo $$D/.libs/$$B/.da` ;                        \
1211 @GST_GCOV_ENABLED_TRUE@         if test -e $$DA || test -e $$DA_libs; then                \
1212 @GST_GCOV_ENABLED_TRUE@                 C_FILES="$$C_FILES $$C" ;                         \
1213 @GST_GCOV_ENABLED_TRUE@         fi ;                                                      \
1214 @GST_GCOV_ENABLED_TRUE@ done ;                                                            \
1215 @GST_GCOV_ENABLED_TRUE@ echo $$C_FILES ;                                                  \
1216 @GST_GCOV_ENABLED_TRUE@ $(top_builddir)/testsuite/decode-gcov --report $$C_FILES > coverage-report.txt
1217
1218 @GST_GCOV_ENABLED_TRUE@check-coverage: clean-gcov all check coverage-report.txt
1219 @GST_GCOV_ENABLED_TRUE@ cat coverage-report.txt
1220
1221 @GST_GCOV_ENABLED_FALSE@coverage-report.txt:
1222 @GST_GCOV_ENABLED_FALSE@        echo "Need to reconfigure with --enable-gcov"
1223
1224 @GST_GCOV_ENABLED_FALSE@check-coverage:
1225 @GST_GCOV_ENABLED_FALSE@        echo "Need to reconfigure with --enable-gcov"
1226
1227 @HAVE_CHECK_TRUE@check-valgrind:
1228 @HAVE_CHECK_TRUE@       cd tests/check && make check-valgrind
1229
1230 @HAVE_CHECK_TRUE@check-torture:
1231 @HAVE_CHECK_TRUE@       cd tests/check && make torture
1232 @HAVE_CHECK_FALSE@check-valgrind:
1233 @HAVE_CHECK_FALSE@      echo "'check' library not installed, skipping"
1234
1235 @HAVE_CHECK_FALSE@check-torture:
1236 @HAVE_CHECK_FALSE@      echo "'check' library not installed, skipping"
1237
1238 # FIXME: this target should be run every time we do "make release"
1239 # find a way of automating that
1240 win32-update:
1241         for f in gstversion.h gstenumtypes.c gstenumtypes.h gstmarshal.c gstmarshal.h; do \
1242                 cp $(top_builddir)/gst/$$f win32/common; done
1243         $(top_srcdir)/tools/gst-indent win32/common/gstenumtypes.c
1244         $(top_srcdir)/tools/gst-indent win32/common/gstenumtypes.c
1245         $(top_srcdir)/tools/gst-indent win32/common/gstmarshal.c
1246         $(top_srcdir)/tools/gst-indent win32/common/gstmarshal.c
1247         cp $(top_builddir)/win32/common/config.h-new \
1248                 $(top_srcdir)/win32/common/config.h
1249
1250 check-enum-gettypes: $(top_builddir)/gst/gstenumtypes.h
1251         @echo 'Checking if all enum and flag _get_type() funcs are inited in gst_init()';                        \
1252         FUNCS=`grep '_get_type (' gst/gstenumtypes.h | sed -e 's/^.*gst_/gst_/' -e 's/_get_type.*$$/_get_type/'`;\
1253         MISSING_FUNCS='';                                                                                        \
1254         for f in $$FUNCS; do                                                                                     \
1255           INIT_LINE=`grep $$f $(top_srcdir)/gst/*.c | grep g_type_class_ref`;                                    \
1256           if test "x$$INIT_LINE" = "x"; then                                                                     \
1257             MISSING_FUNCS="$$MISSING_FUNCS $$f";                                                                 \
1258           fi;                                                                                                    \
1259         done;                                                                                                    \
1260         if test "x$$MISSING_FUNCS" != "x"; then                                                                  \
1261           echo "FIXME: please add to the following to gst/gst.c init_post():";                                   \
1262           for f in $$MISSING_FUNCS; do                                                                           \
1263             echo "  g_type_class_ref ($$f ());";                                                                 \
1264           done;                                                                                                  \
1265           exit 1;                                                                                                \
1266         fi;                                                                                                      \
1267         echo 'Checking if all enum and flag _get_type() funcs are deinited in gst_deinit()';                     \
1268         MISSING_FUNCS='';                                                                                        \
1269         for f in $$FUNCS; do                                                                                     \
1270           INIT_LINE=`grep $$f $(top_srcdir)/gst/*.c | grep g_type_class_unref`;                                  \
1271           if test "x$$INIT_LINE" = "x"; then                                                                     \
1272             MISSING_FUNCS="$$MISSING_FUNCS $$f";                                                                 \
1273           fi;                                                                                                    \
1274         done;                                                                                                    \
1275         if test "x$$MISSING_FUNCS" != "x"; then                                                                  \
1276           echo "FIXME: please add to the following to gst/gst.c gst_deinit():";                                  \
1277           for f in $$MISSING_FUNCS; do                                                                           \
1278             echo "  g_type_class_unref (g_type_class_peek ($$f ()));";                                           \
1279           done;                                                                                                  \
1280           exit 1;                                                                                                \
1281         fi
1282 .PHONY: lcov-reset lcov lcov-run lcov-report lcov-upload
1283
1284 # run lcov from scratch, always
1285 lcov-reset:
1286         $(MAKE) lcov-run
1287         $(MAKE) lcov-report
1288
1289 # run lcov from scratch if the dir is not there
1290 lcov:
1291         $(MAKE) lcov-reset
1292
1293 # reset run coverage tests
1294 @GST_GCOV_ENABLED_TRUE@lcov-run:
1295 @GST_GCOV_ENABLED_TRUE@ @-rm -rf lcov
1296 @GST_GCOV_ENABLED_TRUE@ lcov --directory . --zerocounters
1297 @GST_GCOV_ENABLED_TRUE@ -if test -d tests/check; then $(MAKE) -C tests/check inspect; fi
1298 @GST_GCOV_ENABLED_TRUE@ -$(MAKE) check
1299
1300 # generate report based on current coverage data
1301 @GST_GCOV_ENABLED_TRUE@lcov-report:
1302 @GST_GCOV_ENABLED_TRUE@ mkdir lcov
1303 @GST_GCOV_ENABLED_TRUE@ lcov --compat-libtool --directory . --capture --output-file lcov/lcov.info
1304 @GST_GCOV_ENABLED_TRUE@ lcov --list-full-path -l lcov/lcov.info | grep -v "`cd $(top_srcdir) && pwd`" | cut -d\| -f1 > lcov/remove
1305 @GST_GCOV_ENABLED_TRUE@ lcov --list-full-path -l lcov/lcov.info | grep "tests/check/" | cut -d\| -f1 >> lcov/remove
1306 @GST_GCOV_ENABLED_TRUE@ lcov --list-full-path -l lcov/lcov.info | grep "docs/plugins/" | cut -d\| -f1 >> lcov/remove
1307 @GST_GCOV_ENABLED_TRUE@ lcov -r lcov/lcov.info `cat lcov/remove` > lcov/lcov.cleaned.info
1308 @GST_GCOV_ENABLED_TRUE@ rm lcov/remove
1309 @GST_GCOV_ENABLED_TRUE@ mv lcov/lcov.cleaned.info lcov/lcov.info
1310 @GST_GCOV_ENABLED_TRUE@ genhtml -t "$(PACKAGE_STRING)" -o lcov --num-spaces 2 lcov/lcov.info
1311
1312 @GST_GCOV_ENABLED_TRUE@lcov-upload: lcov
1313 @GST_GCOV_ENABLED_TRUE@ rsync -rvz -e ssh --delete lcov/* gstreamer.freedesktop.org:/srv/gstreamer.freedesktop.org/www/data/coverage/lcov/$(PACKAGE)
1314
1315 @GST_GCOV_ENABLED_FALSE@lcov-run:
1316 @GST_GCOV_ENABLED_FALSE@        echo "Need to reconfigure with --enable-gcov"
1317
1318 @GST_GCOV_ENABLED_FALSE@lcov-report:
1319 @GST_GCOV_ENABLED_FALSE@        echo "Need to reconfigure with --enable-gcov"
1320
1321 check: $(CHECK_EXPORTS) check-enum-gettypes
1322
1323 gst-element-check-@GST_MAJORMINOR@.m4: gst-element-check.m4
1324         $(AM_V_GEN)cp gst-element-check.m4 gst-element-check-@GST_MAJORMINOR@.m4
1325
1326 check-cruft:
1327         @cruft_files=""; cruft_dirs=""; \
1328         for f in $(CRUFT_FILES); do \
1329           if test -e $$f; then \
1330             cruft_files="$$cruft_files $$f"; \
1331           fi \
1332         done; \
1333         for d in $(CRUFT_DIRS); do \
1334           if test -e $$d; then \
1335             cruft_dirs="$$cruft_dirs $$d"; \
1336           fi \
1337         done; \
1338         if test "x$$cruft_files$$cruft_dirs" != x; then \
1339           echo; \
1340           echo "**** CRUFT ALERT *****"; \
1341           echo; \
1342           echo "The following files and directories may not be needed any "; \
1343           echo "longer (usually because a plugin has been merged into     "; \
1344           echo "another plugin, moved to a different module, or been      "; \
1345           echo "renamed), and you probably want to clean them up if you   "; \
1346           echo "don't have local changes:                                 "; \
1347           echo; \
1348           for f in $$cruft_files; do echo "file $$f"; done; \
1349           echo; \
1350           for d in $$cruft_dirs; do echo "directory $$d"; done; \
1351           echo; \
1352           echo "'make clean-cruft' will remove these for you."; \
1353           echo; \
1354         fi
1355
1356 clean-cruft-dirs:
1357         @for d in $(CRUFT_DIRS); do \
1358           if test -e $$d; then \
1359             rm -r "$$d" && echo "Removed directory $$d"; \
1360           fi \
1361         done
1362
1363 clean-cruft-files:
1364         @for f in $(CRUFT_FILES); do \
1365           if test -e $$f; then \
1366             rm "$$f" && echo "Removed file $$f"; \
1367           fi \
1368         done
1369
1370 clean-cruft: clean-cruft-dirs clean-cruft-files
1371
1372 # also might want to add this to your Makefile.am:
1373 #
1374 # all-local: check-cruft
1375
1376 all-local: gst-element-check-@GST_MAJORMINOR@.m4 check-cruft
1377
1378 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1379 # Otherwise a system limit (for SysV at least) may be exceeded.
1380 .NOEXPORT: