video: port to new API
[platform/upstream/gstreamer.git] / ext / Makefile.am
1 if USE_ALSA
2 ALSA_DIR=alsa
3 else
4 ALSA_DIR=
5 endif
6
7 if USE_CDPARANOIA
8 CDPARANOIA_DIR=cdparanoia
9 else
10 CDPARANOIA_DIR=
11 endif
12
13 if USE_GIO
14 GIO_DIR=gio
15 else
16 GIO_DIR=
17 endif
18
19 if USE_LIBVISUAL
20 LIBVISUAL_DIR=libvisual
21 else
22 LIBVISUAL_DIR=
23 endif
24
25 if USE_OGG
26 OGG_DIR=ogg
27 else
28 OGG_DIR=
29 endif
30
31 if USE_PANGO
32 PANGO_DIR = pango
33 else
34 PANGO_DIR =
35 endif
36
37 if USE_VORBIS
38 VORBIS_DIR=vorbis
39 endif
40
41 if USE_IVORBIS
42 VORBIS_DIR=vorbis
43 endif
44
45 if !USE_VORBIS
46 if !USE_IVORBIS
47 VORBIS_DIR=
48 endif
49 endif
50
51 if USE_THEORA
52 THEORA_DIR=theora
53 else
54 THEORA_DIR=
55 endif
56
57 SUBDIRS = \
58   $(ALSA_DIR) \
59   $(CDPARANOIA_DIR) \
60   $(GIO_DIR) \
61   $(LIBVISUAL_DIR) \
62   $(OGG_DIR) \
63   $(PANGO_DIR) \
64   $(THEORA_DIR) \
65   $(VORBIS_DIR)
66
67 DIST_SUBDIRS = \
68   alsa \
69   cdparanoia \
70   gio \
71   libvisual \
72   ogg \
73   pango \
74   theora \
75   vorbis
76
77 include $(top_srcdir)/common/parallel-subdirs.mak