Initial release including wifi display based on gst-rtsp-server-1.4.1
[platform/upstream/gst-rtsp-server.git] / tests / check / Makefile.in
1 # Makefile.in generated by automake 1.14.1 from Makefile.am.
2 # @configure_input@
3
4 # Copyright (C) 1994-2013 Free Software Foundation, Inc.
5
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
9
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 # PARTICULAR PURPOSE.
14
15 @SET_MAKE@
16
17 VPATH = @srcdir@
18 am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
19 am__make_running_with_option = \
20   case $${target_option-} in \
21       ?) ;; \
22       *) echo "am__make_running_with_option: internal error: invalid" \
23               "target option '$${target_option-}' specified" >&2; \
24          exit 1;; \
25   esac; \
26   has_opt=no; \
27   sane_makeflags=$$MAKEFLAGS; \
28   if $(am__is_gnu_make); then \
29     sane_makeflags=$$MFLAGS; \
30   else \
31     case $$MAKEFLAGS in \
32       *\\[\ \   ]*) \
33         bs=\\; \
34         sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
35           | sed "s/$$bs$$bs[$$bs $$bs   ]*//g"`;; \
36     esac; \
37   fi; \
38   skip_next=no; \
39   strip_trailopt () \
40   { \
41     flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
42   }; \
43   for flg in $$sane_makeflags; do \
44     test $$skip_next = yes && { skip_next=no; continue; }; \
45     case $$flg in \
46       *=*|--*) continue;; \
47         -*I) strip_trailopt 'I'; skip_next=yes;; \
48       -*I?*) strip_trailopt 'I';; \
49         -*O) strip_trailopt 'O'; skip_next=yes;; \
50       -*O?*) strip_trailopt 'O';; \
51         -*l) strip_trailopt 'l'; skip_next=yes;; \
52       -*l?*) strip_trailopt 'l';; \
53       -[dEDm]) skip_next=yes;; \
54       -[JT]) skip_next=yes;; \
55     esac; \
56     case $$flg in \
57       *$$target_option*) has_opt=yes; break;; \
58     esac; \
59   done; \
60   test $$has_opt = yes
61 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
62 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
63 pkgdatadir = $(datadir)/@PACKAGE@
64 pkgincludedir = $(includedir)/@PACKAGE@
65 pkglibdir = $(libdir)/@PACKAGE@
66 pkglibexecdir = $(libexecdir)/@PACKAGE@
67 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
68 install_sh_DATA = $(install_sh) -c -m 644
69 install_sh_PROGRAM = $(install_sh) -c
70 install_sh_SCRIPT = $(install_sh) -c
71 INSTALL_HEADER = $(INSTALL_DATA)
72 transform = $(program_transform_name)
73 NORMAL_INSTALL = :
74 PRE_INSTALL = :
75 POST_INSTALL = :
76 NORMAL_UNINSTALL = :
77 PRE_UNINSTALL = :
78 POST_UNINSTALL = :
79 build_triplet = @build@
80 host_triplet = @host@
81 target_triplet = @target@
82 DIST_COMMON = $(top_srcdir)/common/check.mak $(srcdir)/Makefile.in \
83         $(srcdir)/Makefile.am $(top_srcdir)/depcomp \
84         $(top_srcdir)/test-driver
85 check_PROGRAMS = gst/rtspserver$(EXEEXT) gst/client$(EXEEXT) \
86         gst/mountpoints$(EXEEXT) gst/mediafactory$(EXEEXT) \
87         gst/media$(EXEEXT) gst/stream$(EXEEXT) \
88         gst/addresspool$(EXEEXT) gst/threadpool$(EXEEXT) \
89         gst/permissions$(EXEEXT) gst/token$(EXEEXT) \
90         gst/sessionmedia$(EXEEXT) gst/sessionpool$(EXEEXT)
91 noinst_PROGRAMS =
92 subdir = tests/check
93 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
94 am__aclocal_m4_deps = $(top_srcdir)/common/m4/as-ac-expand.m4 \
95         $(top_srcdir)/common/m4/as-auto-alt.m4 \
96         $(top_srcdir)/common/m4/as-compiler-flag.m4 \
97         $(top_srcdir)/common/m4/as-docbook.m4 \
98         $(top_srcdir)/common/m4/as-libtool.m4 \
99         $(top_srcdir)/common/m4/as-version.m4 \
100         $(top_srcdir)/common/m4/gst-args.m4 \
101         $(top_srcdir)/common/m4/gst-check.m4 \
102         $(top_srcdir)/common/m4/gst-default.m4 \
103         $(top_srcdir)/common/m4/gst-doc.m4 \
104         $(top_srcdir)/common/m4/gst-error.m4 \
105         $(top_srcdir)/common/m4/gst-feature.m4 \
106         $(top_srcdir)/common/m4/gst-glib2.m4 \
107         $(top_srcdir)/common/m4/gst-package-release-datetime.m4 \
108         $(top_srcdir)/common/m4/gst-plugindir.m4 \
109         $(top_srcdir)/common/m4/gst.m4 \
110         $(top_srcdir)/common/m4/gtk-doc.m4 \
111         $(top_srcdir)/common/m4/introspection.m4 \
112         $(top_srcdir)/common/m4/pkg.m4 $(top_srcdir)/m4/libtool.m4 \
113         $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
114         $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
115         $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac
116 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
117         $(ACLOCAL_M4)
118 mkinstalldirs = $(install_sh) -d
119 CONFIG_HEADER = $(top_builddir)/config.h
120 CONFIG_CLEAN_FILES =
121 CONFIG_CLEAN_VPATH_FILES =
122 PROGRAMS = $(noinst_PROGRAMS)
123 gst_addresspool_SOURCES = gst/addresspool.c
124 am__dirstamp = $(am__leading_dot)dirstamp
125 gst_addresspool_OBJECTS = gst/addresspool.$(OBJEXT)
126 gst_addresspool_LDADD = $(LDADD)
127 am__DEPENDENCIES_1 =
128 gst_addresspool_DEPENDENCIES = $(top_builddir)/gst/rtsp-server/libgstrtspserver-@GST_API_VERSION@.la \
129         $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
130         $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
131         $(am__DEPENDENCIES_1)
132 AM_V_lt = $(am__v_lt_@AM_V@)
133 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
134 am__v_lt_0 = --silent
135 am__v_lt_1 = 
136 gst_client_SOURCES = gst/client.c
137 gst_client_OBJECTS = gst/client.$(OBJEXT)
138 gst_client_LDADD = $(LDADD)
139 gst_client_DEPENDENCIES = $(top_builddir)/gst/rtsp-server/libgstrtspserver-@GST_API_VERSION@.la \
140         $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
141         $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
142         $(am__DEPENDENCIES_1)
143 gst_media_SOURCES = gst/media.c
144 gst_media_OBJECTS = gst/media.$(OBJEXT)
145 gst_media_LDADD = $(LDADD)
146 gst_media_DEPENDENCIES = $(top_builddir)/gst/rtsp-server/libgstrtspserver-@GST_API_VERSION@.la \
147         $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
148         $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
149         $(am__DEPENDENCIES_1)
150 gst_mediafactory_SOURCES = gst/mediafactory.c
151 gst_mediafactory_OBJECTS = gst/mediafactory.$(OBJEXT)
152 gst_mediafactory_LDADD = $(LDADD)
153 gst_mediafactory_DEPENDENCIES = $(top_builddir)/gst/rtsp-server/libgstrtspserver-@GST_API_VERSION@.la \
154         $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
155         $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
156         $(am__DEPENDENCIES_1)
157 gst_mountpoints_SOURCES = gst/mountpoints.c
158 gst_mountpoints_OBJECTS = gst/mountpoints.$(OBJEXT)
159 gst_mountpoints_LDADD = $(LDADD)
160 gst_mountpoints_DEPENDENCIES = $(top_builddir)/gst/rtsp-server/libgstrtspserver-@GST_API_VERSION@.la \
161         $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
162         $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
163         $(am__DEPENDENCIES_1)
164 gst_permissions_SOURCES = gst/permissions.c
165 gst_permissions_OBJECTS = gst/permissions.$(OBJEXT)
166 gst_permissions_LDADD = $(LDADD)
167 gst_permissions_DEPENDENCIES = $(top_builddir)/gst/rtsp-server/libgstrtspserver-@GST_API_VERSION@.la \
168         $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
169         $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
170         $(am__DEPENDENCIES_1)
171 gst_rtspserver_SOURCES = gst/rtspserver.c
172 gst_rtspserver_OBJECTS = gst/rtspserver.$(OBJEXT)
173 gst_rtspserver_LDADD = $(LDADD)
174 gst_rtspserver_DEPENDENCIES = $(top_builddir)/gst/rtsp-server/libgstrtspserver-@GST_API_VERSION@.la \
175         $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
176         $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
177         $(am__DEPENDENCIES_1)
178 gst_sessionmedia_SOURCES = gst/sessionmedia.c
179 gst_sessionmedia_OBJECTS = gst/sessionmedia.$(OBJEXT)
180 gst_sessionmedia_LDADD = $(LDADD)
181 gst_sessionmedia_DEPENDENCIES = $(top_builddir)/gst/rtsp-server/libgstrtspserver-@GST_API_VERSION@.la \
182         $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
183         $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
184         $(am__DEPENDENCIES_1)
185 gst_sessionpool_SOURCES = gst/sessionpool.c
186 gst_sessionpool_OBJECTS = gst/sessionpool.$(OBJEXT)
187 gst_sessionpool_LDADD = $(LDADD)
188 gst_sessionpool_DEPENDENCIES = $(top_builddir)/gst/rtsp-server/libgstrtspserver-@GST_API_VERSION@.la \
189         $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
190         $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
191         $(am__DEPENDENCIES_1)
192 gst_stream_SOURCES = gst/stream.c
193 gst_stream_OBJECTS = gst/stream.$(OBJEXT)
194 gst_stream_LDADD = $(LDADD)
195 gst_stream_DEPENDENCIES = $(top_builddir)/gst/rtsp-server/libgstrtspserver-@GST_API_VERSION@.la \
196         $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
197         $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
198         $(am__DEPENDENCIES_1)
199 gst_threadpool_SOURCES = gst/threadpool.c
200 gst_threadpool_OBJECTS = gst/threadpool.$(OBJEXT)
201 gst_threadpool_LDADD = $(LDADD)
202 gst_threadpool_DEPENDENCIES = $(top_builddir)/gst/rtsp-server/libgstrtspserver-@GST_API_VERSION@.la \
203         $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
204         $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
205         $(am__DEPENDENCIES_1)
206 gst_token_SOURCES = gst/token.c
207 gst_token_OBJECTS = gst/token.$(OBJEXT)
208 gst_token_LDADD = $(LDADD)
209 gst_token_DEPENDENCIES = $(top_builddir)/gst/rtsp-server/libgstrtspserver-@GST_API_VERSION@.la \
210         $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
211         $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
212         $(am__DEPENDENCIES_1)
213 AM_V_P = $(am__v_P_@AM_V@)
214 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
215 am__v_P_0 = false
216 am__v_P_1 = :
217 AM_V_GEN = $(am__v_GEN_@AM_V@)
218 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
219 am__v_GEN_0 = @echo "  GEN     " $@;
220 am__v_GEN_1 = 
221 AM_V_at = $(am__v_at_@AM_V@)
222 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
223 am__v_at_0 = @
224 am__v_at_1 = 
225 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
226 depcomp = $(SHELL) $(top_srcdir)/depcomp
227 am__depfiles_maybe = depfiles
228 am__mv = mv -f
229 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
230         $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
231 LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
232         $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
233         $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
234         $(AM_CFLAGS) $(CFLAGS)
235 AM_V_CC = $(am__v_CC_@AM_V@)
236 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
237 am__v_CC_0 = @echo "  CC      " $@;
238 am__v_CC_1 = 
239 CCLD = $(CC)
240 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
241         $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
242         $(AM_LDFLAGS) $(LDFLAGS) -o $@
243 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
244 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
245 am__v_CCLD_0 = @echo "  CCLD    " $@;
246 am__v_CCLD_1 = 
247 SOURCES = gst/addresspool.c gst/client.c gst/media.c \
248         gst/mediafactory.c gst/mountpoints.c gst/permissions.c \
249         gst/rtspserver.c gst/sessionmedia.c gst/sessionpool.c \
250         gst/stream.c gst/threadpool.c gst/token.c
251 DIST_SOURCES = gst/addresspool.c gst/client.c gst/media.c \
252         gst/mediafactory.c gst/mountpoints.c gst/permissions.c \
253         gst/rtspserver.c gst/sessionmedia.c gst/sessionpool.c \
254         gst/stream.c gst/threadpool.c gst/token.c
255 am__can_run_installinfo = \
256   case $$AM_UPDATE_INFO_DIR in \
257     n|no|NO) false;; \
258     *) (install-info --version) >/dev/null 2>&1;; \
259   esac
260 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
261 # Read a list of newline-separated strings from the standard input,
262 # and print each of them once, without duplicates.  Input order is
263 # *not* preserved.
264 am__uniquify_input = $(AWK) '\
265   BEGIN { nonempty = 0; } \
266   { items[$$0] = 1; nonempty = 1; } \
267   END { if (nonempty) { for (i in items) print i; }; } \
268 '
269 # Make sure the list of sources is unique.  This is necessary because,
270 # e.g., the same source file might be shared among _SOURCES variables
271 # for different programs/libraries.
272 am__define_uniq_tagged_files = \
273   list='$(am__tagged_files)'; \
274   unique=`for i in $$list; do \
275     if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
276   done | $(am__uniquify_input)`
277 ETAGS = etags
278 CTAGS = ctags
279 am__tty_colors_dummy = \
280   mgn= red= grn= lgn= blu= brg= std=; \
281   am__color_tests=no
282 am__tty_colors = { \
283   $(am__tty_colors_dummy); \
284   if test "X$(AM_COLOR_TESTS)" = Xno; then \
285     am__color_tests=no; \
286   elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
287     am__color_tests=yes; \
288   elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
289     am__color_tests=yes; \
290   fi; \
291   if test $$am__color_tests = yes; then \
292     red='\e[0;31m'; \
293     grn='\e[0;32m'; \
294     lgn='\e[1;32m'; \
295     blu='\e[1;34m'; \
296     mgn='\e[0;35m'; \
297     brg='\e[1m'; \
298     std='\e[m'; \
299   fi; \
300 }
301 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
302 am__vpath_adj = case $$p in \
303     $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
304     *) f=$$p;; \
305   esac;
306 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
307 am__install_max = 40
308 am__nobase_strip_setup = \
309   srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
310 am__nobase_strip = \
311   for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
312 am__nobase_list = $(am__nobase_strip_setup); \
313   for p in $$list; do echo "$$p $$p"; done | \
314   sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
315   $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
316     if (++n[$$2] == $(am__install_max)) \
317       { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
318     END { for (dir in files) print dir, files[dir] }'
319 am__base_list = \
320   sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
321   sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
322 am__uninstall_files_from_dir = { \
323   test -z "$$files" \
324     || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
325     || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
326          $(am__cd) "$$dir" && rm -f $$files; }; \
327   }
328 am__recheck_rx = ^[     ]*:recheck:[    ]*
329 am__global_test_result_rx = ^[  ]*:global-test-result:[         ]*
330 am__copy_in_global_log_rx = ^[  ]*:copy-in-global-log:[         ]*
331 # A command that, given a newline-separated list of test names on the
332 # standard input, print the name of the tests that are to be re-run
333 # upon "make recheck".
334 am__list_recheck_tests = $(AWK) '{ \
335   recheck = 1; \
336   while ((rc = (getline line < ($$0 ".trs"))) != 0) \
337     { \
338       if (rc < 0) \
339         { \
340           if ((getline line2 < ($$0 ".log")) < 0) \
341             recheck = 0; \
342           break; \
343         } \
344       else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
345         { \
346           recheck = 0; \
347           break; \
348         } \
349       else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
350         { \
351           break; \
352         } \
353     }; \
354   if (recheck) \
355     print $$0; \
356   close ($$0 ".trs"); \
357   close ($$0 ".log"); \
358 }'
359 # A command that, given a newline-separated list of test names on the
360 # standard input, create the global log from their .trs and .log files.
361 am__create_global_log = $(AWK) ' \
362 function fatal(msg) \
363 { \
364   print "fatal: making $@: " msg | "cat >&2"; \
365   exit 1; \
366 } \
367 function rst_section(header) \
368 { \
369   print header; \
370   len = length(header); \
371   for (i = 1; i <= len; i = i + 1) \
372     printf "="; \
373   printf "\n\n"; \
374 } \
375 { \
376   copy_in_global_log = 1; \
377   global_test_result = "RUN"; \
378   while ((rc = (getline line < ($$0 ".trs"))) != 0) \
379     { \
380       if (rc < 0) \
381          fatal("failed to read from " $$0 ".trs"); \
382       if (line ~ /$(am__global_test_result_rx)/) \
383         { \
384           sub("$(am__global_test_result_rx)", "", line); \
385           sub("[        ]*$$", "", line); \
386           global_test_result = line; \
387         } \
388       else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
389         copy_in_global_log = 0; \
390     }; \
391   if (copy_in_global_log) \
392     { \
393       rst_section(global_test_result ": " $$0); \
394       while ((rc = (getline line < ($$0 ".log"))) != 0) \
395       { \
396         if (rc < 0) \
397           fatal("failed to read from " $$0 ".log"); \
398         print line; \
399       }; \
400       printf "\n"; \
401     }; \
402   close ($$0 ".trs"); \
403   close ($$0 ".log"); \
404 }'
405 # Restructured Text title.
406 am__rst_title = { sed 's/.*/   &   /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
407 # Solaris 10 'make', and several other traditional 'make' implementations,
408 # pass "-e" to $(SHELL), and POSIX 2008 even requires this.  Work around it
409 # by disabling -e (using the XSI extension "set +e") if it's set.
410 am__sh_e_setup = case $$- in *e*) set +e;; esac
411 # Default flags passed to test drivers.
412 am__common_driver_flags = \
413   --color-tests "$$am__color_tests" \
414   --enable-hard-errors "$$am__enable_hard_errors" \
415   --expect-failure "$$am__expect_failure"
416 # To be inserted before the command running the test.  Creates the
417 # directory for the log if needed.  Stores in $dir the directory
418 # containing $f, in $tst the test, in $log the log.  Executes the
419 # developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
420 # passes TESTS_ENVIRONMENT.  Set up options for the wrapper that
421 # will run the test scripts (or their associated LOG_COMPILER, if
422 # thy have one).
423 am__check_pre = \
424 $(am__sh_e_setup);                                      \
425 $(am__vpath_adj_setup) $(am__vpath_adj)                 \
426 $(am__tty_colors);                                      \
427 srcdir=$(srcdir); export srcdir;                        \
428 case "$@" in                                            \
429   */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;;    \
430     *) am__odir=.;;                                     \
431 esac;                                                   \
432 test "x$$am__odir" = x"." || test -d "$$am__odir"       \
433   || $(MKDIR_P) "$$am__odir" || exit $$?;               \
434 if test -f "./$$f"; then dir=./;                        \
435 elif test -f "$$f"; then dir=;                          \
436 else dir="$(srcdir)/"; fi;                              \
437 tst=$$dir$$f; log='$@';                                 \
438 if test -n '$(DISABLE_HARD_ERRORS)'; then               \
439   am__enable_hard_errors=no;                            \
440 else                                                    \
441   am__enable_hard_errors=yes;                           \
442 fi;                                                     \
443 case " $(XFAIL_TESTS) " in                              \
444   *[\ \ ]$$f[\ \        ]* | *[\ \      ]$$dir$$f[\ \   ]*) \
445     am__expect_failure=yes;;                            \
446   *)                                                    \
447     am__expect_failure=no;;                             \
448 esac;                                                   \
449 $(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
450 # A shell command to get the names of the tests scripts with any registered
451 # extension removed (i.e., equivalently, the names of the test logs, with
452 # the '.log' extension removed).  The result is saved in the shell variable
453 # '$bases'.  This honors runtime overriding of TESTS and TEST_LOGS.  Sadly,
454 # we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
455 # since that might cause problem with VPATH rewrites for suffix-less tests.
456 # See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
457 am__set_TESTS_bases = \
458   bases='$(TEST_LOGS)'; \
459   bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
460   bases=`echo $$bases`
461 RECHECK_LOGS = $(TEST_LOGS)
462 AM_RECURSIVE_TARGETS = check recheck
463 TEST_SUITE_LOG = test-suite.log
464 TEST_EXTENSIONS = @EXEEXT@ .test
465 LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver
466 LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS)
467 am__set_b = \
468   case '$@' in \
469     */*) \
470       case '$*' in \
471         */*) b='$*';; \
472           *) b=`echo '$@' | sed 's/\.log$$//'`; \
473        esac;; \
474     *) \
475       b='$*';; \
476   esac
477 am__test_logs1 = $(TESTS:=.log)
478 am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
479 TEST_LOGS = $(am__test_logs2:.test.log=.log)
480 TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver
481 TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
482         $(TEST_LOG_FLAGS)
483 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
484 ACLOCAL = @ACLOCAL@
485 ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@
486 AMTAR = @AMTAR@
487 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
488 AR = @AR@
489 AS = @AS@
490 AUTOCONF = @AUTOCONF@
491 AUTOHEADER = @AUTOHEADER@
492 AUTOMAKE = @AUTOMAKE@
493 AWK = @AWK@
494 CAT_ENTRY_END = @CAT_ENTRY_END@
495 CAT_ENTRY_START = @CAT_ENTRY_START@
496 CC = @CC@
497 CCAS = @CCAS@
498 CCASDEPMODE = @CCASDEPMODE@
499 CCASFLAGS = @CCASFLAGS@
500 CCDEPMODE = @CCDEPMODE@
501 CFLAGS = @CFLAGS@
502 CPP = @CPP@
503 CPPFLAGS = @CPPFLAGS@
504 CXXFLAGS = @CXXFLAGS@
505 CYGPATH_W = @CYGPATH_W@
506 DEFAULT_AUDIOSINK = @DEFAULT_AUDIOSINK@
507 DEFAULT_AUDIOSRC = @DEFAULT_AUDIOSRC@
508 DEFAULT_VIDEOSINK = @DEFAULT_VIDEOSINK@
509 DEFAULT_VIDEOSRC = @DEFAULT_VIDEOSRC@
510 DEFAULT_VISUALIZER = @DEFAULT_VISUALIZER@
511 DEFS = @DEFS@
512 DEPDIR = @DEPDIR@
513 DEPRECATED_CFLAGS = @DEPRECATED_CFLAGS@
514 DLLTOOL = @DLLTOOL@
515 DOCBOOK_ROOT = @DOCBOOK_ROOT@
516 DSYMUTIL = @DSYMUTIL@
517 DUMPBIN = @DUMPBIN@
518 ECHO_C = @ECHO_C@
519 ECHO_N = @ECHO_N@
520 ECHO_T = @ECHO_T@
521 EGREP = @EGREP@
522 ERROR_CFLAGS = @ERROR_CFLAGS@
523 EXEEXT = @EXEEXT@
524 FFLAGS = @FFLAGS@
525 FGREP = @FGREP@
526 GCOV = @GCOV@
527 GCOV_CFLAGS = @GCOV_CFLAGS@
528 GCOV_LIBS = @GCOV_LIBS@
529 GIO_CFLAGS = @GIO_CFLAGS@
530 GIO_LDFLAGS = @GIO_LDFLAGS@
531 GIO_LIBS = @GIO_LIBS@
532 GLIB_CFLAGS = @GLIB_CFLAGS@
533 GLIB_EXTRA_CFLAGS = @GLIB_EXTRA_CFLAGS@
534 GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
535 GLIB_LIBS = @GLIB_LIBS@
536 GLIB_MKENUMS = @GLIB_MKENUMS@
537 GLIB_REQ = @GLIB_REQ@
538 GREP = @GREP@
539 GSTPB_PLUGINS_DIR = @GSTPB_PLUGINS_DIR@
540 GSTPD_PLUGINS_DIR = @GSTPD_PLUGINS_DIR@
541 GSTPG_PLUGINS_DIR = @GSTPG_PLUGINS_DIR@
542 GST_AGE = @GST_AGE@
543 GST_ALL_CFLAGS = @GST_ALL_CFLAGS@
544 GST_ALL_LDFLAGS = @GST_ALL_LDFLAGS@
545 GST_ALL_LIBS = @GST_ALL_LIBS@
546 GST_API_VERSION = @GST_API_VERSION@
547 GST_BASE_CFLAGS = @GST_BASE_CFLAGS@
548 GST_BASE_LIBS = @GST_BASE_LIBS@
549 GST_CFLAGS = @GST_CFLAGS@
550 GST_CHECK_CFLAGS = @GST_CHECK_CFLAGS@
551 GST_CHECK_LIBS = @GST_CHECK_LIBS@
552 GST_CURRENT = @GST_CURRENT@
553 GST_LEVEL_DEFAULT = @GST_LEVEL_DEFAULT@
554 GST_LIBS = @GST_LIBS@
555 GST_LIBVERSION = @GST_LIBVERSION@
556 GST_LIB_LDFLAGS = @GST_LIB_LDFLAGS@
557 GST_LICENSE = @GST_LICENSE@
558 GST_LT_LDFLAGS = @GST_LT_LDFLAGS@
559 GST_OBJ_CFLAGS = @GST_OBJ_CFLAGS@
560 GST_OBJ_LIBS = @GST_OBJ_LIBS@
561 GST_OPTION_CFLAGS = @GST_OPTION_CFLAGS@
562 GST_PACKAGE_NAME = @GST_PACKAGE_NAME@
563 GST_PACKAGE_ORIGIN = @GST_PACKAGE_ORIGIN@
564 GST_PKG_CONFIG_PATH = @GST_PKG_CONFIG_PATH@
565 GST_PLUGINS_BAD_CFLAGS = @GST_PLUGINS_BAD_CFLAGS@
566 GST_PLUGINS_BAD_DIR = @GST_PLUGINS_BAD_DIR@
567 GST_PLUGINS_BAD_LIBS = @GST_PLUGINS_BAD_LIBS@
568 GST_PLUGINS_BASE_CFLAGS = @GST_PLUGINS_BASE_CFLAGS@
569 GST_PLUGINS_BASE_DIR = @GST_PLUGINS_BASE_DIR@
570 GST_PLUGINS_BASE_LIBS = @GST_PLUGINS_BASE_LIBS@
571 GST_PLUGINS_DIR = @GST_PLUGINS_DIR@
572 GST_PLUGINS_GOOD_CFLAGS = @GST_PLUGINS_GOOD_CFLAGS@
573 GST_PLUGINS_GOOD_DIR = @GST_PLUGINS_GOOD_DIR@
574 GST_PLUGINS_GOOD_LIBS = @GST_PLUGINS_GOOD_LIBS@
575 GST_REVISION = @GST_REVISION@
576 GST_TOOLS_DIR = @GST_TOOLS_DIR@
577 GTKDOC_CHECK = @GTKDOC_CHECK@
578 GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@
579 GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@
580 GTKDOC_MKPDF = @GTKDOC_MKPDF@
581 GTKDOC_REBASE = @GTKDOC_REBASE@
582 HAVE_DOCBOOK2PS = @HAVE_DOCBOOK2PS@
583 HAVE_DVIPS = @HAVE_DVIPS@
584 HAVE_EPSTOPDF = @HAVE_EPSTOPDF@
585 HAVE_JADETEX = @HAVE_JADETEX@
586 HAVE_PNGTOPNM = @HAVE_PNGTOPNM@
587 HAVE_PNMTOPS = @HAVE_PNMTOPS@
588 HAVE_PS2PDF = @HAVE_PS2PDF@
589 HAVE_XMLLINT = @HAVE_XMLLINT@
590 HAVE_XSLTPROC = @HAVE_XSLTPROC@
591 HTML_DIR = @HTML_DIR@
592 INSTALL = @INSTALL@
593 INSTALL_DATA = @INSTALL_DATA@
594 INSTALL_PROGRAM = @INSTALL_PROGRAM@
595 INSTALL_SCRIPT = @INSTALL_SCRIPT@
596 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
597 INTROSPECTION_CFLAGS = @INTROSPECTION_CFLAGS@
598 INTROSPECTION_COMPILER = @INTROSPECTION_COMPILER@
599 INTROSPECTION_GENERATE = @INTROSPECTION_GENERATE@
600 INTROSPECTION_GIRDIR = @INTROSPECTION_GIRDIR@
601 INTROSPECTION_LIBS = @INTROSPECTION_LIBS@
602 INTROSPECTION_MAKEFILE = @INTROSPECTION_MAKEFILE@
603 INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@
604 INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@
605 LD = @LD@
606 LDFLAGS = @LDFLAGS@
607 LIBCGROUP_CFLAGS = @LIBCGROUP_CFLAGS@
608 LIBCGROUP_LIBS = @LIBCGROUP_LIBS@
609 LIBOBJS = @LIBOBJS@
610 LIBS = @LIBS@
611 LIBTOOL = @LIBTOOL@
612 LIPO = @LIPO@
613 LN_S = @LN_S@
614 LTLIBOBJS = @LTLIBOBJS@
615 MAINT = @MAINT@
616 MAKEINFO = @MAKEINFO@
617 MANIFEST_TOOL = @MANIFEST_TOOL@
618 MKDIR_P = @MKDIR_P@
619 NM = @NM@
620 NMEDIT = @NMEDIT@
621 OBJDUMP = @OBJDUMP@
622 OBJEXT = @OBJEXT@
623 OTOOL = @OTOOL@
624 OTOOL64 = @OTOOL64@
625 PACKAGE = @PACKAGE@
626 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
627 PACKAGE_NAME = @PACKAGE_NAME@
628 PACKAGE_STRING = @PACKAGE_STRING@
629 PACKAGE_TARNAME = @PACKAGE_TARNAME@
630 PACKAGE_URL = @PACKAGE_URL@
631 PACKAGE_VERSION = @PACKAGE_VERSION@
632 PACKAGE_VERSION_MAJOR = @PACKAGE_VERSION_MAJOR@
633 PACKAGE_VERSION_MICRO = @PACKAGE_VERSION_MICRO@
634 PACKAGE_VERSION_MINOR = @PACKAGE_VERSION_MINOR@
635 PACKAGE_VERSION_NANO = @PACKAGE_VERSION_NANO@
636 PACKAGE_VERSION_RELEASE = @PACKAGE_VERSION_RELEASE@
637 PATH_SEPARATOR = @PATH_SEPARATOR@
638 PKG_CONFIG = @PKG_CONFIG@
639 PLUGINDIR = @PLUGINDIR@
640 PROFILE_CFLAGS = @PROFILE_CFLAGS@
641 RANLIB = @RANLIB@
642 SED = @SED@
643 SET_MAKE = @SET_MAKE@
644 SHELL = @SHELL@
645 STRIP = @STRIP@
646 VALGRIND_CFLAGS = @VALGRIND_CFLAGS@
647 VALGRIND_LIBS = @VALGRIND_LIBS@
648 VALGRIND_PATH = @VALGRIND_PATH@
649 VERSION = @VERSION@
650 WARNING_CFLAGS = @WARNING_CFLAGS@
651 XML_CATALOG = @XML_CATALOG@
652 XSLTPROC = @XSLTPROC@
653 XSLTPROC_FLAGS = @XSLTPROC_FLAGS@
654 abs_builddir = @abs_builddir@
655 abs_srcdir = @abs_srcdir@
656 abs_top_builddir = @abs_top_builddir@
657 abs_top_srcdir = @abs_top_srcdir@
658 ac_ct_AR = @ac_ct_AR@
659 ac_ct_CC = @ac_ct_CC@
660 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
661 am__include = @am__include@
662 am__leading_dot = @am__leading_dot@
663 am__quote = @am__quote@
664 am__tar = @am__tar@
665 am__untar = @am__untar@
666 bindir = @bindir@
667 build = @build@
668 build_alias = @build_alias@
669 build_cpu = @build_cpu@
670 build_os = @build_os@
671 build_vendor = @build_vendor@
672 builddir = @builddir@
673 datadir = @datadir@
674 datarootdir = @datarootdir@
675 docdir = @docdir@
676 dvidir = @dvidir@
677 exec_prefix = @exec_prefix@
678 host = @host@
679 host_alias = @host_alias@
680 host_cpu = @host_cpu@
681 host_os = @host_os@
682 host_vendor = @host_vendor@
683 htmldir = @htmldir@
684 includedir = @includedir@
685 infodir = @infodir@
686 install_sh = @install_sh@
687 libdir = @libdir@
688 libexecdir = @libexecdir@
689 localedir = @localedir@
690 localstatedir = @localstatedir@
691 mandir = @mandir@
692 mkdir_p = @mkdir_p@
693 oldincludedir = @oldincludedir@
694 pdfdir = @pdfdir@
695 plugindir = @plugindir@
696 prefix = @prefix@
697 program_transform_name = @program_transform_name@
698 psdir = @psdir@
699 sbindir = @sbindir@
700 sharedstatedir = @sharedstatedir@
701 srcdir = @srcdir@
702 sysconfdir = @sysconfdir@
703 target = @target@
704 target_alias = @target_alias@
705 target_cpu = @target_cpu@
706 target_os = @target_os@
707 target_vendor = @target_vendor@
708 top_build_prefix = @top_build_prefix@
709 top_builddir = @top_builddir@
710 top_srcdir = @top_srcdir@
711
712 # inspect every plugin feature
713 GST_INSPECT = $(GST_TOOLS_DIR)/gst-inspect-$(GST_API_VERSION)
714 CHECK_REGISTRY = $(top_builddir)/tests/check/test-registry.reg
715 TEST_FILES_DIRECTORY = $(top_srcdir)/tests/files
716 REGISTRY_ENVIRONMENT = \
717         GST_REGISTRY_1_0=$(CHECK_REGISTRY)
718
719 TESTS_ENVIRONMENT = \
720         CK_DEFAULT_TIMEOUT=120                                  \
721         GST_STATE_IGNORE_ELEMENTS="$(STATE_IGNORE_ELEMENTS)"    \
722         $(REGISTRY_ENVIRONMENT)                                 \
723         GST_PLUGIN_SYSTEM_PATH_1_0=                                     \
724         GST_PLUGIN_PATH_1_0=$(GST_PLUGINS_DIR):$(GSTPB_PLUGINS_DIR):$(GSTPG_PLUGINS_DIR):$(GSTPD_PLUGINS_DIR)   \
725         GST_PLUGIN_LOADING_WHITELIST="gstreamer:gst-plugins-base:gst-plugins-good:gst-plugins-bad"
726
727
728 # ths core dumps of some machines have PIDs appended
729 CLEANFILES = core.* test-registry.*
730 TESTS = $(check_PROGRAMS)
731 AM_CFLAGS = -I$(top_srcdir)/gst/rtsp-server \
732         $(GST_PLUGINS_BASE_CFLAGS) \
733         $(GST_BASE_CFLAGS) \
734         $(GIO_CFLAGS) \
735         $(GST_CFLAGS) \
736         $(GST_CHECK_CFLAGS) \
737         -DGST_TEST_FILES_PATH="\"$(TEST_FILES_DIRECTORY)\"" \
738         -UG_DISABLE_ASSERT -UG_DISABLE_CAST_CHECKS
739
740 AM_CXXFLAGS = $(GST_CXXFLAGS) $(GST_CHECK_CFLAGS) \
741         -DGST_TEST_FILES_PATH="\"$(TEST_FILES_DIRECTORY)\"" \
742         -UG_DISABLE_ASSERT -UG_DISABLE_CAST_CHECKS
743
744 LDADD = $(top_builddir)/gst/rtsp-server/libgstrtspserver-@GST_API_VERSION@.la \
745         $(GST_PLUGINS_BASE_LIBS) -lgstrtp-@GST_API_VERSION@ \
746         -lgstrtsp-@GST_API_VERSION@ -lgstsdp-@GST_API_VERSION@ \
747         $(GST_BASE_LIBS) $(GIO_LIBS) \
748         $(GST_LIBS) $(GST_CHECK_LIBS) $(GST_RTSP_SERVER_LIBS)
749
750 SUPPRESSIONS = $(top_srcdir)/common/gst.supp
751 all: all-am
752
753 .SUFFIXES:
754 .SUFFIXES: .c .lo .log .o .obj .test .test$(EXEEXT) .trs
755 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/common/check.mak $(am__configure_deps)
756         @for dep in $?; do \
757           case '$(am__configure_deps)' in \
758             *$$dep*) \
759               ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
760                 && { if test -f $@; then exit 0; else break; fi; }; \
761               exit 1;; \
762           esac; \
763         done; \
764         echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/check/Makefile'; \
765         $(am__cd) $(top_srcdir) && \
766           $(AUTOMAKE) --gnu tests/check/Makefile
767 .PRECIOUS: Makefile
768 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
769         @case '$?' in \
770           *config.status*) \
771             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
772           *) \
773             echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
774             cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
775         esac;
776 $(top_srcdir)/common/check.mak:
777
778 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
779         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
780
781 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
782         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
783 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
784         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
785 $(am__aclocal_m4_deps):
786
787 clean-checkPROGRAMS:
788         @list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \
789         echo " rm -f" $$list; \
790         rm -f $$list || exit $$?; \
791         test -n "$(EXEEXT)" || exit 0; \
792         list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
793         echo " rm -f" $$list; \
794         rm -f $$list
795
796 clean-noinstPROGRAMS:
797         @list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \
798         echo " rm -f" $$list; \
799         rm -f $$list || exit $$?; \
800         test -n "$(EXEEXT)" || exit 0; \
801         list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
802         echo " rm -f" $$list; \
803         rm -f $$list
804 gst/$(am__dirstamp):
805         @$(MKDIR_P) gst
806         @: > gst/$(am__dirstamp)
807 gst/$(DEPDIR)/$(am__dirstamp):
808         @$(MKDIR_P) gst/$(DEPDIR)
809         @: > gst/$(DEPDIR)/$(am__dirstamp)
810 gst/addresspool.$(OBJEXT): gst/$(am__dirstamp) \
811         gst/$(DEPDIR)/$(am__dirstamp)
812
813 gst/addresspool$(EXEEXT): $(gst_addresspool_OBJECTS) $(gst_addresspool_DEPENDENCIES) $(EXTRA_gst_addresspool_DEPENDENCIES) gst/$(am__dirstamp)
814         @rm -f gst/addresspool$(EXEEXT)
815         $(AM_V_CCLD)$(LINK) $(gst_addresspool_OBJECTS) $(gst_addresspool_LDADD) $(LIBS)
816 gst/client.$(OBJEXT): gst/$(am__dirstamp) \
817         gst/$(DEPDIR)/$(am__dirstamp)
818
819 gst/client$(EXEEXT): $(gst_client_OBJECTS) $(gst_client_DEPENDENCIES) $(EXTRA_gst_client_DEPENDENCIES) gst/$(am__dirstamp)
820         @rm -f gst/client$(EXEEXT)
821         $(AM_V_CCLD)$(LINK) $(gst_client_OBJECTS) $(gst_client_LDADD) $(LIBS)
822 gst/media.$(OBJEXT): gst/$(am__dirstamp) gst/$(DEPDIR)/$(am__dirstamp)
823
824 gst/media$(EXEEXT): $(gst_media_OBJECTS) $(gst_media_DEPENDENCIES) $(EXTRA_gst_media_DEPENDENCIES) gst/$(am__dirstamp)
825         @rm -f gst/media$(EXEEXT)
826         $(AM_V_CCLD)$(LINK) $(gst_media_OBJECTS) $(gst_media_LDADD) $(LIBS)
827 gst/mediafactory.$(OBJEXT): gst/$(am__dirstamp) \
828         gst/$(DEPDIR)/$(am__dirstamp)
829
830 gst/mediafactory$(EXEEXT): $(gst_mediafactory_OBJECTS) $(gst_mediafactory_DEPENDENCIES) $(EXTRA_gst_mediafactory_DEPENDENCIES) gst/$(am__dirstamp)
831         @rm -f gst/mediafactory$(EXEEXT)
832         $(AM_V_CCLD)$(LINK) $(gst_mediafactory_OBJECTS) $(gst_mediafactory_LDADD) $(LIBS)
833 gst/mountpoints.$(OBJEXT): gst/$(am__dirstamp) \
834         gst/$(DEPDIR)/$(am__dirstamp)
835
836 gst/mountpoints$(EXEEXT): $(gst_mountpoints_OBJECTS) $(gst_mountpoints_DEPENDENCIES) $(EXTRA_gst_mountpoints_DEPENDENCIES) gst/$(am__dirstamp)
837         @rm -f gst/mountpoints$(EXEEXT)
838         $(AM_V_CCLD)$(LINK) $(gst_mountpoints_OBJECTS) $(gst_mountpoints_LDADD) $(LIBS)
839 gst/permissions.$(OBJEXT): gst/$(am__dirstamp) \
840         gst/$(DEPDIR)/$(am__dirstamp)
841
842 gst/permissions$(EXEEXT): $(gst_permissions_OBJECTS) $(gst_permissions_DEPENDENCIES) $(EXTRA_gst_permissions_DEPENDENCIES) gst/$(am__dirstamp)
843         @rm -f gst/permissions$(EXEEXT)
844         $(AM_V_CCLD)$(LINK) $(gst_permissions_OBJECTS) $(gst_permissions_LDADD) $(LIBS)
845 gst/rtspserver.$(OBJEXT): gst/$(am__dirstamp) \
846         gst/$(DEPDIR)/$(am__dirstamp)
847
848 gst/rtspserver$(EXEEXT): $(gst_rtspserver_OBJECTS) $(gst_rtspserver_DEPENDENCIES) $(EXTRA_gst_rtspserver_DEPENDENCIES) gst/$(am__dirstamp)
849         @rm -f gst/rtspserver$(EXEEXT)
850         $(AM_V_CCLD)$(LINK) $(gst_rtspserver_OBJECTS) $(gst_rtspserver_LDADD) $(LIBS)
851 gst/sessionmedia.$(OBJEXT): gst/$(am__dirstamp) \
852         gst/$(DEPDIR)/$(am__dirstamp)
853
854 gst/sessionmedia$(EXEEXT): $(gst_sessionmedia_OBJECTS) $(gst_sessionmedia_DEPENDENCIES) $(EXTRA_gst_sessionmedia_DEPENDENCIES) gst/$(am__dirstamp)
855         @rm -f gst/sessionmedia$(EXEEXT)
856         $(AM_V_CCLD)$(LINK) $(gst_sessionmedia_OBJECTS) $(gst_sessionmedia_LDADD) $(LIBS)
857 gst/sessionpool.$(OBJEXT): gst/$(am__dirstamp) \
858         gst/$(DEPDIR)/$(am__dirstamp)
859
860 gst/sessionpool$(EXEEXT): $(gst_sessionpool_OBJECTS) $(gst_sessionpool_DEPENDENCIES) $(EXTRA_gst_sessionpool_DEPENDENCIES) gst/$(am__dirstamp)
861         @rm -f gst/sessionpool$(EXEEXT)
862         $(AM_V_CCLD)$(LINK) $(gst_sessionpool_OBJECTS) $(gst_sessionpool_LDADD) $(LIBS)
863 gst/stream.$(OBJEXT): gst/$(am__dirstamp) \
864         gst/$(DEPDIR)/$(am__dirstamp)
865
866 gst/stream$(EXEEXT): $(gst_stream_OBJECTS) $(gst_stream_DEPENDENCIES) $(EXTRA_gst_stream_DEPENDENCIES) gst/$(am__dirstamp)
867         @rm -f gst/stream$(EXEEXT)
868         $(AM_V_CCLD)$(LINK) $(gst_stream_OBJECTS) $(gst_stream_LDADD) $(LIBS)
869 gst/threadpool.$(OBJEXT): gst/$(am__dirstamp) \
870         gst/$(DEPDIR)/$(am__dirstamp)
871
872 gst/threadpool$(EXEEXT): $(gst_threadpool_OBJECTS) $(gst_threadpool_DEPENDENCIES) $(EXTRA_gst_threadpool_DEPENDENCIES) gst/$(am__dirstamp)
873         @rm -f gst/threadpool$(EXEEXT)
874         $(AM_V_CCLD)$(LINK) $(gst_threadpool_OBJECTS) $(gst_threadpool_LDADD) $(LIBS)
875 gst/token.$(OBJEXT): gst/$(am__dirstamp) gst/$(DEPDIR)/$(am__dirstamp)
876
877 gst/token$(EXEEXT): $(gst_token_OBJECTS) $(gst_token_DEPENDENCIES) $(EXTRA_gst_token_DEPENDENCIES) gst/$(am__dirstamp)
878         @rm -f gst/token$(EXEEXT)
879         $(AM_V_CCLD)$(LINK) $(gst_token_OBJECTS) $(gst_token_LDADD) $(LIBS)
880
881 mostlyclean-compile:
882         -rm -f *.$(OBJEXT)
883         -rm -f gst/*.$(OBJEXT)
884
885 distclean-compile:
886         -rm -f *.tab.c
887
888 @AMDEP_TRUE@@am__include@ @am__quote@gst/$(DEPDIR)/addresspool.Po@am__quote@
889 @AMDEP_TRUE@@am__include@ @am__quote@gst/$(DEPDIR)/client.Po@am__quote@
890 @AMDEP_TRUE@@am__include@ @am__quote@gst/$(DEPDIR)/media.Po@am__quote@
891 @AMDEP_TRUE@@am__include@ @am__quote@gst/$(DEPDIR)/mediafactory.Po@am__quote@
892 @AMDEP_TRUE@@am__include@ @am__quote@gst/$(DEPDIR)/mountpoints.Po@am__quote@
893 @AMDEP_TRUE@@am__include@ @am__quote@gst/$(DEPDIR)/permissions.Po@am__quote@
894 @AMDEP_TRUE@@am__include@ @am__quote@gst/$(DEPDIR)/rtspserver.Po@am__quote@
895 @AMDEP_TRUE@@am__include@ @am__quote@gst/$(DEPDIR)/sessionmedia.Po@am__quote@
896 @AMDEP_TRUE@@am__include@ @am__quote@gst/$(DEPDIR)/sessionpool.Po@am__quote@
897 @AMDEP_TRUE@@am__include@ @am__quote@gst/$(DEPDIR)/stream.Po@am__quote@
898 @AMDEP_TRUE@@am__include@ @am__quote@gst/$(DEPDIR)/threadpool.Po@am__quote@
899 @AMDEP_TRUE@@am__include@ @am__quote@gst/$(DEPDIR)/token.Po@am__quote@
900
901 .c.o:
902 @am__fastdepCC_TRUE@    $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
903 @am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
904 @am__fastdepCC_TRUE@    $(am__mv) $$depbase.Tpo $$depbase.Po
905 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
906 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
907 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
908
909 .c.obj:
910 @am__fastdepCC_TRUE@    $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
911 @am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
912 @am__fastdepCC_TRUE@    $(am__mv) $$depbase.Tpo $$depbase.Po
913 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
914 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
915 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
916
917 .c.lo:
918 @am__fastdepCC_TRUE@    $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
919 @am__fastdepCC_TRUE@    $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
920 @am__fastdepCC_TRUE@    $(am__mv) $$depbase.Tpo $$depbase.Plo
921 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
922 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
923 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
924
925 mostlyclean-libtool:
926         -rm -f *.lo
927
928 clean-libtool:
929         -rm -rf .libs _libs
930         -rm -rf gst/.libs gst/_libs
931
932 ID: $(am__tagged_files)
933         $(am__define_uniq_tagged_files); mkid -fID $$unique
934 tags: tags-am
935 TAGS: tags
936
937 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
938         set x; \
939         here=`pwd`; \
940         $(am__define_uniq_tagged_files); \
941         shift; \
942         if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
943           test -n "$$unique" || unique=$$empty_fix; \
944           if test $$# -gt 0; then \
945             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
946               "$$@" $$unique; \
947           else \
948             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
949               $$unique; \
950           fi; \
951         fi
952 ctags: ctags-am
953
954 CTAGS: ctags
955 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
956         $(am__define_uniq_tagged_files); \
957         test -z "$(CTAGS_ARGS)$$unique" \
958           || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
959              $$unique
960
961 GTAGS:
962         here=`$(am__cd) $(top_builddir) && pwd` \
963           && $(am__cd) $(top_srcdir) \
964           && gtags -i $(GTAGS_ARGS) "$$here"
965 cscopelist: cscopelist-am
966
967 cscopelist-am: $(am__tagged_files)
968         list='$(am__tagged_files)'; \
969         case "$(srcdir)" in \
970           [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
971           *) sdir=$(subdir)/$(srcdir) ;; \
972         esac; \
973         for i in $$list; do \
974           if test -f "$$i"; then \
975             echo "$(subdir)/$$i"; \
976           else \
977             echo "$$sdir/$$i"; \
978           fi; \
979         done >> $(top_builddir)/cscope.files
980
981 distclean-tags:
982         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
983
984 # Recover from deleted '.trs' file; this should ensure that
985 # "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
986 # both 'foo.log' and 'foo.trs'.  Break the recipe in two subshells
987 # to avoid problems with "make -n".
988 .log.trs:
989         rm -f $< $@
990         $(MAKE) $(AM_MAKEFLAGS) $<
991
992 # Leading 'am--fnord' is there to ensure the list of targets does not
993 # expand to empty, as could happen e.g. with make check TESTS=''.
994 am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
995 am--force-recheck:
996         @:
997
998 $(TEST_SUITE_LOG): $(TEST_LOGS)
999         @$(am__set_TESTS_bases); \
1000         am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
1001         redo_bases=`for i in $$bases; do \
1002                       am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
1003                     done`; \
1004         if test -n "$$redo_bases"; then \
1005           redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
1006           redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
1007           if $(am__make_dryrun); then :; else \
1008             rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
1009           fi; \
1010         fi; \
1011         if test -n "$$am__remaking_logs"; then \
1012           echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
1013                "recursion detected" >&2; \
1014         else \
1015           am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
1016         fi; \
1017         if $(am__make_dryrun); then :; else \
1018           st=0;  \
1019           errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
1020           for i in $$redo_bases; do \
1021             test -f $$i.trs && test -r $$i.trs \
1022               || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
1023             test -f $$i.log && test -r $$i.log \
1024               || { echo "$$errmsg $$i.log" >&2; st=1; }; \
1025           done; \
1026           test $$st -eq 0 || exit 1; \
1027         fi
1028         @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
1029         ws='[   ]'; \
1030         results=`for b in $$bases; do echo $$b.trs; done`; \
1031         test -n "$$results" || results=/dev/null; \
1032         all=`  grep "^$$ws*:test-result:"           $$results | wc -l`; \
1033         pass=` grep "^$$ws*:test-result:$$ws*PASS"  $$results | wc -l`; \
1034         fail=` grep "^$$ws*:test-result:$$ws*FAIL"  $$results | wc -l`; \
1035         skip=` grep "^$$ws*:test-result:$$ws*SKIP"  $$results | wc -l`; \
1036         xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
1037         xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
1038         error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
1039         if test `expr $$fail + $$xpass + $$error` -eq 0; then \
1040           success=true; \
1041         else \
1042           success=false; \
1043         fi; \
1044         br='==================='; br=$$br$$br$$br$$br; \
1045         result_count () \
1046         { \
1047             if test x"$$1" = x"--maybe-color"; then \
1048               maybe_colorize=yes; \
1049             elif test x"$$1" = x"--no-color"; then \
1050               maybe_colorize=no; \
1051             else \
1052               echo "$@: invalid 'result_count' usage" >&2; exit 4; \
1053             fi; \
1054             shift; \
1055             desc=$$1 count=$$2; \
1056             if test $$maybe_colorize = yes && test $$count -gt 0; then \
1057               color_start=$$3 color_end=$$std; \
1058             else \
1059               color_start= color_end=; \
1060             fi; \
1061             echo "$${color_start}# $$desc $$count$${color_end}"; \
1062         }; \
1063         create_testsuite_report () \
1064         { \
1065           result_count $$1 "TOTAL:" $$all   "$$brg"; \
1066           result_count $$1 "PASS: " $$pass  "$$grn"; \
1067           result_count $$1 "SKIP: " $$skip  "$$blu"; \
1068           result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
1069           result_count $$1 "FAIL: " $$fail  "$$red"; \
1070           result_count $$1 "XPASS:" $$xpass "$$red"; \
1071           result_count $$1 "ERROR:" $$error "$$mgn"; \
1072         }; \
1073         {                                                               \
1074           echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" |       \
1075             $(am__rst_title);                                           \
1076           create_testsuite_report --no-color;                           \
1077           echo;                                                         \
1078           echo ".. contents:: :depth: 2";                               \
1079           echo;                                                         \
1080           for b in $$bases; do echo $$b; done                           \
1081             | $(am__create_global_log);                                 \
1082         } >$(TEST_SUITE_LOG).tmp || exit 1;                             \
1083         mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG);                     \
1084         if $$success; then                                              \
1085           col="$$grn";                                                  \
1086          else                                                           \
1087           col="$$red";                                                  \
1088           test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG);               \
1089         fi;                                                             \
1090         echo "$${col}$$br$${std}";                                      \
1091         echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}";   \
1092         echo "$${col}$$br$${std}";                                      \
1093         create_testsuite_report --maybe-color;                          \
1094         echo "$$col$$br$$std";                                          \
1095         if $$success; then :; else                                      \
1096           echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}";         \
1097           if test -n "$(PACKAGE_BUGREPORT)"; then                       \
1098             echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
1099           fi;                                                           \
1100           echo "$$col$$br$$std";                                        \
1101         fi;                                                             \
1102         $$success || exit 1
1103
1104 check-TESTS:
1105         @list='$(RECHECK_LOGS)';           test -z "$$list" || rm -f $$list
1106         @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
1107         @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
1108         @set +e; $(am__set_TESTS_bases); \
1109         log_list=`for i in $$bases; do echo $$i.log; done`; \
1110         trs_list=`for i in $$bases; do echo $$i.trs; done`; \
1111         log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
1112         $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
1113         exit $$?;
1114 recheck: all $(check_PROGRAMS)
1115         @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
1116         @set +e; $(am__set_TESTS_bases); \
1117         bases=`for i in $$bases; do echo $$i; done \
1118                  | $(am__list_recheck_tests)` || exit 1; \
1119         log_list=`for i in $$bases; do echo $$i.log; done`; \
1120         log_list=`echo $$log_list`; \
1121         $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
1122                 am__force_recheck=am--force-recheck \
1123                 TEST_LOGS="$$log_list"; \
1124         exit $$?
1125 gst/rtspserver.log: gst/rtspserver$(EXEEXT)
1126         @p='gst/rtspserver$(EXEEXT)'; \
1127         b='gst/rtspserver'; \
1128         $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1129         --log-file $$b.log --trs-file $$b.trs \
1130         $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1131         "$$tst" $(AM_TESTS_FD_REDIRECT)
1132 gst/client.log: gst/client$(EXEEXT)
1133         @p='gst/client$(EXEEXT)'; \
1134         b='gst/client'; \
1135         $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1136         --log-file $$b.log --trs-file $$b.trs \
1137         $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1138         "$$tst" $(AM_TESTS_FD_REDIRECT)
1139 gst/mountpoints.log: gst/mountpoints$(EXEEXT)
1140         @p='gst/mountpoints$(EXEEXT)'; \
1141         b='gst/mountpoints'; \
1142         $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1143         --log-file $$b.log --trs-file $$b.trs \
1144         $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1145         "$$tst" $(AM_TESTS_FD_REDIRECT)
1146 gst/mediafactory.log: gst/mediafactory$(EXEEXT)
1147         @p='gst/mediafactory$(EXEEXT)'; \
1148         b='gst/mediafactory'; \
1149         $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1150         --log-file $$b.log --trs-file $$b.trs \
1151         $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1152         "$$tst" $(AM_TESTS_FD_REDIRECT)
1153 gst/media.log: gst/media$(EXEEXT)
1154         @p='gst/media$(EXEEXT)'; \
1155         b='gst/media'; \
1156         $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1157         --log-file $$b.log --trs-file $$b.trs \
1158         $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1159         "$$tst" $(AM_TESTS_FD_REDIRECT)
1160 gst/stream.log: gst/stream$(EXEEXT)
1161         @p='gst/stream$(EXEEXT)'; \
1162         b='gst/stream'; \
1163         $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1164         --log-file $$b.log --trs-file $$b.trs \
1165         $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1166         "$$tst" $(AM_TESTS_FD_REDIRECT)
1167 gst/addresspool.log: gst/addresspool$(EXEEXT)
1168         @p='gst/addresspool$(EXEEXT)'; \
1169         b='gst/addresspool'; \
1170         $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1171         --log-file $$b.log --trs-file $$b.trs \
1172         $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1173         "$$tst" $(AM_TESTS_FD_REDIRECT)
1174 gst/threadpool.log: gst/threadpool$(EXEEXT)
1175         @p='gst/threadpool$(EXEEXT)'; \
1176         b='gst/threadpool'; \
1177         $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1178         --log-file $$b.log --trs-file $$b.trs \
1179         $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1180         "$$tst" $(AM_TESTS_FD_REDIRECT)
1181 gst/permissions.log: gst/permissions$(EXEEXT)
1182         @p='gst/permissions$(EXEEXT)'; \
1183         b='gst/permissions'; \
1184         $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1185         --log-file $$b.log --trs-file $$b.trs \
1186         $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1187         "$$tst" $(AM_TESTS_FD_REDIRECT)
1188 gst/token.log: gst/token$(EXEEXT)
1189         @p='gst/token$(EXEEXT)'; \
1190         b='gst/token'; \
1191         $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1192         --log-file $$b.log --trs-file $$b.trs \
1193         $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1194         "$$tst" $(AM_TESTS_FD_REDIRECT)
1195 gst/sessionmedia.log: gst/sessionmedia$(EXEEXT)
1196         @p='gst/sessionmedia$(EXEEXT)'; \
1197         b='gst/sessionmedia'; \
1198         $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1199         --log-file $$b.log --trs-file $$b.trs \
1200         $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1201         "$$tst" $(AM_TESTS_FD_REDIRECT)
1202 gst/sessionpool.log: gst/sessionpool$(EXEEXT)
1203         @p='gst/sessionpool$(EXEEXT)'; \
1204         b='gst/sessionpool'; \
1205         $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1206         --log-file $$b.log --trs-file $$b.trs \
1207         $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1208         "$$tst" $(AM_TESTS_FD_REDIRECT)
1209 .test.log:
1210         @p='$<'; \
1211         $(am__set_b); \
1212         $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
1213         --log-file $$b.log --trs-file $$b.trs \
1214         $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
1215         "$$tst" $(AM_TESTS_FD_REDIRECT)
1216 @am__EXEEXT_TRUE@.test$(EXEEXT).log:
1217 @am__EXEEXT_TRUE@       @p='$<'; \
1218 @am__EXEEXT_TRUE@       $(am__set_b); \
1219 @am__EXEEXT_TRUE@       $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
1220 @am__EXEEXT_TRUE@       --log-file $$b.log --trs-file $$b.trs \
1221 @am__EXEEXT_TRUE@       $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
1222 @am__EXEEXT_TRUE@       "$$tst" $(AM_TESTS_FD_REDIRECT)
1223
1224 distdir: $(DISTFILES)
1225         @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1226         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1227         list='$(DISTFILES)'; \
1228           dist_files=`for file in $$list; do echo $$file; done | \
1229           sed -e "s|^$$srcdirstrip/||;t" \
1230               -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
1231         case $$dist_files in \
1232           */*) $(MKDIR_P) `echo "$$dist_files" | \
1233                            sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
1234                            sort -u` ;; \
1235         esac; \
1236         for file in $$dist_files; do \
1237           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
1238           if test -d $$d/$$file; then \
1239             dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
1240             if test -d "$(distdir)/$$file"; then \
1241               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1242             fi; \
1243             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
1244               cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
1245               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1246             fi; \
1247             cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
1248           else \
1249             test -f "$(distdir)/$$file" \
1250             || cp -p $$d/$$file "$(distdir)/$$file" \
1251             || exit 1; \
1252           fi; \
1253         done
1254 check-am: all-am
1255         $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
1256         $(MAKE) $(AM_MAKEFLAGS) check-TESTS
1257 check: check-am
1258 all-am: Makefile $(PROGRAMS)
1259 installdirs:
1260 install: install-am
1261 install-exec: install-exec-am
1262 install-data: install-data-am
1263 uninstall: uninstall-am
1264
1265 install-am: all-am
1266         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1267
1268 installcheck: installcheck-am
1269 install-strip:
1270         if test -z '$(STRIP)'; then \
1271           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1272             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1273               install; \
1274         else \
1275           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1276             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1277             "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
1278         fi
1279 mostlyclean-generic:
1280         -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
1281         -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
1282         -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
1283
1284 clean-generic:
1285         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
1286
1287 distclean-generic:
1288         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1289         -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
1290         -rm -f gst/$(DEPDIR)/$(am__dirstamp)
1291         -rm -f gst/$(am__dirstamp)
1292
1293 maintainer-clean-generic:
1294         @echo "This command is intended for maintainers to use"
1295         @echo "it deletes files that may require special tools to rebuild."
1296 clean: clean-am
1297
1298 clean-am: clean-checkPROGRAMS clean-generic clean-libtool clean-local \
1299         clean-noinstPROGRAMS mostlyclean-am
1300
1301 distclean: distclean-am
1302         -rm -rf gst/$(DEPDIR)
1303         -rm -f Makefile
1304 distclean-am: clean-am distclean-compile distclean-generic \
1305         distclean-tags
1306
1307 dvi: dvi-am
1308
1309 dvi-am:
1310
1311 html: html-am
1312
1313 html-am:
1314
1315 info: info-am
1316
1317 info-am:
1318
1319 install-data-am:
1320
1321 install-dvi: install-dvi-am
1322
1323 install-dvi-am:
1324
1325 install-exec-am:
1326
1327 install-html: install-html-am
1328
1329 install-html-am:
1330
1331 install-info: install-info-am
1332
1333 install-info-am:
1334
1335 install-man:
1336
1337 install-pdf: install-pdf-am
1338
1339 install-pdf-am:
1340
1341 install-ps: install-ps-am
1342
1343 install-ps-am:
1344
1345 installcheck-am:
1346
1347 maintainer-clean: maintainer-clean-am
1348         -rm -rf gst/$(DEPDIR)
1349         -rm -f Makefile
1350 maintainer-clean-am: distclean-am maintainer-clean-generic
1351
1352 mostlyclean: mostlyclean-am
1353
1354 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
1355         mostlyclean-libtool
1356
1357 pdf: pdf-am
1358
1359 pdf-am:
1360
1361 ps: ps-am
1362
1363 ps-am:
1364
1365 uninstall-am:
1366
1367 .MAKE: check-am install-am install-strip
1368
1369 .PHONY: CTAGS GTAGS TAGS all all-am check check-TESTS check-am clean \
1370         clean-checkPROGRAMS clean-generic clean-libtool clean-local \
1371         clean-noinstPROGRAMS cscopelist-am ctags ctags-am distclean \
1372         distclean-compile distclean-generic distclean-libtool \
1373         distclean-tags distdir dvi dvi-am html html-am info info-am \
1374         install install-am install-data install-data-am install-dvi \
1375         install-dvi-am install-exec install-exec-am install-html \
1376         install-html-am install-info install-info-am install-man \
1377         install-pdf install-pdf-am install-ps install-ps-am \
1378         install-strip installcheck installcheck-am installdirs \
1379         maintainer-clean maintainer-clean-generic mostlyclean \
1380         mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
1381         pdf pdf-am ps ps-am recheck tags tags-am uninstall \
1382         uninstall-am
1383
1384
1385 # keep target around, since it's referenced in the modules' Makefiles
1386 clean-local-check:
1387         @echo
1388
1389 # hangs spectacularly on some machines, so let's not do this by default yet
1390 @HAVE_VALGRIND_TRUE@check-valgrind:
1391 @HAVE_VALGRIND_TRUE@    $(MAKE) valgrind
1392 @HAVE_VALGRIND_FALSE@check-valgrind:
1393 @HAVE_VALGRIND_FALSE@   @true
1394
1395 LOOPS ?= 10
1396
1397 # run any given test by running make test.check
1398 # if the test fails, run it again at at least debug level 2
1399 %.check: %
1400         @$(TESTS_ENVIRONMENT)                                   \
1401         CK_DEFAULT_TIMEOUT=20                                   \
1402         $* ||                                                   \
1403         $(TESTS_ENVIRONMENT)                                    \
1404         GST_DEBUG=$$GST_DEBUG,*:2                               \
1405         CK_DEFAULT_TIMEOUT=20                                   \
1406         $*
1407
1408 # just like 'check', but don't run it again if it fails (useful for debugging)
1409 %.check-norepeat: %
1410         @$(TESTS_ENVIRONMENT)                                   \
1411         CK_DEFAULT_TIMEOUT=20                                   \
1412         $*
1413
1414 # run any given test in a loop
1415 %.torture: %
1416         @for i in `seq 1 $(LOOPS)`; do                          \
1417         $(TESTS_ENVIRONMENT)                                    \
1418         CK_DEFAULT_TIMEOUT=20                                   \
1419         $*; done
1420
1421 # run any given test in an infinite loop
1422 %.forever: %
1423         @while true; do                                         \
1424         $(TESTS_ENVIRONMENT)                                    \
1425         CK_DEFAULT_TIMEOUT=20                                   \
1426         $* || break; done
1427
1428 # valgrind any given test by running make test.valgrind
1429 %.valgrind: %
1430         @$(TESTS_ENVIRONMENT)                                   \
1431         CK_DEFAULT_TIMEOUT=360                                  \
1432         G_SLICE=always-malloc                                   \
1433         $(LIBTOOL) --mode=execute                               \
1434         $(VALGRIND_PATH) -q                                     \
1435         $(foreach s,$(SUPPRESSIONS),--suppressions=$(s))        \
1436         --tool=memcheck --leak-check=full --trace-children=yes  \
1437         --show-possibly-lost=no                                 \
1438         --leak-resolution=high --num-callers=20                 \
1439         ./$* 2>&1 | tee valgrind.log
1440         @if grep "==" valgrind.log > /dev/null 2>&1; then       \
1441             rm valgrind.log;                                    \
1442             exit 1;                                             \
1443         fi
1444         @rm valgrind.log
1445
1446 # valgrind any given test and generate suppressions for it
1447 %.valgrind.gen-suppressions: %
1448         @$(TESTS_ENVIRONMENT)                                   \
1449         CK_DEFAULT_TIMEOUT=360                                  \
1450         G_SLICE=always-malloc                                   \
1451         $(LIBTOOL) --mode=execute                               \
1452         $(VALGRIND_PATH) -q                                     \
1453         $(foreach s,$(SUPPRESSIONS),--suppressions=$(s))        \
1454         --tool=memcheck --leak-check=full --trace-children=yes  \
1455         --show-possibly-lost=no                                 \
1456         --leak-resolution=high --num-callers=20                 \
1457         --gen-suppressions=all                                  \
1458         ./$* 2>&1 | tee suppressions.log
1459
1460 # valgrind torture any given test
1461 %.valgrind-torture: %
1462         @for i in `seq 1 $(LOOPS)`; do                          \
1463                 $(MAKE) $*.valgrind ||                          \
1464                 (echo "Failure after $$i runs"; exit 1) ||      \
1465                 exit 1;                                         \
1466         done
1467         @banner="All $(LOOPS) loops passed";                    \
1468         dashes=`echo "$$banner" | sed s/./=/g`;                 \
1469         echo $$dashes; echo $$banner; echo $$dashes
1470
1471 # valgrind any given test until failure by running make test.valgrind-forever
1472 %.valgrind-forever: %
1473         @while $(MAKE) $*.valgrind; do                          \
1474           true; done
1475
1476 # gdb any given test by running make test.gdb
1477 %.gdb: %
1478         @$(TESTS_ENVIRONMENT)                                   \
1479         CK_FORK=no                                              \
1480         $(LIBTOOL) --mode=execute                               \
1481         gdb $*
1482
1483 %.lcov-reset:
1484         $(MAKE) $*.lcov-run
1485         $(MAKE) $*.lcov-report
1486
1487 %.lcov: %
1488         $(MAKE) $*.lcov-reset
1489
1490 @GST_GCOV_ENABLED_TRUE@%.lcov-clean:
1491 @GST_GCOV_ENABLED_TRUE@ $(MAKE) -C $(top_builddir) lcov-clean
1492
1493 @GST_GCOV_ENABLED_TRUE@%.lcov-run:
1494 @GST_GCOV_ENABLED_TRUE@ $(MAKE) $*.lcov-clean
1495 @GST_GCOV_ENABLED_TRUE@ $(MAKE) $*.check
1496
1497 @GST_GCOV_ENABLED_TRUE@%.lcov-report:
1498 @GST_GCOV_ENABLED_TRUE@ $(MAKE) -C $(top_builddir) lcov-report
1499 @GST_GCOV_ENABLED_FALSE@%.lcov-run:
1500 @GST_GCOV_ENABLED_FALSE@        echo "Need to reconfigure with --enable-gcov"
1501
1502 @GST_GCOV_ENABLED_FALSE@%.lcov-report:
1503 @GST_GCOV_ENABLED_FALSE@        echo "Need to reconfigure with --enable-gcov"
1504
1505 # torture tests
1506 torture: $(TESTS)
1507         -rm test-registry.*
1508         @echo "Torturing tests ..."
1509         @for i in `seq 1 $(LOOPS)`; do                          \
1510                 $(MAKE) check ||                                \
1511                 (echo "Failure after $$i runs"; exit 1) ||      \
1512                 exit 1;                                         \
1513         done
1514         @banner="All $(LOOPS) loops passed";                    \
1515         dashes=`echo "$$banner" | sed s/./=/g`;                 \
1516         echo $$dashes; echo $$banner; echo $$dashes
1517
1518 # forever tests
1519 forever: $(TESTS)
1520         -rm test-registry.*
1521         @echo "Forever tests ..."
1522         @while true; do                                         \
1523                 $(MAKE) check ||                                \
1524                 (echo "Failure"; exit 1) ||                     \
1525                 exit 1;                                         \
1526         done
1527
1528 # valgrind all tests
1529 valgrind: $(TESTS)
1530         @echo "Valgrinding tests ..."
1531         @failed=0;                                                      \
1532         for t in $(filter-out $(VALGRIND_TESTS_DISABLE),$(TESTS)); do   \
1533                 $(MAKE) $$t.valgrind;                                   \
1534                 if test "$$?" -ne 0; then                               \
1535                         echo "Valgrind error for test $$t";             \
1536                         failed=`expr $$failed + 1`;                     \
1537                         whicht="$$whicht $$t";                          \
1538                 fi;                                                     \
1539         done;                                                           \
1540         if test "$$failed" -ne 0; then                                  \
1541                 echo "$$failed tests had leaks or errors under valgrind:";      \
1542                 echo "$$whicht";                                        \
1543                 false;                                                  \
1544         fi
1545
1546 # valgrind all tests until failure
1547 valgrind-forever: $(TESTS)
1548         -rm test-registry.*
1549         @echo "Forever valgrinding tests ..."
1550         @while true; do                                         \
1551                 $(MAKE) valgrind ||                             \
1552                 (echo "Failure"; exit 1) ||                     \
1553                 exit 1;                                         \
1554         done
1555
1556 # valgrind torture all tests
1557 valgrind-torture: $(TESTS)
1558         -rm test-registry.*
1559         @echo "Torturing and valgrinding tests ..."
1560         @for i in `seq 1 $(LOOPS)`; do                          \
1561                 $(MAKE) valgrind ||                             \
1562                 (echo "Failure after $$i runs"; exit 1) ||      \
1563                 exit 1;                                         \
1564         done
1565         @banner="All $(LOOPS) loops passed";                    \
1566         dashes=`echo "$$banner" | sed s/./=/g`;                 \
1567         echo $$dashes; echo $$banner; echo $$dashes
1568
1569 # valgrind all tests and generate suppressions
1570 valgrind.gen-suppressions: $(TESTS)
1571         @echo "Valgrinding tests ..."
1572         @failed=0;                                                      \
1573         for t in $(filter-out $(VALGRIND_TESTS_DISABLE),$(TESTS)); do   \
1574                 $(MAKE) $$t.valgrind.gen-suppressions;                  \
1575                 if test "$$?" -ne 0; then                               \
1576                         echo "Valgrind error for test $$t";             \
1577                         failed=`expr $$failed + 1`;                     \
1578                         whicht="$$whicht $$t";                          \
1579                 fi;                                                     \
1580         done;                                                           \
1581         if test "$$failed" -ne 0; then                                  \
1582                 echo "$$failed tests had leaks or errors under valgrind:";      \
1583                 echo "$$whicht";                                        \
1584                 false;                                                  \
1585         fi
1586 inspect:
1587         @echo "Inspecting features ..."
1588         @for e in `$(TESTS_ENVIRONMENT) $(GST_INSPECT) | head -n -2     \
1589           | cut -d: -f2`;                                               \
1590           do echo Inspecting $$e;                                       \
1591              $(GST_INSPECT) $$e > /dev/null 2>&1; done
1592
1593 help:
1594         @echo
1595         @echo "make check                         -- run all checks"
1596         @echo "make torture                       -- run all checks $(LOOPS) times"
1597         @echo "make (dir)/(test).check            -- run the given check once, repeat with GST_DEBUG=*:2 if it fails"
1598         @echo "make (dir)/(test).check-norepeat   -- run the given check once, but don't run it again if it fails"
1599         @echo "make (dir)/(test).forever          -- run the given check forever"
1600         @echo "make (dir)/(test).torture          -- run the given check $(LOOPS) times"
1601         @echo
1602         @echo "make (dir)/(test).gdb              -- start up gdb for the given test"
1603         @echo
1604         @echo "make valgrind                      -- valgrind all tests"
1605         @echo "make valgrind-forever              -- valgrind all tests forever"
1606         @echo "make valgrind-torture              -- valgrind all tests $(LOOPS) times"
1607         @echo "make valgrind.gen-suppressions     -- generate suppressions for all tests"
1608         @echo "                                      and save to suppressions.log"
1609         @echo "make (dir)/(test).valgrind         -- valgrind the given test"
1610         @echo "make (dir)/(test).valgrind-forever -- valgrind the given test forever"
1611         @echo "make (dir)/(test).valgrind-torture -- valgrind the given test $(LOOPS) times"
1612         @echo "make (dir)/(test).valgrind.gen-suppressions -- generate suppressions"
1613         @echo "                                               and save to suppressions.log"
1614         @echo "make inspect                       -- inspect all plugin features"
1615         @echo
1616         @echo
1617         @echo "Additionally, you can use the GST_CHECKS environment variable to"
1618         @echo "specify which test(s) should be run. This is useful if you are"
1619         @echo "debugging a failure in one particular test, or want to reproduce"
1620         @echo "a race condition in a single test."
1621         @echo
1622         @echo "Examples:"
1623         @echo
1624         @echo "  GST_CHECKS=test_this,test_that  make element/foobar.check"
1625         @echo "  GST_CHECKS=test_many_threads    make element/foobar.forever"
1626         @echo
1627
1628 clean-local: clean-local-check
1629
1630 $(CHECK_REGISTRY):
1631         $(TESTS_ENVIRONMENT)
1632
1633 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1634 # Otherwise a system limit (for SysV at least) may be exceeded.
1635 .NOEXPORT: