2002-09-14 13:17:10 +00:00
|
|
|
if HAVE_LIBGNOMEUI
|
2002-09-15 21:33:26 +00:00
|
|
|
GNOME=gnome
|
2002-09-14 13:17:10 +00:00
|
|
|
else
|
|
|
|
GNOME=
|
|
|
|
endif
|
|
|
|
|
2003-02-10 20:32:32 +00:00
|
|
|
if GST_DISABLE_LOADSAVE
|
|
|
|
GST_LOADSAVE_SRC =
|
|
|
|
else
|
|
|
|
GST_LOADSAVE_SRC = xml-mp3
|
|
|
|
endif
|
|
|
|
|
2004-05-04 12:38:36 +00:00
|
|
|
INCLUDES = $(GST_OBJ_CFLAGS)
|
2002-09-14 13:17:10 +00:00
|
|
|
|
2004-05-04 12:38:36 +00:00
|
|
|
#dynamic_LDADD = $(GST_OBJ_LIBS) $(LIBGNOMEUI_LIBS)
|
|
|
|
#dynamic_CFLAGS = $(GST_OBJ_CFLAGS) $(LIBGNOMEUI_CFLAGS)
|
|
|
|
gnome_LDADD = $(GST_OBJ_LIBS) $(LIBGNOMEUI_LIBS)
|
|
|
|
gnome_CFLAGS = $(GST_OBJ_CFLAGS) $(LIBGNOMEUI_CFLAGS)
|
2002-09-14 13:17:10 +00:00
|
|
|
|
2002-09-14 13:56:54 +00:00
|
|
|
EXTRA_DIST = extract.pl
|
|
|
|
|
2004-09-08 23:18:55 +00:00
|
|
|
EXAMPLES = \
|
2004-12-15 17:32:49 +00:00
|
|
|
dynamic \
|
|
|
|
$(GNOME) \
|
|
|
|
elementcreate \
|
|
|
|
elementmake \
|
|
|
|
elementfactory \
|
|
|
|
elementget \
|
|
|
|
elementlink \
|
|
|
|
bin \
|
|
|
|
pad \
|
|
|
|
ghostpad \
|
|
|
|
helloworld \
|
|
|
|
init \
|
|
|
|
popt \
|
|
|
|
query \
|
|
|
|
threads \
|
2004-12-19 22:54:12 +00:00
|
|
|
typefind \
|
2004-12-23 14:26:14 +00:00
|
|
|
fakesrc \
|
2004-12-15 17:32:49 +00:00
|
|
|
playbin \
|
|
|
|
decodebin \
|
|
|
|
$(GST_LOADSAVE_SRC)
|
2004-09-08 23:18:55 +00:00
|
|
|
|
2004-12-15 17:32:49 +00:00
|
|
|
elementmake.c elementcreate.c elementget.c elementlink.c elementfactory.c: $(top_srcdir)/docs/manual/basics-elements.xml
|
|
|
|
$(PERL_PATH) $(srcdir)/extract.pl $@ \
|
|
|
|
$(top_srcdir)/docs/manual/basics-elements.xml
|
2004-09-08 23:18:55 +00:00
|
|
|
|
2004-12-15 17:32:49 +00:00
|
|
|
bin.c : $(top_srcdir)/docs/manual/basics-bins.xml
|
|
|
|
$(PERL_PATH) $(srcdir)/extract.pl $@ \
|
|
|
|
$(top_srcdir)/docs/manual/basics-bins.xml
|
2004-09-08 23:18:55 +00:00
|
|
|
|
2004-12-15 17:32:49 +00:00
|
|
|
pad.c ghostpad.c: $(top_srcdir)/docs/manual/basics-pads.xml
|
|
|
|
$(PERL_PATH) $(srcdir)/extract.pl $@ \
|
|
|
|
$(top_srcdir)/docs/manual/basics-pads.xml
|
2004-09-08 23:18:55 +00:00
|
|
|
|
2004-12-23 14:26:14 +00:00
|
|
|
gnome.c: $(top_srcdir)/docs/manual/appendix-integration.xml
|
2004-12-15 17:32:49 +00:00
|
|
|
$(PERL_PATH) $(srcdir)/extract.pl $@ \
|
2004-12-23 14:26:14 +00:00
|
|
|
$(top_srcdir)/docs/manual/appendix-integration.xml
|
2004-09-08 23:18:55 +00:00
|
|
|
|
2004-12-15 17:32:49 +00:00
|
|
|
helloworld.c: $(top_srcdir)/docs/manual/basics-helloworld.xml
|
|
|
|
$(PERL_PATH) $(srcdir)/extract.pl $@ \
|
|
|
|
$(top_srcdir)/docs/manual/basics-helloworld.xml
|
2004-09-08 23:18:55 +00:00
|
|
|
|
2004-12-15 17:32:49 +00:00
|
|
|
init.c popt.c: $(top_srcdir)/docs/manual/basics-init.xml
|
|
|
|
$(PERL_PATH) $(srcdir)/extract.pl $@ \
|
|
|
|
$(top_srcdir)/docs/manual/basics-init.xml
|
2004-09-08 23:18:55 +00:00
|
|
|
|
2004-12-15 17:32:49 +00:00
|
|
|
query.c: $(top_srcdir)/docs/manual/advanced-position.xml
|
|
|
|
$(PERL_PATH) $(srcdir)/extract.pl $@ \
|
|
|
|
$(top_srcdir)/docs/manual/advanced-position.xml
|
|
|
|
|
2004-12-19 22:54:12 +00:00
|
|
|
threads.c: $(top_srcdir)/docs/manual/advanced-threads.xml
|
2004-12-15 17:32:49 +00:00
|
|
|
$(PERL_PATH) $(srcdir)/extract.pl $@ \
|
|
|
|
$(top_srcdir)/docs/manual/advanced-threads.xml
|
|
|
|
|
2004-12-19 22:54:12 +00:00
|
|
|
typefind.c dynamic.c: $(top_srcdir)/docs/manual/advanced-autoplugging.xml
|
|
|
|
$(PERL_PATH) $(srcdir)/extract.pl $@ \
|
|
|
|
$(top_srcdir)/docs/manual/advanced-autoplugging.xml
|
|
|
|
|
2004-12-23 14:26:14 +00:00
|
|
|
fakesrc.c: $(top_srcdir)/docs/manual/advanced-dataaccess.xml
|
|
|
|
$(PERL_PATH) $(srcdir)/extract.pl $@ \
|
|
|
|
$(top_srcdir)/docs/manual/advanced-dataaccess.xml
|
|
|
|
|
2004-12-15 17:32:49 +00:00
|
|
|
playbin.c decodebin.c: $(top_srcdir)/docs/manual/highlevel-components.xml
|
|
|
|
$(PERL_PATH) $(srcdir)/extract.pl $@ \
|
|
|
|
$(top_srcdir)/docs/manual/highlevel-components.xml
|
|
|
|
|
|
|
|
xml-mp3.c: $(top_srcdir)/docs/manual/highlevel-xml.xml
|
|
|
|
$(PERL_PATH) $(srcdir)/extract.pl $@ \
|
|
|
|
$(top_srcdir)/docs/manual/highlevel-xml.xml
|
2004-09-08 23:18:55 +00:00
|
|
|
|
|
|
|
# we use some of the examples as testsuite apps, to verify that
|
|
|
|
# they actually run
|
|
|
|
include $(top_srcdir)/testsuite/Rules
|
|
|
|
|
2004-09-09 21:15:45 +00:00
|
|
|
tests_pass = elementmake elementget init popt
|
2004-09-08 23:18:55 +00:00
|
|
|
tests_fail =
|
|
|
|
tests_ignore =
|
|
|
|
|
|
|
|
noinst_PROGRAMS = $(EXAMPLES)
|
|
|
|
LDADD = $(GST_OBJ_LIBS)
|