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
|
|
|
|
|
2003-11-29 05:29:30 +00:00
|
|
|
EXAMPLES = dynamic $(GNOME) helloworld queue threads $(GST_LOADSAVE_SRC)
|
2002-09-14 13:17:10 +00:00
|
|
|
noinst_PROGRAMS = $(EXAMPLES)
|
|
|
|
|
|
|
|
LDADD = $(GST_LIBS)
|
|
|
|
INCLUDES = $(GST_CFLAGS)
|
|
|
|
|
2002-09-15 21:33:26 +00:00
|
|
|
#dynamic_LDADD = $(GST_LIBS) $(LIBGNOMEUI_LIBS)
|
|
|
|
#dynamic_CFLAGS = $(GST_CFLAGS) $(LIBGNOMEUI_CFLAGS)
|
2002-09-14 13:17:10 +00:00
|
|
|
gnome_LDADD = $(GST_LIBS) $(LIBGNOMEUI_LIBS)
|
|
|
|
gnome_CFLAGS = $(GST_CFLAGS) $(LIBGNOMEUI_CFLAGS)
|
|
|
|
|
2002-09-14 13:56:54 +00:00
|
|
|
EXTRA_DIST = extract.pl
|
|
|
|
|
2002-09-14 13:17:10 +00:00
|
|
|
# for some reason specifying %.c runs us into trouble when running make
|
|
|
|
# clean, it starts looking for things like mostlyclean-am.c, please
|
|
|
|
# help me fix that so we don't need to specify all sources here
|
|
|
|
# also, it's a bit irritating that right now a change in any xml file
|
|
|
|
# triggers a rebuild of all examples
|
|
|
|
#%.c:
|
2003-11-29 05:29:30 +00:00
|
|
|
dynamic.c gnome.c helloworld.c queue.c threads.c xml-mp3.c: $(top_srcdir)/docs/manual/*.xml
|
2003-05-18 03:36:41 +00:00
|
|
|
$(PERL_PATH) $(srcdir)/extract.pl $@ $(top_srcdir)/docs/manual/*.xml
|