Remove old autoplug code
[platform/upstream/gstreamer.git] / tests / old / examples / manual / Makefile.am
1 if HAVE_LIBGNOMEUI
2 GNOME=gnome
3 else
4 GNOME=
5 endif
6
7 if GST_DISABLE_LOADSAVE
8 GST_LOADSAVE_SRC =
9 else
10 GST_LOADSAVE_SRC = xml-mp3
11 endif
12
13 EXAMPLES = dynamic $(GNOME) helloworld queue threads $(GST_LOADSAVE_SRC)
14 noinst_PROGRAMS = $(EXAMPLES)
15
16 LDADD = $(GST_LIBS)
17 INCLUDES = $(GST_CFLAGS)
18
19 #dynamic_LDADD = $(GST_LIBS) $(LIBGNOMEUI_LIBS)
20 #dynamic_CFLAGS = $(GST_CFLAGS) $(LIBGNOMEUI_CFLAGS)
21 gnome_LDADD = $(GST_LIBS) $(LIBGNOMEUI_LIBS)
22 gnome_CFLAGS = $(GST_CFLAGS) $(LIBGNOMEUI_CFLAGS)
23
24 EXTRA_DIST = extract.pl
25
26 # for some reason specifying %.c runs us into trouble when running make
27 # clean, it starts looking for things like mostlyclean-am.c, please
28 # help me fix that so we don't need to specify all sources here
29 # also, it's a bit irritating that right now a change in any xml file
30 # triggers a rebuild of all examples
31 #%.c:
32 dynamic.c gnome.c helloworld.c queue.c threads.c xml-mp3.c: $(top_srcdir)/docs/manual/*.xml
33         $(PERL_PATH) $(srcdir)/extract.pl $@ $(top_srcdir)/docs/manual/*.xml