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 = \
|
|
|
|
dynamic $(GNOME) factorymake helloworld \
|
|
|
|
init popt queue threads $(GST_LOADSAVE_SRC)
|
|
|
|
|
|
|
|
dynamic.c: $(top_srcdir)/docs/manual/dynamic.xml
|
|
|
|
$(PERL_PATH) $(srcdir)/extract.pl $@ $<
|
|
|
|
|
|
|
|
elementmake.c elementget.c: $(top_srcdir)/docs/manual/elements-api.xml
|
|
|
|
$(PERL_PATH) $(srcdir)/extract.pl $@ $<
|
|
|
|
|
|
|
|
gnome.c: $(top_srcdir)/docs/manual/gnome.xml
|
|
|
|
$(PERL_PATH) $(srcdir)/extract.pl $@ $<
|
|
|
|
|
|
|
|
helloworld.c: $(top_srcdir)/docs/manual/helloworld.xml
|
|
|
|
$(PERL_PATH) $(srcdir)/extract.pl $@ $<
|
|
|
|
|
|
|
|
init.c popt.c: $(top_srcdir)/docs/manual/init-api.xml
|
|
|
|
$(PERL_PATH) $(srcdir)/extract.pl $@ $<
|
|
|
|
|
|
|
|
queue.c: $(top_srcdir)/docs/manual/queues.xml
|
|
|
|
$(PERL_PATH) $(srcdir)/extract.pl $@ $<
|
|
|
|
|
|
|
|
threads.c: $(top_srcdir)/docs/manual/threads.xml
|
|
|
|
$(PERL_PATH) $(srcdir)/extract.pl $@ $<
|
|
|
|
|
|
|
|
xml-mp3.c: $(top_srcdir)/docs/manual/xml.xml
|
|
|
|
$(PERL_PATH) $(srcdir)/extract.pl $@ $<
|
|
|
|
|
|
|
|
# we use some of the examples as testsuite apps, to verify that
|
|
|
|
# they actually run
|
|
|
|
include $(top_srcdir)/testsuite/Rules
|
|
|
|
|
|
|
|
tests_pass = elementmake elementget init popt $(GNOME)
|
|
|
|
tests_fail =
|
|
|
|
tests_ignore =
|
|
|
|
|
|
|
|
noinst_PROGRAMS = $(EXAMPLES)
|
|
|
|
LDADD = $(GST_OBJ_LIBS)
|